|
|
|
|
@ -8,7 +8,7 @@ |
|
|
|
|
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group |
|
|
|
|
* Portions Copyright (c) 1994, Regents of the University of California |
|
|
|
|
* |
|
|
|
|
* $Id: pg_type.h,v 1.140 2003/04/08 23:20:04 tgl Exp $ |
|
|
|
|
* $Id: pg_type.h,v 1.141 2003/05/08 22:19:57 tgl Exp $ |
|
|
|
|
* |
|
|
|
|
* NOTES |
|
|
|
|
* the genbki.sh script reads this file and generates .bki |
|
|
|
|
@ -99,8 +99,10 @@ CATALOG(pg_type) BOOTSTRAP |
|
|
|
|
/*
|
|
|
|
|
* I/O conversion procedures for the datatype. |
|
|
|
|
*/ |
|
|
|
|
regproc typinput; |
|
|
|
|
regproc typinput; /* text format (required) */ |
|
|
|
|
regproc typoutput; |
|
|
|
|
regproc typreceive; /* binary format (optional) */ |
|
|
|
|
regproc typsend; |
|
|
|
|
|
|
|
|
|
/* ----------------
|
|
|
|
|
* typalign is the alignment required when storing a value of this |
|
|
|
|
@ -198,7 +200,7 @@ typedef FormData_pg_type *Form_pg_type; |
|
|
|
|
* compiler constants for pg_type |
|
|
|
|
* ---------------- |
|
|
|
|
*/ |
|
|
|
|
#define Natts_pg_type 20 |
|
|
|
|
#define Natts_pg_type 22 |
|
|
|
|
#define Anum_pg_type_typname 1 |
|
|
|
|
#define Anum_pg_type_typnamespace 2 |
|
|
|
|
#define Anum_pg_type_typowner 3 |
|
|
|
|
@ -211,14 +213,16 @@ typedef FormData_pg_type *Form_pg_type; |
|
|
|
|
#define Anum_pg_type_typelem 10 |
|
|
|
|
#define Anum_pg_type_typinput 11 |
|
|
|
|
#define Anum_pg_type_typoutput 12 |
|
|
|
|
#define Anum_pg_type_typalign 13 |
|
|
|
|
#define Anum_pg_type_typstorage 14 |
|
|
|
|
#define Anum_pg_type_typnotnull 15 |
|
|
|
|
#define Anum_pg_type_typbasetype 16 |
|
|
|
|
#define Anum_pg_type_typtypmod 17 |
|
|
|
|
#define Anum_pg_type_typndims 18 |
|
|
|
|
#define Anum_pg_type_typdefaultbin 19 |
|
|
|
|
#define Anum_pg_type_typdefault 20 |
|
|
|
|
#define Anum_pg_type_typreceive 13 |
|
|
|
|
#define Anum_pg_type_typsend 14 |
|
|
|
|
#define Anum_pg_type_typalign 15 |
|
|
|
|
#define Anum_pg_type_typstorage 16 |
|
|
|
|
#define Anum_pg_type_typnotnull 17 |
|
|
|
|
#define Anum_pg_type_typbasetype 18 |
|
|
|
|
#define Anum_pg_type_typtypmod 19 |
|
|
|
|
#define Anum_pg_type_typndims 20 |
|
|
|
|
#define Anum_pg_type_typdefaultbin 21 |
|
|
|
|
#define Anum_pg_type_typdefault 22 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* ----------------
|
|
|
|
|
@ -234,82 +238,82 @@ typedef FormData_pg_type *Form_pg_type; |
|
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
/* OIDS 1 - 99 */ |
|
|
|
|
DATA(insert OID = 16 ( bool PGNSP PGUID 1 t b t \054 0 0 boolin boolout c p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 16 ( bool PGNSP PGUID 1 t b t \054 0 0 boolin boolout - - c p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DESCR("boolean, 'true'/'false'"); |
|
|
|
|
#define BOOLOID 16 |
|
|
|
|
|
|
|
|
|
DATA(insert OID = 17 ( bytea PGNSP PGUID -1 f b t \054 0 0 byteain byteaout i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 17 ( bytea PGNSP PGUID -1 f b t \054 0 0 byteain byteaout - - i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DESCR("variable-length string, binary values escaped"); |
|
|
|
|
#define BYTEAOID 17 |
|
|
|
|
|
|
|
|
|
DATA(insert OID = 18 ( char PGNSP PGUID 1 t b t \054 0 0 charin charout c p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 18 ( char PGNSP PGUID 1 t b t \054 0 0 charin charout - - c p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DESCR("single character"); |
|
|
|
|
#define CHAROID 18 |
|
|
|
|
|
|
|
|
|
DATA(insert OID = 19 ( name PGNSP PGUID NAMEDATALEN f b t \054 0 18 namein nameout i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 19 ( name PGNSP PGUID NAMEDATALEN f b t \054 0 18 namein nameout - - i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DESCR("31-character type for storing system identifiers"); |
|
|
|
|
#define NAMEOID 19 |
|
|
|
|
|
|
|
|
|
DATA(insert OID = 20 ( int8 PGNSP PGUID 8 f b t \054 0 0 int8in int8out d p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 20 ( int8 PGNSP PGUID 8 f b t \054 0 0 int8in int8out - - d p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DESCR("~18 digit integer, 8-byte storage"); |
|
|
|
|
#define INT8OID 20 |
|
|
|
|
|
|
|
|
|
DATA(insert OID = 21 ( int2 PGNSP PGUID 2 t b t \054 0 0 int2in int2out s p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 21 ( int2 PGNSP PGUID 2 t b t \054 0 0 int2in int2out - - s p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DESCR("-32 thousand to 32 thousand, 2-byte storage"); |
|
|
|
|
#define INT2OID 21 |
|
|
|
|
|
|
|
|
|
DATA(insert OID = 22 ( int2vector PGNSP PGUID INDEX_MAX_KEYS*2 f b t \054 0 21 int2vectorin int2vectorout i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 22 ( int2vector PGNSP PGUID INDEX_MAX_KEYS*2 f b t \054 0 21 int2vectorin int2vectorout - - i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DESCR("array of INDEX_MAX_KEYS int2 integers, used in system tables"); |
|
|
|
|
#define INT2VECTOROID 22 |
|
|
|
|
|
|
|
|
|
DATA(insert OID = 23 ( int4 PGNSP PGUID 4 t b t \054 0 0 int4in int4out i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 23 ( int4 PGNSP PGUID 4 t b t \054 0 0 int4in int4out - - i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DESCR("-2 billion to 2 billion integer, 4-byte storage"); |
|
|
|
|
#define INT4OID 23 |
|
|
|
|
|
|
|
|
|
DATA(insert OID = 24 ( regproc PGNSP PGUID 4 t b t \054 0 0 regprocin regprocout i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 24 ( regproc PGNSP PGUID 4 t b t \054 0 0 regprocin regprocout - - i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DESCR("registered procedure"); |
|
|
|
|
#define REGPROCOID 24 |
|
|
|
|
|
|
|
|
|
DATA(insert OID = 25 ( text PGNSP PGUID -1 f b t \054 0 0 textin textout i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 25 ( text PGNSP PGUID -1 f b t \054 0 0 textin textout - - i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DESCR("variable-length string, no limit specified"); |
|
|
|
|
#define TEXTOID 25 |
|
|
|
|
|
|
|
|
|
DATA(insert OID = 26 ( oid PGNSP PGUID 4 t b t \054 0 0 oidin oidout i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 26 ( oid PGNSP PGUID 4 t b t \054 0 0 oidin oidout - - i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DESCR("object identifier(oid), maximum 4 billion"); |
|
|
|
|
#define OIDOID 26 |
|
|
|
|
|
|
|
|
|
DATA(insert OID = 27 ( tid PGNSP PGUID 6 f b t \054 0 0 tidin tidout i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 27 ( tid PGNSP PGUID 6 f b t \054 0 0 tidin tidout - - i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DESCR("(Block, offset), physical location of tuple"); |
|
|
|
|
#define TIDOID 27 |
|
|
|
|
|
|
|
|
|
DATA(insert OID = 28 ( xid PGNSP PGUID 4 t b t \054 0 0 xidin xidout i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 28 ( xid PGNSP PGUID 4 t b t \054 0 0 xidin xidout - - i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DESCR("transaction id"); |
|
|
|
|
#define XIDOID 28 |
|
|
|
|
|
|
|
|
|
DATA(insert OID = 29 ( cid PGNSP PGUID 4 t b t \054 0 0 cidin cidout i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 29 ( cid PGNSP PGUID 4 t b t \054 0 0 cidin cidout - - i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DESCR("command identifier type, sequence in transaction id"); |
|
|
|
|
#define CIDOID 29 |
|
|
|
|
|
|
|
|
|
DATA(insert OID = 30 ( oidvector PGNSP PGUID INDEX_MAX_KEYS*4 f b t \054 0 26 oidvectorin oidvectorout i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 30 ( oidvector PGNSP PGUID INDEX_MAX_KEYS*4 f b t \054 0 26 oidvectorin oidvectorout - - i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DESCR("array of INDEX_MAX_KEYS oids, used in system tables"); |
|
|
|
|
#define OIDVECTOROID 30 |
|
|
|
|
|
|
|
|
|
DATA(insert OID = 32 ( SET PGNSP PGUID -1 f b t \054 0 0 unknownin unknownout i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 32 ( SET PGNSP PGUID -1 f b t \054 0 0 unknownin unknownout - - i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DESCR("set of tuples"); |
|
|
|
|
|
|
|
|
|
DATA(insert OID = 71 ( pg_type PGNSP PGUID 4 t c t \054 1247 0 record_in record_out i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 75 ( pg_attribute PGNSP PGUID 4 t c t \054 1249 0 record_in record_out i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 81 ( pg_proc PGNSP PGUID 4 t c t \054 1255 0 record_in record_out i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 83 ( pg_class PGNSP PGUID 4 t c t \054 1259 0 record_in record_out i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 86 ( pg_shadow PGNSP PGUID 4 t c t \054 1260 0 record_in record_out i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 87 ( pg_group PGNSP PGUID 4 t c t \054 1261 0 record_in record_out i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 88 ( pg_database PGNSP PGUID 4 t c t \054 1262 0 record_in record_out i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 71 ( pg_type PGNSP PGUID 4 t c t \054 1247 0 record_in record_out record_recv record_send i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 75 ( pg_attribute PGNSP PGUID 4 t c t \054 1249 0 record_in record_out record_recv record_send i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 81 ( pg_proc PGNSP PGUID 4 t c t \054 1255 0 record_in record_out record_recv record_send i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 83 ( pg_class PGNSP PGUID 4 t c t \054 1259 0 record_in record_out record_recv record_send i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 86 ( pg_shadow PGNSP PGUID 4 t c t \054 1260 0 record_in record_out record_recv record_send i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 87 ( pg_group PGNSP PGUID 4 t c t \054 1261 0 record_in record_out record_recv record_send i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 88 ( pg_database PGNSP PGUID 4 t c t \054 1262 0 record_in record_out record_recv record_send i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
|
|
|
|
|
/* OIDS 100 - 199 */ |
|
|
|
|
|
|
|
|
|
/* OIDS 200 - 299 */ |
|
|
|
|
|
|
|
|
|
DATA(insert OID = 210 ( smgr PGNSP PGUID 2 t b t \054 0 0 smgrin smgrout s p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 210 ( smgr PGNSP PGUID 2 t b t \054 0 0 smgrin smgrout - - s p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DESCR("storage manager"); |
|
|
|
|
|
|
|
|
|
/* OIDS 300 - 399 */ |
|
|
|
|
@ -319,192 +323,192 @@ DESCR("storage manager"); |
|
|
|
|
/* OIDS 500 - 599 */ |
|
|
|
|
|
|
|
|
|
/* OIDS 600 - 699 */ |
|
|
|
|
DATA(insert OID = 600 ( point PGNSP PGUID 16 f b t \054 0 701 point_in point_out d p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 600 ( point PGNSP PGUID 16 f b t \054 0 701 point_in point_out - - d p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DESCR("geometric point '(x, y)'"); |
|
|
|
|
#define POINTOID 600 |
|
|
|
|
DATA(insert OID = 601 ( lseg PGNSP PGUID 32 f b t \054 0 600 lseg_in lseg_out d p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 601 ( lseg PGNSP PGUID 32 f b t \054 0 600 lseg_in lseg_out - - d p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DESCR("geometric line segment '(pt1,pt2)'"); |
|
|
|
|
#define LSEGOID 601 |
|
|
|
|
DATA(insert OID = 602 ( path PGNSP PGUID -1 f b t \054 0 0 path_in path_out d x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 602 ( path PGNSP PGUID -1 f b t \054 0 0 path_in path_out - - d x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DESCR("geometric path '(pt1,...)'"); |
|
|
|
|
#define PATHOID 602 |
|
|
|
|
DATA(insert OID = 603 ( box PGNSP PGUID 32 f b t \073 0 600 box_in box_out d p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 603 ( box PGNSP PGUID 32 f b t \073 0 600 box_in box_out - - d p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DESCR("geometric box '(lower left,upper right)'"); |
|
|
|
|
#define BOXOID 603 |
|
|
|
|
DATA(insert OID = 604 ( polygon PGNSP PGUID -1 f b t \054 0 0 poly_in poly_out d x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 604 ( polygon PGNSP PGUID -1 f b t \054 0 0 poly_in poly_out - - d x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DESCR("geometric polygon '(pt1,...)'"); |
|
|
|
|
#define POLYGONOID 604 |
|
|
|
|
|
|
|
|
|
DATA(insert OID = 628 ( line PGNSP PGUID 32 f b t \054 0 701 line_in line_out d p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 628 ( line PGNSP PGUID 32 f b t \054 0 701 line_in line_out - - d p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DESCR("geometric line (not implemented)'"); |
|
|
|
|
#define LINEOID 628 |
|
|
|
|
DATA(insert OID = 629 ( _line PGNSP PGUID -1 f b t \054 0 628 array_in array_out d x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 629 ( _line PGNSP PGUID -1 f b t \054 0 628 array_in array_out array_recv array_send d x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DESCR(""); |
|
|
|
|
|
|
|
|
|
/* OIDS 700 - 799 */ |
|
|
|
|
|
|
|
|
|
DATA(insert OID = 700 ( float4 PGNSP PGUID 4 f b t \054 0 0 float4in float4out i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 700 ( float4 PGNSP PGUID 4 f b t \054 0 0 float4in float4out - - i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DESCR("single-precision floating point number, 4-byte storage"); |
|
|
|
|
#define FLOAT4OID 700 |
|
|
|
|
DATA(insert OID = 701 ( float8 PGNSP PGUID 8 f b t \054 0 0 float8in float8out d p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 701 ( float8 PGNSP PGUID 8 f b t \054 0 0 float8in float8out - - d p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DESCR("double-precision floating point number, 8-byte storage"); |
|
|
|
|
#define FLOAT8OID 701 |
|
|
|
|
DATA(insert OID = 702 ( abstime PGNSP PGUID 4 t b t \054 0 0 nabstimein nabstimeout i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 702 ( abstime PGNSP PGUID 4 t b t \054 0 0 nabstimein nabstimeout - - i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DESCR("absolute, limited-range date and time (Unix system time)"); |
|
|
|
|
#define ABSTIMEOID 702 |
|
|
|
|
DATA(insert OID = 703 ( reltime PGNSP PGUID 4 t b t \054 0 0 reltimein reltimeout i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 703 ( reltime PGNSP PGUID 4 t b t \054 0 0 reltimein reltimeout - - i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DESCR("relative, limited-range time interval (Unix delta time)"); |
|
|
|
|
#define RELTIMEOID 703 |
|
|
|
|
DATA(insert OID = 704 ( tinterval PGNSP PGUID 12 f b t \054 0 0 tintervalin tintervalout i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 704 ( tinterval PGNSP PGUID 12 f b t \054 0 0 tintervalin tintervalout - - i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DESCR("(abstime,abstime), time interval"); |
|
|
|
|
#define TINTERVALOID 704 |
|
|
|
|
DATA(insert OID = 705 ( unknown PGNSP PGUID -1 f b t \054 0 0 unknownin unknownout i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 705 ( unknown PGNSP PGUID -1 f b t \054 0 0 unknownin unknownout - - i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DESCR(""); |
|
|
|
|
#define UNKNOWNOID 705 |
|
|
|
|
|
|
|
|
|
DATA(insert OID = 718 ( circle PGNSP PGUID 24 f b t \054 0 0 circle_in circle_out d p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 718 ( circle PGNSP PGUID 24 f b t \054 0 0 circle_in circle_out - - d p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DESCR("geometric circle '(center,radius)'"); |
|
|
|
|
#define CIRCLEOID 718 |
|
|
|
|
DATA(insert OID = 719 ( _circle PGNSP PGUID -1 f b t \054 0 718 array_in array_out d x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 790 ( money PGNSP PGUID 4 f b t \054 0 0 cash_in cash_out i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 719 ( _circle PGNSP PGUID -1 f b t \054 0 718 array_in array_out array_recv array_send d x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 790 ( money PGNSP PGUID 4 f b t \054 0 0 cash_in cash_out - - i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DESCR("$d,ddd.cc, money"); |
|
|
|
|
#define CASHOID 790 |
|
|
|
|
DATA(insert OID = 791 ( _money PGNSP PGUID -1 f b t \054 0 790 array_in array_out i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 791 ( _money PGNSP PGUID -1 f b t \054 0 790 array_in array_out array_recv array_send i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
|
|
|
|
|
/* OIDS 800 - 899 */ |
|
|
|
|
DATA(insert OID = 829 ( macaddr PGNSP PGUID 6 f b t \054 0 0 macaddr_in macaddr_out i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 829 ( macaddr PGNSP PGUID 6 f b t \054 0 0 macaddr_in macaddr_out - - i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DESCR("XX:XX:XX:XX:XX:XX, MAC address"); |
|
|
|
|
#define MACADDROID 829 |
|
|
|
|
DATA(insert OID = 869 ( inet PGNSP PGUID -1 f b t \054 0 0 inet_in inet_out i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 869 ( inet PGNSP PGUID -1 f b t \054 0 0 inet_in inet_out - - i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DESCR("IP address/netmask, host address, netmask optional"); |
|
|
|
|
#define INETOID 869 |
|
|
|
|
DATA(insert OID = 650 ( cidr PGNSP PGUID -1 f b t \054 0 0 cidr_in cidr_out i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 650 ( cidr PGNSP PGUID -1 f b t \054 0 0 cidr_in cidr_out - - i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DESCR("network IP address/netmask, network address"); |
|
|
|
|
#define CIDROID 650 |
|
|
|
|
|
|
|
|
|
/* OIDS 900 - 999 */ |
|
|
|
|
|
|
|
|
|
/* OIDS 1000 - 1099 */ |
|
|
|
|
DATA(insert OID = 1000 ( _bool PGNSP PGUID -1 f b t \054 0 16 array_in array_out i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1001 ( _bytea PGNSP PGUID -1 f b t \054 0 17 array_in array_out i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1002 ( _char PGNSP PGUID -1 f b t \054 0 18 array_in array_out i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1003 ( _name PGNSP PGUID -1 f b t \054 0 19 array_in array_out i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1005 ( _int2 PGNSP PGUID -1 f b t \054 0 21 array_in array_out i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1006 ( _int2vector PGNSP PGUID -1 f b t \054 0 22 array_in array_out i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1007 ( _int4 PGNSP PGUID -1 f b t \054 0 23 array_in array_out i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1008 ( _regproc PGNSP PGUID -1 f b t \054 0 24 array_in array_out i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1009 ( _text PGNSP PGUID -1 f b t \054 0 25 array_in array_out i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1028 ( _oid PGNSP PGUID -1 f b t \054 0 26 array_in array_out i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1010 ( _tid PGNSP PGUID -1 f b t \054 0 27 array_in array_out i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1011 ( _xid PGNSP PGUID -1 f b t \054 0 28 array_in array_out i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1012 ( _cid PGNSP PGUID -1 f b t \054 0 29 array_in array_out i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1013 ( _oidvector PGNSP PGUID -1 f b t \054 0 30 array_in array_out i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1014 ( _bpchar PGNSP PGUID -1 f b t \054 0 1042 array_in array_out i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1015 ( _varchar PGNSP PGUID -1 f b t \054 0 1043 array_in array_out i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1016 ( _int8 PGNSP PGUID -1 f b t \054 0 20 array_in array_out d x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1017 ( _point PGNSP PGUID -1 f b t \054 0 600 array_in array_out d x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1018 ( _lseg PGNSP PGUID -1 f b t \054 0 601 array_in array_out d x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1019 ( _path PGNSP PGUID -1 f b t \054 0 602 array_in array_out d x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1020 ( _box PGNSP PGUID -1 f b t \073 0 603 array_in array_out d x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1021 ( _float4 PGNSP PGUID -1 f b t \054 0 700 array_in array_out i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1022 ( _float8 PGNSP PGUID -1 f b t \054 0 701 array_in array_out d x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1023 ( _abstime PGNSP PGUID -1 f b t \054 0 702 array_in array_out i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1024 ( _reltime PGNSP PGUID -1 f b t \054 0 703 array_in array_out i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1025 ( _tinterval PGNSP PGUID -1 f b t \054 0 704 array_in array_out i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1027 ( _polygon PGNSP PGUID -1 f b t \054 0 604 array_in array_out d x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1033 ( aclitem PGNSP PGUID 12 f b t \054 0 0 aclitemin aclitemout i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1000 ( _bool PGNSP PGUID -1 f b t \054 0 16 array_in array_out array_recv array_send i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1001 ( _bytea PGNSP PGUID -1 f b t \054 0 17 array_in array_out array_recv array_send i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1002 ( _char PGNSP PGUID -1 f b t \054 0 18 array_in array_out array_recv array_send i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1003 ( _name PGNSP PGUID -1 f b t \054 0 19 array_in array_out array_recv array_send i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1005 ( _int2 PGNSP PGUID -1 f b t \054 0 21 array_in array_out array_recv array_send i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1006 ( _int2vector PGNSP PGUID -1 f b t \054 0 22 array_in array_out array_recv array_send i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1007 ( _int4 PGNSP PGUID -1 f b t \054 0 23 array_in array_out array_recv array_send i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1008 ( _regproc PGNSP PGUID -1 f b t \054 0 24 array_in array_out array_recv array_send i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1009 ( _text PGNSP PGUID -1 f b t \054 0 25 array_in array_out array_recv array_send i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1028 ( _oid PGNSP PGUID -1 f b t \054 0 26 array_in array_out array_recv array_send i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1010 ( _tid PGNSP PGUID -1 f b t \054 0 27 array_in array_out array_recv array_send i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1011 ( _xid PGNSP PGUID -1 f b t \054 0 28 array_in array_out array_recv array_send i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1012 ( _cid PGNSP PGUID -1 f b t \054 0 29 array_in array_out array_recv array_send i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1013 ( _oidvector PGNSP PGUID -1 f b t \054 0 30 array_in array_out array_recv array_send i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1014 ( _bpchar PGNSP PGUID -1 f b t \054 0 1042 array_in array_out array_recv array_send i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1015 ( _varchar PGNSP PGUID -1 f b t \054 0 1043 array_in array_out array_recv array_send i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1016 ( _int8 PGNSP PGUID -1 f b t \054 0 20 array_in array_out array_recv array_send d x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1017 ( _point PGNSP PGUID -1 f b t \054 0 600 array_in array_out array_recv array_send d x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1018 ( _lseg PGNSP PGUID -1 f b t \054 0 601 array_in array_out array_recv array_send d x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1019 ( _path PGNSP PGUID -1 f b t \054 0 602 array_in array_out array_recv array_send d x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1020 ( _box PGNSP PGUID -1 f b t \073 0 603 array_in array_out array_recv array_send d x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1021 ( _float4 PGNSP PGUID -1 f b t \054 0 700 array_in array_out array_recv array_send i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1022 ( _float8 PGNSP PGUID -1 f b t \054 0 701 array_in array_out array_recv array_send d x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1023 ( _abstime PGNSP PGUID -1 f b t \054 0 702 array_in array_out array_recv array_send i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1024 ( _reltime PGNSP PGUID -1 f b t \054 0 703 array_in array_out array_recv array_send i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1025 ( _tinterval PGNSP PGUID -1 f b t \054 0 704 array_in array_out array_recv array_send i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1027 ( _polygon PGNSP PGUID -1 f b t \054 0 604 array_in array_out array_recv array_send d x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1033 ( aclitem PGNSP PGUID 12 f b t \054 0 0 aclitemin aclitemout - - i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DESCR("access control list"); |
|
|
|
|
#define ACLITEMOID 1033 |
|
|
|
|
DATA(insert OID = 1034 ( _aclitem PGNSP PGUID -1 f b t \054 0 1033 array_in array_out i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1040 ( _macaddr PGNSP PGUID -1 f b t \054 0 829 array_in array_out i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1041 ( _inet PGNSP PGUID -1 f b t \054 0 869 array_in array_out i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 651 ( _cidr PGNSP PGUID -1 f b t \054 0 650 array_in array_out i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1042 ( bpchar PGNSP PGUID -1 f b t \054 0 0 bpcharin bpcharout i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1034 ( _aclitem PGNSP PGUID -1 f b t \054 0 1033 array_in array_out array_recv array_send i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1040 ( _macaddr PGNSP PGUID -1 f b t \054 0 829 array_in array_out array_recv array_send i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1041 ( _inet PGNSP PGUID -1 f b t \054 0 869 array_in array_out array_recv array_send i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 651 ( _cidr PGNSP PGUID -1 f b t \054 0 650 array_in array_out array_recv array_send i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1042 ( bpchar PGNSP PGUID -1 f b t \054 0 0 bpcharin bpcharout - - i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DESCR("char(length), blank-padded string, fixed storage length"); |
|
|
|
|
#define BPCHAROID 1042 |
|
|
|
|
DATA(insert OID = 1043 ( varchar PGNSP PGUID -1 f b t \054 0 0 varcharin varcharout i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1043 ( varchar PGNSP PGUID -1 f b t \054 0 0 varcharin varcharout - - i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DESCR("varchar(length), non-blank-padded string, variable storage length"); |
|
|
|
|
#define VARCHAROID 1043 |
|
|
|
|
|
|
|
|
|
DATA(insert OID = 1082 ( date PGNSP PGUID 4 t b t \054 0 0 date_in date_out i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1082 ( date PGNSP PGUID 4 t b t \054 0 0 date_in date_out - - i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DESCR("ANSI SQL date"); |
|
|
|
|
#define DATEOID 1082 |
|
|
|
|
DATA(insert OID = 1083 ( time PGNSP PGUID 8 f b t \054 0 0 time_in time_out d p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1083 ( time PGNSP PGUID 8 f b t \054 0 0 time_in time_out - - d p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DESCR("hh:mm:ss, ANSI SQL time"); |
|
|
|
|
#define TIMEOID 1083 |
|
|
|
|
|
|
|
|
|
/* OIDS 1100 - 1199 */ |
|
|
|
|
DATA(insert OID = 1114 ( timestamp PGNSP PGUID 8 f b t \054 0 0 timestamp_in timestamp_out d p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1114 ( timestamp PGNSP PGUID 8 f b t \054 0 0 timestamp_in timestamp_out - - d p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DESCR("date and time"); |
|
|
|
|
#define TIMESTAMPOID 1114 |
|
|
|
|
DATA(insert OID = 1115 ( _timestamp PGNSP PGUID -1 f b t \054 0 1114 array_in array_out d x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1182 ( _date PGNSP PGUID -1 f b t \054 0 1082 array_in array_out i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1183 ( _time PGNSP PGUID -1 f b t \054 0 1083 array_in array_out d x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1184 ( timestamptz PGNSP PGUID 8 f b t \054 0 0 timestamptz_in timestamptz_out d p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1115 ( _timestamp PGNSP PGUID -1 f b t \054 0 1114 array_in array_out array_recv array_send d x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1182 ( _date PGNSP PGUID -1 f b t \054 0 1082 array_in array_out array_recv array_send i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1183 ( _time PGNSP PGUID -1 f b t \054 0 1083 array_in array_out array_recv array_send d x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1184 ( timestamptz PGNSP PGUID 8 f b t \054 0 0 timestamptz_in timestamptz_out - - d p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DESCR("date and time with time zone"); |
|
|
|
|
#define TIMESTAMPTZOID 1184 |
|
|
|
|
DATA(insert OID = 1185 ( _timestamptz PGNSP PGUID -1 f b t \054 0 1184 array_in array_out d x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1186 ( interval PGNSP PGUID 12 f b t \054 0 0 interval_in interval_out d p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1185 ( _timestamptz PGNSP PGUID -1 f b t \054 0 1184 array_in array_out array_recv array_send d x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1186 ( interval PGNSP PGUID 12 f b t \054 0 0 interval_in interval_out - - d p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DESCR("@ <number> <units>, time interval"); |
|
|
|
|
#define INTERVALOID 1186 |
|
|
|
|
DATA(insert OID = 1187 ( _interval PGNSP PGUID -1 f b t \054 0 1186 array_in array_out d x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1187 ( _interval PGNSP PGUID -1 f b t \054 0 1186 array_in array_out array_recv array_send d x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
|
|
|
|
|
/* OIDS 1200 - 1299 */ |
|
|
|
|
DATA(insert OID = 1231 ( _numeric PGNSP PGUID -1 f b t \054 0 1700 array_in array_out i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1266 ( timetz PGNSP PGUID 12 f b t \054 0 0 timetz_in timetz_out d p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1231 ( _numeric PGNSP PGUID -1 f b t \054 0 1700 array_in array_out array_recv array_send i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1266 ( timetz PGNSP PGUID 12 f b t \054 0 0 timetz_in timetz_out - - d p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DESCR("hh:mm:ss, ANSI SQL time"); |
|
|
|
|
#define TIMETZOID 1266 |
|
|
|
|
DATA(insert OID = 1270 ( _timetz PGNSP PGUID -1 f b t \054 0 1266 array_in array_out d x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1270 ( _timetz PGNSP PGUID -1 f b t \054 0 1266 array_in array_out array_recv array_send d x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
|
|
|
|
|
/* OIDS 1500 - 1599 */ |
|
|
|
|
DATA(insert OID = 1560 ( bit PGNSP PGUID -1 f b t \054 0 0 bit_in bit_out i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1560 ( bit PGNSP PGUID -1 f b t \054 0 0 bit_in bit_out - - i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DESCR("fixed-length bit string"); |
|
|
|
|
#define BITOID 1560 |
|
|
|
|
DATA(insert OID = 1561 ( _bit PGNSP PGUID -1 f b t \054 0 1560 array_in array_out i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1562 ( varbit PGNSP PGUID -1 f b t \054 0 0 varbit_in varbit_out i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1561 ( _bit PGNSP PGUID -1 f b t \054 0 1560 array_in array_out array_recv array_send i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1562 ( varbit PGNSP PGUID -1 f b t \054 0 0 varbit_in varbit_out - - i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DESCR("variable-length bit string"); |
|
|
|
|
#define VARBITOID 1562 |
|
|
|
|
DATA(insert OID = 1563 ( _varbit PGNSP PGUID -1 f b t \054 0 1562 array_in array_out i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1563 ( _varbit PGNSP PGUID -1 f b t \054 0 1562 array_in array_out array_recv array_send i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
|
|
|
|
|
/* OIDS 1600 - 1699 */ |
|
|
|
|
|
|
|
|
|
/* OIDS 1700 - 1799 */ |
|
|
|
|
DATA(insert OID = 1700 ( numeric PGNSP PGUID -1 f b t \054 0 0 numeric_in numeric_out i m f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1700 ( numeric PGNSP PGUID -1 f b t \054 0 0 numeric_in numeric_out - - i m f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DESCR("numeric(precision, decimal), arbitrary precision number"); |
|
|
|
|
#define NUMERICOID 1700 |
|
|
|
|
|
|
|
|
|
DATA(insert OID = 1790 ( refcursor PGNSP PGUID -1 f b t \054 0 0 textin textout i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 1790 ( refcursor PGNSP PGUID -1 f b t \054 0 0 textin textout - - i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DESCR("reference cursor (portal name)"); |
|
|
|
|
#define REFCURSOROID 1790 |
|
|
|
|
|
|
|
|
|
/* OIDS 2200 - 2299 */ |
|
|
|
|
DATA(insert OID = 2201 ( _refcursor PGNSP PGUID -1 f b t \054 0 1790 array_in array_out i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 2201 ( _refcursor PGNSP PGUID -1 f b t \054 0 1790 array_in array_out array_recv array_send i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
|
|
|
|
|
DATA(insert OID = 2202 ( regprocedure PGNSP PGUID 4 t b t \054 0 0 regprocedurein regprocedureout i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 2202 ( regprocedure PGNSP PGUID 4 t b t \054 0 0 regprocedurein regprocedureout - - i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DESCR("registered procedure (with args)"); |
|
|
|
|
#define REGPROCEDUREOID 2202 |
|
|
|
|
|
|
|
|
|
DATA(insert OID = 2203 ( regoper PGNSP PGUID 4 t b t \054 0 0 regoperin regoperout i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 2203 ( regoper PGNSP PGUID 4 t b t \054 0 0 regoperin regoperout - - i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DESCR("registered operator"); |
|
|
|
|
#define REGOPEROID 2203 |
|
|
|
|
|
|
|
|
|
DATA(insert OID = 2204 ( regoperator PGNSP PGUID 4 t b t \054 0 0 regoperatorin regoperatorout i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 2204 ( regoperator PGNSP PGUID 4 t b t \054 0 0 regoperatorin regoperatorout - - i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DESCR("registered operator (with args)"); |
|
|
|
|
#define REGOPERATOROID 2204 |
|
|
|
|
|
|
|
|
|
DATA(insert OID = 2205 ( regclass PGNSP PGUID 4 t b t \054 0 0 regclassin regclassout i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 2205 ( regclass PGNSP PGUID 4 t b t \054 0 0 regclassin regclassout - - i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DESCR("registered class"); |
|
|
|
|
#define REGCLASSOID 2205 |
|
|
|
|
|
|
|
|
|
DATA(insert OID = 2206 ( regtype PGNSP PGUID 4 t b t \054 0 0 regtypein regtypeout i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 2206 ( regtype PGNSP PGUID 4 t b t \054 0 0 regtypein regtypeout - - i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DESCR("registered type"); |
|
|
|
|
#define REGTYPEOID 2206 |
|
|
|
|
|
|
|
|
|
DATA(insert OID = 2207 ( _regprocedure PGNSP PGUID -1 f b t \054 0 2202 array_in array_out i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 2208 ( _regoper PGNSP PGUID -1 f b t \054 0 2203 array_in array_out i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 2209 ( _regoperator PGNSP PGUID -1 f b t \054 0 2204 array_in array_out i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 2210 ( _regclass PGNSP PGUID -1 f b t \054 0 2205 array_in array_out i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 2211 ( _regtype PGNSP PGUID -1 f b t \054 0 2206 array_in array_out i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 2207 ( _regprocedure PGNSP PGUID -1 f b t \054 0 2202 array_in array_out array_recv array_send i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 2208 ( _regoper PGNSP PGUID -1 f b t \054 0 2203 array_in array_out array_recv array_send i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 2209 ( _regoperator PGNSP PGUID -1 f b t \054 0 2204 array_in array_out array_recv array_send i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 2210 ( _regclass PGNSP PGUID -1 f b t \054 0 2205 array_in array_out array_recv array_send i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 2211 ( _regtype PGNSP PGUID -1 f b t \054 0 2206 array_in array_out array_recv array_send i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* pseudo-types |
|
|
|
|
@ -515,25 +519,25 @@ DATA(insert OID = 2211 ( _regtype PGNSP PGUID -1 f b t \054 0 2206 array_in a |
|
|
|
|
* argument and result types (if supported by the function's implementation |
|
|
|
|
* language). |
|
|
|
|
*/ |
|
|
|
|
DATA(insert OID = 2249 ( record PGNSP PGUID 4 t p t \054 0 0 record_in record_out i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 2249 ( record PGNSP PGUID 4 t p t \054 0 0 record_in record_out record_recv record_send i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
#define RECORDOID 2249 |
|
|
|
|
DATA(insert OID = 2275 ( cstring PGNSP PGUID -2 f p t \054 0 0 cstring_in cstring_out c p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 2275 ( cstring PGNSP PGUID -2 f p t \054 0 0 cstring_in cstring_out - - c p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
#define CSTRINGOID 2275 |
|
|
|
|
DATA(insert OID = 2276 ( any PGNSP PGUID 4 t p t \054 0 0 any_in any_out i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 2276 ( any PGNSP PGUID 4 t p t \054 0 0 any_in any_out - - i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
#define ANYOID 2276 |
|
|
|
|
DATA(insert OID = 2277 ( anyarray PGNSP PGUID -1 f p t \054 0 0 anyarray_in anyarray_out i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 2277 ( anyarray PGNSP PGUID -1 f p t \054 0 0 anyarray_in anyarray_out - - i x f 0 -1 0 _null_ _null_ )); |
|
|
|
|
#define ANYARRAYOID 2277 |
|
|
|
|
DATA(insert OID = 2278 ( void PGNSP PGUID 4 t p t \054 0 0 void_in void_out i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 2278 ( void PGNSP PGUID 4 t p t \054 0 0 void_in void_out - - i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
#define VOIDOID 2278 |
|
|
|
|
DATA(insert OID = 2279 ( trigger PGNSP PGUID 4 t p t \054 0 0 trigger_in trigger_out i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 2279 ( trigger PGNSP PGUID 4 t p t \054 0 0 trigger_in trigger_out - - i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
#define TRIGGEROID 2279 |
|
|
|
|
DATA(insert OID = 2280 ( language_handler PGNSP PGUID 4 t p t \054 0 0 language_handler_in language_handler_out i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 2280 ( language_handler PGNSP PGUID 4 t p t \054 0 0 language_handler_in language_handler_out - - i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
#define LANGUAGE_HANDLEROID 2280 |
|
|
|
|
DATA(insert OID = 2281 ( internal PGNSP PGUID 4 t p t \054 0 0 internal_in internal_out i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 2281 ( internal PGNSP PGUID 4 t p t \054 0 0 internal_in internal_out - - i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
#define INTERNALOID 2281 |
|
|
|
|
DATA(insert OID = 2282 ( opaque PGNSP PGUID 4 t p t \054 0 0 opaque_in opaque_out i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 2282 ( opaque PGNSP PGUID 4 t p t \054 0 0 opaque_in opaque_out - - i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
#define OPAQUEOID 2282 |
|
|
|
|
DATA(insert OID = 2283 ( anyelement PGNSP PGUID 4 t p t \054 0 0 anyelement_in anyelement_out i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
DATA(insert OID = 2283 ( anyelement PGNSP PGUID 4 t p t \054 0 0 anyelement_in anyelement_out - - i p f 0 -1 0 _null_ _null_ )); |
|
|
|
|
#define ANYELEMENTOID 2283 |
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
@ -551,6 +555,8 @@ extern Oid TypeCreate(const char *typeName, |
|
|
|
|
char typDelim, |
|
|
|
|
Oid inputProcedure, |
|
|
|
|
Oid outputProcedure, |
|
|
|
|
Oid receiveProcedure, |
|
|
|
|
Oid sendProcedure, |
|
|
|
|
Oid elementType, |
|
|
|
|
Oid baseType, |
|
|
|
|
const char *defaultTypeValue, |
|
|
|
|
@ -568,6 +574,8 @@ extern void GenerateTypeDependencies(Oid typeNamespace, |
|
|
|
|
char relationKind, |
|
|
|
|
Oid inputProcedure, |
|
|
|
|
Oid outputProcedure, |
|
|
|
|
Oid receiveProcedure, |
|
|
|
|
Oid sendProcedure, |
|
|
|
|
Oid elementType, |
|
|
|
|
Oid baseType, |
|
|
|
|
Node *defaultExpr, |
|
|
|
|
|