Eneboo - Documentación para desarrolladores
|
#include "nodes/nodes.h"
Ir al código fuente de este archivo.
'defines' | |
#define | TypeRelationId 1247 |
#define | Natts_pg_type 23 |
#define | Anum_pg_type_typname 1 |
#define | Anum_pg_type_typnamespace 2 |
#define | Anum_pg_type_typowner 3 |
#define | Anum_pg_type_typlen 4 |
#define | Anum_pg_type_typbyval 5 |
#define | Anum_pg_type_typtype 6 |
#define | Anum_pg_type_typisdefined 7 |
#define | Anum_pg_type_typdelim 8 |
#define | Anum_pg_type_typrelid 9 |
#define | Anum_pg_type_typelem 10 |
#define | Anum_pg_type_typinput 11 |
#define | Anum_pg_type_typoutput 12 |
#define | Anum_pg_type_typreceive 13 |
#define | Anum_pg_type_typsend 14 |
#define | Anum_pg_type_typanalyze 15 |
#define | Anum_pg_type_typalign 16 |
#define | Anum_pg_type_typstorage 17 |
#define | Anum_pg_type_typnotnull 18 |
#define | Anum_pg_type_typbasetype 19 |
#define | Anum_pg_type_typtypmod 20 |
#define | Anum_pg_type_typndims 21 |
#define | Anum_pg_type_typdefaultbin 22 |
#define | Anum_pg_type_typdefault 23 |
#define | BOOLOID 16 |
#define | BYTEAOID 17 |
#define | CHAROID 18 |
#define | NAMEOID 19 |
#define | INT8OID 20 |
#define | INT2OID 21 |
#define | INT2VECTOROID 22 |
#define | INT4OID 23 |
#define | REGPROCOID 24 |
#define | TEXTOID 25 |
#define | OIDOID 26 |
#define | TIDOID 27 |
#define | XIDOID 28 |
#define | CIDOID 29 |
#define | OIDVECTOROID 30 |
#define | PG_TYPE_RELTYPE_OID 71 |
#define | PG_ATTRIBUTE_RELTYPE_OID 75 |
#define | PG_PROC_RELTYPE_OID 81 |
#define | PG_CLASS_RELTYPE_OID 83 |
#define | POINTOID 600 |
#define | LSEGOID 601 |
#define | PATHOID 602 |
#define | BOXOID 603 |
#define | POLYGONOID 604 |
#define | LINEOID 628 |
#define | FLOAT4OID 700 |
#define | FLOAT8OID 701 |
#define | ABSTIMEOID 702 |
#define | RELTIMEOID 703 |
#define | TINTERVALOID 704 |
#define | UNKNOWNOID 705 |
#define | CIRCLEOID 718 |
#define | CASHOID 790 |
#define | MACADDROID 829 |
#define | INETOID 869 |
#define | CIDROID 650 |
#define | INT4ARRAYOID 1007 |
#define | ACLITEMOID 1033 |
#define | BPCHAROID 1042 |
#define | VARCHAROID 1043 |
#define | DATEOID 1082 |
#define | TIMEOID 1083 |
#define | TIMESTAMPOID 1114 |
#define | TIMESTAMPTZOID 1184 |
#define | INTERVALOID 1186 |
#define | TIMETZOID 1266 |
#define | BITOID 1560 |
#define | VARBITOID 1562 |
#define | NUMERICOID 1700 |
#define | REFCURSOROID 1790 |
#define | REGPROCEDUREOID 2202 |
#define | REGOPEROID 2203 |
#define | REGOPERATOROID 2204 |
#define | REGCLASSOID 2205 |
#define | REGTYPEOID 2206 |
#define | RECORDOID 2249 |
#define | CSTRINGOID 2275 |
#define | ANYOID 2276 |
#define | ANYARRAYOID 2277 |
#define | VOIDOID 2278 |
#define | TRIGGEROID 2279 |
#define | LANGUAGE_HANDLEROID 2280 |
#define | INTERNALOID 2281 |
#define | OPAQUEOID 2282 |
#define | ANYELEMENTOID 2283 |
'typedefs' | |
typedef FormData_pg_type * | Form_pg_type |
Funciones | |
CATALOG (pg_type, 1247) BKI_BOOTSTRAP | |
DATA (insert OID=16(boolPGNSP PGUID 1 t b t\054 00 boolin boolout boolrecv boolsend-c p f 0-1 0 _null_ _null_)) | |
DESCR ("boolean, 'true'/'false'") | |
DESCR ("variable-length string, binary values escaped") | |
DESCR ("single character") | |
DESCR ("63-character type for storing system identifiers") | |
DESCR ("~18 digit integer, 8-byte storage") | |
DESCR ("-32 thousand to 32 thousand, 2-byte storage") | |
DESCR ("array of int2, used in system tables") | |
DESCR ("-2 billion to 2 billion integer, 4-byte storage") | |
DESCR ("registered procedure") | |
DESCR ("variable-length string, no limit specified") | |
DESCR ("object identifier(oid), maximum 4 billion") | |
DESCR ("(Block, offset), physical location of tuple") | |
DESCR ("transaction id") | |
DESCR ("command identifier type, sequence in transaction id") | |
DESCR ("storage manager") | |
DESCR ("geometric point '(x, y)'") | |
DESCR ("geometric line segment '(pt1,pt2)'") | |
DESCR ("geometric path '(pt1,...)'") | |
DESCR ("geometric box '(lower left,upper right)'") | |
DESCR ("geometric polygon '(pt1,...)'") | |
DESCR ("geometric line (not implemented)'") | |
DESCR ("") | |
DESCR ("single-precision floating point number, 4-byte storage") | |
DESCR ("double-precision floating point number, 8-byte storage") | |
DESCR ("absolute, limited-range date and time (Unix system time)") | |
DESCR ("relative, limited-range time interval (Unix delta time)") | |
DESCR ("(abstime,abstime), time interval") | |
DESCR ("geometric circle '(center,radius)'") | |
DESCR ("monetary amounts, $d,ddd.cc") | |
DESCR ("XX:XX:XX:XX:XX:XX, MAC address") | |
DESCR ("IP address/netmask, host address, netmask optional") | |
DESCR ("network IP address/netmask, network address") | |
DESCR ("access control list") | |
DESCR ("char(length), blank-padded string, fixed storage length") | |
DESCR ("varchar(length), non-blank-padded string, variable storage length") | |
DESCR ("ANSI SQL date") | |
DESCR ("hh:mm:ss, ANSI SQL time") | |
DESCR ("date and time") | |
DESCR ("date and time with time zone") | |
DESCR ("@ <number> <units>, time interval") | |
DESCR ("fixed-length bit string") | |
DESCR ("variable-length bit string") | |
DESCR ("numeric(precision, decimal), arbitrary precision number") | |
DESCR ("reference cursor (portal name)") | |
DESCR ("registered procedure (with args)") | |
DESCR ("registered operator") | |
DESCR ("registered operator (with args)") | |
DESCR ("registered class") | |
DESCR ("registered type") | |
Oid | TypeShellMake (const char *typeName, Oid typeNamespace) |
Oid | TypeCreate (const char *typeName, Oid typeNamespace, Oid relationOid, char relationKind, int16 internalSize, char typeType, char typDelim, Oid inputProcedure, Oid outputProcedure, Oid receiveProcedure, Oid sendProcedure, Oid analyzeProcedure, Oid elementType, Oid baseType, const char *defaultTypeValue, char *defaultTypeBin, bool passedByValue, char alignment, char storage, int32 typeMod, int32 typNDims, bool typeNotNull) |
void | GenerateTypeDependencies (Oid typeNamespace, Oid typeObjectId, Oid relationOid, char relationKind, Oid owner, Oid inputProcedure, Oid outputProcedure, Oid receiveProcedure, Oid sendProcedure, Oid analyzeProcedure, Oid elementType, Oid baseType, Node *defaultExpr, bool rebuild) |
void | TypeRename (const char *oldTypeName, Oid typeNamespace, const char *newTypeName) |
char * | makeArrayTypeName (const char *typeName) |
Variables | |
FormData_pg_type |
#define ABSTIMEOID 702 |
#define ACLITEMOID 1033 |
#define Anum_pg_type_typalign 16 |
#define Anum_pg_type_typanalyze 15 |
#define Anum_pg_type_typbasetype 19 |
#define Anum_pg_type_typbyval 5 |
#define Anum_pg_type_typdefault 23 |
#define Anum_pg_type_typdefaultbin 22 |
#define Anum_pg_type_typdelim 8 |
#define Anum_pg_type_typelem 10 |
#define Anum_pg_type_typinput 11 |
#define Anum_pg_type_typisdefined 7 |
#define Anum_pg_type_typlen 4 |
#define Anum_pg_type_typname 1 |
#define Anum_pg_type_typnamespace 2 |
#define Anum_pg_type_typndims 21 |
#define Anum_pg_type_typnotnull 18 |
#define Anum_pg_type_typoutput 12 |
#define Anum_pg_type_typowner 3 |
#define Anum_pg_type_typreceive 13 |
#define Anum_pg_type_typrelid 9 |
#define Anum_pg_type_typsend 14 |
#define Anum_pg_type_typstorage 17 |
#define Anum_pg_type_typtype 6 |
#define Anum_pg_type_typtypmod 20 |
#define ANYARRAYOID 2277 |
#define ANYELEMENTOID 2283 |
#define ANYOID 2276 |
#define BITOID 1560 |
#define BOOLOID 16 |
#define BOXOID 603 |
#define BPCHAROID 1042 |
#define BYTEAOID 17 |
#define CASHOID 790 |
#define CHAROID 18 |
#define CIDOID 29 |
#define CIDROID 650 |
#define CIRCLEOID 718 |
#define CSTRINGOID 2275 |
#define DATEOID 1082 |
#define FLOAT4OID 700 |
#define FLOAT8OID 701 |
#define INETOID 869 |
#define INT2OID 21 |
#define INT2VECTOROID 22 |
#define INT4ARRAYOID 1007 |
#define INT4OID 23 |
#define INT8OID 20 |
#define INTERNALOID 2281 |
#define INTERVALOID 1186 |
#define LANGUAGE_HANDLEROID 2280 |
#define LINEOID 628 |
#define LSEGOID 601 |
#define MACADDROID 829 |
#define NAMEOID 19 |
#define Natts_pg_type 23 |
#define NUMERICOID 1700 |
#define OIDOID 26 |
#define OIDVECTOROID 30 |
#define OPAQUEOID 2282 |
#define PATHOID 602 |
#define PG_ATTRIBUTE_RELTYPE_OID 75 |
#define PG_CLASS_RELTYPE_OID 83 |
#define PG_PROC_RELTYPE_OID 81 |
#define PG_TYPE_RELTYPE_OID 71 |
#define POINTOID 600 |
#define POLYGONOID 604 |
#define RECORDOID 2249 |
#define REFCURSOROID 1790 |
#define REGCLASSOID 2205 |
#define REGOPERATOROID 2204 |
#define REGOPEROID 2203 |
#define REGPROCEDUREOID 2202 |
#define REGPROCOID 24 |
#define REGTYPEOID 2206 |
#define RELTIMEOID 703 |
#define TEXTOID 25 |
#define TIDOID 27 |
#define TIMEOID 1083 |
#define TIMESTAMPOID 1114 |
#define TIMESTAMPTZOID 1184 |
#define TIMETZOID 1266 |
#define TINTERVALOID 704 |
#define TRIGGEROID 2279 |
#define TypeRelationId 1247 |
#define UNKNOWNOID 705 |
#define VARBITOID 1562 |
#define VARCHAROID 1043 |
#define VOIDOID 2278 |
#define XIDOID 28 |
typedef FormData_pg_type* Form_pg_type |
CATALOG | ( | pg_type | , |
1247 | |||
) |
DATA | ( | insert | OID = 16(boolPGNSP PGUID 1 t b t\054 00 boolin boolout boolrecv boolsend-c p f 0-1 0 _null_ _null_) | ) |
DESCR | ( | "-32 thousand to 32 | thousand, |
2-byte storage" | |||
) |
DESCR | ( | "command identifier | type, |
sequence in transaction id" | |||
) |
DESCR | ( | "XX:XX:XX:XX:XX:XX | , |
MAC address" | |||
) |
DESCR | ( | "registered type" | ) |
DESCR | ( | "registered class" | ) |
DESCR | ( | "registered operator (with args)" | ) |
DESCR | ( | "registered operator" | ) |
DESCR | ( | "registered procedure (with args)" | ) |
DESCR | ( | "reference cursor (portal name)" | ) |
DESCR | ( | " | numericprecision, decimal, |
arbitrary precision number" | |||
) |
DESCR | ( | "variable-length bit string" | ) |
DESCR | ( | "fixed-length bit string" | ) |
DESCR | ( | "@ <number> <units> | , |
time interval" | |||
) |
DESCR | ( | "date and time with time zone" | ) |
DESCR | ( | "date and time" | ) |
DESCR | ( | "hh:mm:ss | , |
ANSI SQL time" | |||
) |
DESCR | ( | "ANSI SQL date" | ) |
DESCR | ( | " | varcharlength, |
non-blank-padded | string, | ||
variable storage length" | |||
) |
DESCR | ( | " | charlength, |
blank-padded | string, | ||
fixed storage length" | |||
) |
DESCR | ( | "IP address/ | netmask, |
host | address, | ||
netmask optional" | |||
) |
DESCR | ( | "storage manager" | ) |
DESCR | ( | "network IP address/ | netmask, |
network address" | |||
) |
DESCR | ( | "access control list" | ) |
DESCR | ( | "monetary | amounts, |
$ | d, | ||
ddd.cc" | |||
) |
DESCR | ( | "geometric circle '(center,radius)'" | ) |
DESCR | ( | " | abstime,abstime, |
time interval" | |||
) |
DESCR | ( | " | relative, |
limited-range time interval(Unix delta time)" | |||
) |
DESCR | ( | " | absolute, |
limited-range date and time(Unix system time)" | |||
) |
DESCR | ( | "double-precision floating point | number, |
8-byte storage" | |||
) |
DESCR | ( | "single-precision floating point | number, |
4-byte storage" | |||
) |
DESCR | ( | "" | ) |
DESCR | ( | "geometric line (not implemented)'" | ) |
DESCR | ( | "geometric polygon '(pt1,...)'" | ) |
DESCR | ( | "geometric box '(lower left,upper right)'" | ) |
DESCR | ( | "geometric path '(pt1,...)'" | ) |
DESCR | ( | "geometric point '(x, y)'" | ) |
DESCR | ( | "geometric line segment '(pt1,pt2)'" | ) |
DESCR | ( | "single character" | ) |
DESCR | ( | "transaction id" | ) |
DESCR | ( | "object | identifieroid, |
maximum 4 billion" | |||
) |
DESCR | ( | "variable-length | string, |
no limit specified" | |||
) |
DESCR | ( | "-2 billion to 2 billion | integer, |
4-byte storage" | |||
) |
DESCR | ( | "registered procedure" | ) |
DESCR | ( | " | boolean, |
'true'/'false'" | |||
) |
DESCR | ( | "63-character type for storing system identifiers" | ) |
DESCR | ( | "~18 digit | integer, |
8-byte storage" | |||
) |
void GenerateTypeDependencies | ( | Oid | typeNamespace, |
Oid | typeObjectId, | ||
Oid | relationOid, | ||
char | relationKind, | ||
Oid | owner, | ||
Oid | inputProcedure, | ||
Oid | outputProcedure, | ||
Oid | receiveProcedure, | ||
Oid | sendProcedure, | ||
Oid | analyzeProcedure, | ||
Oid | elementType, | ||
Oid | baseType, | ||
Node * | defaultExpr, | ||
bool | rebuild | ||
) |
char* makeArrayTypeName | ( | const char * | typeName | ) |
Oid TypeCreate | ( | const char * | typeName, |
Oid | typeNamespace, | ||
Oid | relationOid, | ||
char | relationKind, | ||
int16 | internalSize, | ||
char | typeType, | ||
char | typDelim, | ||
Oid | inputProcedure, | ||
Oid | outputProcedure, | ||
Oid | receiveProcedure, | ||
Oid | sendProcedure, | ||
Oid | analyzeProcedure, | ||
Oid | elementType, | ||
Oid | baseType, | ||
const char * | defaultTypeValue, | ||
char * | defaultTypeBin, | ||
bool | passedByValue, | ||
char | alignment, | ||
char | storage, | ||
int32 | typeMod, | ||
int32 | typNDims, | ||
bool | typeNotNull | ||
) |
void TypeRename | ( | const char * | oldTypeName, |
Oid | typeNamespace, | ||
const char * | newTypeName | ||
) |