diff --git a/gpMgmt/bin/gppylib/data/4.0.json b/gpMgmt/bin/gppylib/data/4.0.json deleted file mode 100644 index 58fcb6d5d5f06627a41e549e870f6a0022e296b1..0000000000000000000000000000000000000000 --- a/gpMgmt/bin/gppylib/data/4.0.json +++ /dev/null @@ -1,5542 +0,0 @@ -{ - "pg_amproc" : { - "relid_comment_tag" : "/* relation id: 2603 - pg_amproc 20101210 */\n", - "tabdef_text" : "\n CREATE TABLE pg_amproc\n with (camelcase=AccessMethodProcedure, oid=false, relid=2603)\n (\n amopclaid oid, \n amprocsubtype oid, \n amprocnum smallint, \n amproc regproc\n )", - "CamelCaseRelationId" : "AccessMethodProcedureRelationId", - "with" : { - "shared" : 0, - "text" : "with (camelcase=AccessMethodProcedure, oid=false, relid=2603)", - "oid" : "", - "relid" : "2603", - "bootstrap" : 0, - "camelcase" : "AccessMethodProcedure" - }, - "colh" : { - "amproc" : "regproc", - "amprocnum" : "int2", - "amopclaid" : "Oid", - "amprocsubtype" : "Oid" - }, - "cols" : [ - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "amopclaid", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "amprocsubtype" - }, - { - "ctype" : "int2", - "sqltype" : "smallint", - "colname" : "amprocnum" - }, - { - "ctype" : "regproc", - "sqltype" : "regproc", - "colname" : "amproc" - } - ] - }, - "gp_fastsequence" : { - "relid_comment_tag" : "/* relation id: 5043 - gp_fastsequence 20101210 */\n", - "tabdef_text" : "\n CREATE TABLE gp_fastsequence\n with (camelcase=FastSequence, oid=false, relid=5043, reltype_oid=6453, content=SEGMENT_LOCAL)\n (\n objid oid,\n objmod bigint,\n last_sequence bigint\n )", - "UppercaseReltypeOid" : "GP_FASTSEQUENCE_RELTYPE_OID", - "CamelCaseRelationId" : "FastSequenceRelationId", - "with" : { - "shared" : 0, - "reltype_oid" : "6453", - "text" : "with (camelcase=FastSequence, oid=false, relid=5043, reltype_oid=6453, content=SEGMENT_LOCAL)", - "content" : "SEGMENT_LOCAL", - "oid" : "", - "relid" : "5043", - "bootstrap" : 0, - "camelcase" : "FastSequence" - }, - "colh" : { - "objmod" : "bigint", - "last_sequence" : "bigint", - "objid" : "Oid" - }, - "cols" : [ - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "objid", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "bigint", - "sqltype" : "bigint", - "colname" : "objmod" - }, - { - "ctype" : "bigint", - "sqltype" : "bigint", - "colname" : "last_sequence" - } - ] - }, - "pg_resqueue" : { - "relid_comment_tag" : "/* relation id: 6026 - pg_resqueue 20101210 */\n", - "tabdef_text" : "\n CREATE TABLE pg_resqueue\n with (camelcase=ResQueue, shared=true, relid=6026, content=MASTER_ONLY)\n (\n rsqname name, -- name of resource queue\n rsqcountlimit real, -- max active count limit\n rsqcostlimit real, -- max cost limit\n rsqovercommit boolean, -- allow overcommit on suitable limits\n rsqignorecostlimit real -- ignore queries with cost less than\n )", - "CamelCaseRelationId" : "ResQueueRelationId", - "with" : { - "shared" : "1", - "text" : "with (camelcase=ResQueue, shared=true, relid=6026, content=MASTER_ONLY)", - "oid" : 1, - "content" : "MASTER_ONLY", - "relid" : "6026", - "bootstrap" : 0, - "camelcase" : "ResQueue" - }, - "indexes" : [ - { - "unique" : "1", - "indexid" : "6027", - "CamelCaseIndexId" : "ResQueueOidIndexId", - "with" : { - "indexid" : "6027" - }, - "cols" : [ - [ - "oid", - "oid_ops" - ] - ] - }, - { - "unique" : "1", - "indexid" : "6028", - "CamelCaseIndexId" : "ResQueueRsqnameIndexId", - "with" : { - "indexid" : "6028" - }, - "cols" : [ - [ - "rsqname", - "name_ops" - ] - ] - } - ], - "colh" : { - "rsqname" : "NameData", - "rsqcostlimit" : "float4", - "rsqovercommit" : "bool", - "oid" : "Oid", - "rsqcountlimit" : "float4", - "rsqignorecostlimit" : "float4" - }, - "cols" : [ - { - "ctype" : "NameData", - "postcomment" : "-- name of resource queue", - "sqltype" : "name", - "colname" : "rsqname", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "float4", - "postcomment" : "-- max active count limit", - "sqltype" : "real", - "colname" : "rsqcountlimit" - }, - { - "ctype" : "float4", - "postcomment" : "-- max cost limit", - "sqltype" : "real", - "colname" : "rsqcostlimit" - }, - { - "ctype" : "bool", - "postcomment" : "-- allow overcommit on suitable limits", - "sqltype" : "boolean", - "colname" : "rsqovercommit" - }, - { - "ctype" : "float4", - "postcomment" : "-- ignore queries with cost less than", - "sqltype" : "real", - "colname" : "rsqignorecostlimit" - } - ] - }, - "pg_foreign_table" : { - "relid_comment_tag" : "/* relation id: 2879 - pg_foreign_table 20101210 */\n", - "tabdef_text" : "\n CREATE TABLE pg_foreign_table\n with (camelcase=ForeignTable, oid=false, relid=2879, reltype_oid=6452)\n (\n reloid oid, -- refers to this relation's oid in pg_class\n server oid, -- table's foreign server\n -- VARIABLE LENGTH FIELDS start here. These fields may be NULL, too.\n\n tbloptions text[] -- foreign table-specific options\n )", - "UppercaseReltypeOid" : "PG_FOREIGN_TABLE_RELTYPE_OID", - "CamelCaseRelationId" : "ForeignTableRelationId", - "with" : { - "shared" : 0, - "reltype_oid" : "6452", - "text" : "with (camelcase=ForeignTable, oid=false, relid=2879, reltype_oid=6452)", - "oid" : "", - "relid" : "2879", - "bootstrap" : 0, - "camelcase" : "ForeignTable" - }, - "colh" : { - "tbloptions" : "text[1]", - "server" : "Oid", - "reloid" : "Oid" - }, - "cols" : [ - { - "ctype" : "Oid", - "postcomment" : "-- refers to this relation's oid in pg_class", - "sqltype" : "oid", - "colname" : "reloid", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "Oid", - "postcomment" : "-- table's foreign server", - "sqltype" : "oid", - "colname" : "server" - }, - { - "ctype" : "text[1]", - "postcomment" : "-- foreign table-specific options", - "sqltype" : "text[]", - "colname" : "tbloptions", - "precomment" : "\n -- VARIABLE LENGTH FIELDS start here. These fields may be NULL, too.\n**TK_BLANK_LINE**" - } - ] - }, - "pg_conversion" : { - "relid_comment_tag" : "/* relation id: 2607 - pg_conversion 20101210 */\n", - "tabdef_text" : "\n CREATE TABLE pg_conversion\n with (relid=2607)\n (\n conname name, \n connamespace oid, \n conowner oid, \n conforencoding integer, \n contoencoding integer, \n conproc regproc, \n condefault boolean\n )", - "CamelCaseRelationId" : "ConversionRelationId", - "with" : { - "shared" : 0, - "text" : "with (relid=2607)", - "oid" : 1, - "relid" : "2607", - "bootstrap" : 0, - "camelcase" : "Conversion" - }, - "colh" : { - "contoencoding" : "int4", - "conforencoding" : "int4", - "oid" : "Oid", - "conname" : "NameData", - "conproc" : "regproc", - "connamespace" : "Oid", - "condefault" : "bool", - "conowner" : "Oid" - }, - "cols" : [ - { - "ctype" : "NameData", - "sqltype" : "name", - "colname" : "conname", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "connamespace" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "conowner" - }, - { - "ctype" : "int4", - "sqltype" : "integer", - "colname" : "conforencoding" - }, - { - "ctype" : "int4", - "sqltype" : "integer", - "colname" : "contoencoding" - }, - { - "ctype" : "regproc", - "sqltype" : "regproc", - "colname" : "conproc" - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "condefault" - } - ] - }, - "pg_shdepend" : { - "relid_comment_tag" : "/* relation id: 1214 - pg_shdepend 20101210 */\n", - "tabdef_text" : "\n CREATE TABLE pg_shdepend\n with (camelcase=SharedDepend, shared=true, oid=false, relid=1214, content=SEGMENT_LOCAL)\n (\n dbid oid, \n classid oid, \n objid oid, \n refclassid oid, \n refobjid oid, \n deptype \"char\"\n )", - "CamelCaseRelationId" : "SharedDependRelationId", - "with" : { - "shared" : "1", - "text" : "with (camelcase=SharedDepend, shared=true, oid=false, relid=1214, content=SEGMENT_LOCAL)", - "content" : "SEGMENT_LOCAL", - "oid" : "", - "relid" : "1214", - "bootstrap" : 0, - "camelcase" : "SharedDepend" - }, - "colh" : { - "deptype" : "char", - "refobjid" : "Oid", - "classid" : "Oid", - "dbid" : "Oid", - "refclassid" : "Oid", - "objid" : "Oid" - }, - "cols" : [ - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "dbid", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "classid" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "objid" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "refclassid" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "refobjid" - }, - { - "ctype" : "char", - "sqltype" : "quoted_char", - "colname" : "deptype" - } - ] - }, - "gp_persistent_relation_node" : { - "relid_comment_tag" : "/* relation id: 5090 - gp_persistent_relation_node 20101210 */\n", - "tabdef_text" : "\n CREATE TABLE gp_persistent_relation_node\n with (shared=true, oid=false, relid=5090, reltype_oid=6990, content=PERSISTENT)\n (\n tablespace_oid oid ,\n database_oid oid ,\n relfilenode_oid oid ,\n segment_file_num integer ,\n relation_storage_manager smallint ,\n persistent_state smallint ,\n create_mirror_data_loss_tracking_session_num bigint ,\n mirror_existence_state smallint ,\n mirror_data_synchronization_state smallint ,\n mirror_bufpool_marked_for_scan_incremental_resync boolean ,\n mirror_bufpool_resync_changed_page_count bigint ,\n mirror_bufpool_resync_ckpt_loc gpxlogloc ,\n mirror_bufpool_resync_ckpt_block_num integer ,\n mirror_append_only_loss_eof bigint ,\n mirror_append_only_new_eof bigint ,\n reserved \t\t\t\t\t\t integer ,\n parent_xid integer ,\n persistent_serial_num bigint ,\n previous_free_tid tid \n )", - "UppercaseReltypeOid" : "GP_PERSISTENT_RELATION_NODE_RELTYPE_OID", - "CamelCaseRelationId" : "GpPersistent_relation_nodeRelationId", - "with" : { - "shared" : "1", - "reltype_oid" : "6990", - "text" : "with (shared=true, oid=false, relid=5090, reltype_oid=6990, content=PERSISTENT)", - "content" : "PERSISTENT", - "oid" : "", - "relid" : "5090", - "bootstrap" : 0, - "camelcase" : "GpPersistent_relation_node" - }, - "colh" : { - "previous_free_tid" : "tid", - "mirror_bufpool_resync_ckpt_block_num" : "int4", - "mirror_bufpool_resync_ckpt_loc" : "gpxlogloc", - "mirror_bufpool_marked_for_scan_incremental_resync" : "bool", - "create_mirror_data_loss_tracking_session_num" : "bigint", - "database_oid" : "Oid", - "mirror_data_synchronization_state" : "int2", - "parent_xid" : "int4", - "tablespace_oid" : "Oid", - "persistent_state" : "int2", - "relfilenode_oid" : "Oid", - "relation_storage_manager" : "int2", - "persistent_serial_num" : "bigint", - "mirror_append_only_new_eof" : "bigint", - "segment_file_num" : "int4", - "mirror_bufpool_resync_changed_page_count" : "bigint", - "mirror_append_only_loss_eof" : "bigint", - "reserved" : "int4", - "mirror_existence_state" : "int2" - }, - "cols" : [ - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "tablespace_oid", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "database_oid" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "relfilenode_oid" - }, - { - "ctype" : "int4", - "sqltype" : "integer", - "colname" : "segment_file_num" - }, - { - "ctype" : "int2", - "sqltype" : "smallint", - "colname" : "relation_storage_manager" - }, - { - "ctype" : "int2", - "sqltype" : "smallint", - "colname" : "persistent_state" - }, - { - "ctype" : "bigint", - "sqltype" : "bigint", - "colname" : "create_mirror_data_loss_tracking_session_num" - }, - { - "ctype" : "int2", - "sqltype" : "smallint", - "colname" : "mirror_existence_state" - }, - { - "ctype" : "int2", - "sqltype" : "smallint", - "colname" : "mirror_data_synchronization_state" - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "mirror_bufpool_marked_for_scan_incremental_resync" - }, - { - "ctype" : "bigint", - "sqltype" : "bigint", - "colname" : "mirror_bufpool_resync_changed_page_count" - }, - { - "ctype" : "gpxlogloc", - "sqltype" : "gpxlogloc", - "colname" : "mirror_bufpool_resync_ckpt_loc" - }, - { - "ctype" : "int4", - "sqltype" : "integer", - "colname" : "mirror_bufpool_resync_ckpt_block_num" - }, - { - "ctype" : "bigint", - "sqltype" : "bigint", - "colname" : "mirror_append_only_loss_eof" - }, - { - "ctype" : "bigint", - "sqltype" : "bigint", - "colname" : "mirror_append_only_new_eof" - }, - { - "ctype" : "int4", - "sqltype" : "integer", - "colname" : "reserved" - }, - { - "ctype" : "int4", - "sqltype" : "integer", - "colname" : "parent_xid" - }, - { - "ctype" : "bigint", - "sqltype" : "bigint", - "colname" : "persistent_serial_num" - }, - { - "ctype" : "tid", - "sqltype" : "tid", - "colname" : "previous_free_tid" - } - ] - }, - "pg_proc" : { - "CamelCaseToastInd" : "PgProcedureToastIndex", - "tabdef_text" : "\n CREATE TABLE pg_proc\n with (camelcase=Procedure, bootstrap=true, relid=1255, toast_oid=2836, toast_index=2837)\n (\n proname name, \n pronamespace oid, \n proowner oid, \n prolang oid, \n proisagg boolean, \n prosecdef boolean, \n proisstrict boolean, \n proretset boolean, \n provolatile \"char\", \n pronargs smallint, \n prorettype oid, \n proiswin boolean, \n proargtypes oidvector, \n proallargtypes oid[], \n proargmodes \"char\"[], \n proargnames text[], \n prosrc text, \n probin bytea, \n proacl aclitem[]\n )", - "CamelCaseToastTab" : "PgProcedureToastTable", - "cols" : [ - { - "ctype" : "NameData", - "sqltype" : "name", - "colname" : "proname", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "pronamespace" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "proowner" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "prolang" - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "proisagg" - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "prosecdef" - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "proisstrict" - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "proretset" - }, - { - "ctype" : "char", - "sqltype" : "quoted_char", - "colname" : "provolatile" - }, - { - "ctype" : "int2", - "sqltype" : "smallint", - "colname" : "pronargs" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "prorettype" - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "proiswin" - }, - { - "ctype" : "oidvector", - "sqltype" : "oidvector", - "colname" : "proargtypes" - }, - { - "ctype" : "Oid[1]", - "sqltype" : "oid[]", - "colname" : "proallargtypes" - }, - { - "ctype" : "char[1]", - "sqltype" : "quoted_char[]", - "colname" : "proargmodes" - }, - { - "ctype" : "text[1]", - "sqltype" : "text[]", - "colname" : "proargnames" - }, - { - "ctype" : "text", - "sqltype" : "text", - "colname" : "prosrc" - }, - { - "ctype" : "bytea", - "sqltype" : "bytea", - "colname" : "probin" - }, - { - "ctype" : "aclitem[1]", - "sqltype" : "aclitem[]", - "colname" : "proacl" - } - ], - "relid_comment_tag" : "/* relation id: 1255 - pg_proc 20101210 */\n", - "with" : { - "shared" : 0, - "toast_oid" : "2836", - "text" : "with (camelcase=Procedure, bootstrap=true, relid=1255, toast_oid=2836, toast_index=2837)", - "oid" : 1, - "relid" : "1255", - "bootstrap" : "1", - "toast_index" : "2837", - "camelcase" : "Procedure" - }, - "CamelCaseRelationId" : "ProcedureRelationId", - "colh" : { - "proretset" : "bool", - "oid" : "Oid", - "proowner" : "Oid", - "provolatile" : "char", - "proname" : "NameData", - "prorettype" : "Oid", - "pronargs" : "int2", - "prosrc" : "text", - "proargtypes" : "oidvector", - "proisstrict" : "bool", - "proallargtypes" : "Oid[1]", - "prosecdef" : "bool", - "probin" : "bytea", - "pronamespace" : "Oid", - "prolang" : "Oid", - "proargnames" : "text[1]", - "proacl" : "aclitem[1]", - "proisagg" : "bool", - "proiswin" : "bool", - "proargmodes" : "char[1]" - } - }, - "gp_version_at_initdb" : { - "relid_comment_tag" : "/* relation id: 5003 - gp_version_at_initdb 20101210 */\n", - "tabdef_text" : "\n CREATE TABLE gp_version_at_initdb\n with (shared=true, oid=false, relid=5003)\n (\n schemaversion smallint ,\n\tproductversion text \n )", - "CamelCaseRelationId" : "GpVersion_at_initdbRelationId", - "with" : { - "shared" : "1", - "text" : "with (shared=true, oid=false, relid=5003)", - "oid" : "", - "relid" : "5003", - "bootstrap" : 0, - "camelcase" : "GpVersion_at_initdb" - }, - "colh" : { - "productversion" : "text", - "schemaversion" : "int2" - }, - "cols" : [ - { - "ctype" : "int2", - "sqltype" : "smallint", - "colname" : "schemaversion", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "text", - "sqltype" : "text", - "colname" : "productversion" - } - ] - }, - "pg_largeobject" : { - "relid_comment_tag" : "/* relation id: 2613 - pg_largeobject 20101210 */\n", - "tabdef_text" : "\n CREATE TABLE pg_largeobject\n with (camelcase=LargeObject, shared=false, oid=false, relid=2613)\n (\n loid oid , -- Identifier of large object \n pageno integer , -- Page number (starting from 0)\n data bytea -- Data for page (may be zero-length)\n )", - "CamelCaseRelationId" : "LargeObjectRelationId", - "with" : { - "shared" : "", - "text" : "with (camelcase=LargeObject, shared=false, oid=false, relid=2613)", - "oid" : "", - "relid" : "2613", - "bootstrap" : 0, - "camelcase" : "LargeObject" - }, - "indexes" : [ - { - "unique" : "1", - "indexname" : "pg_largeobject_loid_pn_index", - "indexid" : "2683", - "CamelCaseIndexId" : "LargeObjectLoidPagenoIndexId", - "with" : { - "indexname" : "pg_largeobject_loid_pn_index", - "indexid" : "2683" - }, - "cols" : [ - [ - "loid", - "oid_ops" - ], - [ - "pageno", - "int4_ops" - ] - ] - } - ], - "colh" : { - "pageno" : "int4", - "loid" : "Oid", - "data" : "bytea" - }, - "cols" : [ - { - "ctype" : "Oid", - "postcomment" : "-- Identifier of large object ", - "sqltype" : "oid", - "colname" : "loid", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "int4", - "postcomment" : "-- Page number (starting from 0)", - "sqltype" : "integer", - "colname" : "pageno" - }, - { - "ctype" : "bytea", - "postcomment" : "-- Data for page (may be zero-length)", - "sqltype" : "bytea", - "colname" : "data" - } - ] - }, - "pg_stat_last_shoperation" : { - "tabdef_text" : "\n CREATE TABLE pg_stat_last_shoperation\n with (camelcase=StatLastShOp, shared=true, oid=false, relid=6056, reltype_oid=6441, content=MASTER_ONLY)\n (\n classid oid, \n objid oid, \n staactionname name, \n stasysid oid, \n stausename name, \n stasubtype text, \n statime timestamp with time zone\n )", - "UppercaseReltypeOid" : "PG_STAT_LAST_SHOPERATION_RELTYPE_OID", - "cols" : [ - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "classid", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "objid" - }, - { - "ctype" : "NameData", - "sqltype" : "name", - "colname" : "staactionname" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "stasysid" - }, - { - "ctype" : "NameData", - "sqltype" : "name", - "colname" : "stausename" - }, - { - "ctype" : "text", - "sqltype" : "text", - "colname" : "stasubtype" - }, - { - "ctype" : "timestamptz", - "sqltype" : "timestamp_with_time_zone", - "colname" : "statime" - } - ], - "relid_comment_tag" : "/* relation id: 6056 - pg_stat_last_shoperation 20101210 */\n", - "with" : { - "shared" : "1", - "reltype_oid" : "6441", - "text" : "with (camelcase=StatLastShOp, shared=true, oid=false, relid=6056, reltype_oid=6441, content=MASTER_ONLY)", - "content" : "MASTER_ONLY", - "oid" : "", - "relid" : "6056", - "bootstrap" : 0, - "camelcase" : "StatLastShOp" - }, - "CamelCaseRelationId" : "StatLastShOpRelationId", - "colh" : { - "statime" : "timestamptz", - "stasysid" : "Oid", - "stasubtype" : "text", - "classid" : "Oid", - "stausename" : "NameData", - "staactionname" : "NameData", - "objid" : "Oid" - }, - "tzhack" : "\"statime\"" - }, - "pg_constraint" : { - "CamelCaseToastInd" : "PgConstraintToastIndex", - "tabdef_text" : "\n CREATE TABLE pg_constraint\n with (relid=2606, toast_oid=2832, toast_index=2833)\n (\n conname name, \n connamespace oid, \n contype \"char\", \n condeferrable boolean, \n condeferred boolean, \n conrelid oid, \n contypid oid, \n confrelid oid, \n confupdtype \"char\", \n confdeltype \"char\", \n confmatchtype \"char\", \n conkey smallint[], \n confkey smallint[], \n conbin text, \n consrc text\n )", - "CamelCaseToastTab" : "PgConstraintToastTable", - "cols" : [ - { - "ctype" : "NameData", - "sqltype" : "name", - "colname" : "conname", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "connamespace" - }, - { - "ctype" : "char", - "sqltype" : "quoted_char", - "colname" : "contype" - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "condeferrable" - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "condeferred" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "conrelid" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "contypid" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "confrelid" - }, - { - "ctype" : "char", - "sqltype" : "quoted_char", - "colname" : "confupdtype" - }, - { - "ctype" : "char", - "sqltype" : "quoted_char", - "colname" : "confdeltype" - }, - { - "ctype" : "char", - "sqltype" : "quoted_char", - "colname" : "confmatchtype" - }, - { - "ctype" : "int2[1]", - "sqltype" : "smallint[]", - "colname" : "conkey" - }, - { - "ctype" : "int2[1]", - "sqltype" : "smallint[]", - "colname" : "confkey" - }, - { - "ctype" : "text", - "sqltype" : "text", - "colname" : "conbin" - }, - { - "ctype" : "text", - "sqltype" : "text", - "colname" : "consrc" - } - ], - "relid_comment_tag" : "/* relation id: 2606 - pg_constraint 20101210 */\n", - "with" : { - "toast_oid" : "2832", - "oid" : 1, - "relid" : "2606", - "bootstrap" : 0, - "camelcase" : "Constraint", - "toast_index" : "2833", - "shared" : 0, - "text" : "with (relid=2606, toast_oid=2832, toast_index=2833)" - }, - "CamelCaseRelationId" : "ConstraintRelationId", - "colh" : { - "confmatchtype" : "char", - "oid" : "Oid", - "contype" : "char", - "conname" : "NameData", - "conrelid" : "Oid", - "confdeltype" : "char", - "confrelid" : "Oid", - "condeferrable" : "bool", - "condeferred" : "bool", - "consrc" : "text", - "conkey" : "int2[1]", - "contypid" : "Oid", - "connamespace" : "Oid", - "confupdtype" : "char", - "confkey" : "int2[1]", - "conbin" : "text" - } - }, - "gp_master_mirroring" : { - "relid_comment_tag" : "/* relation id: 5008 - gp_master_mirroring 20101210 */\n", - "tabdef_text" : "\n CREATE TABLE gp_master_mirroring\n with (camelcase=GpMasterMirroring, shared=true, oid=false, relid=5008, content=MASTER_ONLY)\n (\n summary_state text,\n detail_state text,\n log_time timestamp with time zone,\n error_message text\n )", - "CamelCaseRelationId" : "GpMasterMirroringRelationId", - "with" : { - "shared" : "1", - "text" : "with (camelcase=GpMasterMirroring, shared=true, oid=false, relid=5008, content=MASTER_ONLY)", - "content" : "MASTER_ONLY", - "oid" : "", - "relid" : "5008", - "bootstrap" : 0, - "camelcase" : "GpMasterMirroring" - }, - "tzhack" : "\"log_time\"", - "colh" : { - "error_message" : "text", - "detail_state" : "text", - "summary_state" : "text", - "log_time" : "timestamptz" - }, - "cols" : [ - { - "ctype" : "text", - "sqltype" : "text", - "colname" : "summary_state", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "text", - "sqltype" : "text", - "colname" : "detail_state" - }, - { - "ctype" : "timestamptz", - "sqltype" : "timestamp_with_time_zone", - "colname" : "log_time" - }, - { - "ctype" : "text", - "sqltype" : "text", - "colname" : "error_message" - } - ] - }, - "pg_cast" : { - "relid_comment_tag" : "/* relation id: 2605 - pg_cast 20101210 */\n", - "tabdef_text" : "\n CREATE TABLE pg_cast\n with (relid=2605)\n (\n castsource oid, \n casttarget oid, \n castfunc oid, \n castcontext \"char\"\n )", - "CamelCaseRelationId" : "CastRelationId", - "with" : { - "shared" : 0, - "text" : "with (relid=2605)", - "oid" : 1, - "relid" : "2605", - "bootstrap" : 0, - "camelcase" : "Cast" - }, - "colh" : { - "castsource" : "Oid", - "oid" : "Oid", - "castfunc" : "Oid", - "casttarget" : "Oid", - "castcontext" : "char" - }, - "cols" : [ - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "castsource", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "casttarget" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "castfunc" - }, - { - "ctype" : "char", - "sqltype" : "quoted_char", - "colname" : "castcontext" - } - ] - }, - "pg_class" : { - "relid_comment_tag" : "/* relation id: 1259 - pg_class 20101210 */\n", - "tabdef_text" : "\n CREATE TABLE pg_class\n with (bootstrap=true, relid=1259)\n (\n relname name ,\n relnamespace oid ,\n reltype oid ,\n relowner oid ,\n relam oid ,\n relfilenode oid ,\n reltablespace oid ,\n relpages integer ,\n reltuples real ,\n reltoastrelid oid ,\n reltoastidxid oid ,\n relaosegrelid oid ,\n relaosegidxid oid ,\n relhasindex boolean ,\n relisshared boolean ,\n relkind \"char\" ,\n relstorage \"char\" ,\n relnatts smallint ,\n relchecks smallint ,\n reltriggers smallint ,\n relukeys smallint ,\n relfkeys smallint ,\n relrefs smallint ,\n relhasoids boolean ,\n relhaspkey boolean ,\n relhasrules boolean ,\n relhassubclass boolean ,\n relfrozenxid xid ,\n relacl aclitem[] ,\n reloptions text[] \n )", - "CamelCaseRelationId" : "ClassRelationId", - "with" : { - "shared" : 0, - "text" : "with (bootstrap=true, relid=1259)", - "oid" : 1, - "relid" : "1259", - "bootstrap" : "1", - "camelcase" : "Class" - }, - "foreign_keys" : [ - [ - [ - "relnamespace" - ], - "pg_namespace", - [ - "oid" - ] - ], - [ - [ - "reltype" - ], - "pg_type", - [ - "oid" - ] - ], - [ - [ - "relowner" - ], - "pg_authid", - [ - "oid" - ] - ], - [ - [ - "relam" - ], - "pg_am", - [ - "oid" - ] - ], - [ - [ - "reltablespace" - ], - "pg_tablespace", - [ - "oid" - ] - ], - [ - [ - "reltoastrelid" - ], - "pg_class", - [ - "oid" - ] - ], - [ - [ - "reltoastidxid" - ], - "pg_class", - [ - "oid" - ] - ] - ], - "colh" : { - "relchecks" : "int2", - "relnatts" : "int2", - "relukeys" : "int2", - "reltriggers" : "int2", - "relowner" : "Oid", - "relhaspkey" : "bool", - "oid" : "Oid", - "relfkeys" : "int2", - "relaosegidxid" : "Oid", - "relpages" : "int4", - "relhasindex" : "bool", - "relfrozenxid" : "xid", - "relname" : "NameData", - "relrefs" : "int2", - "relkind" : "char", - "relhassubclass" : "bool", - "relisshared" : "bool", - "relfilenode" : "Oid", - "relaosegrelid" : "Oid", - "reltoastidxid" : "Oid", - "reloptions" : "text[1]", - "relnamespace" : "Oid", - "relstorage" : "char", - "reltuples" : "float4", - "reltype" : "Oid", - "reltoastrelid" : "Oid", - "relhasoids" : "bool", - "relhasrules" : "bool", - "relacl" : "aclitem[1]", - "relam" : "Oid", - "reltablespace" : "Oid" - }, - "cols" : [ - { - "ctype" : "NameData", - "sqltype" : "name", - "colname" : "relname", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "relnamespace" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "reltype" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "relowner" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "relam" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "relfilenode" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "reltablespace" - }, - { - "ctype" : "int4", - "sqltype" : "integer", - "colname" : "relpages" - }, - { - "ctype" : "float4", - "sqltype" : "real", - "colname" : "reltuples" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "reltoastrelid" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "reltoastidxid" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "relaosegrelid" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "relaosegidxid" - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "relhasindex" - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "relisshared" - }, - { - "ctype" : "char", - "sqltype" : "quoted_char", - "colname" : "relkind" - }, - { - "ctype" : "char", - "sqltype" : "quoted_char", - "colname" : "relstorage" - }, - { - "ctype" : "int2", - "sqltype" : "smallint", - "colname" : "relnatts" - }, - { - "ctype" : "int2", - "sqltype" : "smallint", - "colname" : "relchecks" - }, - { - "ctype" : "int2", - "sqltype" : "smallint", - "colname" : "reltriggers" - }, - { - "ctype" : "int2", - "sqltype" : "smallint", - "colname" : "relukeys" - }, - { - "ctype" : "int2", - "sqltype" : "smallint", - "colname" : "relfkeys" - }, - { - "ctype" : "int2", - "sqltype" : "smallint", - "colname" : "relrefs" - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "relhasoids" - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "relhaspkey" - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "relhasrules" - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "relhassubclass" - }, - { - "ctype" : "xid", - "sqltype" : "xid", - "colname" : "relfrozenxid" - }, - { - "ctype" : "aclitem[1]", - "sqltype" : "aclitem[]", - "colname" : "relacl" - }, - { - "ctype" : "text[1]", - "sqltype" : "text[]", - "colname" : "reloptions" - } - ] - }, - "pg_filespace_entry" : { - "CamelCaseToastInd" : "PgFileSpaceEntryToastIndex", - "tabdef_text" : "\n CREATE TABLE pg_filespace_entry\n with (camelcase=FileSpaceEntry, shared=true, oid=false, relid=5033, reltype_oid=6439, toast_oid=2902, toast_index=2903, toast_reltype=2907, content=MASTER_ONLY)\n (\n fsefsoid oid, -- foreign key to pg_filespace \n fsedbid smallint, -- segment dbid this refers to \n fselocation text -- location of filespace directory\n )", - "CamelCaseToastTab" : "PgFileSpaceEntryToastTable", - "UppercaseReltypeOid" : "PG_FILESPACE_ENTRY_RELTYPE_OID", - "cols" : [ - { - "ctype" : "Oid", - "postcomment" : "-- foreign key to pg_filespace ", - "sqltype" : "oid", - "colname" : "fsefsoid", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "int2", - "postcomment" : "-- segment dbid this refers to ", - "sqltype" : "smallint", - "colname" : "fsedbid" - }, - { - "ctype" : "text", - "postcomment" : "-- location of filespace directory", - "sqltype" : "text", - "colname" : "fselocation" - } - ], - "relid_comment_tag" : "/* relation id: 5033 - pg_filespace_entry 20101210 */\n", - "with" : { - "reltype_oid" : "6439", - "toast_oid" : "2902", - "toast_reltype" : "2907", - "content" : "MASTER_ONLY", - "oid" : "", - "relid" : "5033", - "bootstrap" : 0, - "toast_index" : "2903", - "camelcase" : "FileSpaceEntry", - "shared" : "1", - "text" : "with (camelcase=FileSpaceEntry, shared=true, oid=false, relid=5033, reltype_oid=6439, toast_oid=2902, toast_index=2903, toast_reltype=2907, content=MASTER_ONLY)" - }, - "CamelCaseRelationId" : "FileSpaceEntryRelationId", - "UppercaseToastReltypeOid" : "PG_FILESPACE_ENTRY_TOAST_RELTYPE_OID", - "colh" : { - "fselocation" : "text", - "fsefsoid" : "Oid", - "fsedbid" : "int2" - }, - "indexes" : [ - { - "unique" : "", - "indexname" : "pg_filespace_entry_fs_index", - "indexid" : "2893", - "CamelCaseIndexId" : "FileSpaceEntryFsefsoidIndexId", - "with" : { - "indexname" : "pg_filespace_entry_fs_index", - "indexid" : "2893" - }, - "cols" : [ - [ - "fsefsoid", - "oid_ops" - ] - ] - }, - { - "unique" : "1", - "indexname" : "pg_filespace_entry_fsdb_index", - "indexid" : "2894", - "CamelCaseIndexId" : "FileSpaceEntryFsefsoidFsedbidIndexId", - "with" : { - "indexname" : "pg_filespace_entry_fsdb_index", - "indexid" : "2894" - }, - "cols" : [ - [ - "fsefsoid", - "oid_ops" - ], - [ - "fsedbid", - "int2_ops" - ] - ] - } - ] - }, - "pg_tablespace" : { - "relid_comment_tag" : "/* relation id: 1213 - pg_tablespace 20101210 */\n", - "tabdef_text" : "\n CREATE TABLE pg_tablespace\n with (camelcase=TableSpace, shared=true, relid=1213)\n (\n spcname name, \n spcowner oid, \n spclocation text, \n spcacl aclitem[], \n spcprilocations text[], \n spcmirlocations text[], \n spcfsoid oid\n )", - "CamelCaseRelationId" : "TableSpaceRelationId", - "with" : { - "shared" : "1", - "text" : "with (camelcase=TableSpace, shared=true, relid=1213)", - "oid" : 1, - "relid" : "1213", - "bootstrap" : 0, - "camelcase" : "TableSpace" - }, - "foreign_keys" : [ - [ - [ - "spcowner" - ], - "pg_authid", - [ - "oid" - ] - ], - [ - [ - "spcfsoid" - ], - "pg_filespace", - [ - "oid" - ] - ] - ], - "colh" : { - "spcname" : "NameData", - "spclocation" : "text", - "spcmirlocations" : "text[1]", - "oid" : "Oid", - "spcacl" : "aclitem[1]", - "spcfsoid" : "Oid", - "spcprilocations" : "text[1]", - "spcowner" : "Oid" - }, - "cols" : [ - { - "ctype" : "NameData", - "sqltype" : "name", - "colname" : "spcname", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "spcowner" - }, - { - "ctype" : "text", - "sqltype" : "text", - "colname" : "spclocation" - }, - { - "ctype" : "aclitem[1]", - "sqltype" : "aclitem[]", - "colname" : "spcacl" - }, - { - "ctype" : "text[1]", - "sqltype" : "text[]", - "colname" : "spcprilocations" - }, - { - "ctype" : "text[1]", - "sqltype" : "text[]", - "colname" : "spcmirlocations" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "spcfsoid" - } - ] - }, - "gp_fault_strategy" : { - "relid_comment_tag" : "/* relation id: 5039 - gp_fault_strategy 20101210 */\n", - "tabdef_text" : "\n CREATE TABLE gp_fault_strategy\n with (camelcase=GpFaultStrategy, shared=true, oid=false, relid=5039, reltype_oid=6443, content=MASTER_ONLY)\n (\n fault_strategy \"char\"\n )", - "UppercaseReltypeOid" : "GP_FAULT_STRATEGY_RELTYPE_OID", - "CamelCaseRelationId" : "GpFaultStrategyRelationId", - "with" : { - "shared" : "1", - "reltype_oid" : "6443", - "text" : "with (camelcase=GpFaultStrategy, shared=true, oid=false, relid=5039, reltype_oid=6443, content=MASTER_ONLY)", - "content" : "MASTER_ONLY", - "oid" : "", - "relid" : "5039", - "bootstrap" : 0, - "camelcase" : "GpFaultStrategy" - }, - "colh" : { - "fault_strategy" : "char" - }, - "cols" : [ - { - "ctype" : "char", - "sqltype" : "quoted_char", - "colname" : "fault_strategy", - "precomment" : "\n**TK_BLANK_LINE**" - } - ] - }, - "pg_opclass" : { - "relid_comment_tag" : "/* relation id: 2616 - pg_opclass 20101210 */\n", - "tabdef_text" : "\n CREATE TABLE pg_opclass\n with (camelcase=OperatorClass, shared=false, relid=2616)\n (\n opcamid oid ,\n opcname name ,\n opcnamespace oid ,\n opcowner oid ,\n opcintype oid ,\n opcdefault boolean ,\n opckeytype oid \n )", - "CamelCaseRelationId" : "OperatorClassRelationId", - "with" : { - "shared" : "", - "text" : "with (camelcase=OperatorClass, shared=false, relid=2616)", - "oid" : 1, - "relid" : "2616", - "bootstrap" : 0, - "camelcase" : "OperatorClass" - }, - "colh" : { - "oid" : "Oid", - "opcnamespace" : "Oid", - "opcname" : "NameData", - "opckeytype" : "Oid", - "opcintype" : "Oid", - "opcdefault" : "bool", - "opcamid" : "Oid", - "opcowner" : "Oid" - }, - "cols" : [ - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "opcamid", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "NameData", - "sqltype" : "name", - "colname" : "opcname" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "opcnamespace" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "opcowner" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "opcintype" - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "opcdefault" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "opckeytype" - } - ] - }, - "gp_persistent_tablespace_node" : { - "relid_comment_tag" : "/* relation id: 5092 - gp_persistent_tablespace_node 20101210 */\n", - "tabdef_text" : "\n CREATE TABLE gp_persistent_tablespace_node\n with (shared=true, oid=false, relid=5092, reltype_oid=6992, content=PERSISTENT)\n (\n filespace_oid oid ,\n tablespace_oid oid ,\n persistent_state smallint ,\n create_mirror_data_loss_tracking_session_num bigint ,\n mirror_existence_state smallint ,\n reserved integer ,\n parent_xid integer ,\n persistent_serial_num bigint ,\n previous_free_tid tid \n )", - "UppercaseReltypeOid" : "GP_PERSISTENT_TABLESPACE_NODE_RELTYPE_OID", - "CamelCaseRelationId" : "GpPersistent_tablespace_nodeRelationId", - "with" : { - "shared" : "1", - "reltype_oid" : "6992", - "text" : "with (shared=true, oid=false, relid=5092, reltype_oid=6992, content=PERSISTENT)", - "content" : "PERSISTENT", - "oid" : "", - "relid" : "5092", - "bootstrap" : 0, - "camelcase" : "GpPersistent_tablespace_node" - }, - "colh" : { - "previous_free_tid" : "tid", - "parent_xid" : "int4", - "persistent_state" : "int2", - "tablespace_oid" : "Oid", - "create_mirror_data_loss_tracking_session_num" : "bigint", - "persistent_serial_num" : "bigint", - "filespace_oid" : "Oid", - "reserved" : "int4", - "mirror_existence_state" : "int2" - }, - "cols" : [ - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "filespace_oid", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "tablespace_oid" - }, - { - "ctype" : "int2", - "sqltype" : "smallint", - "colname" : "persistent_state" - }, - { - "ctype" : "bigint", - "sqltype" : "bigint", - "colname" : "create_mirror_data_loss_tracking_session_num" - }, - { - "ctype" : "int2", - "sqltype" : "smallint", - "colname" : "mirror_existence_state" - }, - { - "ctype" : "int4", - "sqltype" : "integer", - "colname" : "reserved" - }, - { - "ctype" : "int4", - "sqltype" : "integer", - "colname" : "parent_xid" - }, - { - "ctype" : "bigint", - "sqltype" : "bigint", - "colname" : "persistent_serial_num" - }, - { - "ctype" : "tid", - "sqltype" : "tid", - "colname" : "previous_free_tid" - } - ] - }, - "pg_autovacuum" : { - "relid_comment_tag" : "/* relation id: 1248 - pg_autovacuum 20101210 */\n", - "tabdef_text" : "\n CREATE TABLE pg_autovacuum\n with (oid=false, relid=1248)\n (\n vacrelid oid, \n enabled boolean, \n vac_base_thresh integer, \n vac_scale_factor real, \n anl_base_thresh integer, \n anl_scale_factor real, \n vac_cost_delay integer, \n vac_cost_limit integer, \n freeze_min_age integer, \n freeze_max_age integer\n )", - "CamelCaseRelationId" : "AutovacuumRelationId", - "with" : { - "shared" : 0, - "text" : "with (oid=false, relid=1248)", - "oid" : "", - "relid" : "1248", - "bootstrap" : 0, - "camelcase" : "Autovacuum" - }, - "colh" : { - "vac_base_thresh" : "int4", - "freeze_max_age" : "int4", - "freeze_min_age" : "int4", - "vac_scale_factor" : "float4", - "anl_base_thresh" : "int4", - "vac_cost_delay" : "int4", - "vac_cost_limit" : "int4", - "anl_scale_factor" : "float4", - "vacrelid" : "Oid", - "enabled" : "bool" - }, - "cols" : [ - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "vacrelid", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "enabled" - }, - { - "ctype" : "int4", - "sqltype" : "integer", - "colname" : "vac_base_thresh" - }, - { - "ctype" : "float4", - "sqltype" : "real", - "colname" : "vac_scale_factor" - }, - { - "ctype" : "int4", - "sqltype" : "integer", - "colname" : "anl_base_thresh" - }, - { - "ctype" : "float4", - "sqltype" : "real", - "colname" : "anl_scale_factor" - }, - { - "ctype" : "int4", - "sqltype" : "integer", - "colname" : "vac_cost_delay" - }, - { - "ctype" : "int4", - "sqltype" : "integer", - "colname" : "vac_cost_limit" - }, - { - "ctype" : "int4", - "sqltype" : "integer", - "colname" : "freeze_min_age" - }, - { - "ctype" : "int4", - "sqltype" : "integer", - "colname" : "freeze_max_age" - } - ] - }, - "pg_namespace" : { - "relid_comment_tag" : "/* relation id: 2615 - pg_namespace 20101210 */\n", - "tabdef_text" : "\n CREATE TABLE pg_namespace\n with (relid=2615)\n (\n nspname name ,\n nspowner oid ,\n nspacl aclitem[] -- VARIABLE LENGTH FIELD\n )", - "CamelCaseRelationId" : "NamespaceRelationId", - "with" : { - "shared" : 0, - "text" : "with (relid=2615)", - "oid" : 1, - "relid" : "2615", - "bootstrap" : 0, - "camelcase" : "Namespace" - }, - "indexes" : [ - { - "unique" : "1", - "indexid" : "2684", - "CamelCaseIndexId" : "NamespaceNspnameIndexId", - "with" : { - "indexid" : "2684" - }, - "cols" : [ - [ - "nspname", - "name_ops" - ] - ] - }, - { - "unique" : "1", - "indexid" : "2685", - "CamelCaseIndexId" : "NamespaceOidIndexId", - "with" : { - "indexid" : "2685" - }, - "cols" : [ - [ - "oid", - "oid_ops" - ] - ] - } - ], - "colh" : { - "nspname" : "NameData", - "nspacl" : "aclitem[1]", - "oid" : "Oid", - "nspowner" : "Oid" - }, - "cols" : [ - { - "ctype" : "NameData", - "sqltype" : "name", - "colname" : "nspname", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "nspowner" - }, - { - "ctype" : "aclitem[1]", - "postcomment" : "-- VARIABLE LENGTH FIELD", - "sqltype" : "aclitem[]", - "colname" : "nspacl" - } - ] - }, - "pg_authid" : { - "CamelCaseToastInd" : "PgAuthIdToastIndex", - "tabdef_text" : "\n CREATE TABLE pg_authid\n with (CamelCase=AuthId, shared=true, relid=1260, toast_oid=2842, toast_index=2843)\n (\n rolname name, -- name of role \n rolsuper boolean, -- read this field via superuser() only! \n rolinherit boolean, -- inherit privileges from other roles? \n rolcreaterole boolean, -- allowed to create more roles? \n rolcreatedb boolean, -- allowed to create databases? \n rolcatupdate boolean, -- allowed to alter catalogs manually? \n rolcanlogin boolean, -- allowed to log in as session user? \n rolconnlimit integer, -- max connections allowed (-1=no limit) \n\n -- remaining fields may be null. use heap_getattr to read them! \n rolpassword text, -- password, if any \n rolvaliduntil timestamp with time zone, -- password expiration time, if any\n rolconfig text[], -- GUC settings to apply at login \n rolresqueue oid, -- ID of resource queue for this role \n \n -- GP added fields\n rolcreaterextgpfd boolean, -- allowed to create readable gpfdist tbl? \n rolcreaterexthttp boolean, -- allowed to create readable http tbl? \n rolcreatewextgpfd boolean, -- allowed to create writable gpfdist tbl? \n rolcreaterexthdfs boolean, -- allowed to create readable gphdfs tbl?\n rolcreatewexthdfs boolean -- allowed to create writable gphdfs tbl?\n )", - "CamelCaseToastTab" : "PgAuthIdToastTable", - "cols" : [ - { - "ctype" : "NameData", - "postcomment" : "-- name of role ", - "sqltype" : "name", - "colname" : "rolname", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "bool", - "postcomment" : "-- read this field via superuser() only! ", - "sqltype" : "boolean", - "colname" : "rolsuper" - }, - { - "ctype" : "bool", - "postcomment" : "-- inherit privileges from other roles? ", - "sqltype" : "boolean", - "colname" : "rolinherit" - }, - { - "ctype" : "bool", - "postcomment" : "-- allowed to create more roles? ", - "sqltype" : "boolean", - "colname" : "rolcreaterole" - }, - { - "ctype" : "bool", - "postcomment" : "-- allowed to create databases? ", - "sqltype" : "boolean", - "colname" : "rolcreatedb" - }, - { - "ctype" : "bool", - "postcomment" : "-- allowed to alter catalogs manually? ", - "sqltype" : "boolean", - "colname" : "rolcatupdate" - }, - { - "ctype" : "bool", - "postcomment" : "-- allowed to log in as session user? ", - "sqltype" : "boolean", - "colname" : "rolcanlogin" - }, - { - "ctype" : "int4", - "postcomment" : "-- max connections allowed (-1=no limit) ", - "sqltype" : "integer", - "colname" : "rolconnlimit" - }, - { - "ctype" : "text", - "postcomment" : "-- password, if any ", - "sqltype" : "text", - "colname" : "rolpassword", - "precomment" : "\n**TK_BLANK_LINE**\n -- remaining fields may be null. use heap_getattr to read them! " - }, - { - "ctype" : "timestamptz", - "postcomment" : "-- password expiration time, if any", - "sqltype" : "timestamp_with_time_zone", - "colname" : "rolvaliduntil" - }, - { - "ctype" : "text[1]", - "postcomment" : "-- GUC settings to apply at login ", - "sqltype" : "text[]", - "colname" : "rolconfig" - }, - { - "ctype" : "Oid", - "postcomment" : "-- ID of resource queue for this role ", - "sqltype" : "oid", - "colname" : "rolresqueue" - }, - { - "ctype" : "bool", - "postcomment" : "-- allowed to create readable gpfdist tbl? ", - "sqltype" : "boolean", - "colname" : "rolcreaterextgpfd", - "precomment" : "\n \n -- GP added fields" - }, - { - "ctype" : "bool", - "postcomment" : "-- allowed to create readable http tbl? ", - "sqltype" : "boolean", - "colname" : "rolcreaterexthttp" - }, - { - "ctype" : "bool", - "postcomment" : "-- allowed to create writable gpfdist tbl? ", - "sqltype" : "boolean", - "colname" : "rolcreatewextgpfd" - }, - { - "ctype" : "bool", - "postcomment" : "-- allowed to create readable gphdfs tbl?", - "sqltype" : "boolean", - "colname" : "rolcreaterexthdfs" - }, - { - "ctype" : "bool", - "postcomment" : "-- allowed to create writable gphdfs tbl?", - "sqltype" : "boolean", - "colname" : "rolcreatewexthdfs" - } - ], - "relid_comment_tag" : "/* relation id: 1260 - pg_authid 20101210 */\n", - "with" : { - "shared" : "1", - "toast_oid" : "2842", - "text" : "with (CamelCase=AuthId, shared=true, relid=1260, toast_oid=2842, toast_index=2843)", - "oid" : 1, - "relid" : "1260", - "bootstrap" : 0, - "toast_index" : "2843", - "camelcase" : "AuthId" - }, - "CamelCaseRelationId" : "AuthIdRelationId", - "colh" : { - "rolcreatewextgpfd" : "bool", - "rolresqueue" : "Oid", - "rolcatupdate" : "bool", - "oid" : "Oid", - "rolcreaterexthttp" : "bool", - "rolinherit" : "bool", - "rolcreaterextgpfd" : "bool", - "rolconnlimit" : "int4", - "rolsuper" : "bool", - "rolcreaterole" : "bool", - "rolpassword" : "text", - "rolcreaterexthdfs" : "bool", - "rolcreatewexthdfs" : "bool", - "rolcreatedb" : "bool", - "rolconfig" : "text[1]", - "rolvaliduntil" : "timestamptz", - "rolname" : "NameData", - "rolcanlogin" : "bool" - }, - "tzhack" : "\"rolvaliduntil\"", - "indexes" : [ - { - "unique" : "1", - "indexid" : "2676", - "CamelCaseIndexId" : "AuthIdRolnameIndexId", - "with" : { - "indexid" : "2676" - }, - "cols" : [ - [ - "rolname", - "name_ops" - ] - ] - }, - { - "unique" : "1", - "indexid" : "2677", - "CamelCaseIndexId" : "AuthIdOidIndexId", - "with" : { - "indexid" : "2677" - }, - "cols" : [ - [ - "oid", - "oid_ops" - ] - ] - }, - { - "unique" : "", - "indexid" : "6029", - "CamelCaseIndexId" : "AuthIdRolResQueueIndexId", - "with" : { - "indexid" : "6029", - "camelcase" : "AuthIdRolResQueue" - }, - "cols" : [ - [ - "rolresqueue", - "oid_ops" - ] - ] - } - ] - }, - "gp_segment_configuration" : { - "CamelCaseToastInd" : "GpSegmentConfigToastIndex", - "tabdef_text" : "\n CREATE TABLE gp_segment_configuration\n with (camelcase=GpSegmentConfig, shared=true, oid=false, relid=5036, reltype_oid=6442, toast_oid=2900, toast_index=2901, toast_reltype=2906, content=MASTER_ONLY)\n (\n dbid smallint , -- up to 32767 segment databases\n content smallint , -- up to 32767 contents -- only 16384 usable with mirroring (see dbid)\n\n role \"char\" ,\n preferred_role \"char\" ,\n mode \"char\" ,\n status \"char\" ,\n port integer ,\n\n hostname text ,\n address text ,\n\n replication_port integer ,\n san_mounts int2vector -- one or more mount-points used by this segment.\n )", - "CamelCaseToastTab" : "GpSegmentConfigToastTable", - "UppercaseReltypeOid" : "GP_SEGMENT_CONFIGURATION_RELTYPE_OID", - "cols" : [ - { - "ctype" : "int2", - "postcomment" : "-- up to 32767 segment databases", - "sqltype" : "smallint", - "colname" : "dbid", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "int2", - "postcomment" : "-- up to 32767 contents -- only 16384 usable with mirroring (see dbid)", - "sqltype" : "smallint", - "colname" : "content" - }, - { - "ctype" : "char", - "sqltype" : "quoted_char", - "colname" : "role", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "char", - "sqltype" : "quoted_char", - "colname" : "preferred_role" - }, - { - "ctype" : "char", - "sqltype" : "quoted_char", - "colname" : "mode" - }, - { - "ctype" : "char", - "sqltype" : "quoted_char", - "colname" : "status" - }, - { - "ctype" : "int4", - "sqltype" : "integer", - "colname" : "port" - }, - { - "ctype" : "text", - "sqltype" : "text", - "colname" : "hostname", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "text", - "sqltype" : "text", - "colname" : "address" - }, - { - "ctype" : "int4", - "sqltype" : "integer", - "colname" : "replication_port", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "int2vector", - "postcomment" : "-- one or more mount-points used by this segment.", - "sqltype" : "int2vector", - "colname" : "san_mounts" - } - ], - "relid_comment_tag" : "/* relation id: 5036 - gp_segment_configuration 20101210 */\n", - "with" : { - "reltype_oid" : "6442", - "toast_oid" : "2900", - "toast_reltype" : "2906", - "content" : "MASTER_ONLY", - "oid" : "", - "relid" : "5036", - "bootstrap" : 0, - "toast_index" : "2901", - "camelcase" : "GpSegmentConfig", - "shared" : "1", - "text" : "with (camelcase=GpSegmentConfig, shared=true, oid=false, relid=5036, reltype_oid=6442, toast_oid=2900, toast_index=2901, toast_reltype=2906, content=MASTER_ONLY)" - }, - "CamelCaseRelationId" : "GpSegmentConfigRelationId", - "UppercaseToastReltypeOid" : "GP_SEGMENT_CONFIGURATION_TOAST_RELTYPE_OID", - "colh" : { - "status" : "char", - "mode" : "char", - "content" : "int2", - "hostname" : "text", - "port" : "int4", - "dbid" : "int2", - "san_mounts" : "int2vector", - "address" : "text", - "role" : "char", - "preferred_role" : "char", - "replication_port" : "int4" - }, - "indexes" : [ - { - "unique" : "1", - "indexname" : "gp_segment_config_content_preferred_role_index", - "indexid" : "6106", - "CamelCaseIndexId" : "GpSegmentConfigContentPreferred_roleIndexId", - "with" : { - "indexname" : "gp_segment_config_content_preferred_role_index", - "indexid" : "6106" - }, - "cols" : [ - [ - "content", - "int2_ops" - ], - [ - "preferred_role", - "char_ops" - ] - ] - }, - { - "unique" : "1", - "indexname" : "gp_segment_config_dbid_index", - "indexid" : "6107", - "CamelCaseIndexId" : "GpSegmentConfigDbidIndexId", - "with" : { - "indexname" : "gp_segment_config_dbid_index", - "indexid" : "6107" - }, - "cols" : [ - [ - "dbid", - "int2_ops" - ] - ] - } - ] - }, - "gp_id" : { - "relid_comment_tag" : "/* relation id: 5001 - gp_id 20101210 */\n", - "tabdef_text" : "\n CREATE TABLE gp_id\n with (shared=true, oid=false, relid=5001, content=SEGMENT_LOCAL)\n (\n gpname name ,\n numsegments smallint ,\n dbid smallint ,\n content smallint \n )", - "CamelCaseRelationId" : "GpIdRelationId", - "with" : { - "shared" : "1", - "text" : "with (shared=true, oid=false, relid=5001, content=SEGMENT_LOCAL)", - "content" : "SEGMENT_LOCAL", - "oid" : "", - "relid" : "5001", - "bootstrap" : 0, - "camelcase" : "GpId" - }, - "colh" : { - "gpname" : "NameData", - "content" : "int2", - "dbid" : "int2", - "numsegments" : "int2" - }, - "cols" : [ - { - "ctype" : "NameData", - "sqltype" : "name", - "colname" : "gpname", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "int2", - "sqltype" : "smallint", - "colname" : "numsegments" - }, - { - "ctype" : "int2", - "sqltype" : "smallint", - "colname" : "dbid" - }, - { - "ctype" : "int2", - "sqltype" : "smallint", - "colname" : "content" - } - ] - }, - "pg_auth_members" : { - "relid_comment_tag" : "/* relation id: 1261 - pg_auth_members 20101210 */\n", - "tabdef_text" : "\n CREATE TABLE pg_auth_members\n with (camelcase=AuthMem, shared=true, oid=false, relid=1261)\n (\n roleid oid, \n member oid, \n grantor oid, \n admin_option boolean\n )", - "CamelCaseRelationId" : "AuthMemRelationId", - "with" : { - "shared" : "1", - "text" : "with (camelcase=AuthMem, shared=true, oid=false, relid=1261)", - "oid" : "", - "relid" : "1261", - "bootstrap" : 0, - "camelcase" : "AuthMem" - }, - "colh" : { - "grantor" : "Oid", - "member" : "Oid", - "admin_option" : "bool", - "roleid" : "Oid" - }, - "cols" : [ - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "roleid", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "member" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "grantor" - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "admin_option" - } - ] - }, - "gp_configuration_history" : { - "tabdef_text" : "\n CREATE TABLE gp_configuration_history\n with (camelcase=GpConfigHistory, shared=true, oid=false, relid=5006, reltype_oid=6434, content=MASTER_ONLY)\n (\n time timestamp with time zone,\n dbid smallint,\n \"desc\" text\n )", - "UppercaseReltypeOid" : "GP_CONFIGURATION_HISTORY_RELTYPE_OID", - "cols" : [ - { - "ctype" : "timestamptz", - "sqltype" : "timestamp_with_time_zone", - "colname" : "time", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "int2", - "sqltype" : "smallint", - "colname" : "dbid" - }, - { - "ctype" : "text", - "sqltype" : "text", - "colname" : "desc" - } - ], - "relid_comment_tag" : "/* relation id: 5006 - gp_configuration_history 20101210 */\n", - "with" : { - "shared" : "1", - "reltype_oid" : "6434", - "text" : "with (camelcase=GpConfigHistory, shared=true, oid=false, relid=5006, reltype_oid=6434, content=MASTER_ONLY)", - "content" : "MASTER_ONLY", - "oid" : "", - "relid" : "5006", - "bootstrap" : 0, - "camelcase" : "GpConfigHistory" - }, - "CamelCaseRelationId" : "GpConfigHistoryRelationId", - "colh" : { - "desc" : "text", - "time" : "timestamptz", - "dbid" : "int2" - }, - "tzhack" : "\"time\"" - }, - "pg_statistic" : { - "CamelCaseToastInd" : "PgStatisticToastIndex", - "tabdef_text" : "\n CREATE TABLE pg_statistic\n with (camelcase=Statistic, oid=false, relid=2619, toast_oid=2840, toast_index=2841, content=SEGMENT_LOCAL)\n (\n starelid oid, \n staattnum smallint, \n stanullfrac real, \n stawidth integer, \n stadistinct real, \n stakind1 smallint, \n stakind2 smallint, \n stakind3 smallint, \n stakind4 smallint, \n staop1 oid, \n staop2 oid, \n staop3 oid, \n staop4 oid, \n stanumbers1 real[], \n stanumbers2 real[], \n stanumbers3 real[], \n stanumbers4 real[], \n stavalues1 text, \n stavalues2 text, \n stavalues3 text, \n stavalues4 text\n )", - "CamelCaseToastTab" : "PgStatisticToastTable", - "cols" : [ - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "starelid", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "int2", - "sqltype" : "smallint", - "colname" : "staattnum" - }, - { - "ctype" : "float4", - "sqltype" : "real", - "colname" : "stanullfrac" - }, - { - "ctype" : "int4", - "sqltype" : "integer", - "colname" : "stawidth" - }, - { - "ctype" : "float4", - "sqltype" : "real", - "colname" : "stadistinct" - }, - { - "ctype" : "int2", - "sqltype" : "smallint", - "colname" : "stakind1" - }, - { - "ctype" : "int2", - "sqltype" : "smallint", - "colname" : "stakind2" - }, - { - "ctype" : "int2", - "sqltype" : "smallint", - "colname" : "stakind3" - }, - { - "ctype" : "int2", - "sqltype" : "smallint", - "colname" : "stakind4" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "staop1" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "staop2" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "staop3" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "staop4" - }, - { - "ctype" : "float4[1]", - "sqltype" : "real[]", - "colname" : "stanumbers1" - }, - { - "ctype" : "float4[1]", - "sqltype" : "real[]", - "colname" : "stanumbers2" - }, - { - "ctype" : "float4[1]", - "sqltype" : "real[]", - "colname" : "stanumbers3" - }, - { - "ctype" : "float4[1]", - "sqltype" : "real[]", - "colname" : "stanumbers4" - }, - { - "ctype" : "text", - "sqltype" : "text", - "colname" : "stavalues1" - }, - { - "ctype" : "text", - "sqltype" : "text", - "colname" : "stavalues2" - }, - { - "ctype" : "text", - "sqltype" : "text", - "colname" : "stavalues3" - }, - { - "ctype" : "text", - "sqltype" : "text", - "colname" : "stavalues4" - } - ], - "relid_comment_tag" : "/* relation id: 2619 - pg_statistic 20101210 */\n", - "with" : { - "shared" : 0, - "toast_oid" : "2840", - "text" : "with (camelcase=Statistic, oid=false, relid=2619, toast_oid=2840, toast_index=2841, content=SEGMENT_LOCAL)", - "content" : "SEGMENT_LOCAL", - "oid" : "", - "relid" : "2619", - "bootstrap" : 0, - "toast_index" : "2841", - "camelcase" : "Statistic" - }, - "CamelCaseRelationId" : "StatisticRelationId", - "colh" : { - "stanumbers1" : "float4[1]", - "stakind2" : "int2", - "staop2" : "Oid", - "staop1" : "Oid", - "stakind1" : "int2", - "stavalues3" : "text", - "starelid" : "Oid", - "staop4" : "Oid", - "stanumbers3" : "float4[1]", - "stanumbers4" : "float4[1]", - "stavalues4" : "text", - "stadistinct" : "float4", - "staattnum" : "int2", - "stakind3" : "int2", - "stavalues2" : "text", - "stawidth" : "int4", - "stanullfrac" : "float4", - "stakind4" : "int2", - "stavalues1" : "text", - "staop3" : "Oid", - "stanumbers2" : "float4[1]" - } - }, - "pg_foreign_server" : { - "relid_comment_tag" : "/* relation id: 2899 - pg_foreign_server 20101210 */\n", - "tabdef_text" : "\n CREATE TABLE pg_foreign_server\n with (camelcase=ForeignServer, relid=2899, reltype_oid=6448)\n (\n srvname name, -- foreign server name\n srvowner oid, -- server owner\n srvfdw oid, -- server FDW\n\n -- VARIABLE LENGTH FIELDS start here. These fields may be NULL, too.\n\n srvtype text,\n srvversion text,\n srvacl aclitem[], -- access permissions\n srvoptions text[] -- FDW-specific options\n )", - "UppercaseReltypeOid" : "PG_FOREIGN_SERVER_RELTYPE_OID", - "CamelCaseRelationId" : "ForeignServerRelationId", - "with" : { - "shared" : 0, - "reltype_oid" : "6448", - "text" : "with (camelcase=ForeignServer, relid=2899, reltype_oid=6448)", - "oid" : 1, - "relid" : "2899", - "bootstrap" : 0, - "camelcase" : "ForeignServer" - }, - "colh" : { - "srvtype" : "text", - "srvowner" : "Oid", - "oid" : "Oid", - "srvacl" : "aclitem[1]", - "srvversion" : "text", - "srvname" : "NameData", - "srvfdw" : "Oid", - "srvoptions" : "text[1]" - }, - "cols" : [ - { - "ctype" : "NameData", - "postcomment" : "-- foreign server name", - "sqltype" : "name", - "colname" : "srvname", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "Oid", - "postcomment" : "-- server owner", - "sqltype" : "oid", - "colname" : "srvowner" - }, - { - "ctype" : "Oid", - "postcomment" : "-- server FDW", - "sqltype" : "oid", - "colname" : "srvfdw" - }, - { - "ctype" : "text", - "sqltype" : "text", - "colname" : "srvtype", - "precomment" : "\n**TK_BLANK_LINE**\n -- VARIABLE LENGTH FIELDS start here. These fields may be NULL, too.\n**TK_BLANK_LINE**" - }, - { - "ctype" : "text", - "sqltype" : "text", - "colname" : "srvversion" - }, - { - "ctype" : "aclitem[1]", - "postcomment" : "-- access permissions", - "sqltype" : "aclitem[]", - "colname" : "srvacl" - }, - { - "ctype" : "text[1]", - "postcomment" : "-- FDW-specific options", - "sqltype" : "text[]", - "colname" : "srvoptions" - } - ] - }, - "pg_window" : { - "relid_comment_tag" : "/* relation id: 5004 - pg_window 20101210 */\n", - "tabdef_text" : "\n CREATE TABLE pg_window\n with (oid=false, relid=5004)\n (\n winfnoid regproc, -- pg_proc OID of the window function itself\n winrequireorder boolean, -- does wf require order by?\n winallowframe boolean, -- does wf allow framing?\n winpeercount boolean, -- does wf definition need peer row count?\n wincount boolean, -- does wf definition need partition row count?\n winfunc regproc, -- immediate function (0 if none)\n winprefunc regproc, -- preliminary function (0 if none)\n winpretype oid, -- type of preliminary function result\n winfinfunc regproc, -- final function (0 if none)\n winkind \"char\" \n )", - "CamelCaseRelationId" : "WindowRelationId", - "with" : { - "shared" : 0, - "text" : "with (oid=false, relid=5004)", - "oid" : "", - "relid" : "5004", - "bootstrap" : 0, - "camelcase" : "Window" - }, - "indexes" : [ - { - "unique" : "1", - "indexname" : "pg_window_fnoid_index", - "indexid" : "5005", - "CamelCaseIndexId" : "WindowWinfnoidIndexId", - "with" : { - "indexname" : "pg_window_fnoid_index", - "indexid" : "5005" - }, - "cols" : [ - [ - "winfnoid", - "oid_ops" - ] - ] - } - ], - "colh" : { - "winkind" : "char", - "winfinfunc" : "regproc", - "winprefunc" : "regproc", - "winallowframe" : "bool", - "winpeercount" : "bool", - "winrequireorder" : "bool", - "wincount" : "bool", - "winpretype" : "Oid", - "winfunc" : "regproc", - "winfnoid" : "regproc" - }, - "cols" : [ - { - "ctype" : "regproc", - "postcomment" : "-- pg_proc OID of the window function itself", - "sqltype" : "regproc", - "colname" : "winfnoid", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "bool", - "postcomment" : "-- does wf require order by?", - "sqltype" : "boolean", - "colname" : "winrequireorder" - }, - { - "ctype" : "bool", - "postcomment" : "-- does wf allow framing?", - "sqltype" : "boolean", - "colname" : "winallowframe" - }, - { - "ctype" : "bool", - "postcomment" : "-- does wf definition need peer row count?", - "sqltype" : "boolean", - "colname" : "winpeercount" - }, - { - "ctype" : "bool", - "postcomment" : "-- does wf definition need partition row count?", - "sqltype" : "boolean", - "colname" : "wincount" - }, - { - "ctype" : "regproc", - "postcomment" : "-- immediate function (0 if none)", - "sqltype" : "regproc", - "colname" : "winfunc" - }, - { - "ctype" : "regproc", - "postcomment" : "-- preliminary function (0 if none)", - "sqltype" : "regproc", - "colname" : "winprefunc" - }, - { - "ctype" : "Oid", - "postcomment" : "-- type of preliminary function result", - "sqltype" : "oid", - "colname" : "winpretype" - }, - { - "ctype" : "regproc", - "postcomment" : "-- final function (0 if none)", - "sqltype" : "regproc", - "colname" : "winfinfunc" - }, - { - "ctype" : "char", - "sqltype" : "quoted_char", - "colname" : "winkind" - } - ] - }, - "gp_san_configuration" : { - "tabdef_text" : "\n CREATE TABLE gp_san_configuration\n with (camelcase=GpSanConfig, shared=true, oid=false, relid=5035, reltype_oid=6444, content=MASTER_ONLY)\n (\n mountid smallint ,\n active_host \"char\" ,\n san_type \"char\" ,\n primary_host text ,\n primary_mountpoint text ,\n primary_device text ,\n mirror_host text ,\n mirror_mountpoint text ,\n mirror_device text \n )", - "UppercaseReltypeOid" : "GP_SAN_CONFIGURATION_RELTYPE_OID", - "cols" : [ - { - "ctype" : "int2", - "sqltype" : "smallint", - "colname" : "mountid", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "char", - "sqltype" : "quoted_char", - "colname" : "active_host" - }, - { - "ctype" : "char", - "sqltype" : "quoted_char", - "colname" : "san_type" - }, - { - "ctype" : "text", - "sqltype" : "text", - "colname" : "primary_host" - }, - { - "ctype" : "text", - "sqltype" : "text", - "colname" : "primary_mountpoint" - }, - { - "ctype" : "text", - "sqltype" : "text", - "colname" : "primary_device" - }, - { - "ctype" : "text", - "sqltype" : "text", - "colname" : "mirror_host" - }, - { - "ctype" : "text", - "sqltype" : "text", - "colname" : "mirror_mountpoint" - }, - { - "ctype" : "text", - "sqltype" : "text", - "colname" : "mirror_device" - } - ], - "relid_comment_tag" : "/* relation id: 5035 - gp_san_configuration 20101210 */\n", - "with" : { - "shared" : "1", - "reltype_oid" : "6444", - "text" : "with (camelcase=GpSanConfig, shared=true, oid=false, relid=5035, reltype_oid=6444, content=MASTER_ONLY)", - "content" : "MASTER_ONLY", - "oid" : "", - "relid" : "5035", - "bootstrap" : 0, - "camelcase" : "GpSanConfig" - }, - "CamelCaseRelationId" : "GpSanConfigRelationId", - "colh" : { - "mirror_device" : "text", - "mirror_mountpoint" : "text", - "primary_mountpoint" : "text", - "primary_host" : "text", - "active_host" : "char", - "primary_device" : "text", - "mountid" : "int2", - "san_type" : "char", - "mirror_host" : "text" - }, - "indexes" : [ - { - "unique" : "1", - "indexname" : "gp_san_config_mountid_index", - "indexid" : "6111", - "CamelCaseIndexId" : "GpSanConfigMountidIndexId", - "with" : { - "indexname" : "gp_san_config_mountid_index", - "indexid" : "6111" - }, - "cols" : [ - [ - "mountid", - "int2_ops" - ] - ] - } - ] - }, - "pg_am" : { - "relid_comment_tag" : "/* relation id: 2601 - pg_am 20101210 */\n", - "tabdef_text" : "\n CREATE TABLE pg_am\n with (camelcase=AccessMethod, relid=2601)\n (\n amname name, \n amstrategies smallint, \n amsupport smallint, \n amorderstrategy smallint, \n amcanunique boolean, \n amcanmulticol boolean, \n amoptionalkey boolean, \n amindexnulls boolean, \n amstorage boolean, \n amclusterable boolean, \n amcanshrink boolean, \n aminsert regproc, \n ambeginscan regproc, \n amgettuple regproc, \n amgetmulti regproc, \n amrescan regproc, \n amendscan regproc, \n ammarkpos regproc, \n amrestrpos regproc, \n ambuild regproc, \n ambulkdelete regproc, \n amvacuumcleanup regproc, \n amcostestimate regproc, \n amoptions regproc\n )", - "CamelCaseRelationId" : "AccessMethodRelationId", - "with" : { - "shared" : 0, - "text" : "with (camelcase=AccessMethod, relid=2601)", - "oid" : 1, - "relid" : "2601", - "bootstrap" : 0, - "camelcase" : "AccessMethod" - }, - "colh" : { - "amgetmulti" : "regproc", - "ambulkdelete" : "regproc", - "oid" : "Oid", - "amindexnulls" : "bool", - "amcostestimate" : "regproc", - "amoptions" : "regproc", - "amrestrpos" : "regproc", - "amclusterable" : "bool", - "amcanunique" : "bool", - "amsupport" : "int2", - "amendscan" : "regproc", - "ambuild" : "regproc", - "ambeginscan" : "regproc", - "amstorage" : "bool", - "amvacuumcleanup" : "regproc", - "ammarkpos" : "regproc", - "amcanmulticol" : "bool", - "amgettuple" : "regproc", - "amorderstrategy" : "int2", - "amstrategies" : "int2", - "amname" : "NameData", - "amrescan" : "regproc", - "amcanshrink" : "bool", - "aminsert" : "regproc", - "amoptionalkey" : "bool" - }, - "cols" : [ - { - "ctype" : "NameData", - "sqltype" : "name", - "colname" : "amname", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "int2", - "sqltype" : "smallint", - "colname" : "amstrategies" - }, - { - "ctype" : "int2", - "sqltype" : "smallint", - "colname" : "amsupport" - }, - { - "ctype" : "int2", - "sqltype" : "smallint", - "colname" : "amorderstrategy" - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "amcanunique" - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "amcanmulticol" - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "amoptionalkey" - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "amindexnulls" - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "amstorage" - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "amclusterable" - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "amcanshrink" - }, - { - "ctype" : "regproc", - "sqltype" : "regproc", - "colname" : "aminsert" - }, - { - "ctype" : "regproc", - "sqltype" : "regproc", - "colname" : "ambeginscan" - }, - { - "ctype" : "regproc", - "sqltype" : "regproc", - "colname" : "amgettuple" - }, - { - "ctype" : "regproc", - "sqltype" : "regproc", - "colname" : "amgetmulti" - }, - { - "ctype" : "regproc", - "sqltype" : "regproc", - "colname" : "amrescan" - }, - { - "ctype" : "regproc", - "sqltype" : "regproc", - "colname" : "amendscan" - }, - { - "ctype" : "regproc", - "sqltype" : "regproc", - "colname" : "ammarkpos" - }, - { - "ctype" : "regproc", - "sqltype" : "regproc", - "colname" : "amrestrpos" - }, - { - "ctype" : "regproc", - "sqltype" : "regproc", - "colname" : "ambuild" - }, - { - "ctype" : "regproc", - "sqltype" : "regproc", - "colname" : "ambulkdelete" - }, - { - "ctype" : "regproc", - "sqltype" : "regproc", - "colname" : "amvacuumcleanup" - }, - { - "ctype" : "regproc", - "sqltype" : "regproc", - "colname" : "amcostestimate" - }, - { - "ctype" : "regproc", - "sqltype" : "regproc", - "colname" : "amoptions" - } - ] - }, - "pg_amop" : { - "relid_comment_tag" : "/* relation id: 2602 - pg_amop 20101210 */\n", - "tabdef_text" : "\n CREATE TABLE pg_amop\n with (camelcase=AccessMethodOperator, oid=false, relid=2602)\n (\n amopclaid oid, \n amopsubtype oid, \n amopstrategy smallint, \n amopreqcheck boolean, \n amopopr oid\n )", - "CamelCaseRelationId" : "AccessMethodOperatorRelationId", - "with" : { - "shared" : 0, - "text" : "with (camelcase=AccessMethodOperator, oid=false, relid=2602)", - "oid" : "", - "relid" : "2602", - "bootstrap" : 0, - "camelcase" : "AccessMethodOperator" - }, - "colh" : { - "amopsubtype" : "Oid", - "amopopr" : "Oid", - "amopreqcheck" : "bool", - "amopclaid" : "Oid", - "amopstrategy" : "int2" - }, - "cols" : [ - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "amopclaid", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "amopsubtype" - }, - { - "ctype" : "int2", - "sqltype" : "smallint", - "colname" : "amopstrategy" - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "amopreqcheck" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "amopopr" - } - ] - }, - "pg_exttable" : { - "tabdef_text" : "\n CREATE TABLE pg_exttable\n with (camelcase=ExtTable, oid=false, relid=6040)\n (\n reloid oid, -- refers to this relation's oid in pg_class \n location text[], -- array of URI strings\n fmttype \"char\", -- 't' (text) or 'c' (csv)\n fmtopts text, -- the data format options\n command text, -- the command string to EXECUTE\n rejectlimit integer, -- error count reject limit per segment\n rejectlimittype \"char\", -- 'r' (rows) or 'p' (percent)\n fmterrtbl oid, -- the data format error table oid in pg_class\n encoding integer, -- character encoding of this external table\n writable boolean -- 't' if writable, 'f' if readable\n )", - "cols" : [ - { - "ctype" : "Oid", - "postcomment" : "-- refers to this relation's oid in pg_class ", - "sqltype" : "oid", - "colname" : "reloid", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "text[1]", - "postcomment" : "-- array of URI strings", - "sqltype" : "text[]", - "colname" : "location" - }, - { - "ctype" : "char", - "postcomment" : "-- 't' (text) or 'c' (csv)", - "sqltype" : "quoted_char", - "colname" : "fmttype" - }, - { - "ctype" : "text", - "postcomment" : "-- the data format options", - "sqltype" : "text", - "colname" : "fmtopts" - }, - { - "ctype" : "text", - "postcomment" : "-- the command string to EXECUTE", - "sqltype" : "text", - "colname" : "command" - }, - { - "ctype" : "int4", - "postcomment" : "-- error count reject limit per segment", - "sqltype" : "integer", - "colname" : "rejectlimit" - }, - { - "ctype" : "char", - "postcomment" : "-- 'r' (rows) or 'p' (percent)", - "sqltype" : "quoted_char", - "colname" : "rejectlimittype" - }, - { - "ctype" : "Oid", - "postcomment" : "-- the data format error table oid in pg_class", - "sqltype" : "oid", - "colname" : "fmterrtbl" - }, - { - "ctype" : "int4", - "postcomment" : "-- character encoding of this external table", - "sqltype" : "integer", - "colname" : "encoding" - }, - { - "ctype" : "bool", - "postcomment" : "-- 't' if writable, 'f' if readable", - "sqltype" : "boolean", - "colname" : "writable" - } - ], - "relid_comment_tag" : "/* relation id: 6040 - pg_exttable 20101210 */\n", - "with" : { - "shared" : 0, - "text" : "with (camelcase=ExtTable, oid=false, relid=6040)", - "oid" : "", - "relid" : "6040", - "bootstrap" : 0, - "camelcase" : "ExtTable" - }, - "CamelCaseRelationId" : "ExtTableRelationId", - "colh" : { - "location" : "text[1]", - "writable" : "bool", - "rejectlimit" : "int4", - "fmterrtbl" : "Oid", - "rejectlimittype" : "char", - "fmttype" : "char", - "fmtopts" : "text", - "reloid" : "Oid", - "command" : "text", - "encoding" : "int4" - }, - "indexes" : [ - { - "unique" : "1", - "indexid" : "6041", - "CamelCaseIndexId" : "ExtTableReloidIndexId", - "with" : { - "indexid" : "6041" - }, - "cols" : [ - [ - "reloid", - "oid_ops" - ] - ] - } - ], - "foreign_keys" : [ - [ - [ - "reloid" - ], - "pg_class", - [ - "oid" - ] - ], - [ - [ - "fmterrtbl" - ], - "pg_class", - [ - "oid" - ] - ] - ] - }, - "pg_partition" : { - "relid_comment_tag" : "/* relation id: 5010 - pg_partition 20101210 */\n", - "tabdef_text" : "\n CREATE TABLE pg_partition\n with (relid=5010, content=MASTER_ONLY)\n (\n parrelid oid,\n parkind \"char\",\n parlevel smallint,\n paristemplate boolean,\n parnatts smallint,\n paratts int2vector,\n parclass oidvector\n )", - "CamelCaseRelationId" : "PartitionRelationId", - "with" : { - "shared" : 0, - "text" : "with (relid=5010, content=MASTER_ONLY)", - "oid" : 1, - "content" : "MASTER_ONLY", - "relid" : "5010", - "bootstrap" : 0, - "camelcase" : "Partition" - }, - "indexes" : [ - { - "unique" : "1", - "indexid" : "5012", - "CamelCaseIndexId" : "PartitionOidIndexId", - "with" : { - "indexid" : "5012" - }, - "cols" : [ - [ - "oid", - "oid_ops" - ] - ] - }, - { - "unique" : "", - "indexid" : "5013", - "CamelCaseIndexId" : "PartitionParrelidIndexId", - "with" : { - "indexid" : "5013" - }, - "cols" : [ - [ - "parrelid", - "oid_ops" - ] - ] - }, - { - "unique" : "", - "indexname" : "pg_partition_parrelid_parlevel_istemplate_index", - "indexid" : "5017", - "CamelCaseIndexId" : "PartitionParrelidParlevelParistemplateIndexId", - "with" : { - "indexname" : "pg_partition_parrelid_parlevel_istemplate_index", - "indexid" : "5017" - }, - "cols" : [ - [ - "parrelid", - "oid_ops" - ], - [ - "parlevel", - "int2_ops" - ], - [ - "paristemplate", - "bool_ops" - ] - ] - } - ], - "colh" : { - "parnatts" : "int2", - "paristemplate" : "bool", - "oid" : "Oid", - "parclass" : "oidvector", - "parkind" : "char", - "parrelid" : "Oid", - "paratts" : "int2vector", - "parlevel" : "int2" - }, - "cols" : [ - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "parrelid", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "char", - "sqltype" : "quoted_char", - "colname" : "parkind" - }, - { - "ctype" : "int2", - "sqltype" : "smallint", - "colname" : "parlevel" - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "paristemplate" - }, - { - "ctype" : "int2", - "sqltype" : "smallint", - "colname" : "parnatts" - }, - { - "ctype" : "int2vector", - "sqltype" : "int2vector", - "colname" : "paratts" - }, - { - "ctype" : "oidvector", - "sqltype" : "oidvector", - "colname" : "parclass" - } - ] - }, - "pg_appendonly" : { - "relid_comment_tag" : "/* relation id: 6105 - pg_appendonly 20101210 */\n", - "tabdef_text" : "\n CREATE TABLE pg_appendonly\n with (camelcase=AppendOnly, oid=false, relid=6105)\n (\n relid oid, \n blocksize integer, \n safefswritesize integer, \n compresslevel smallint, \n majorversion smallint, \n minorversion smallint, \n checksum boolean, \n compresstype text, \n columnstore boolean, \n segrelid oid, \n segidxid oid, \n blkdirrelid oid, \n blkdiridxid oid, \n version integer\n )", - "CamelCaseRelationId" : "AppendOnlyRelationId", - "with" : { - "shared" : 0, - "text" : "with (camelcase=AppendOnly, oid=false, relid=6105)", - "oid" : "", - "relid" : "6105", - "bootstrap" : 0, - "camelcase" : "AppendOnly" - }, - "colh" : { - "segrelid" : "Oid", - "blocksize" : "int4", - "version" : "int4", - "blkdiridxid" : "Oid", - "blkdirrelid" : "Oid", - "relid" : "Oid", - "safefswritesize" : "int4", - "minorversion" : "int2", - "majorversion" : "int2", - "compresslevel" : "int2", - "columnstore" : "bool", - "checksum" : "bool", - "compresstype" : "text", - "segidxid" : "Oid" - }, - "cols" : [ - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "relid", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "int4", - "sqltype" : "integer", - "colname" : "blocksize" - }, - { - "ctype" : "int4", - "sqltype" : "integer", - "colname" : "safefswritesize" - }, - { - "ctype" : "int2", - "sqltype" : "smallint", - "colname" : "compresslevel" - }, - { - "ctype" : "int2", - "sqltype" : "smallint", - "colname" : "majorversion" - }, - { - "ctype" : "int2", - "sqltype" : "smallint", - "colname" : "minorversion" - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "checksum" - }, - { - "ctype" : "text", - "sqltype" : "text", - "colname" : "compresstype" - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "columnstore" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "segrelid" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "segidxid" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "blkdirrelid" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "blkdiridxid" - }, - { - "ctype" : "int4", - "sqltype" : "integer", - "colname" : "version" - } - ] - }, - "pg_shdescription" : { - "CamelCaseToastInd" : "PgSharedDescriptionToastIndex", - "tabdef_text" : "\n CREATE TABLE pg_shdescription\n with (camelcase=SharedDescription, shared=true, oid=false, relid=2396, toast_oid=2846, toast_index=2847, content=MASTER_ONLY)\n (\n objoid oid, \n classoid oid, \n description text\n )", - "CamelCaseToastTab" : "PgSharedDescriptionToastTable", - "cols" : [ - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "objoid", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "classoid" - }, - { - "ctype" : "text", - "sqltype" : "text", - "colname" : "description" - } - ], - "relid_comment_tag" : "/* relation id: 2396 - pg_shdescription 20101210 */\n", - "with" : { - "toast_oid" : "2846", - "content" : "MASTER_ONLY", - "oid" : "", - "relid" : "2396", - "bootstrap" : 0, - "toast_index" : "2847", - "camelcase" : "SharedDescription", - "shared" : "1", - "text" : "with (camelcase=SharedDescription, shared=true, oid=false, relid=2396, toast_oid=2846, toast_index=2847, content=MASTER_ONLY)" - }, - "CamelCaseRelationId" : "SharedDescriptionRelationId", - "colh" : { - "classoid" : "Oid", - "objoid" : "Oid", - "description" : "text" - } - }, - "pg_user_mapping" : { - "relid_comment_tag" : "/* relation id: 2895 - pg_user_mapping 20101210 */\n", - "tabdef_text" : "\n CREATE TABLE pg_user_mapping\n with (camelcase=UserMapping, relid=2895, reltype_oid=6449)\n (\n umuser oid, \n umserver oid, \n umoptions text[]\n )", - "UppercaseReltypeOid" : "PG_USER_MAPPING_RELTYPE_OID", - "CamelCaseRelationId" : "UserMappingRelationId", - "with" : { - "shared" : 0, - "reltype_oid" : "6449", - "text" : "with (camelcase=UserMapping, relid=2895, reltype_oid=6449)", - "oid" : 1, - "relid" : "2895", - "bootstrap" : 0, - "camelcase" : "UserMapping" - }, - "colh" : { - "umoptions" : "text[1]", - "umuser" : "Oid", - "oid" : "Oid", - "umserver" : "Oid" - }, - "cols" : [ - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "umuser", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "umserver" - }, - { - "ctype" : "text[1]", - "sqltype" : "text[]", - "colname" : "umoptions" - } - ] - }, - "pg_operator" : { - "relid_comment_tag" : "/* relation id: 2617 - pg_operator 20101210 */\n", - "tabdef_text" : "\n CREATE TABLE pg_operator\n with (camelcase=Operator, shared=false, relid=2617)\n (\n oprname name ,\n oprnamespace oid ,\n oprowner oid ,\n oprkind \"char\" ,\n oprcanhash boolean ,\n oprleft oid ,\n oprright oid ,\n oprresult oid ,\n oprcom oid ,\n oprnegate oid ,\n oprlsortop oid ,\n oprrsortop oid ,\n oprltcmpop oid ,\n oprgtcmpop oid ,\n oprcode regproc ,\n oprrest regproc ,\n oprjoin regproc \n )", - "CamelCaseRelationId" : "OperatorRelationId", - "with" : { - "shared" : "", - "text" : "with (camelcase=Operator, shared=false, relid=2617)", - "oid" : 1, - "relid" : "2617", - "bootstrap" : 0, - "camelcase" : "Operator" - }, - "colh" : { - "oid" : "Oid", - "oprname" : "NameData", - "oprnamespace" : "Oid", - "oprnegate" : "Oid", - "oprrest" : "regproc", - "oprjoin" : "regproc", - "oprkind" : "char", - "oprltcmpop" : "Oid", - "oprcanhash" : "bool", - "oprowner" : "Oid", - "oprleft" : "Oid", - "oprright" : "Oid", - "oprresult" : "Oid", - "oprlsortop" : "Oid", - "oprgtcmpop" : "Oid", - "oprrsortop" : "Oid", - "oprcode" : "regproc", - "oprcom" : "Oid" - }, - "cols" : [ - { - "ctype" : "NameData", - "sqltype" : "name", - "colname" : "oprname", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "oprnamespace" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "oprowner" - }, - { - "ctype" : "char", - "sqltype" : "quoted_char", - "colname" : "oprkind" - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "oprcanhash" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "oprleft" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "oprright" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "oprresult" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "oprcom" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "oprnegate" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "oprlsortop" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "oprrsortop" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "oprltcmpop" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "oprgtcmpop" - }, - { - "ctype" : "regproc", - "sqltype" : "regproc", - "colname" : "oprcode" - }, - { - "ctype" : "regproc", - "sqltype" : "regproc", - "colname" : "oprrest" - }, - { - "ctype" : "regproc", - "sqltype" : "regproc", - "colname" : "oprjoin" - } - ] - }, - "gp_relation_node" : { - "relid_comment_tag" : "/* relation id: 5094 - gp_relation_node 20101210 */\n", - "tabdef_text" : "\n CREATE TABLE gp_relation_node\n with (shared=false, oid=false, relid=5094, reltype_oid=6994, content=PERSISTENT)\n (\n relfilenode_oid oid ,\n segment_file_num integer ,\n create_mirror_data_loss_tracking_session_num bigint ,\n persistent_tid tid ,\n persistent_serial_num bigint \n )", - "UppercaseReltypeOid" : "GP_RELATION_NODE_RELTYPE_OID", - "CamelCaseRelationId" : "GpRelation_nodeRelationId", - "with" : { - "shared" : "", - "reltype_oid" : "6994", - "text" : "with (shared=false, oid=false, relid=5094, reltype_oid=6994, content=PERSISTENT)", - "content" : "PERSISTENT", - "oid" : "", - "relid" : "5094", - "bootstrap" : 0, - "camelcase" : "GpRelation_node" - }, - "colh" : { - "persistent_serial_num" : "bigint", - "create_mirror_data_loss_tracking_session_num" : "bigint", - "persistent_tid" : "tid", - "segment_file_num" : "int4", - "relfilenode_oid" : "Oid" - }, - "cols" : [ - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "relfilenode_oid", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "int4", - "sqltype" : "integer", - "colname" : "segment_file_num" - }, - { - "ctype" : "bigint", - "sqltype" : "bigint", - "colname" : "create_mirror_data_loss_tracking_session_num" - }, - { - "ctype" : "tid", - "sqltype" : "tid", - "colname" : "persistent_tid" - }, - { - "ctype" : "bigint", - "sqltype" : "bigint", - "colname" : "persistent_serial_num" - } - ] - }, - "pg_resourcetype" : { - "tabdef_text" : "\n CREATE TABLE pg_resourcetype\n with (camelcase=ResourceType, shared=true, relid=6059, reltype_oid=6445)\n (\n resname name, -- name of resource type \n restypid smallint, -- resource type id \n resrequired boolean, -- if required, user must specify during CREATE\n reshasdefault boolean, -- create a default entry for optional type\n reshasdisable boolean, -- whether the type can be removed or shut off\n resdefaultsetting text,\t-- default resource setting \n resdisabledsetting text\t-- value that turns it off \n )", - "UppercaseReltypeOid" : "PG_RESOURCETYPE_RELTYPE_OID", - "cols" : [ - { - "ctype" : "NameData", - "postcomment" : "-- name of resource type ", - "sqltype" : "name", - "colname" : "resname", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "int2", - "postcomment" : "-- resource type id ", - "sqltype" : "smallint", - "colname" : "restypid" - }, - { - "ctype" : "bool", - "postcomment" : "-- if required, user must specify during CREATE", - "sqltype" : "boolean", - "colname" : "resrequired" - }, - { - "ctype" : "bool", - "postcomment" : "-- create a default entry for optional type", - "sqltype" : "boolean", - "colname" : "reshasdefault" - }, - { - "ctype" : "bool", - "postcomment" : "-- whether the type can be removed or shut off", - "sqltype" : "boolean", - "colname" : "reshasdisable" - }, - { - "ctype" : "text", - "postcomment" : "-- default resource setting ", - "sqltype" : "text", - "colname" : "resdefaultsetting" - }, - { - "ctype" : "text", - "postcomment" : "-- value that turns it off ", - "sqltype" : "text", - "colname" : "resdisabledsetting" - } - ], - "relid_comment_tag" : "/* relation id: 6059 - pg_resourcetype 20101210 */\n", - "with" : { - "shared" : "1", - "reltype_oid" : "6445", - "text" : "with (camelcase=ResourceType, shared=true, relid=6059, reltype_oid=6445)", - "oid" : 1, - "relid" : "6059", - "bootstrap" : 0, - "camelcase" : "ResourceType" - }, - "CamelCaseRelationId" : "ResourceTypeRelationId", - "colh" : { - "oid" : "Oid", - "resdisabledsetting" : "text", - "resdefaultsetting" : "text", - "reshasdefault" : "bool", - "restypid" : "int2", - "resrequired" : "bool", - "reshasdisable" : "bool", - "resname" : "NameData" - }, - "indexes" : [ - { - "unique" : "1", - "indexid" : "6061", - "CamelCaseIndexId" : "ResourceTypeOidIndexId", - "with" : { - "indexid" : "6061" - }, - "cols" : [ - [ - "oid", - "oid_ops" - ] - ] - }, - { - "unique" : "1", - "indexid" : "6062", - "CamelCaseIndexId" : "ResourceTypeRestypidIndexId", - "with" : { - "indexid" : "6062" - }, - "cols" : [ - [ - "restypid", - "int2_ops" - ] - ] - }, - { - "unique" : "1", - "indexid" : "6063", - "CamelCaseIndexId" : "ResourceTypeResnameIndexId", - "with" : { - "indexid" : "6063" - }, - "cols" : [ - [ - "resname", - "name_ops" - ] - ] - } - ] - }, - "pg_stat_last_operation" : { - "tabdef_text" : "\n CREATE TABLE pg_stat_last_operation\n with (camelcase=StatLastOp, oid=false, relid=6052, reltype_oid=6440, content=MASTER_ONLY)\n (\n classid oid, \n objid oid, \n staactionname name, \n stasysid oid, \n stausename name, \n stasubtype text, \n statime timestamp with time zone\n )", - "UppercaseReltypeOid" : "PG_STAT_LAST_OPERATION_RELTYPE_OID", - "cols" : [ - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "classid", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "objid" - }, - { - "ctype" : "NameData", - "sqltype" : "name", - "colname" : "staactionname" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "stasysid" - }, - { - "ctype" : "NameData", - "sqltype" : "name", - "colname" : "stausename" - }, - { - "ctype" : "text", - "sqltype" : "text", - "colname" : "stasubtype" - }, - { - "ctype" : "timestamptz", - "sqltype" : "timestamp_with_time_zone", - "colname" : "statime" - } - ], - "relid_comment_tag" : "/* relation id: 6052 - pg_stat_last_operation 20101210 */\n", - "with" : { - "shared" : 0, - "reltype_oid" : "6440", - "text" : "with (camelcase=StatLastOp, oid=false, relid=6052, reltype_oid=6440, content=MASTER_ONLY)", - "content" : "MASTER_ONLY", - "oid" : "", - "relid" : "6052", - "bootstrap" : 0, - "camelcase" : "StatLastOp" - }, - "CamelCaseRelationId" : "StatLastOpRelationId", - "colh" : { - "statime" : "timestamptz", - "stasysid" : "Oid", - "stasubtype" : "text", - "classid" : "Oid", - "stausename" : "NameData", - "staactionname" : "NameData", - "objid" : "Oid" - }, - "tzhack" : "\"statime\"" - }, - "pg_trigger" : { - "relid_comment_tag" : "/* relation id: 2620 - pg_trigger 20101210 */\n", - "tabdef_text" : "\n CREATE TABLE pg_trigger\n with (relid=2620)\n (\n tgrelid oid, \n tgname name, \n tgfoid oid, \n tgtype smallint, \n tgenabled boolean, \n tgisconstraint boolean, \n tgconstrname name, \n tgconstrrelid oid, \n tgdeferrable boolean, \n tginitdeferred boolean, \n tgnargs smallint, \n tgattr int2vector, \n tgargs bytea\n )", - "CamelCaseRelationId" : "TriggerRelationId", - "with" : { - "shared" : 0, - "text" : "with (relid=2620)", - "oid" : 1, - "relid" : "2620", - "bootstrap" : 0, - "camelcase" : "Trigger" - }, - "colh" : { - "tgattr" : "int2vector", - "tginitdeferred" : "bool", - "tgtype" : "int2", - "tgargs" : "bytea", - "tgenabled" : "bool", - "tgfoid" : "Oid", - "oid" : "Oid", - "tgconstrrelid" : "Oid", - "tgdeferrable" : "bool", - "tgname" : "NameData", - "tgnargs" : "int2", - "tgconstrname" : "NameData", - "tgisconstraint" : "bool", - "tgrelid" : "Oid" - }, - "cols" : [ - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "tgrelid", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "NameData", - "sqltype" : "name", - "colname" : "tgname" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "tgfoid" - }, - { - "ctype" : "int2", - "sqltype" : "smallint", - "colname" : "tgtype" - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "tgenabled" - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "tgisconstraint" - }, - { - "ctype" : "NameData", - "sqltype" : "name", - "colname" : "tgconstrname" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "tgconstrrelid" - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "tgdeferrable" - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "tginitdeferred" - }, - { - "ctype" : "int2", - "sqltype" : "smallint", - "colname" : "tgnargs" - }, - { - "ctype" : "int2vector", - "sqltype" : "int2vector", - "colname" : "tgattr" - }, - { - "ctype" : "bytea", - "sqltype" : "bytea", - "colname" : "tgargs" - } - ] - }, - "pg_resqueuecapability" : { - "tabdef_text" : "\n CREATE TABLE pg_resqueuecapability\n with (camelcase=ResQueueCapability, shared=true, relid=6060, reltype_oid=6446, content=MASTER_ONLY)\n (\n resqueueid oid,\t\t-- OID of the queue with this capability \n restypid smallint,\t-- resource type id (key to pg_resourcetype) \n ressetting text\t\t-- resource setting (opaque type) \n )", - "UppercaseReltypeOid" : "PG_RESQUEUECAPABILITY_RELTYPE_OID", - "cols" : [ - { - "ctype" : "Oid", - "postcomment" : "-- OID of the queue with this capability ", - "sqltype" : "oid", - "colname" : "resqueueid", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "int2", - "postcomment" : "-- resource type id (key to pg_resourcetype) ", - "sqltype" : "smallint", - "colname" : "restypid" - }, - { - "ctype" : "text", - "postcomment" : "-- resource setting (opaque type) ", - "sqltype" : "text", - "colname" : "ressetting" - } - ], - "relid_comment_tag" : "/* relation id: 6060 - pg_resqueuecapability 20101210 */\n", - "with" : { - "reltype_oid" : "6446", - "oid" : 1, - "content" : "MASTER_ONLY", - "relid" : "6060", - "bootstrap" : 0, - "camelcase" : "ResQueueCapability", - "shared" : "1", - "text" : "with (camelcase=ResQueueCapability, shared=true, relid=6060, reltype_oid=6446, content=MASTER_ONLY)" - }, - "CamelCaseRelationId" : "ResQueueCapabilityRelationId", - "colh" : { - "ressetting" : "text", - "resqueueid" : "Oid", - "oid" : "Oid", - "restypid" : "int2" - }, - "indexes" : [ - { - "unique" : "1", - "indexid" : "6064", - "CamelCaseIndexId" : "ResQueueCapabilityOidIndexId", - "with" : { - "indexid" : "6064" - }, - "cols" : [ - [ - "oid", - "oid_ops" - ] - ] - }, - { - "unique" : "", - "indexid" : "6065", - "CamelCaseIndexId" : "ResQueueCapabilityResqueueidIndexId", - "with" : { - "indexid" : "6065" - }, - "cols" : [ - [ - "resqueueid", - "oid_ops" - ] - ] - }, - { - "unique" : "", - "indexid" : "6066", - "CamelCaseIndexId" : "ResQueueCapabilityRestypidIndexId", - "with" : { - "indexid" : "6066" - }, - "cols" : [ - [ - "restypid", - "int2_ops" - ] - ] - } - ], - "foreign_keys" : [ - [ - [ - "resqueueid" - ], - "pg_resqueue", - [ - "oid" - ] - ], - [ - [ - "restypid" - ], - "pg_resourcetype", - [ - "restypid" - ] - ] - ] - }, - "gp_configuration" : { - "relid_comment_tag" : "/* relation id: 5000 - gp_configuration 20101210 */\n", - "tabdef_text" : "\n CREATE TABLE gp_configuration\n with (shared=true, oid=false, relid=5000, content=MASTER_ONLY)\n (\n content smallint,\n definedprimary boolean,\n dbid smallint,\n isprimary boolean,\n valid boolean,\n hostname name,\n port integer,\n datadir text\n )", - "CamelCaseRelationId" : "GpConfigurationRelationId", - "with" : { - "shared" : "1", - "text" : "with (shared=true, oid=false, relid=5000, content=MASTER_ONLY)", - "content" : "MASTER_ONLY", - "oid" : "", - "relid" : "5000", - "bootstrap" : 0, - "camelcase" : "GpConfiguration" - }, - "indexes" : [ - { - "unique" : "1", - "indexid" : "6101", - "CamelCaseIndexId" : "GpConfigurationContentDefinedprimaryIndexId", - "with" : { - "indexid" : "6101" - }, - "cols" : [ - [ - "content", - "int2_ops" - ], - [ - "definedprimary", - "bool_ops" - ] - ] - }, - { - "unique" : "1", - "indexid" : "6102", - "CamelCaseIndexId" : "GpConfigurationDbidIndexId", - "with" : { - "indexid" : "6102" - }, - "cols" : [ - [ - "dbid", - "int2_ops" - ] - ] - } - ], - "colh" : { - "definedprimary" : "bool", - "content" : "int2", - "datadir" : "text", - "hostname" : "NameData", - "port" : "int4", - "valid" : "bool", - "isprimary" : "bool", - "dbid" : "int2" - }, - "cols" : [ - { - "ctype" : "int2", - "sqltype" : "smallint", - "colname" : "content", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "definedprimary" - }, - { - "ctype" : "int2", - "sqltype" : "smallint", - "colname" : "dbid" - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "isprimary" - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "valid" - }, - { - "ctype" : "NameData", - "sqltype" : "name", - "colname" : "hostname" - }, - { - "ctype" : "int4", - "sqltype" : "integer", - "colname" : "port" - }, - { - "ctype" : "text", - "sqltype" : "text", - "colname" : "datadir" - } - ] - }, - "gp_persistent_filespace_node" : { - "relid_comment_tag" : "/* relation id: 5093 - gp_persistent_filespace_node 20101210 */\n", - "tabdef_text" : "\n CREATE TABLE gp_persistent_filespace_node\n with (shared=true, oid=false, relid=5093, reltype_oid=6993, content=PERSISTENT)\n (\n filespace_oid oid ,\n db_id_1 smallint ,\n location_1 text ,\n db_id_2 smallint ,\n location_2 text ,\n persistent_state smallint ,\n create_mirror_data_loss_tracking_session_num bigint ,\n mirror_existence_state smallint ,\n reserved integer ,\n parent_xid integer ,\n persistent_serial_num bigint ,\n previous_free_tid tid \n )", - "UppercaseReltypeOid" : "GP_PERSISTENT_FILESPACE_NODE_RELTYPE_OID", - "CamelCaseRelationId" : "GpPersistent_filespace_nodeRelationId", - "with" : { - "shared" : "1", - "reltype_oid" : "6993", - "text" : "with (shared=true, oid=false, relid=5093, reltype_oid=6993, content=PERSISTENT)", - "content" : "PERSISTENT", - "oid" : "", - "relid" : "5093", - "bootstrap" : 0, - "camelcase" : "GpPersistent_filespace_node" - }, - "colh" : { - "previous_free_tid" : "tid", - "db_id_1" : "int2", - "parent_xid" : "int4", - "location_2" : "text", - "persistent_state" : "int2", - "location_1" : "text", - "persistent_serial_num" : "bigint", - "create_mirror_data_loss_tracking_session_num" : "bigint", - "filespace_oid" : "Oid", - "db_id_2" : "int2", - "reserved" : "int4", - "mirror_existence_state" : "int2" - }, - "cols" : [ - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "filespace_oid", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "int2", - "sqltype" : "smallint", - "colname" : "db_id_1" - }, - { - "ctype" : "text", - "sqltype" : "text", - "colname" : "location_1" - }, - { - "ctype" : "int2", - "sqltype" : "smallint", - "colname" : "db_id_2" - }, - { - "ctype" : "text", - "sqltype" : "text", - "colname" : "location_2" - }, - { - "ctype" : "int2", - "sqltype" : "smallint", - "colname" : "persistent_state" - }, - { - "ctype" : "bigint", - "sqltype" : "bigint", - "colname" : "create_mirror_data_loss_tracking_session_num" - }, - { - "ctype" : "int2", - "sqltype" : "smallint", - "colname" : "mirror_existence_state" - }, - { - "ctype" : "int4", - "sqltype" : "integer", - "colname" : "reserved" - }, - { - "ctype" : "int4", - "sqltype" : "integer", - "colname" : "parent_xid" - }, - { - "ctype" : "bigint", - "sqltype" : "bigint", - "colname" : "persistent_serial_num" - }, - { - "ctype" : "tid", - "sqltype" : "tid", - "colname" : "previous_free_tid" - } - ] - }, - "pg_attribute" : { - "relid_comment_tag" : "/* relation id: 1249 - pg_attribute 20101210 */\n", - "tabdef_text" : "\n CREATE TABLE pg_attribute\n with (camelcase=Attribute, relid=1249)\n (\n attrelid oid, \n attname name, \n atttypid oid, \n attstattarget integer, \n attlen smallint, \n attnum smallint, \n attndims integer, \n attcacheoff integer, \n atttypmod integer, \n attbyval boolean, \n attstorage \"char\", \n attalign \"char\", \n attnotnull boolean, \n atthasdef boolean, \n attisdropped boolean, \n attislocal boolean, \n attinhcount integer\n )", - "CamelCaseRelationId" : "AttributeRelationId", - "with" : { - "shared" : 0, - "text" : "with (camelcase=Attribute, relid=1249)", - "oid" : 1, - "relid" : "1249", - "bootstrap" : 0, - "camelcase" : "Attribute" - }, - "foreign_keys" : [ - [ - [ - "attrelid" - ], - "pg_class", - [ - "oid" - ] - ] - ], - "colh" : { - "oid" : "Oid", - "attndims" : "int4", - "attislocal" : "bool", - "attname" : "NameData", - "attstorage" : "char", - "atthasdef" : "bool", - "atttypid" : "Oid", - "attinhcount" : "int4", - "atttypmod" : "int4", - "attisdropped" : "bool", - "attnotnull" : "bool", - "attbyval" : "bool", - "attstattarget" : "int4", - "attalign" : "char", - "attlen" : "int2", - "attcacheoff" : "int4", - "attnum" : "int2", - "attrelid" : "Oid" - }, - "cols" : [ - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "attrelid", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "NameData", - "sqltype" : "name", - "colname" : "attname" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "atttypid" - }, - { - "ctype" : "int4", - "sqltype" : "integer", - "colname" : "attstattarget" - }, - { - "ctype" : "int2", - "sqltype" : "smallint", - "colname" : "attlen" - }, - { - "ctype" : "int2", - "sqltype" : "smallint", - "colname" : "attnum" - }, - { - "ctype" : "int4", - "sqltype" : "integer", - "colname" : "attndims" - }, - { - "ctype" : "int4", - "sqltype" : "integer", - "colname" : "attcacheoff" - }, - { - "ctype" : "int4", - "sqltype" : "integer", - "colname" : "atttypmod" - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "attbyval" - }, - { - "ctype" : "char", - "sqltype" : "quoted_char", - "colname" : "attstorage" - }, - { - "ctype" : "char", - "sqltype" : "quoted_char", - "colname" : "attalign" - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "attnotnull" - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "atthasdef" - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "attisdropped" - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "attislocal" - }, - { - "ctype" : "int4", - "sqltype" : "integer", - "colname" : "attinhcount" - } - ] - }, - "pg_database" : { - "CamelCaseToastInd" : "PgDatabaseToastIndex", - "tabdef_text" : "\n CREATE TABLE pg_database\n with (shared=true, relid=1262, toast_oid=2844, toast_index=2845)\n (\n datname name, \n datdba oid, \n encoding integer, \n datistemplate boolean, \n datallowconn boolean, \n datconnlimit integer, \n datlastsysoid oid, \n datfrozenxid xid, \n dattablespace oid, \n datconfig text[], \n datacl aclitem[]\n )", - "CamelCaseToastTab" : "PgDatabaseToastTable", - "cols" : [ - { - "ctype" : "NameData", - "sqltype" : "name", - "colname" : "datname", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "datdba" - }, - { - "ctype" : "int4", - "sqltype" : "integer", - "colname" : "encoding" - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "datistemplate" - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "datallowconn" - }, - { - "ctype" : "int4", - "sqltype" : "integer", - "colname" : "datconnlimit" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "datlastsysoid" - }, - { - "ctype" : "xid", - "sqltype" : "xid", - "colname" : "datfrozenxid" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "dattablespace" - }, - { - "ctype" : "text[1]", - "sqltype" : "text[]", - "colname" : "datconfig" - }, - { - "ctype" : "aclitem[1]", - "sqltype" : "aclitem[]", - "colname" : "datacl" - } - ], - "relid_comment_tag" : "/* relation id: 1262 - pg_database 20101210 */\n", - "with" : { - "toast_oid" : "2844", - "oid" : 1, - "relid" : "1262", - "bootstrap" : 0, - "camelcase" : "Database", - "toast_index" : "2845", - "shared" : "1", - "text" : "with (shared=true, relid=1262, toast_oid=2844, toast_index=2845)" - }, - "CamelCaseRelationId" : "DatabaseRelationId", - "colh" : { - "datname" : "NameData", - "oid" : "Oid", - "datistemplate" : "bool", - "datacl" : "aclitem[1]", - "datconfig" : "text[1]", - "datconnlimit" : "int4", - "dattablespace" : "Oid", - "datfrozenxid" : "xid", - "datdba" : "Oid", - "datallowconn" : "bool", - "datlastsysoid" : "Oid", - "encoding" : "int4" - } - }, - "pg_inherits" : { - "relid_comment_tag" : "/* relation id: 2611 - pg_inherits 20101210 */\n", - "tabdef_text" : "\n CREATE TABLE pg_inherits\n with (oid=false, relid=2611)\n (\n inhrelid oid ,\n inhparent oid ,\n inhseqno integer \n )", - "CamelCaseRelationId" : "InheritsRelationId", - "with" : { - "shared" : 0, - "text" : "with (oid=false, relid=2611)", - "oid" : "", - "relid" : "2611", - "bootstrap" : 0, - "camelcase" : "Inherits" - }, - "colh" : { - "inhrelid" : "Oid", - "inhseqno" : "int4", - "inhparent" : "Oid" - }, - "cols" : [ - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "inhrelid", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "inhparent" - }, - { - "ctype" : "int4", - "sqltype" : "integer", - "colname" : "inhseqno" - } - ] - }, - "pg_aggregate" : { - "relid_comment_tag" : "/* relation id: 2600 - pg_aggregate 20101210 */\n", - "tabdef_text" : "\n CREATE TABLE pg_aggregate\n with (oid=false, relid=2600)\n (\n aggfnoid regproc, \n aggtransfn regproc, \n agginvtransfn regproc, -- MPP windowing\n aggprelimfn regproc, -- MPP 2-phase agg\n agginvprelimfn regproc, -- MPP windowing\n aggfinalfn regproc, \n aggsortop oid, \n aggtranstype oid, \n agginitval text, -- VARIABLE LENGTH FIELD\n aggordered bool -- MPP ordered aggregates\n )", - "CamelCaseRelationId" : "AggregateRelationId", - "with" : { - "shared" : 0, - "text" : "with (oid=false, relid=2600)", - "oid" : "", - "relid" : "2600", - "bootstrap" : 0, - "camelcase" : "Aggregate" - }, - "indexes" : [ - { - "unique" : "1", - "indexname" : "pg_aggregate_fnoid_index", - "indexid" : "2650", - "CamelCaseIndexId" : "AggregateAggfnoidIndexId", - "with" : { - "indexname" : "pg_aggregate_fnoid_index", - "indexid" : "2650" - }, - "cols" : [ - [ - "aggfnoid", - "oid_ops" - ] - ] - } - ], - "colh" : { - "agginitval" : "text", - "agginvprelimfn" : "regproc", - "aggordered" : "bool", - "aggprelimfn" : "regproc", - "aggtranstype" : "Oid", - "aggfnoid" : "regproc", - "agginvtransfn" : "regproc", - "aggtransfn" : "regproc", - "aggfinalfn" : "regproc", - "aggsortop" : "Oid" - }, - "cols" : [ - { - "ctype" : "regproc", - "sqltype" : "regproc", - "colname" : "aggfnoid", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "regproc", - "sqltype" : "regproc", - "colname" : "aggtransfn" - }, - { - "ctype" : "regproc", - "postcomment" : "-- MPP windowing", - "sqltype" : "regproc", - "colname" : "agginvtransfn" - }, - { - "ctype" : "regproc", - "postcomment" : "-- MPP 2-phase agg", - "sqltype" : "regproc", - "colname" : "aggprelimfn" - }, - { - "ctype" : "regproc", - "postcomment" : "-- MPP windowing", - "sqltype" : "regproc", - "colname" : "agginvprelimfn" - }, - { - "ctype" : "regproc", - "sqltype" : "regproc", - "colname" : "aggfinalfn" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "aggsortop" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "aggtranstype" - }, - { - "ctype" : "text", - "postcomment" : "-- VARIABLE LENGTH FIELD", - "sqltype" : "text", - "colname" : "agginitval" - }, - { - "ctype" : "bool", - "postcomment" : "-- MPP ordered aggregates", - "sqltype" : "bool", - "colname" : "aggordered" - } - ] - }, - "gp_persistent_database_node" : { - "relid_comment_tag" : "/* relation id: 5091 - gp_persistent_database_node 20101210 */\n", - "tabdef_text" : "\n CREATE TABLE gp_persistent_database_node\n with (shared=true, oid=false, relid=5091, reltype_oid=6991, content=PERSISTENT)\n (\n tablespace_oid oid ,\n database_oid oid ,\n persistent_state smallint ,\n create_mirror_data_loss_tracking_session_num bigint ,\n mirror_existence_state smallint ,\n reserved integer ,\n parent_xid integer ,\n persistent_serial_num bigint ,\n previous_free_tid tid \n )", - "UppercaseReltypeOid" : "GP_PERSISTENT_DATABASE_NODE_RELTYPE_OID", - "CamelCaseRelationId" : "GpPersistent_database_nodeRelationId", - "with" : { - "shared" : "1", - "reltype_oid" : "6991", - "text" : "with (shared=true, oid=false, relid=5091, reltype_oid=6991, content=PERSISTENT)", - "content" : "PERSISTENT", - "oid" : "", - "relid" : "5091", - "bootstrap" : 0, - "camelcase" : "GpPersistent_database_node" - }, - "colh" : { - "previous_free_tid" : "tid", - "parent_xid" : "int4", - "persistent_state" : "int2", - "tablespace_oid" : "Oid", - "create_mirror_data_loss_tracking_session_num" : "bigint", - "persistent_serial_num" : "bigint", - "database_oid" : "Oid", - "reserved" : "int4", - "mirror_existence_state" : "int2" - }, - "cols" : [ - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "tablespace_oid", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "database_oid" - }, - { - "ctype" : "int2", - "sqltype" : "smallint", - "colname" : "persistent_state" - }, - { - "ctype" : "bigint", - "sqltype" : "bigint", - "colname" : "create_mirror_data_loss_tracking_session_num" - }, - { - "ctype" : "int2", - "sqltype" : "smallint", - "colname" : "mirror_existence_state" - }, - { - "ctype" : "int4", - "sqltype" : "integer", - "colname" : "reserved" - }, - { - "ctype" : "int4", - "sqltype" : "integer", - "colname" : "parent_xid" - }, - { - "ctype" : "bigint", - "sqltype" : "bigint", - "colname" : "persistent_serial_num" - }, - { - "ctype" : "tid", - "sqltype" : "tid", - "colname" : "previous_free_tid" - } - ] - }, - "pg_listener" : { - "relid_comment_tag" : "/* relation id: 2614 - pg_listener 20101210 */\n", - "tabdef_text" : "\n CREATE TABLE pg_listener\n with (shared=false, oid=false, relid=2614, content=MASTER_ONLY)\n (\n relname name ,\n listenerpid integer ,\n notification integer \n )", - "CamelCaseRelationId" : "ListenerRelationId", - "with" : { - "shared" : "", - "text" : "with (shared=false, oid=false, relid=2614, content=MASTER_ONLY)", - "content" : "MASTER_ONLY", - "oid" : "", - "relid" : "2614", - "bootstrap" : 0, - "camelcase" : "Listener" - }, - "colh" : { - "relname" : "NameData", - "notification" : "int4", - "listenerpid" : "int4" - }, - "cols" : [ - { - "ctype" : "NameData", - "sqltype" : "name", - "colname" : "relname", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "int4", - "sqltype" : "integer", - "colname" : "listenerpid" - }, - { - "ctype" : "int4", - "sqltype" : "integer", - "colname" : "notification" - } - ] - }, - "gp_distribution_policy" : { - "relid_comment_tag" : "/* relation id: 5002 - gp_distribution_policy 20101210 */\n", - "tabdef_text" : "\n CREATE TABLE gp_distribution_policy\n with (camelcase=GpPolicy, oid=false, relid=5002, content=MASTER_ONLY)\n (\n localoid oid,\n attrnums smallint[]\n )", - "CamelCaseRelationId" : "GpPolicyRelationId", - "with" : { - "shared" : 0, - "text" : "with (camelcase=GpPolicy, oid=false, relid=5002, content=MASTER_ONLY)", - "content" : "MASTER_ONLY", - "oid" : "", - "relid" : "5002", - "bootstrap" : 0, - "camelcase" : "GpPolicy" - }, - "colh" : { - "localoid" : "Oid", - "attrnums" : "int2[1]" - }, - "cols" : [ - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "localoid", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "int2[1]", - "sqltype" : "smallint[]", - "colname" : "attrnums" - } - ] - }, - "gp_global_sequence" : { - "relid_comment_tag" : "/* relation id: 5096 - gp_global_sequence 20101210 */\n", - "tabdef_text" : "\n CREATE TABLE gp_global_sequence\n with (camelcase=GpGlobalSequence, oid=false, relid=5096, reltype_oid=6995, content=PERSISTENT)\n (\n sequence_num bigint\n )", - "UppercaseReltypeOid" : "GP_GLOBAL_SEQUENCE_RELTYPE_OID", - "CamelCaseRelationId" : "GpGlobalSequenceRelationId", - "with" : { - "shared" : 0, - "reltype_oid" : "6995", - "text" : "with (camelcase=GpGlobalSequence, oid=false, relid=5096, reltype_oid=6995, content=PERSISTENT)", - "content" : "PERSISTENT", - "oid" : "", - "relid" : "5096", - "bootstrap" : 0, - "camelcase" : "GpGlobalSequence" - }, - "colh" : { - "sequence_num" : "bigint" - }, - "cols" : [ - { - "ctype" : "bigint", - "sqltype" : "bigint", - "colname" : "sequence_num", - "precomment" : "\n**TK_BLANK_LINE**" - } - ] - }, - "pg_attrdef" : { - "CamelCaseToastInd" : "PgAttrDefaultToastIndex", - "tabdef_text" : "\n CREATE TABLE pg_attrdef\n with (camelcase=AttrDefault, relid=2604, toast_oid=2830, toast_index=2831)\n (\n adrelid oid, \n adnum smallint, \n adbin text, \n adsrc text\n )", - "CamelCaseToastTab" : "PgAttrDefaultToastTable", - "cols" : [ - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "adrelid", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "int2", - "sqltype" : "smallint", - "colname" : "adnum" - }, - { - "ctype" : "text", - "sqltype" : "text", - "colname" : "adbin" - }, - { - "ctype" : "text", - "sqltype" : "text", - "colname" : "adsrc" - } - ], - "relid_comment_tag" : "/* relation id: 2604 - pg_attrdef 20101210 */\n", - "with" : { - "shared" : 0, - "toast_oid" : "2830", - "text" : "with (camelcase=AttrDefault, relid=2604, toast_oid=2830, toast_index=2831)", - "oid" : 1, - "relid" : "2604", - "bootstrap" : 0, - "toast_index" : "2831", - "camelcase" : "AttrDefault" - }, - "CamelCaseRelationId" : "AttrDefaultRelationId", - "colh" : { - "adsrc" : "text", - "adbin" : "text", - "adnum" : "int2", - "oid" : "Oid", - "adrelid" : "Oid" - } - }, - "gp_interfaces" : { - "tabdef_text" : "\n CREATE TABLE gp_interfaces\n with (shared=true, oid=false, relid=5030, reltype_oid=6433, content=MASTER_ONLY)\n (\n interfaceid smallint,\n address name,\n status smallint \n )", - "UppercaseReltypeOid" : "GP_INTERFACES_RELTYPE_OID", - "cols" : [ - { - "ctype" : "int2", - "sqltype" : "smallint", - "colname" : "interfaceid", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "NameData", - "sqltype" : "name", - "colname" : "address" - }, - { - "ctype" : "int2", - "sqltype" : "smallint", - "colname" : "status" - } - ], - "relid_comment_tag" : "/* relation id: 5030 - gp_interfaces 20101210 */\n", - "with" : { - "shared" : "1", - "reltype_oid" : "6433", - "text" : "with (shared=true, oid=false, relid=5030, reltype_oid=6433, content=MASTER_ONLY)", - "content" : "MASTER_ONLY", - "oid" : "", - "relid" : "5030", - "bootstrap" : 0, - "camelcase" : "GpInterfaces" - }, - "CamelCaseRelationId" : "GpInterfacesRelationId", - "colh" : { - "status" : "int2", - "address" : "NameData", - "interfaceid" : "int2" - }, - "indexes" : [ - { - "unique" : "1", - "indexname" : "gp_interfaces_interface_index", - "indexid" : "6109", - "CamelCaseIndexId" : "GpInterfacesInterfaceidIndexId", - "with" : { - "indexname" : "gp_interfaces_interface_index", - "indexid" : "6109" - }, - "cols" : [ - [ - "interfaceid", - "int2_ops" - ] - ] - } - ] - }, - "pg_pltemplate" : { - "relid_comment_tag" : "/* relation id: 1136 - pg_pltemplate 20101210 */\n", - "tabdef_text" : "\n CREATE TABLE pg_pltemplate\n with (camelcase=PLTemplate, shared=true, oid=false, relid=1136)\n (\n tmplname name, \n tmpltrusted boolean, \n tmplhandler text, \n tmplvalidator text, \n tmpllibrary text, \n tmplacl aclitem[]\n )", - "CamelCaseRelationId" : "PLTemplateRelationId", - "with" : { - "shared" : "1", - "text" : "with (camelcase=PLTemplate, shared=true, oid=false, relid=1136)", - "oid" : "", - "relid" : "1136", - "bootstrap" : 0, - "camelcase" : "PLTemplate" - }, - "colh" : { - "tmpllibrary" : "text", - "tmplhandler" : "text", - "tmplname" : "NameData", - "tmpltrusted" : "bool", - "tmplacl" : "aclitem[1]", - "tmplvalidator" : "text" - }, - "cols" : [ - { - "ctype" : "NameData", - "sqltype" : "name", - "colname" : "tmplname", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "tmpltrusted" - }, - { - "ctype" : "text", - "sqltype" : "text", - "colname" : "tmplhandler" - }, - { - "ctype" : "text", - "sqltype" : "text", - "colname" : "tmplvalidator" - }, - { - "ctype" : "text", - "sqltype" : "text", - "colname" : "tmpllibrary" - }, - { - "ctype" : "aclitem[1]", - "sqltype" : "aclitem[]", - "colname" : "tmplacl" - } - ] - }, - "pg_description" : { - "CamelCaseToastInd" : "PgDescriptionToastIndex", - "tabdef_text" : "\n CREATE TABLE pg_description\n with (oid=false, relid=2609, toast_oid=2834, toast_index=2835, content=MASTER_ONLY)\n (\n objoid oid, \n classoid oid, \n objsubid integer, \n description text\n )", - "CamelCaseToastTab" : "PgDescriptionToastTable", - "cols" : [ - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "objoid", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "classoid" - }, - { - "ctype" : "int4", - "sqltype" : "integer", - "colname" : "objsubid" - }, - { - "ctype" : "text", - "sqltype" : "text", - "colname" : "description" - } - ], - "relid_comment_tag" : "/* relation id: 2609 - pg_description 20101210 */\n", - "with" : { - "toast_oid" : "2834", - "content" : "MASTER_ONLY", - "oid" : "", - "relid" : "2609", - "bootstrap" : 0, - "camelcase" : "Description", - "toast_index" : "2835", - "shared" : 0, - "text" : "with (oid=false, relid=2609, toast_oid=2834, toast_index=2835, content=MASTER_ONLY)" - }, - "CamelCaseRelationId" : "DescriptionRelationId", - "colh" : { - "classoid" : "Oid", - "objsubid" : "int4", - "objoid" : "Oid", - "description" : "text" - } - }, - "gp_db_interfaces" : { - "tabdef_text" : "\n CREATE TABLE gp_db_interfaces\n with (camelcase=GpDbInterfaces, shared=true, oid=false, relid=5029, reltype_oid=6436, content=MASTER_ONLY)\n (\n dbid smallint,\n interfaceid smallint,\n priority smallint\n )", - "UppercaseReltypeOid" : "GP_DB_INTERFACES_RELTYPE_OID", - "cols" : [ - { - "ctype" : "int2", - "sqltype" : "smallint", - "colname" : "dbid", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "int2", - "sqltype" : "smallint", - "colname" : "interfaceid" - }, - { - "ctype" : "int2", - "sqltype" : "smallint", - "colname" : "priority" - } - ], - "relid_comment_tag" : "/* relation id: 5029 - gp_db_interfaces 20101210 */\n", - "with" : { - "shared" : "1", - "reltype_oid" : "6436", - "text" : "with (camelcase=GpDbInterfaces, shared=true, oid=false, relid=5029, reltype_oid=6436, content=MASTER_ONLY)", - "content" : "MASTER_ONLY", - "oid" : "", - "relid" : "5029", - "bootstrap" : 0, - "camelcase" : "GpDbInterfaces" - }, - "CamelCaseRelationId" : "GpDbInterfacesRelationId", - "colh" : { - "priority" : "int2", - "dbid" : "int2", - "interfaceid" : "int2" - }, - "indexes" : [ - { - "unique" : "", - "indexid" : "6108", - "CamelCaseIndexId" : "GpDbInterfacesDbidIndexId", - "with" : { - "indexid" : "6108" - }, - "cols" : [ - [ - "dbid", - "int2_ops" - ] - ] - } - ] - }, - "pg_language" : { - "relid_comment_tag" : "/* relation id: 2612 - pg_language 20101210 */\n", - "tabdef_text" : "\n CREATE TABLE pg_language\n with (relid=2612)\n ( \n lanname name, \n lanispl boolean, \n lanpltrusted boolean, \n lanplcallfoid oid, \n lanvalidator oid, \n lanacl aclitem[]\n )", - "CamelCaseRelationId" : "LanguageRelationId", - "with" : { - "shared" : 0, - "text" : "with (relid=2612)", - "oid" : 1, - "relid" : "2612", - "bootstrap" : 0, - "camelcase" : "Language" - }, - "colh" : { - "lanname" : "NameData", - "lanplcallfoid" : "Oid", - "lanpltrusted" : "bool", - "oid" : "Oid", - "lanacl" : "aclitem[1]", - "lanispl" : "bool", - "lanvalidator" : "Oid" - }, - "cols" : [ - { - "ctype" : "NameData", - "sqltype" : "name", - "colname" : "lanname", - "precomment" : "\n " - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "lanispl" - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "lanpltrusted" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "lanplcallfoid" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "lanvalidator" - }, - { - "ctype" : "aclitem[1]", - "sqltype" : "aclitem[]", - "colname" : "lanacl" - } - ] - }, - "pg_partition_rule" : { - "relid_comment_tag" : "/* relation id: 5011 - pg_partition_rule 20101210 */\n", - "tabdef_text" : "\n CREATE TABLE pg_partition_rule\n with (camelcase=PartitionRule, relid=5011, content=MASTER_ONLY)\n ( \n paroid oid,\n parchildrelid oid,\n parparentrule oid,\n parname name,\n parisdefault boolean,\n parruleord smallint,\n parrangestartincl boolean,\n parrangeendincl boolean,\n parrangestart text,\n parrangeend text,\n parrangeevery text,\n parlistvalues text,\n parreloptions text[],\n partemplatespace oid\n )", - "CamelCaseRelationId" : "PartitionRuleRelationId", - "with" : { - "shared" : 0, - "text" : "with (camelcase=PartitionRule, relid=5011, content=MASTER_ONLY)", - "oid" : 1, - "content" : "MASTER_ONLY", - "relid" : "5011", - "bootstrap" : 0, - "camelcase" : "PartitionRule" - }, - "indexes" : [ - { - "unique" : "1", - "indexid" : "5014", - "CamelCaseIndexId" : "PartitionRuleOidIndexId", - "with" : { - "indexid" : "5014" - }, - "cols" : [ - [ - "oid", - "oid_ops" - ] - ] - }, - { - "unique" : "", - "indexid" : "5016", - "CamelCaseIndexId" : "PartitionRuleParchildrelidIndexId", - "with" : { - "indexid" : "5016" - }, - "cols" : [ - [ - "parchildrelid", - "oid_ops" - ] - ] - }, - { - "unique" : "", - "indexid" : "5015", - "CamelCaseIndexId" : "PartitionRuleParchildrelidParparentruleParruleordIndexId", - "with" : { - "indexid" : "5015" - }, - "cols" : [ - [ - "parchildrelid", - "oid_ops" - ], - [ - "parparentrule", - "oid_ops" - ], - [ - "parruleord", - "int2_ops" - ] - ] - }, - { - "unique" : "", - "indexname" : "pg_partition_rule_paroid_parentrule_ruleord_index", - "indexid" : "5026", - "CamelCaseIndexId" : "PartitionRuleParoidParparentruleParruleordIndexId", - "with" : { - "indexname" : "pg_partition_rule_paroid_parentrule_ruleord_index", - "indexid" : "5026" - }, - "cols" : [ - [ - "paroid", - "oid_ops" - ], - [ - "parparentrule", - "oid_ops" - ], - [ - "parruleord", - "int2_ops" - ] - ] - } - ], - "colh" : { - "parreloptions" : "text[1]", - "parrangeend" : "text", - "parchildrelid" : "Oid", - "oid" : "Oid", - "paroid" : "Oid", - "partemplatespace" : "Oid", - "parlistvalues" : "text", - "parisdefault" : "bool", - "parparentrule" : "Oid", - "parrangestartincl" : "bool", - "parrangeendincl" : "bool", - "parrangeevery" : "text", - "parrangestart" : "text", - "parruleord" : "int2", - "parname" : "NameData" - }, - "cols" : [ - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "paroid", - "precomment" : "\n " - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "parchildrelid" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "parparentrule" - }, - { - "ctype" : "NameData", - "sqltype" : "name", - "colname" : "parname" - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "parisdefault" - }, - { - "ctype" : "int2", - "sqltype" : "smallint", - "colname" : "parruleord" - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "parrangestartincl" - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "parrangeendincl" - }, - { - "ctype" : "text", - "sqltype" : "text", - "colname" : "parrangestart" - }, - { - "ctype" : "text", - "sqltype" : "text", - "colname" : "parrangeend" - }, - { - "ctype" : "text", - "sqltype" : "text", - "colname" : "parrangeevery" - }, - { - "ctype" : "text", - "sqltype" : "text", - "colname" : "parlistvalues" - }, - { - "ctype" : "text[1]", - "sqltype" : "text[]", - "colname" : "parreloptions" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "partemplatespace" - } - ] - }, - "pg_depend" : { - "relid_comment_tag" : "/* relation id: 2608 - pg_depend 20101210 */\n", - "tabdef_text" : "\n CREATE TABLE pg_depend\n with (oid=false, relid=2608, content=SEGMENT_LOCAL)\n (\n classid oid, \n objid oid, \n objsubid integer, \n refclassid oid, \n refobjid oid, \n refobjsubid integer, \n deptype \"char\"\n )", - "CamelCaseRelationId" : "DependRelationId", - "with" : { - "shared" : 0, - "text" : "with (oid=false, relid=2608, content=SEGMENT_LOCAL)", - "content" : "SEGMENT_LOCAL", - "oid" : "", - "relid" : "2608", - "bootstrap" : 0, - "camelcase" : "Depend" - }, - "colh" : { - "deptype" : "char", - "objsubid" : "int4", - "refobjid" : "Oid", - "classid" : "Oid", - "refclassid" : "Oid", - "objid" : "Oid", - "refobjsubid" : "int4" - }, - "cols" : [ - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "classid", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "objid" - }, - { - "ctype" : "int4", - "sqltype" : "integer", - "colname" : "objsubid" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "refclassid" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "refobjid" - }, - { - "ctype" : "int4", - "sqltype" : "integer", - "colname" : "refobjsubid" - }, - { - "ctype" : "char", - "sqltype" : "quoted_char", - "colname" : "deptype" - } - ] - }, - "pg_foreign_data_wrapper" : { - "relid_comment_tag" : "/* relation id: 2898 - pg_foreign_data_wrapper 20101210 */\n", - "tabdef_text" : "\n CREATE TABLE pg_foreign_data_wrapper\n with (camelcase=ForeignDataWrapper, relid=2898, reltype_oid=6447)\n (\n fdwname name, -- foreign-data wrapper name\n fdwowner oid, -- FDW owner\n fdwvalidator oid, -- optional validation function\n\n -- VARIABLE LENGTH FIELDS start here.\n\n fdwacl aclitem[], -- access permissions\n fdwoptions text[] -- FDW options\n )", - "UppercaseReltypeOid" : "PG_FOREIGN_DATA_WRAPPER_RELTYPE_OID", - "CamelCaseRelationId" : "ForeignDataWrapperRelationId", - "with" : { - "shared" : 0, - "reltype_oid" : "6447", - "text" : "with (camelcase=ForeignDataWrapper, relid=2898, reltype_oid=6447)", - "oid" : 1, - "relid" : "2898", - "bootstrap" : 0, - "camelcase" : "ForeignDataWrapper" - }, - "colh" : { - "fdwowner" : "Oid", - "fdwname" : "NameData", - "oid" : "Oid", - "fdwvalidator" : "Oid", - "fdwoptions" : "text[1]", - "fdwacl" : "aclitem[1]" - }, - "cols" : [ - { - "ctype" : "NameData", - "postcomment" : "-- foreign-data wrapper name", - "sqltype" : "name", - "colname" : "fdwname", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "Oid", - "postcomment" : "-- FDW owner", - "sqltype" : "oid", - "colname" : "fdwowner" - }, - { - "ctype" : "Oid", - "postcomment" : "-- optional validation function", - "sqltype" : "oid", - "colname" : "fdwvalidator" - }, - { - "ctype" : "aclitem[1]", - "postcomment" : "-- access permissions", - "sqltype" : "aclitem[]", - "colname" : "fdwacl", - "precomment" : "\n**TK_BLANK_LINE**\n -- VARIABLE LENGTH FIELDS start here.\n**TK_BLANK_LINE**" - }, - { - "ctype" : "text[1]", - "postcomment" : "-- FDW options", - "sqltype" : "text[]", - "colname" : "fdwoptions" - } - ] - }, - "pg_type" : { - "relid_comment_tag" : "/* relation id: 1247 - pg_type 20101210 */\n", - "tabdef_text" : "\n CREATE TABLE pg_type\n with (bootstrap=true, relid=1247)\n (\n typname name ,\n typnamespace oid ,\n typowner oid ,\n typlen smallint ,\n typbyval boolean ,\n typtype \"char\" ,\n typisdefined boolean ,\n typdelim \"char\" ,\n typrelid oid ,\n typelem oid ,\n typinput regproc ,\n typoutput regproc ,\n typreceive regproc ,\n typsend regproc ,\n typanalyze regproc ,\n typalign \"char\" ,\n typstorage \"char\" ,\n typnotnull boolean ,\n typbasetype oid ,\n typtypmod integer ,\n typndims integer ,\n typdefaultbin text ,\n typdefault text \n )", - "CamelCaseRelationId" : "TypeRelationId", - "with" : { - "shared" : 0, - "text" : "with (bootstrap=true, relid=1247)", - "oid" : 1, - "relid" : "1247", - "bootstrap" : "1", - "camelcase" : "Type" - }, - "foreign_keys" : [ - [ - [ - "typnamespace" - ], - "pg_namespace", - [ - "oid" - ] - ], - [ - [ - "typowner" - ], - "pg_authid", - [ - "oid" - ] - ], - [ - [ - "typrelid" - ], - "pg_class", - [ - "oid" - ] - ], - [ - [ - "typinput" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "typoutput" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "typreceive" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "typsend" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "typanalyze" - ], - "pg_proc", - [ - "oid" - ] - ] - ], - "colh" : { - "typname" : "NameData", - "typanalyze" : "regproc", - "typdefaultbin" : "text", - "oid" : "Oid", - "typlen" : "int2", - "typowner" : "Oid", - "typoutput" : "regproc", - "typnotnull" : "bool", - "typbasetype" : "Oid", - "typstorage" : "char", - "typreceive" : "regproc", - "typdefault" : "text", - "typelem" : "Oid", - "typisdefined" : "bool", - "typinput" : "regproc", - "typtypmod" : "int4", - "typtype" : "char", - "typsend" : "regproc", - "typbyval" : "bool", - "typalign" : "char", - "typnamespace" : "Oid", - "typrelid" : "Oid", - "typndims" : "int4", - "typdelim" : "char" - }, - "cols" : [ - { - "ctype" : "NameData", - "sqltype" : "name", - "colname" : "typname", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "typnamespace" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "typowner" - }, - { - "ctype" : "int2", - "sqltype" : "smallint", - "colname" : "typlen" - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "typbyval" - }, - { - "ctype" : "char", - "sqltype" : "quoted_char", - "colname" : "typtype" - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "typisdefined" - }, - { - "ctype" : "char", - "sqltype" : "quoted_char", - "colname" : "typdelim" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "typrelid" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "typelem" - }, - { - "ctype" : "regproc", - "sqltype" : "regproc", - "colname" : "typinput" - }, - { - "ctype" : "regproc", - "sqltype" : "regproc", - "colname" : "typoutput" - }, - { - "ctype" : "regproc", - "sqltype" : "regproc", - "colname" : "typreceive" - }, - { - "ctype" : "regproc", - "sqltype" : "regproc", - "colname" : "typsend" - }, - { - "ctype" : "regproc", - "sqltype" : "regproc", - "colname" : "typanalyze" - }, - { - "ctype" : "char", - "sqltype" : "quoted_char", - "colname" : "typalign" - }, - { - "ctype" : "char", - "sqltype" : "quoted_char", - "colname" : "typstorage" - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "typnotnull" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "typbasetype" - }, - { - "ctype" : "int4", - "sqltype" : "integer", - "colname" : "typtypmod" - }, - { - "ctype" : "int4", - "sqltype" : "integer", - "colname" : "typndims" - }, - { - "ctype" : "text", - "sqltype" : "text", - "colname" : "typdefaultbin" - }, - { - "ctype" : "text", - "sqltype" : "text", - "colname" : "typdefault" - } - ] - }, - "pg_filespace" : { - "relid_comment_tag" : "/* relation id: 5009 - pg_filespace 20101210 */\n", - "tabdef_text" : "\n CREATE TABLE pg_filespace\n with (camelcase=FileSpace, shared=true, relid=5009, reltype_oid=6438)\n (\n fsname name, -- filespace name\n fsowner oid -- owner of filespace\n )", - "UppercaseReltypeOid" : "PG_FILESPACE_RELTYPE_OID", - "CamelCaseRelationId" : "FileSpaceRelationId", - "with" : { - "shared" : "1", - "reltype_oid" : "6438", - "text" : "with (camelcase=FileSpace, shared=true, relid=5009, reltype_oid=6438)", - "oid" : 1, - "relid" : "5009", - "bootstrap" : 0, - "camelcase" : "FileSpace" - }, - "colh" : { - "fsowner" : "Oid", - "oid" : "Oid", - "fsname" : "NameData" - }, - "cols" : [ - { - "ctype" : "NameData", - "postcomment" : "-- filespace name", - "sqltype" : "name", - "colname" : "fsname", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "Oid", - "postcomment" : "-- owner of filespace", - "sqltype" : "oid", - "colname" : "fsowner" - } - ] - }, - "pg_appendonly_alter_column" : { - "relid_comment_tag" : "/* relation id: 6110 - pg_appendonly_alter_column 20101210 */\n", - "tabdef_text" : "\n CREATE TABLE pg_appendonly_alter_column\n with (camelcase=AppendOnlyAlterColumn, oid=false, relid=6110, reltype_oid=6437)\n (\n relid oid, \n changenum integer, \n segfilenums integer[], \n highwaterrownums bytea\n )", - "UppercaseReltypeOid" : "PG_APPENDONLY_ALTER_COLUMN_RELTYPE_OID", - "CamelCaseRelationId" : "AppendOnlyAlterColumnRelationId", - "with" : { - "shared" : 0, - "reltype_oid" : "6437", - "text" : "with (camelcase=AppendOnlyAlterColumn, oid=false, relid=6110, reltype_oid=6437)", - "oid" : "", - "relid" : "6110", - "bootstrap" : 0, - "camelcase" : "AppendOnlyAlterColumn" - }, - "colh" : { - "highwaterrownums" : "bytea", - "relid" : "Oid", - "segfilenums" : "int4[1]", - "changenum" : "int4" - }, - "cols" : [ - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "relid", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "int4", - "sqltype" : "integer", - "colname" : "changenum" - }, - { - "ctype" : "int4[1]", - "sqltype" : "integer[]", - "colname" : "segfilenums" - }, - { - "ctype" : "bytea", - "sqltype" : "bytea", - "colname" : "highwaterrownums" - } - ] - }, - "pg_index" : { - "relid_comment_tag" : "/* relation id: 2610 - pg_index 20101210 */\n", - "tabdef_text" : "\n CREATE TABLE pg_index\n with (oid=false, relid=2610)\n (\n indexrelid oid ,\n indrelid oid ,\n indnatts smallint ,\n indisunique boolean ,\n indisprimary boolean ,\n indisclustered boolean ,\n indisvalid boolean ,\n indkey int2vector ,\n indclass oidvector ,\n indexprs text ,\n indpred text \n )", - "CamelCaseRelationId" : "IndexRelationId", - "with" : { - "shared" : 0, - "text" : "with (oid=false, relid=2610)", - "oid" : "", - "relid" : "2610", - "bootstrap" : 0, - "camelcase" : "Index" - }, - "colh" : { - "indisprimary" : "bool", - "indpred" : "text", - "indexprs" : "text", - "indisunique" : "bool", - "indrelid" : "Oid", - "indnatts" : "int2", - "indexrelid" : "Oid", - "indisclustered" : "bool", - "indclass" : "oidvector", - "indkey" : "int2vector", - "indisvalid" : "bool" - }, - "cols" : [ - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "indexrelid", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "indrelid" - }, - { - "ctype" : "int2", - "sqltype" : "smallint", - "colname" : "indnatts" - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "indisunique" - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "indisprimary" - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "indisclustered" - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "indisvalid" - }, - { - "ctype" : "int2vector", - "sqltype" : "int2vector", - "colname" : "indkey" - }, - { - "ctype" : "oidvector", - "sqltype" : "oidvector", - "colname" : "indclass" - }, - { - "ctype" : "text", - "sqltype" : "text", - "colname" : "indexprs" - }, - { - "ctype" : "text", - "sqltype" : "text", - "colname" : "indpred" - } - ] - }, - "pg_rewrite" : { - "CamelCaseToastInd" : "PgRewriteToastIndex", - "tabdef_text" : "\n CREATE TABLE pg_rewrite\n with (relid=2618, toast_oid=2838, toast_index=2839)\n (\n rulename name, \n ev_class oid, \n ev_attr smallint, \n ev_type \"char\", \n is_instead boolean, \n ev_qual text, \n ev_action text\n )", - "CamelCaseToastTab" : "PgRewriteToastTable", - "cols" : [ - { - "ctype" : "NameData", - "sqltype" : "name", - "colname" : "rulename", - "precomment" : "\n**TK_BLANK_LINE**" - }, - { - "ctype" : "Oid", - "sqltype" : "oid", - "colname" : "ev_class" - }, - { - "ctype" : "int2", - "sqltype" : "smallint", - "colname" : "ev_attr" - }, - { - "ctype" : "char", - "sqltype" : "quoted_char", - "colname" : "ev_type" - }, - { - "ctype" : "bool", - "sqltype" : "boolean", - "colname" : "is_instead" - }, - { - "ctype" : "text", - "sqltype" : "text", - "colname" : "ev_qual" - }, - { - "ctype" : "text", - "sqltype" : "text", - "colname" : "ev_action" - } - ], - "relid_comment_tag" : "/* relation id: 2618 - pg_rewrite 20101210 */\n", - "with" : { - "toast_oid" : "2838", - "oid" : 1, - "relid" : "2618", - "bootstrap" : 0, - "camelcase" : "Rewrite", - "toast_index" : "2839", - "shared" : 0, - "text" : "with (relid=2618, toast_oid=2838, toast_index=2839)" - }, - "CamelCaseRelationId" : "RewriteRelationId", - "colh" : { - "ev_type" : "char", - "is_instead" : "bool", - "ev_class" : "Oid", - "oid" : "Oid", - "rulename" : "NameData", - "ev_action" : "text", - "ev_attr" : "int2", - "ev_qual" : "text" - } - } -} diff --git a/gpMgmt/bin/gppylib/data/4.1.json b/gpMgmt/bin/gppylib/data/4.1.json deleted file mode 100644 index 807c6e296256d0c4c11f3d97e442cb1310326e78..0000000000000000000000000000000000000000 --- a/gpMgmt/bin/gppylib/data/4.1.json +++ /dev/null @@ -1,6635 +0,0 @@ -{ - "__comment" : "Generated by ./tidycat.pl version 1. on Thu Nov 10 17:33:45 2011", - "gp_configuration" : { - "CamelCaseRelationId" : "GpConfigurationRelationId", - "colh" : { - "content" : "int2", - "datadir" : "text", - "dbid" : "int2", - "definedprimary" : "bool", - "hostname" : "NameData", - "isprimary" : "bool", - "port" : "int4", - "valid" : "bool" - }, - "cols" : [ - { - "colname" : "content", - "ctype" : "int2", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "smallint" - }, - { - "colname" : "definedprimary", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "dbid", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "isprimary", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "valid", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "hostname", - "ctype" : "NameData", - "sqltype" : "name" - }, - { - "colname" : "port", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "datadir", - "ctype" : "text", - "sqltype" : "text" - } - ], - "filename" : "gp_configuration.h", - "indexes" : [ - { - "CamelCaseIndexId" : "GpConfigurationContentDefinedprimaryIndexId", - "cols" : [ - [ - "content", - "int2_ops" - ], - [ - "definedprimary", - "bool_ops" - ] - ], - "indexid" : "6101", - "unique" : "1", - "with" : { - "indexid" : "6101" - } - }, - { - "CamelCaseIndexId" : "GpConfigurationDbidIndexId", - "cols" : [ - [ - "dbid", - "int2_ops" - ] - ], - "indexid" : "6102", - "unique" : "1", - "with" : { - "indexid" : "6102" - } - } - ], - "relid_comment_tag" : "/* relation id: 5000 - gp_configuration 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE gp_configuration\n with (shared=true, oid=false, relid=5000, content=MASTER_ONLY)\n (\n content smallint,\n definedprimary boolean,\n dbid smallint,\n isprimary boolean,\n valid boolean,\n hostname name,\n port integer,\n datadir text\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "GpConfiguration", - "content" : "MASTER_ONLY", - "oid" : "", - "relid" : "5000", - "shared" : "1", - "text" : "with (shared=true, oid=false, relid=5000, content=MASTER_ONLY)" - } - }, - "gp_configuration_history" : { - "CamelCaseRelationId" : "GpConfigHistoryRelationId", - "UppercaseReltypeOid" : "GP_CONFIGURATION_HISTORY_RELTYPE_OID", - "colh" : { - "dbid" : "int2", - "desc" : "text", - "time" : "timestamptz" - }, - "cols" : [ - { - "colname" : "time", - "ctype" : "timestamptz", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "timestamp_with_time_zone" - }, - { - "colname" : "dbid", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "desc", - "ctype" : "text", - "sqltype" : "text" - } - ], - "filename" : "gp_configuration.h", - "relid_comment_tag" : "/* relation id: 5006 - gp_configuration_history 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE gp_configuration_history\n with (camelcase=GpConfigHistory, shared=true, oid=false, relid=5006, reltype_oid=6434, content=MASTER_ONLY)\n (\n time timestamp with time zone,\n dbid smallint,\n \"desc\" text\n )", - "tzhack" : "\"time\"", - "with" : { - "bootstrap" : 0, - "camelcase" : "GpConfigHistory", - "content" : "MASTER_ONLY", - "oid" : "", - "relid" : "5006", - "reltype_oid" : "6434", - "shared" : "1", - "text" : "with (camelcase=GpConfigHistory, shared=true, oid=false, relid=5006, reltype_oid=6434, content=MASTER_ONLY)" - } - }, - "gp_db_interfaces" : { - "CamelCaseRelationId" : "GpDbInterfacesRelationId", - "UppercaseReltypeOid" : "GP_DB_INTERFACES_RELTYPE_OID", - "colh" : { - "dbid" : "int2", - "interfaceid" : "int2", - "priority" : "int2" - }, - "cols" : [ - { - "colname" : "dbid", - "ctype" : "int2", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "smallint" - }, - { - "colname" : "interfaceid", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "priority", - "ctype" : "int2", - "sqltype" : "smallint" - } - ], - "filename" : "gp_configuration.h", - "indexes" : [ - { - "CamelCaseIndexId" : "GpDbInterfacesDbidIndexId", - "cols" : [ - [ - "dbid", - "int2_ops" - ] - ], - "indexid" : "6108", - "unique" : "", - "with" : { - "indexid" : "6108" - } - } - ], - "relid_comment_tag" : "/* relation id: 5029 - gp_db_interfaces 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE gp_db_interfaces\n with (camelcase=GpDbInterfaces, shared=true, oid=false, relid=5029, reltype_oid=6436, content=MASTER_ONLY)\n (\n dbid smallint,\n interfaceid smallint,\n priority smallint\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "GpDbInterfaces", - "content" : "MASTER_ONLY", - "oid" : "", - "relid" : "5029", - "reltype_oid" : "6436", - "shared" : "1", - "text" : "with (camelcase=GpDbInterfaces, shared=true, oid=false, relid=5029, reltype_oid=6436, content=MASTER_ONLY)" - } - }, - "gp_distribution_policy" : { - "CamelCaseRelationId" : "GpPolicyRelationId", - "colh" : { - "attrnums" : "int2[1]", - "localoid" : "Oid" - }, - "cols" : [ - { - "colname" : "localoid", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "attrnums", - "ctype" : "int2[1]", - "sqltype" : "smallint[]" - } - ], - "filename" : "gp_policy.h", - "foreign_keys" : [ - [ - [ - "localoid" - ], - "pg_class", - [ - "oid" - ] - ] - ], - "relid_comment_tag" : "/* relation id: 5002 - gp_distribution_policy 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE gp_distribution_policy\n with (camelcase=GpPolicy, oid=false, relid=5002, content=MASTER_ONLY)\n (\n localoid oid,\n attrnums smallint[]\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "GpPolicy", - "content" : "MASTER_ONLY", - "oid" : "", - "relid" : "5002", - "shared" : 0, - "text" : "with (camelcase=GpPolicy, oid=false, relid=5002, content=MASTER_ONLY)" - } - }, - "gp_fastsequence" : { - "CamelCaseRelationId" : "FastSequenceRelationId", - "UppercaseReltypeOid" : "GP_FASTSEQUENCE_RELTYPE_OID", - "colh" : { - "last_sequence" : "bigint", - "objid" : "Oid", - "objmod" : "bigint" - }, - "cols" : [ - { - "colname" : "objid", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "objmod", - "ctype" : "bigint", - "sqltype" : "bigint" - }, - { - "colname" : "last_sequence", - "ctype" : "bigint", - "sqltype" : "bigint" - } - ], - "filename" : "gp_fastsequence.h", - "foreign_keys" : [ - [ - [ - "objid" - ], - "pg_class", - [ - "oid" - ] - ] - ], - "relid_comment_tag" : "/* relation id: 5043 - gp_fastsequence 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE gp_fastsequence\n with (camelcase=FastSequence, oid=false, relid=5043, reltype_oid=6453, content=SEGMENT_LOCAL)\n (\n objid oid,\n objmod bigint,\n last_sequence bigint\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "FastSequence", - "content" : "SEGMENT_LOCAL", - "oid" : "", - "relid" : "5043", - "reltype_oid" : "6453", - "shared" : 0, - "text" : "with (camelcase=FastSequence, oid=false, relid=5043, reltype_oid=6453, content=SEGMENT_LOCAL)" - } - }, - "gp_fault_strategy" : { - "CamelCaseRelationId" : "GpFaultStrategyRelationId", - "UppercaseReltypeOid" : "GP_FAULT_STRATEGY_RELTYPE_OID", - "colh" : { - "fault_strategy" : "char" - }, - "cols" : [ - { - "colname" : "fault_strategy", - "ctype" : "char", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "quoted_char" - } - ], - "filename" : "gp_san_config.h", - "relid_comment_tag" : "/* relation id: 5039 - gp_fault_strategy 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE gp_fault_strategy\n with (camelcase=GpFaultStrategy, shared=true, oid=false, relid=5039, reltype_oid=6443, content=MASTER_ONLY)\n (\n fault_strategy \"char\"\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "GpFaultStrategy", - "content" : "MASTER_ONLY", - "oid" : "", - "relid" : "5039", - "reltype_oid" : "6443", - "shared" : "1", - "text" : "with (camelcase=GpFaultStrategy, shared=true, oid=false, relid=5039, reltype_oid=6443, content=MASTER_ONLY)" - } - }, - "gp_global_sequence" : { - "CamelCaseRelationId" : "GpGlobalSequenceRelationId", - "UppercaseReltypeOid" : "GP_GLOBAL_SEQUENCE_RELTYPE_OID", - "colh" : { - "sequence_num" : "bigint" - }, - "cols" : [ - { - "colname" : "sequence_num", - "ctype" : "bigint", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "bigint" - } - ], - "filename" : "gp_global_sequence.h", - "relid_comment_tag" : "/* relation id: 5096 - gp_global_sequence 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE gp_global_sequence\n with (camelcase=GpGlobalSequence, oid=false, relid=5096, reltype_oid=6995, content=PERSISTENT)\n (\n sequence_num bigint\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "GpGlobalSequence", - "content" : "PERSISTENT", - "oid" : "", - "relid" : "5096", - "reltype_oid" : "6995", - "shared" : 0, - "text" : "with (camelcase=GpGlobalSequence, oid=false, relid=5096, reltype_oid=6995, content=PERSISTENT)" - } - }, - "gp_id" : { - "CamelCaseRelationId" : "GpIdRelationId", - "colh" : { - "content" : "int2", - "dbid" : "int2", - "gpname" : "NameData", - "numsegments" : "int2" - }, - "cols" : [ - { - "colname" : "gpname", - "ctype" : "NameData", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "name" - }, - { - "colname" : "numsegments", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "dbid", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "content", - "ctype" : "int2", - "sqltype" : "smallint" - } - ], - "filename" : "gp_id.h", - "relid_comment_tag" : "/* relation id: 5001 - gp_id 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE gp_id\n with (shared=true, oid=false, relid=5001, content=SEGMENT_LOCAL)\n (\n gpname name ,\n numsegments smallint ,\n dbid smallint ,\n content smallint \n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "GpId", - "content" : "SEGMENT_LOCAL", - "oid" : "", - "relid" : "5001", - "shared" : "1", - "text" : "with (shared=true, oid=false, relid=5001, content=SEGMENT_LOCAL)" - } - }, - "gp_interfaces" : { - "CamelCaseRelationId" : "GpInterfacesRelationId", - "UppercaseReltypeOid" : "GP_INTERFACES_RELTYPE_OID", - "colh" : { - "address" : "NameData", - "interfaceid" : "int2", - "status" : "int2" - }, - "cols" : [ - { - "colname" : "interfaceid", - "ctype" : "int2", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "smallint" - }, - { - "colname" : "address", - "ctype" : "NameData", - "sqltype" : "name" - }, - { - "colname" : "status", - "ctype" : "int2", - "sqltype" : "smallint" - } - ], - "filename" : "gp_configuration.h", - "indexes" : [ - { - "CamelCaseIndexId" : "GpInterfacesInterfaceidIndexId", - "cols" : [ - [ - "interfaceid", - "int2_ops" - ] - ], - "indexid" : "6109", - "indexname" : "gp_interfaces_interface_index", - "unique" : "1", - "with" : { - "indexid" : "6109", - "indexname" : "gp_interfaces_interface_index" - } - } - ], - "relid_comment_tag" : "/* relation id: 5030 - gp_interfaces 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE gp_interfaces\n with (shared=true, oid=false, relid=5030, reltype_oid=6433, content=MASTER_ONLY)\n (\n interfaceid smallint,\n address name,\n status smallint \n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "GpInterfaces", - "content" : "MASTER_ONLY", - "oid" : "", - "relid" : "5030", - "reltype_oid" : "6433", - "shared" : "1", - "text" : "with (shared=true, oid=false, relid=5030, reltype_oid=6433, content=MASTER_ONLY)" - } - }, - "gp_master_mirroring" : { - "CamelCaseRelationId" : "GpMasterMirroringRelationId", - "colh" : { - "detail_state" : "text", - "error_message" : "text", - "log_time" : "timestamptz", - "summary_state" : "text" - }, - "cols" : [ - { - "colname" : "summary_state", - "ctype" : "text", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "text" - }, - { - "colname" : "detail_state", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "log_time", - "ctype" : "timestamptz", - "sqltype" : "timestamp_with_time_zone" - }, - { - "colname" : "error_message", - "ctype" : "text", - "sqltype" : "text" - } - ], - "filename" : "gp_master_mirroring.h", - "relid_comment_tag" : "/* relation id: 5008 - gp_master_mirroring 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE gp_master_mirroring\n with (camelcase=GpMasterMirroring, shared=true, oid=false, relid=5008, content=MASTER_ONLY)\n (\n summary_state text,\n detail_state text,\n log_time timestamp with time zone,\n error_message text\n )", - "tzhack" : "\"log_time\"", - "with" : { - "bootstrap" : 0, - "camelcase" : "GpMasterMirroring", - "content" : "MASTER_ONLY", - "oid" : "", - "relid" : "5008", - "shared" : "1", - "text" : "with (camelcase=GpMasterMirroring, shared=true, oid=false, relid=5008, content=MASTER_ONLY)" - } - }, - "gp_persistent_database_node" : { - "CamelCaseRelationId" : "GpPersistent_database_nodeRelationId", - "UppercaseReltypeOid" : "GP_PERSISTENT_DATABASE_NODE_RELTYPE_OID", - "colh" : { - "create_mirror_data_loss_tracking_session_num" : "bigint", - "database_oid" : "Oid", - "mirror_existence_state" : "int2", - "parent_xid" : "int4", - "persistent_serial_num" : "bigint", - "persistent_state" : "int2", - "previous_free_tid" : "tid", - "reserved" : "int4", - "tablespace_oid" : "Oid" - }, - "cols" : [ - { - "colname" : "tablespace_oid", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "database_oid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "persistent_state", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "create_mirror_data_loss_tracking_session_num", - "ctype" : "bigint", - "sqltype" : "bigint" - }, - { - "colname" : "mirror_existence_state", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "reserved", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "parent_xid", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "persistent_serial_num", - "ctype" : "bigint", - "sqltype" : "bigint" - }, - { - "colname" : "previous_free_tid", - "ctype" : "tid", - "sqltype" : "tid" - } - ], - "filename" : "gp_persistent.h", - "relid_comment_tag" : "/* relation id: 5091 - gp_persistent_database_node 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE gp_persistent_database_node\n with (shared=true, oid=false, relid=5091, reltype_oid=6991, content=PERSISTENT)\n (\n tablespace_oid oid ,\n database_oid oid ,\n persistent_state smallint ,\n create_mirror_data_loss_tracking_session_num bigint ,\n mirror_existence_state smallint ,\n reserved integer ,\n parent_xid integer ,\n persistent_serial_num bigint ,\n previous_free_tid tid \n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "GpPersistent_database_node", - "content" : "PERSISTENT", - "oid" : "", - "relid" : "5091", - "reltype_oid" : "6991", - "shared" : "1", - "text" : "with (shared=true, oid=false, relid=5091, reltype_oid=6991, content=PERSISTENT)" - } - }, - "gp_persistent_filespace_node" : { - "CamelCaseRelationId" : "GpPersistent_filespace_nodeRelationId", - "UppercaseReltypeOid" : "GP_PERSISTENT_FILESPACE_NODE_RELTYPE_OID", - "colh" : { - "create_mirror_data_loss_tracking_session_num" : "bigint", - "db_id_1" : "int2", - "db_id_2" : "int2", - "filespace_oid" : "Oid", - "location_1" : "text", - "location_2" : "text", - "mirror_existence_state" : "int2", - "parent_xid" : "int4", - "persistent_serial_num" : "bigint", - "persistent_state" : "int2", - "previous_free_tid" : "tid", - "reserved" : "int4" - }, - "cols" : [ - { - "colname" : "filespace_oid", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "db_id_1", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "location_1", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "db_id_2", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "location_2", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "persistent_state", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "create_mirror_data_loss_tracking_session_num", - "ctype" : "bigint", - "sqltype" : "bigint" - }, - { - "colname" : "mirror_existence_state", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "reserved", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "parent_xid", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "persistent_serial_num", - "ctype" : "bigint", - "sqltype" : "bigint" - }, - { - "colname" : "previous_free_tid", - "ctype" : "tid", - "sqltype" : "tid" - } - ], - "filename" : "gp_persistent.h", - "relid_comment_tag" : "/* relation id: 5093 - gp_persistent_filespace_node 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE gp_persistent_filespace_node\n with (shared=true, oid=false, relid=5093, reltype_oid=6993, content=PERSISTENT)\n (\n filespace_oid oid ,\n db_id_1 smallint ,\n location_1 text ,\n db_id_2 smallint ,\n location_2 text ,\n persistent_state smallint ,\n create_mirror_data_loss_tracking_session_num bigint ,\n mirror_existence_state smallint ,\n reserved integer ,\n parent_xid integer ,\n persistent_serial_num bigint ,\n previous_free_tid tid \n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "GpPersistent_filespace_node", - "content" : "PERSISTENT", - "oid" : "", - "relid" : "5093", - "reltype_oid" : "6993", - "shared" : "1", - "text" : "with (shared=true, oid=false, relid=5093, reltype_oid=6993, content=PERSISTENT)" - } - }, - "gp_persistent_relation_node" : { - "CamelCaseRelationId" : "GpPersistent_relation_nodeRelationId", - "UppercaseReltypeOid" : "GP_PERSISTENT_RELATION_NODE_RELTYPE_OID", - "colh" : { - "create_mirror_data_loss_tracking_session_num" : "bigint", - "database_oid" : "Oid", - "mirror_append_only_loss_eof" : "bigint", - "mirror_append_only_new_eof" : "bigint", - "mirror_bufpool_marked_for_scan_incremental_resync" : "bool", - "mirror_bufpool_resync_changed_page_count" : "bigint", - "mirror_bufpool_resync_ckpt_block_num" : "int4", - "mirror_bufpool_resync_ckpt_loc" : "gpxlogloc", - "mirror_data_synchronization_state" : "int2", - "mirror_existence_state" : "int2", - "parent_xid" : "int4", - "persistent_serial_num" : "bigint", - "persistent_state" : "int2", - "previous_free_tid" : "tid", - "relation_bufpool_kind" : "int4", - "relation_storage_manager" : "int2", - "relfilenode_oid" : "Oid", - "segment_file_num" : "int4", - "tablespace_oid" : "Oid" - }, - "cols" : [ - { - "colname" : "tablespace_oid", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "database_oid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "relfilenode_oid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "segment_file_num", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "relation_storage_manager", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "persistent_state", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "create_mirror_data_loss_tracking_session_num", - "ctype" : "bigint", - "sqltype" : "bigint" - }, - { - "colname" : "mirror_existence_state", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "mirror_data_synchronization_state", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "mirror_bufpool_marked_for_scan_incremental_resync", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "mirror_bufpool_resync_changed_page_count", - "ctype" : "bigint", - "sqltype" : "bigint" - }, - { - "colname" : "mirror_bufpool_resync_ckpt_loc", - "ctype" : "gpxlogloc", - "sqltype" : "gpxlogloc" - }, - { - "colname" : "mirror_bufpool_resync_ckpt_block_num", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "mirror_append_only_loss_eof", - "ctype" : "bigint", - "sqltype" : "bigint" - }, - { - "colname" : "mirror_append_only_new_eof", - "ctype" : "bigint", - "sqltype" : "bigint" - }, - { - "colname" : "relation_bufpool_kind", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "parent_xid", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "persistent_serial_num", - "ctype" : "bigint", - "sqltype" : "bigint" - }, - { - "colname" : "previous_free_tid", - "ctype" : "tid", - "sqltype" : "tid" - } - ], - "filename" : "gp_persistent.h", - "relid_comment_tag" : "/* relation id: 5090 - gp_persistent_relation_node 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE gp_persistent_relation_node\n with (shared=true, oid=false, relid=5090, reltype_oid=6990, content=PERSISTENT)\n (\n tablespace_oid oid ,\n database_oid oid ,\n relfilenode_oid oid ,\n segment_file_num integer ,\n relation_storage_manager smallint ,\n persistent_state smallint ,\n create_mirror_data_loss_tracking_session_num bigint ,\n mirror_existence_state smallint ,\n mirror_data_synchronization_state smallint ,\n mirror_bufpool_marked_for_scan_incremental_resync boolean ,\n mirror_bufpool_resync_changed_page_count bigint ,\n mirror_bufpool_resync_ckpt_loc gpxlogloc ,\n mirror_bufpool_resync_ckpt_block_num integer ,\n mirror_append_only_loss_eof bigint ,\n mirror_append_only_new_eof bigint ,\n relation_bufpool_kind integer ,\n parent_xid integer ,\n persistent_serial_num bigint ,\n previous_free_tid tid \n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "GpPersistent_relation_node", - "content" : "PERSISTENT", - "oid" : "", - "relid" : "5090", - "reltype_oid" : "6990", - "shared" : "1", - "text" : "with (shared=true, oid=false, relid=5090, reltype_oid=6990, content=PERSISTENT)" - } - }, - "gp_persistent_tablespace_node" : { - "CamelCaseRelationId" : "GpPersistent_tablespace_nodeRelationId", - "UppercaseReltypeOid" : "GP_PERSISTENT_TABLESPACE_NODE_RELTYPE_OID", - "colh" : { - "create_mirror_data_loss_tracking_session_num" : "bigint", - "filespace_oid" : "Oid", - "mirror_existence_state" : "int2", - "parent_xid" : "int4", - "persistent_serial_num" : "bigint", - "persistent_state" : "int2", - "previous_free_tid" : "tid", - "reserved" : "int4", - "tablespace_oid" : "Oid" - }, - "cols" : [ - { - "colname" : "filespace_oid", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "tablespace_oid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "persistent_state", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "create_mirror_data_loss_tracking_session_num", - "ctype" : "bigint", - "sqltype" : "bigint" - }, - { - "colname" : "mirror_existence_state", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "reserved", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "parent_xid", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "persistent_serial_num", - "ctype" : "bigint", - "sqltype" : "bigint" - }, - { - "colname" : "previous_free_tid", - "ctype" : "tid", - "sqltype" : "tid" - } - ], - "filename" : "gp_persistent.h", - "relid_comment_tag" : "/* relation id: 5092 - gp_persistent_tablespace_node 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE gp_persistent_tablespace_node\n with (shared=true, oid=false, relid=5092, reltype_oid=6992, content=PERSISTENT)\n (\n filespace_oid oid ,\n tablespace_oid oid ,\n persistent_state smallint ,\n create_mirror_data_loss_tracking_session_num bigint ,\n mirror_existence_state smallint ,\n reserved integer ,\n parent_xid integer ,\n persistent_serial_num bigint ,\n previous_free_tid tid \n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "GpPersistent_tablespace_node", - "content" : "PERSISTENT", - "oid" : "", - "relid" : "5092", - "reltype_oid" : "6992", - "shared" : "1", - "text" : "with (shared=true, oid=false, relid=5092, reltype_oid=6992, content=PERSISTENT)" - } - }, - "gp_relation_node" : { - "CamelCaseRelationId" : "GpRelation_nodeRelationId", - "UppercaseReltypeOid" : "GP_RELATION_NODE_RELTYPE_OID", - "colh" : { - "create_mirror_data_loss_tracking_session_num" : "bigint", - "persistent_serial_num" : "bigint", - "persistent_tid" : "tid", - "relfilenode_oid" : "Oid", - "segment_file_num" : "int4" - }, - "cols" : [ - { - "colname" : "relfilenode_oid", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "segment_file_num", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "create_mirror_data_loss_tracking_session_num", - "ctype" : "bigint", - "sqltype" : "bigint" - }, - { - "colname" : "persistent_tid", - "ctype" : "tid", - "sqltype" : "tid" - }, - { - "colname" : "persistent_serial_num", - "ctype" : "bigint", - "sqltype" : "bigint" - } - ], - "filename" : "gp_persistent.h", - "foreign_keys" : [ - [ - [ - "relfilenode_oid" - ], - "pg_class", - [ - "oid" - ] - ] - ], - "relid_comment_tag" : "/* relation id: 5094 - gp_relation_node 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE gp_relation_node\n with (shared=false, oid=false, relid=5094, reltype_oid=6994, content=PERSISTENT)\n (\n relfilenode_oid oid ,\n segment_file_num integer ,\n create_mirror_data_loss_tracking_session_num bigint ,\n persistent_tid tid ,\n persistent_serial_num bigint \n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "GpRelation_node", - "content" : "PERSISTENT", - "oid" : "", - "relid" : "5094", - "reltype_oid" : "6994", - "shared" : "", - "text" : "with (shared=false, oid=false, relid=5094, reltype_oid=6994, content=PERSISTENT)" - } - }, - "gp_san_configuration" : { - "CamelCaseRelationId" : "GpSanConfigRelationId", - "UppercaseReltypeOid" : "GP_SAN_CONFIGURATION_RELTYPE_OID", - "colh" : { - "active_host" : "char", - "mirror_device" : "text", - "mirror_host" : "text", - "mirror_mountpoint" : "text", - "mountid" : "int2", - "primary_device" : "text", - "primary_host" : "text", - "primary_mountpoint" : "text", - "san_type" : "char" - }, - "cols" : [ - { - "colname" : "mountid", - "ctype" : "int2", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "smallint" - }, - { - "colname" : "active_host", - "ctype" : "char", - "sqltype" : "quoted_char" - }, - { - "colname" : "san_type", - "ctype" : "char", - "sqltype" : "quoted_char" - }, - { - "colname" : "primary_host", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "primary_mountpoint", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "primary_device", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "mirror_host", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "mirror_mountpoint", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "mirror_device", - "ctype" : "text", - "sqltype" : "text" - } - ], - "filename" : "gp_san_config.h", - "indexes" : [ - { - "CamelCaseIndexId" : "GpSanConfigMountidIndexId", - "cols" : [ - [ - "mountid", - "int2_ops" - ] - ], - "indexid" : "6111", - "indexname" : "gp_san_config_mountid_index", - "unique" : "1", - "with" : { - "indexid" : "6111", - "indexname" : "gp_san_config_mountid_index" - } - } - ], - "relid_comment_tag" : "/* relation id: 5035 - gp_san_configuration 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE gp_san_configuration\n with (camelcase=GpSanConfig, shared=true, oid=false, relid=5035, reltype_oid=6444, content=MASTER_ONLY)\n (\n mountid smallint ,\n active_host \"char\" ,\n san_type \"char\" ,\n primary_host text ,\n primary_mountpoint text ,\n primary_device text ,\n mirror_host text ,\n mirror_mountpoint text ,\n mirror_device text \n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "GpSanConfig", - "content" : "MASTER_ONLY", - "oid" : "", - "relid" : "5035", - "reltype_oid" : "6444", - "shared" : "1", - "text" : "with (camelcase=GpSanConfig, shared=true, oid=false, relid=5035, reltype_oid=6444, content=MASTER_ONLY)" - } - }, - "gp_segment_configuration" : { - "CamelCaseRelationId" : "GpSegmentConfigRelationId", - "CamelCaseToastInd" : "GpSegmentConfigToastIndex", - "CamelCaseToastTab" : "GpSegmentConfigToastTable", - "UppercaseReltypeOid" : "GP_SEGMENT_CONFIGURATION_RELTYPE_OID", - "UppercaseToastReltypeOid" : "GP_SEGMENT_CONFIGURATION_TOAST_RELTYPE_OID", - "colh" : { - "address" : "text", - "content" : "int2", - "dbid" : "int2", - "hostname" : "text", - "mode" : "char", - "port" : "int4", - "preferred_role" : "char", - "replication_port" : "int4", - "role" : "char", - "san_mounts" : "int2vector", - "status" : "char" - }, - "cols" : [ - { - "colname" : "dbid", - "ctype" : "int2", - "postcomment" : "-- up to 32767 segment databases", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "smallint" - }, - { - "colname" : "content", - "ctype" : "int2", - "postcomment" : "-- up to 32767 contents -- only 16384 usable with mirroring (see dbid)", - "sqltype" : "smallint" - }, - { - "colname" : "role", - "ctype" : "char", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "quoted_char" - }, - { - "colname" : "preferred_role", - "ctype" : "char", - "sqltype" : "quoted_char" - }, - { - "colname" : "mode", - "ctype" : "char", - "sqltype" : "quoted_char" - }, - { - "colname" : "status", - "ctype" : "char", - "sqltype" : "quoted_char" - }, - { - "colname" : "port", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "hostname", - "ctype" : "text", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "text" - }, - { - "colname" : "address", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "replication_port", - "ctype" : "int4", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "integer" - }, - { - "colname" : "san_mounts", - "ctype" : "int2vector", - "postcomment" : "-- one or more mount-points used by this segment.", - "sqltype" : "int2vector" - } - ], - "filename" : "gp_segment_config.h", - "indexes" : [ - { - "CamelCaseIndexId" : "GpSegmentConfigContentPreferred_roleIndexId", - "cols" : [ - [ - "content", - "int2_ops" - ], - [ - "preferred_role", - "char_ops" - ] - ], - "indexid" : "6106", - "indexname" : "gp_segment_config_content_preferred_role_index", - "unique" : "1", - "with" : { - "indexid" : "6106", - "indexname" : "gp_segment_config_content_preferred_role_index" - } - }, - { - "CamelCaseIndexId" : "GpSegmentConfigDbidIndexId", - "cols" : [ - [ - "dbid", - "int2_ops" - ] - ], - "indexid" : "6107", - "indexname" : "gp_segment_config_dbid_index", - "unique" : "1", - "with" : { - "indexid" : "6107", - "indexname" : "gp_segment_config_dbid_index" - } - } - ], - "relid_comment_tag" : "/* relation id: 5036 - gp_segment_configuration 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE gp_segment_configuration\n with (camelcase=GpSegmentConfig, shared=true, oid=false, relid=5036, reltype_oid=6442, toast_oid=2900, toast_index=2901, toast_reltype=2906, content=MASTER_ONLY)\n (\n dbid smallint , -- up to 32767 segment databases\n content smallint , -- up to 32767 contents -- only 16384 usable with mirroring (see dbid)\n\n role \"char\" ,\n preferred_role \"char\" ,\n mode \"char\" ,\n status \"char\" ,\n port integer ,\n\n hostname text ,\n address text ,\n\n replication_port integer ,\n san_mounts int2vector -- one or more mount-points used by this segment.\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "GpSegmentConfig", - "content" : "MASTER_ONLY", - "oid" : "", - "relid" : "5036", - "reltype_oid" : "6442", - "shared" : "1", - "text" : "with (camelcase=GpSegmentConfig, shared=true, oid=false, relid=5036, reltype_oid=6442, toast_oid=2900, toast_index=2901, toast_reltype=2906, content=MASTER_ONLY)", - "toast_index" : "2901", - "toast_oid" : "2900", - "toast_reltype" : "2906" - } - }, - "gp_version_at_initdb" : { - "CamelCaseRelationId" : "GpVersion_at_initdbRelationId", - "colh" : { - "productversion" : "text", - "schemaversion" : "int2" - }, - "cols" : [ - { - "colname" : "schemaversion", - "ctype" : "int2", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "smallint" - }, - { - "colname" : "productversion", - "ctype" : "text", - "sqltype" : "text" - } - ], - "filename" : "gp_version.h", - "relid_comment_tag" : "/* relation id: 5003 - gp_version_at_initdb 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE gp_version_at_initdb\n with (shared=true, oid=false, relid=5003)\n (\n schemaversion smallint ,\n\tproductversion text \n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "GpVersion_at_initdb", - "oid" : "", - "relid" : "5003", - "shared" : "1", - "text" : "with (shared=true, oid=false, relid=5003)" - } - }, - "pg_aggregate" : { - "CamelCaseRelationId" : "AggregateRelationId", - "colh" : { - "aggfinalfn" : "regproc", - "aggfnoid" : "regproc", - "agginitval" : "text", - "agginvprelimfn" : "regproc", - "agginvtransfn" : "regproc", - "aggordered" : "bool", - "aggprelimfn" : "regproc", - "aggsortop" : "Oid", - "aggtransfn" : "regproc", - "aggtranstype" : "Oid" - }, - "cols" : [ - { - "colname" : "aggfnoid", - "ctype" : "regproc", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "regproc" - }, - { - "colname" : "aggtransfn", - "ctype" : "regproc", - "sqltype" : "regproc" - }, - { - "colname" : "agginvtransfn", - "ctype" : "regproc", - "postcomment" : "-- MPP windowing", - "sqltype" : "regproc" - }, - { - "colname" : "aggprelimfn", - "ctype" : "regproc", - "postcomment" : "-- MPP 2-phase agg", - "sqltype" : "regproc" - }, - { - "colname" : "agginvprelimfn", - "ctype" : "regproc", - "postcomment" : "-- MPP windowing", - "sqltype" : "regproc" - }, - { - "colname" : "aggfinalfn", - "ctype" : "regproc", - "sqltype" : "regproc" - }, - { - "colname" : "aggsortop", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "aggtranstype", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "agginitval", - "ctype" : "text", - "postcomment" : "-- VARIABLE LENGTH FIELD", - "sqltype" : "text" - }, - { - "colname" : "aggordered", - "ctype" : "bool", - "postcomment" : "-- MPP ordered aggregates", - "sqltype" : "bool" - } - ], - "filename" : "pg_aggregate.h", - "foreign_keys" : [ - [ - [ - "aggfnoid" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "aggtransfn" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "agginvtransfn" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "aggprelimfn" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "agginvprelimfn" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "aggfinalfn" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "aggsortop" - ], - "pg_operator", - [ - "oid" - ] - ], - [ - [ - "aggtranstype" - ], - "pg_type", - [ - "oid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "AggregateAggfnoidIndexId", - "cols" : [ - [ - "aggfnoid", - "oid_ops" - ] - ], - "indexid" : "2650", - "indexname" : "pg_aggregate_fnoid_index", - "unique" : "1", - "with" : { - "indexid" : "2650", - "indexname" : "pg_aggregate_fnoid_index" - } - } - ], - "relid_comment_tag" : "/* relation id: 2600 - pg_aggregate 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE pg_aggregate\n with (oid=false, relid=2600)\n (\n aggfnoid regproc, \n aggtransfn regproc, \n agginvtransfn regproc, -- MPP windowing\n aggprelimfn regproc, -- MPP 2-phase agg\n agginvprelimfn regproc, -- MPP windowing\n aggfinalfn regproc, \n aggsortop oid, \n aggtranstype oid, \n agginitval text, -- VARIABLE LENGTH FIELD\n aggordered bool -- MPP ordered aggregates\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "Aggregate", - "oid" : "", - "relid" : "2600", - "shared" : 0, - "text" : "with (oid=false, relid=2600)" - } - }, - "pg_am" : { - "CamelCaseRelationId" : "AccessMethodRelationId", - "colh" : { - "ambeginscan" : "regproc", - "ambuild" : "regproc", - "ambulkdelete" : "regproc", - "amcanmulticol" : "bool", - "amcanshrink" : "bool", - "amcanunique" : "bool", - "amclusterable" : "bool", - "amcostestimate" : "regproc", - "amendscan" : "regproc", - "amgetmulti" : "regproc", - "amgettuple" : "regproc", - "amindexnulls" : "bool", - "aminsert" : "regproc", - "ammarkpos" : "regproc", - "amname" : "NameData", - "amoptionalkey" : "bool", - "amoptions" : "regproc", - "amorderstrategy" : "int2", - "amrescan" : "regproc", - "amrestrpos" : "regproc", - "amstorage" : "bool", - "amstrategies" : "int2", - "amsupport" : "int2", - "amvacuumcleanup" : "regproc", - "oid" : "Oid" - }, - "cols" : [ - { - "colname" : "amname", - "ctype" : "NameData", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "name" - }, - { - "colname" : "amstrategies", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "amsupport", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "amorderstrategy", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "amcanunique", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "amcanmulticol", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "amoptionalkey", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "amindexnulls", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "amstorage", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "amclusterable", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "amcanshrink", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "aminsert", - "ctype" : "regproc", - "sqltype" : "regproc" - }, - { - "colname" : "ambeginscan", - "ctype" : "regproc", - "sqltype" : "regproc" - }, - { - "colname" : "amgettuple", - "ctype" : "regproc", - "sqltype" : "regproc" - }, - { - "colname" : "amgetmulti", - "ctype" : "regproc", - "sqltype" : "regproc" - }, - { - "colname" : "amrescan", - "ctype" : "regproc", - "sqltype" : "regproc" - }, - { - "colname" : "amendscan", - "ctype" : "regproc", - "sqltype" : "regproc" - }, - { - "colname" : "ammarkpos", - "ctype" : "regproc", - "sqltype" : "regproc" - }, - { - "colname" : "amrestrpos", - "ctype" : "regproc", - "sqltype" : "regproc" - }, - { - "colname" : "ambuild", - "ctype" : "regproc", - "sqltype" : "regproc" - }, - { - "colname" : "ambulkdelete", - "ctype" : "regproc", - "sqltype" : "regproc" - }, - { - "colname" : "amvacuumcleanup", - "ctype" : "regproc", - "sqltype" : "regproc" - }, - { - "colname" : "amcostestimate", - "ctype" : "regproc", - "sqltype" : "regproc" - }, - { - "colname" : "amoptions", - "ctype" : "regproc", - "sqltype" : "regproc" - } - ], - "filename" : "pg_am.h", - "foreign_keys" : [ - [ - [ - "aminsert" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "ambeginscan" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "amgettuple" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "amgetmulti" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "amrescan" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "amendscan" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "ammarkpos" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "amrestrpos" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "ambuild" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "ambulkdelete" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "amvacuumcleanup" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "amcostestimate" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "amoptions" - ], - "pg_proc", - [ - "oid" - ] - ] - ], - "relid_comment_tag" : "/* relation id: 2601 - pg_am 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE pg_am\n with (camelcase=AccessMethod, relid=2601)\n (\n amname name, \n amstrategies smallint, \n amsupport smallint, \n amorderstrategy smallint, \n amcanunique boolean, \n amcanmulticol boolean, \n amoptionalkey boolean, \n amindexnulls boolean, \n amstorage boolean, \n amclusterable boolean, \n amcanshrink boolean, \n aminsert regproc, \n ambeginscan regproc, \n amgettuple regproc, \n amgetmulti regproc, \n amrescan regproc, \n amendscan regproc, \n ammarkpos regproc, \n amrestrpos regproc, \n ambuild regproc, \n ambulkdelete regproc, \n amvacuumcleanup regproc, \n amcostestimate regproc, \n amoptions regproc\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "AccessMethod", - "oid" : 1, - "relid" : "2601", - "shared" : 0, - "text" : "with (camelcase=AccessMethod, relid=2601)" - } - }, - "pg_amop" : { - "CamelCaseRelationId" : "AccessMethodOperatorRelationId", - "colh" : { - "amopclaid" : "Oid", - "amopopr" : "Oid", - "amopreqcheck" : "bool", - "amopstrategy" : "int2", - "amopsubtype" : "Oid" - }, - "cols" : [ - { - "colname" : "amopclaid", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "amopsubtype", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "amopstrategy", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "amopreqcheck", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "amopopr", - "ctype" : "Oid", - "sqltype" : "oid" - } - ], - "filename" : "pg_amop.h", - "foreign_keys" : [ - [ - [ - "amopclaid" - ], - "pg_opclass", - [ - "oid" - ] - ], - [ - [ - "amopsubtype" - ], - "pg_type", - [ - "oid" - ] - ], - [ - [ - "amopopr" - ], - "pg_operator", - [ - "oid" - ] - ] - ], - "relid_comment_tag" : "/* relation id: 2602 - pg_amop 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE pg_amop\n with (camelcase=AccessMethodOperator, oid=false, relid=2602)\n (\n amopclaid oid, \n amopsubtype oid, \n amopstrategy smallint, \n amopreqcheck boolean, \n amopopr oid\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "AccessMethodOperator", - "oid" : "", - "relid" : "2602", - "shared" : 0, - "text" : "with (camelcase=AccessMethodOperator, oid=false, relid=2602)" - } - }, - "pg_amproc" : { - "CamelCaseRelationId" : "AccessMethodProcedureRelationId", - "colh" : { - "amopclaid" : "Oid", - "amproc" : "regproc", - "amprocnum" : "int2", - "amprocsubtype" : "Oid" - }, - "cols" : [ - { - "colname" : "amopclaid", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "amprocsubtype", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "amprocnum", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "amproc", - "ctype" : "regproc", - "sqltype" : "regproc" - } - ], - "filename" : "pg_amproc.h", - "foreign_keys" : [ - [ - [ - "amopclaid" - ], - "pg_opclass", - [ - "oid" - ] - ], - [ - [ - "amprocsubtype" - ], - "pg_type", - [ - "oid" - ] - ], - [ - [ - "amproc" - ], - "pg_proc", - [ - "oid" - ] - ] - ], - "relid_comment_tag" : "/* relation id: 2603 - pg_amproc 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE pg_amproc\n with (camelcase=AccessMethodProcedure, oid=false, relid=2603)\n (\n amopclaid oid, \n amprocsubtype oid, \n amprocnum smallint, \n amproc regproc\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "AccessMethodProcedure", - "oid" : "", - "relid" : "2603", - "shared" : 0, - "text" : "with (camelcase=AccessMethodProcedure, oid=false, relid=2603)" - } - }, - "pg_appendonly" : { - "CamelCaseRelationId" : "AppendOnlyRelationId", - "colh" : { - "blkdiridxid" : "Oid", - "blkdirrelid" : "Oid", - "blocksize" : "int4", - "checksum" : "bool", - "columnstore" : "bool", - "compresslevel" : "int2", - "compresstype" : "text", - "majorversion" : "int2", - "minorversion" : "int2", - "relid" : "Oid", - "safefswritesize" : "int4", - "segidxid" : "Oid", - "segrelid" : "Oid", - "version" : "int4" - }, - "cols" : [ - { - "colname" : "relid", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "blocksize", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "safefswritesize", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "compresslevel", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "majorversion", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "minorversion", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "checksum", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "compresstype", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "columnstore", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "segrelid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "segidxid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "blkdirrelid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "blkdiridxid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "version", - "ctype" : "int4", - "sqltype" : "integer" - } - ], - "filename" : "pg_appendonly.h", - "foreign_keys" : [ - [ - [ - "relid" - ], - "pg_class", - [ - "oid" - ] - ] - ], - "relid_comment_tag" : "/* relation id: 6105 - pg_appendonly 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE pg_appendonly\n with (camelcase=AppendOnly, oid=false, relid=6105)\n (\n relid oid, \n blocksize integer, \n safefswritesize integer, \n compresslevel smallint, \n majorversion smallint, \n minorversion smallint, \n checksum boolean, \n compresstype text, \n columnstore boolean, \n segrelid oid, \n segidxid oid, \n blkdirrelid oid, \n blkdiridxid oid, \n version integer\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "AppendOnly", - "oid" : "", - "relid" : "6105", - "shared" : 0, - "text" : "with (camelcase=AppendOnly, oid=false, relid=6105)" - } - }, - "pg_appendonly_alter_column" : { - "CamelCaseRelationId" : "AppendOnlyAlterColumnRelationId", - "UppercaseReltypeOid" : "PG_APPENDONLY_ALTER_COLUMN_RELTYPE_OID", - "colh" : { - "changenum" : "int4", - "highwaterrownums" : "bytea", - "relid" : "Oid", - "segfilenums" : "int4[1]" - }, - "cols" : [ - { - "colname" : "relid", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "changenum", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "segfilenums", - "ctype" : "int4[1]", - "sqltype" : "integer[]" - }, - { - "colname" : "highwaterrownums", - "ctype" : "bytea", - "sqltype" : "bytea" - } - ], - "filename" : "pg_appendonly_alter_column.h", - "foreign_keys" : [ - [ - [ - "relid" - ], - "pg_class", - [ - "oid" - ] - ] - ], - "relid_comment_tag" : "/* relation id: 6110 - pg_appendonly_alter_column 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE pg_appendonly_alter_column\n with (camelcase=AppendOnlyAlterColumn, oid=false, relid=6110, reltype_oid=6437)\n (\n relid oid, \n changenum integer, \n segfilenums integer[], \n highwaterrownums bytea\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "AppendOnlyAlterColumn", - "oid" : "", - "relid" : "6110", - "reltype_oid" : "6437", - "shared" : 0, - "text" : "with (camelcase=AppendOnlyAlterColumn, oid=false, relid=6110, reltype_oid=6437)" - } - }, - "pg_attrdef" : { - "CamelCaseRelationId" : "AttrDefaultRelationId", - "CamelCaseToastInd" : "PgAttrDefaultToastIndex", - "CamelCaseToastTab" : "PgAttrDefaultToastTable", - "colh" : { - "adbin" : "text", - "adnum" : "int2", - "adrelid" : "Oid", - "adsrc" : "text", - "oid" : "Oid" - }, - "cols" : [ - { - "colname" : "adrelid", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "adnum", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "adbin", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "adsrc", - "ctype" : "text", - "sqltype" : "text" - } - ], - "filename" : "pg_attrdef.h", - "foreign_keys" : [ - [ - [ - "adrelid" - ], - "pg_attribute", - [ - "attrelid" - ] - ] - ], - "relid_comment_tag" : "/* relation id: 2604 - pg_attrdef 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE pg_attrdef\n with (camelcase=AttrDefault, relid=2604, toast_oid=2830, toast_index=2831)\n (\n adrelid oid, \n adnum smallint, \n adbin text, \n adsrc text\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "AttrDefault", - "oid" : 1, - "relid" : "2604", - "shared" : 0, - "text" : "with (camelcase=AttrDefault, relid=2604, toast_oid=2830, toast_index=2831)", - "toast_index" : "2831", - "toast_oid" : "2830" - } - }, - "pg_attribute" : { - "CamelCaseRelationId" : "AttributeRelationId", - "colh" : { - "attalign" : "char", - "attbyval" : "bool", - "attcacheoff" : "int4", - "atthasdef" : "bool", - "attinhcount" : "int4", - "attisdropped" : "bool", - "attislocal" : "bool", - "attlen" : "int2", - "attname" : "NameData", - "attndims" : "int4", - "attnotnull" : "bool", - "attnum" : "int2", - "attrelid" : "Oid", - "attstattarget" : "int4", - "attstorage" : "char", - "atttypid" : "Oid", - "atttypmod" : "int4", - "oid" : "Oid" - }, - "cols" : [ - { - "colname" : "attrelid", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "attname", - "ctype" : "NameData", - "sqltype" : "name" - }, - { - "colname" : "atttypid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "attstattarget", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "attlen", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "attnum", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "attndims", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "attcacheoff", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "atttypmod", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "attbyval", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "attstorage", - "ctype" : "char", - "sqltype" : "quoted_char" - }, - { - "colname" : "attalign", - "ctype" : "char", - "sqltype" : "quoted_char" - }, - { - "colname" : "attnotnull", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "atthasdef", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "attisdropped", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "attislocal", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "attinhcount", - "ctype" : "int4", - "sqltype" : "integer" - } - ], - "filename" : "pg_attribute.h", - "foreign_keys" : [ - [ - [ - "attrelid" - ], - "pg_class", - [ - "oid" - ] - ], - [ - [ - "atttypid" - ], - "pg_type", - [ - "oid" - ] - ] - ], - "relid_comment_tag" : "/* relation id: 1249 - pg_attribute 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE pg_attribute\n with (camelcase=Attribute, relid=1249)\n (\n attrelid oid, \n attname name, \n atttypid oid, \n attstattarget integer, \n attlen smallint, \n attnum smallint, \n attndims integer, \n attcacheoff integer, \n atttypmod integer, \n attbyval boolean, \n attstorage \"char\", \n attalign \"char\", \n attnotnull boolean, \n atthasdef boolean, \n attisdropped boolean, \n attislocal boolean, \n attinhcount integer\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "Attribute", - "oid" : 1, - "relid" : "1249", - "shared" : 0, - "text" : "with (camelcase=Attribute, relid=1249)" - } - }, - "pg_auth_members" : { - "CamelCaseRelationId" : "AuthMemRelationId", - "colh" : { - "admin_option" : "bool", - "grantor" : "Oid", - "member" : "Oid", - "roleid" : "Oid" - }, - "cols" : [ - { - "colname" : "roleid", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "member", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "grantor", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "admin_option", - "ctype" : "bool", - "sqltype" : "boolean" - } - ], - "filename" : "pg_auth_members.h", - "foreign_keys" : [ - [ - [ - "roleid" - ], - "pg_authid", - [ - "oid" - ] - ], - [ - [ - "member" - ], - "pg_authid", - [ - "oid" - ] - ] - ], - "relid_comment_tag" : "/* relation id: 1261 - pg_auth_members 20111110 */\n", - "tabdef_text" : "\n CREATE TABLE pg_auth_members\n with (camelcase=AuthMem, shared=true, oid=false, relid=1261)\n (\n roleid oid, \n member oid, \n grantor oid, \n admin_option boolean\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "AuthMem", - "oid" : "", - "relid" : "1261", - "shared" : "1", - "text" : "with (camelcase=AuthMem, shared=true, oid=false, relid=1261)" - } - }, - "pg_authid" : { - "CamelCaseRelationId" : "AuthIdRelationId", - "CamelCaseToastInd" : "PgAuthIdToastIndex", - "CamelCaseToastTab" : "PgAuthIdToastTable", - "colh" : { - "oid" : "Oid", - "rolcanlogin" : "bool", - "rolcatupdate" : "bool", - "rolconfig" : "text[1]", - "rolconnlimit" : "int4", - "rolcreatedb" : "bool", - "rolcreaterextgpfd" : "bool", - "rolcreaterexthdfs" : "bool", - "rolcreaterexthttp" : "bool", - "rolcreaterole" : "bool", - "rolcreatewextgpfd" : "bool", - "rolcreatewexthdfs" : "bool", - "rolinherit" : "bool", - "rolname" : "NameData", - "rolpassword" : "text", - "rolresqueue" : "Oid", - "rolsuper" : "bool", - "rolvaliduntil" : "timestamptz" - }, - "cols" : [ - { - "colname" : "rolname", - "ctype" : "NameData", - "postcomment" : "-- name of role ", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "name" - }, - { - "colname" : "rolsuper", - "ctype" : "bool", - "postcomment" : "-- read this field via superuser() only! ", - "sqltype" : "boolean" - }, - { - "colname" : "rolinherit", - "ctype" : "bool", - "postcomment" : "-- inherit privileges from other roles? ", - "sqltype" : "boolean" - }, - { - "colname" : "rolcreaterole", - "ctype" : "bool", - "postcomment" : "-- allowed to create more roles? ", - "sqltype" : "boolean" - }, - { - "colname" : "rolcreatedb", - "ctype" : "bool", - "postcomment" : "-- allowed to create databases? ", - "sqltype" : "boolean" - }, - { - "colname" : "rolcatupdate", - "ctype" : "bool", - "postcomment" : "-- allowed to alter catalogs manually? ", - "sqltype" : "boolean" - }, - { - "colname" : "rolcanlogin", - "ctype" : "bool", - "postcomment" : "-- allowed to log in as session user? ", - "sqltype" : "boolean" - }, - { - "colname" : "rolconnlimit", - "ctype" : "int4", - "postcomment" : "-- max connections allowed (-1=no limit) ", - "sqltype" : "integer" - }, - { - "colname" : "rolpassword", - "ctype" : "text", - "postcomment" : "-- password, if any ", - "precomment" : "\n**TK_BLANK_LINE**\n -- remaining fields may be null. use heap_getattr to read them! ", - "sqltype" : "text" - }, - { - "colname" : "rolvaliduntil", - "ctype" : "timestamptz", - "postcomment" : "-- password expiration time, if any", - "sqltype" : "timestamp_with_time_zone" - }, - { - "colname" : "rolconfig", - "ctype" : "text[1]", - "postcomment" : "-- GUC settings to apply at login ", - "sqltype" : "text[]" - }, - { - "colname" : "rolresqueue", - "ctype" : "Oid", - "postcomment" : "-- ID of resource queue for this role ", - "sqltype" : "oid" - }, - { - "colname" : "rolcreaterextgpfd", - "ctype" : "bool", - "postcomment" : "-- allowed to create readable gpfdist tbl? ", - "precomment" : "\n \n -- GP added fields", - "sqltype" : "boolean" - }, - { - "colname" : "rolcreaterexthttp", - "ctype" : "bool", - "postcomment" : "-- allowed to create readable http tbl? ", - "sqltype" : "boolean" - }, - { - "colname" : "rolcreatewextgpfd", - "ctype" : "bool", - "postcomment" : "-- allowed to create writable gpfdist tbl? ", - "sqltype" : "boolean" - }, - { - "colname" : "rolcreaterexthdfs", - "ctype" : "bool", - "postcomment" : "-- allowed to create readable gphdfs tbl?", - "sqltype" : "boolean" - }, - { - "colname" : "rolcreatewexthdfs", - "ctype" : "bool", - "postcomment" : "-- allowed to create writable gphdfs tbl?", - "sqltype" : "boolean" - } - ], - "filename" : "pg_authid.h", - "foreign_keys" : [ - [ - [ - "rolresqueue" - ], - "pg_resqueue", - [ - "oid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "AuthIdRolnameIndexId", - "cols" : [ - [ - "rolname", - "name_ops" - ] - ], - "indexid" : "2676", - "unique" : "1", - "with" : { - "indexid" : "2676" - } - }, - { - "CamelCaseIndexId" : "AuthIdOidIndexId", - "cols" : [ - [ - "oid", - "oid_ops" - ] - ], - "indexid" : "2677", - "unique" : "1", - "with" : { - "indexid" : "2677" - } - }, - { - "CamelCaseIndexId" : "AuthIdRolResQueueIndexId", - "cols" : [ - [ - "rolresqueue", - "oid_ops" - ] - ], - "indexid" : "6029", - "unique" : "", - "with" : { - "camelcase" : "AuthIdRolResQueue", - "indexid" : "6029" - } - } - ], - "relid_comment_tag" : "/* relation id: 1260 - pg_authid 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE pg_authid\n with (CamelCase=AuthId, shared=true, relid=1260, toast_oid=2842, toast_index=2843)\n (\n rolname name, -- name of role \n rolsuper boolean, -- read this field via superuser() only! \n rolinherit boolean, -- inherit privileges from other roles? \n rolcreaterole boolean, -- allowed to create more roles? \n rolcreatedb boolean, -- allowed to create databases? \n rolcatupdate boolean, -- allowed to alter catalogs manually? \n rolcanlogin boolean, -- allowed to log in as session user? \n rolconnlimit integer, -- max connections allowed (-1=no limit) \n\n -- remaining fields may be null. use heap_getattr to read them! \n rolpassword text, -- password, if any \n rolvaliduntil timestamp with time zone, -- password expiration time, if any\n rolconfig text[], -- GUC settings to apply at login \n rolresqueue oid, -- ID of resource queue for this role \n \n -- GP added fields\n rolcreaterextgpfd boolean, -- allowed to create readable gpfdist tbl? \n rolcreaterexthttp boolean, -- allowed to create readable http tbl? \n rolcreatewextgpfd boolean, -- allowed to create writable gpfdist tbl? \n rolcreaterexthdfs boolean, -- allowed to create readable gphdfs tbl?\n rolcreatewexthdfs boolean -- allowed to create writable gphdfs tbl?\n )", - "tzhack" : "\"rolvaliduntil\"", - "with" : { - "bootstrap" : 0, - "camelcase" : "AuthId", - "oid" : 1, - "relid" : "1260", - "shared" : "1", - "text" : "with (CamelCase=AuthId, shared=true, relid=1260, toast_oid=2842, toast_index=2843)", - "toast_index" : "2843", - "toast_oid" : "2842" - } - }, - "pg_autovacuum" : { - "CamelCaseRelationId" : "AutovacuumRelationId", - "colh" : { - "anl_base_thresh" : "int4", - "anl_scale_factor" : "float4", - "enabled" : "bool", - "freeze_max_age" : "int4", - "freeze_min_age" : "int4", - "vac_base_thresh" : "int4", - "vac_cost_delay" : "int4", - "vac_cost_limit" : "int4", - "vac_scale_factor" : "float4", - "vacrelid" : "Oid" - }, - "cols" : [ - { - "colname" : "vacrelid", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "enabled", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "vac_base_thresh", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "vac_scale_factor", - "ctype" : "float4", - "sqltype" : "real" - }, - { - "colname" : "anl_base_thresh", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "anl_scale_factor", - "ctype" : "float4", - "sqltype" : "real" - }, - { - "colname" : "vac_cost_delay", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "vac_cost_limit", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "freeze_min_age", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "freeze_max_age", - "ctype" : "int4", - "sqltype" : "integer" - } - ], - "filename" : "pg_autovacuum.h", - "relid_comment_tag" : "/* relation id: 1248 - pg_autovacuum 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE pg_autovacuum\n with (oid=false, relid=1248)\n (\n vacrelid oid, \n enabled boolean, \n vac_base_thresh integer, \n vac_scale_factor real, \n anl_base_thresh integer, \n anl_scale_factor real, \n vac_cost_delay integer, \n vac_cost_limit integer, \n freeze_min_age integer, \n freeze_max_age integer\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "Autovacuum", - "oid" : "", - "relid" : "1248", - "shared" : 0, - "text" : "with (oid=false, relid=1248)" - } - }, - "pg_cast" : { - "CamelCaseRelationId" : "CastRelationId", - "colh" : { - "castcontext" : "char", - "castfunc" : "Oid", - "castsource" : "Oid", - "casttarget" : "Oid", - "oid" : "Oid" - }, - "cols" : [ - { - "colname" : "castsource", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "casttarget", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "castfunc", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "castcontext", - "ctype" : "char", - "sqltype" : "quoted_char" - } - ], - "filename" : "pg_cast.h", - "foreign_keys" : [ - [ - [ - "castsource" - ], - "pg_type", - [ - "oid" - ] - ], - [ - [ - "casttarget" - ], - "pg_type", - [ - "oid" - ] - ], - [ - [ - "castfunc" - ], - "pg_proc", - [ - "oid" - ] - ] - ], - "relid_comment_tag" : "/* relation id: 2605 - pg_cast 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE pg_cast\n with (relid=2605)\n (\n castsource oid, \n casttarget oid, \n castfunc oid, \n castcontext \"char\"\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "Cast", - "oid" : 1, - "relid" : "2605", - "shared" : 0, - "text" : "with (relid=2605)" - } - }, - "pg_class" : { - "CamelCaseRelationId" : "ClassRelationId", - "colh" : { - "oid" : "Oid", - "relacl" : "aclitem[1]", - "relam" : "Oid", - "relaosegidxid" : "Oid", - "relaosegrelid" : "Oid", - "relchecks" : "int2", - "relfilenode" : "Oid", - "relfkeys" : "int2", - "relfrozenxid" : "xid", - "relhasindex" : "bool", - "relhasoids" : "bool", - "relhaspkey" : "bool", - "relhasrules" : "bool", - "relhassubclass" : "bool", - "relisshared" : "bool", - "relkind" : "char", - "relname" : "NameData", - "relnamespace" : "Oid", - "relnatts" : "int2", - "reloptions" : "text[1]", - "relowner" : "Oid", - "relpages" : "int4", - "relrefs" : "int2", - "relstorage" : "char", - "reltablespace" : "Oid", - "reltoastidxid" : "Oid", - "reltoastrelid" : "Oid", - "reltriggers" : "int2", - "reltuples" : "float4", - "reltype" : "Oid", - "relukeys" : "int2" - }, - "cols" : [ - { - "colname" : "relname", - "ctype" : "NameData", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "name" - }, - { - "colname" : "relnamespace", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "reltype", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "relowner", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "relam", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "relfilenode", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "reltablespace", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "relpages", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "reltuples", - "ctype" : "float4", - "sqltype" : "real" - }, - { - "colname" : "reltoastrelid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "reltoastidxid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "relaosegrelid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "relaosegidxid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "relhasindex", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "relisshared", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "relkind", - "ctype" : "char", - "sqltype" : "quoted_char" - }, - { - "colname" : "relstorage", - "ctype" : "char", - "sqltype" : "quoted_char" - }, - { - "colname" : "relnatts", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "relchecks", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "reltriggers", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "relukeys", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "relfkeys", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "relrefs", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "relhasoids", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "relhaspkey", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "relhasrules", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "relhassubclass", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "relfrozenxid", - "ctype" : "xid", - "sqltype" : "xid" - }, - { - "colname" : "relacl", - "ctype" : "aclitem[1]", - "sqltype" : "aclitem[]" - }, - { - "colname" : "reloptions", - "ctype" : "text[1]", - "sqltype" : "text[]" - } - ], - "filename" : "pg_class.h", - "foreign_keys" : [ - [ - [ - "relnamespace" - ], - "pg_namespace", - [ - "oid" - ] - ], - [ - [ - "reltype" - ], - "pg_type", - [ - "oid" - ] - ], - [ - [ - "relowner" - ], - "pg_authid", - [ - "oid" - ] - ], - [ - [ - "relam" - ], - "pg_am", - [ - "oid" - ] - ], - [ - [ - "reltablespace" - ], - "pg_tablespace", - [ - "oid" - ] - ], - [ - [ - "reltoastrelid" - ], - "pg_class", - [ - "oid" - ] - ], - [ - [ - "reltoastidxid" - ], - "pg_class", - [ - "oid" - ] - ] - ], - "relid_comment_tag" : "/* relation id: 1259 - pg_class 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE pg_class\n with (bootstrap=true, relid=1259)\n (\n relname name ,\n relnamespace oid ,\n reltype oid ,\n relowner oid ,\n relam oid ,\n relfilenode oid ,\n reltablespace oid ,\n relpages integer ,\n reltuples real ,\n reltoastrelid oid ,\n reltoastidxid oid ,\n relaosegrelid oid ,\n relaosegidxid oid ,\n relhasindex boolean ,\n relisshared boolean ,\n relkind \"char\" ,\n relstorage \"char\" ,\n relnatts smallint ,\n relchecks smallint ,\n reltriggers smallint ,\n relukeys smallint ,\n relfkeys smallint ,\n relrefs smallint ,\n relhasoids boolean ,\n relhaspkey boolean ,\n relhasrules boolean ,\n relhassubclass boolean ,\n relfrozenxid xid ,\n relacl aclitem[] ,\n reloptions text[] \n )", - "with" : { - "bootstrap" : "1", - "camelcase" : "Class", - "oid" : 1, - "relid" : "1259", - "shared" : 0, - "text" : "with (bootstrap=true, relid=1259)" - } - }, - "pg_constraint" : { - "CamelCaseRelationId" : "ConstraintRelationId", - "CamelCaseToastInd" : "PgConstraintToastIndex", - "CamelCaseToastTab" : "PgConstraintToastTable", - "colh" : { - "conbin" : "text", - "condeferrable" : "bool", - "condeferred" : "bool", - "confdeltype" : "char", - "confkey" : "int2[1]", - "confmatchtype" : "char", - "confrelid" : "Oid", - "confupdtype" : "char", - "conkey" : "int2[1]", - "conname" : "NameData", - "connamespace" : "Oid", - "conrelid" : "Oid", - "consrc" : "text", - "contype" : "char", - "contypid" : "Oid", - "oid" : "Oid" - }, - "cols" : [ - { - "colname" : "conname", - "ctype" : "NameData", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "name" - }, - { - "colname" : "connamespace", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "contype", - "ctype" : "char", - "sqltype" : "quoted_char" - }, - { - "colname" : "condeferrable", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "condeferred", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "conrelid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "contypid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "confrelid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "confupdtype", - "ctype" : "char", - "sqltype" : "quoted_char" - }, - { - "colname" : "confdeltype", - "ctype" : "char", - "sqltype" : "quoted_char" - }, - { - "colname" : "confmatchtype", - "ctype" : "char", - "sqltype" : "quoted_char" - }, - { - "colname" : "conkey", - "ctype" : "int2[1]", - "sqltype" : "smallint[]" - }, - { - "colname" : "confkey", - "ctype" : "int2[1]", - "sqltype" : "smallint[]" - }, - { - "colname" : "conbin", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "consrc", - "ctype" : "text", - "sqltype" : "text" - } - ], - "filename" : "pg_constraint.h", - "foreign_keys" : [ - [ - [ - "connamespace" - ], - "pg_namespace", - [ - "oid" - ] - ], - [ - [ - "conrelid" - ], - "pg_class", - [ - "oid" - ] - ], - [ - [ - "contypid" - ], - "pg_type", - [ - "oid" - ] - ], - [ - [ - "confrelid" - ], - "pg_class", - [ - "oid" - ] - ] - ], - "relid_comment_tag" : "/* relation id: 2606 - pg_constraint 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE pg_constraint\n with (relid=2606, toast_oid=2832, toast_index=2833)\n (\n conname name, \n connamespace oid, \n contype \"char\", \n condeferrable boolean, \n condeferred boolean, \n conrelid oid, \n contypid oid, \n confrelid oid, \n confupdtype \"char\", \n confdeltype \"char\", \n confmatchtype \"char\", \n conkey smallint[], \n confkey smallint[], \n conbin text, \n consrc text\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "Constraint", - "oid" : 1, - "relid" : "2606", - "shared" : 0, - "text" : "with (relid=2606, toast_oid=2832, toast_index=2833)", - "toast_index" : "2833", - "toast_oid" : "2832" - } - }, - "pg_conversion" : { - "CamelCaseRelationId" : "ConversionRelationId", - "colh" : { - "condefault" : "bool", - "conforencoding" : "int4", - "conname" : "NameData", - "connamespace" : "Oid", - "conowner" : "Oid", - "conproc" : "regproc", - "contoencoding" : "int4", - "oid" : "Oid" - }, - "cols" : [ - { - "colname" : "conname", - "ctype" : "NameData", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "name" - }, - { - "colname" : "connamespace", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "conowner", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "conforencoding", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "contoencoding", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "conproc", - "ctype" : "regproc", - "sqltype" : "regproc" - }, - { - "colname" : "condefault", - "ctype" : "bool", - "sqltype" : "boolean" - } - ], - "filename" : "pg_conversion.h", - "foreign_keys" : [ - [ - [ - "connamespace" - ], - "pg_namespace", - [ - "oid" - ] - ], - [ - [ - "conowner" - ], - "pg_authid", - [ - "oid" - ] - ], - [ - [ - "conproc" - ], - "pg_proc", - [ - "oid" - ] - ] - ], - "relid_comment_tag" : "/* relation id: 2607 - pg_conversion 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE pg_conversion\n with (relid=2607)\n (\n conname name, \n connamespace oid, \n conowner oid, \n conforencoding integer, \n contoencoding integer, \n conproc regproc, \n condefault boolean\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "Conversion", - "oid" : 1, - "relid" : "2607", - "shared" : 0, - "text" : "with (relid=2607)" - } - }, - "pg_database" : { - "CamelCaseRelationId" : "DatabaseRelationId", - "CamelCaseToastInd" : "PgDatabaseToastIndex", - "CamelCaseToastTab" : "PgDatabaseToastTable", - "colh" : { - "datacl" : "aclitem[1]", - "datallowconn" : "bool", - "datconfig" : "text[1]", - "datconnlimit" : "int4", - "datdba" : "Oid", - "datfrozenxid" : "xid", - "datistemplate" : "bool", - "datlastsysoid" : "Oid", - "datname" : "NameData", - "dattablespace" : "Oid", - "encoding" : "int4", - "oid" : "Oid" - }, - "cols" : [ - { - "colname" : "datname", - "ctype" : "NameData", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "name" - }, - { - "colname" : "datdba", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "encoding", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "datistemplate", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "datallowconn", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "datconnlimit", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "datlastsysoid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "datfrozenxid", - "ctype" : "xid", - "sqltype" : "xid" - }, - { - "colname" : "dattablespace", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "datconfig", - "ctype" : "text[1]", - "sqltype" : "text[]" - }, - { - "colname" : "datacl", - "ctype" : "aclitem[1]", - "sqltype" : "aclitem[]" - } - ], - "filename" : "pg_database.h", - "foreign_keys" : [ - [ - [ - "datdba" - ], - "pg_authid", - [ - "oid" - ] - ], - [ - [ - "dattablespace" - ], - "pg_tablespace", - [ - "oid" - ] - ] - ], - "relid_comment_tag" : "/* relation id: 1262 - pg_database 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE pg_database\n with (shared=true, relid=1262, toast_oid=2844, toast_index=2845)\n (\n datname name, \n datdba oid, \n encoding integer, \n datistemplate boolean, \n datallowconn boolean, \n datconnlimit integer, \n datlastsysoid oid, \n datfrozenxid xid, \n dattablespace oid, \n datconfig text[], \n datacl aclitem[]\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "Database", - "oid" : 1, - "relid" : "1262", - "shared" : "1", - "text" : "with (shared=true, relid=1262, toast_oid=2844, toast_index=2845)", - "toast_index" : "2845", - "toast_oid" : "2844" - } - }, - "pg_depend" : { - "CamelCaseRelationId" : "DependRelationId", - "colh" : { - "classid" : "Oid", - "deptype" : "char", - "objid" : "Oid", - "objsubid" : "int4", - "refclassid" : "Oid", - "refobjid" : "Oid", - "refobjsubid" : "int4" - }, - "cols" : [ - { - "colname" : "classid", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "objid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "objsubid", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "refclassid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "refobjid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "refobjsubid", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "deptype", - "ctype" : "char", - "sqltype" : "quoted_char" - } - ], - "filename" : "pg_depend.h", - "foreign_keys" : [ - [ - [ - "classid" - ], - "pg_class", - [ - "oid" - ] - ], - [ - [ - "refclassid" - ], - "pg_class", - [ - "oid" - ] - ] - ], - "relid_comment_tag" : "/* relation id: 2608 - pg_depend 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE pg_depend\n with (oid=false, relid=2608, content=SEGMENT_LOCAL)\n (\n classid oid, \n objid oid, \n objsubid integer, \n refclassid oid, \n refobjid oid, \n refobjsubid integer, \n deptype \"char\"\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "Depend", - "content" : "SEGMENT_LOCAL", - "oid" : "", - "relid" : "2608", - "shared" : 0, - "text" : "with (oid=false, relid=2608, content=SEGMENT_LOCAL)" - } - }, - "pg_description" : { - "CamelCaseRelationId" : "DescriptionRelationId", - "CamelCaseToastInd" : "PgDescriptionToastIndex", - "CamelCaseToastTab" : "PgDescriptionToastTable", - "colh" : { - "classoid" : "Oid", - "description" : "text", - "objoid" : "Oid", - "objsubid" : "int4" - }, - "cols" : [ - { - "colname" : "objoid", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "classoid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "objsubid", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "description", - "ctype" : "text", - "sqltype" : "text" - } - ], - "filename" : "pg_description.h", - "foreign_keys" : [ - [ - [ - "classoid" - ], - "pg_class", - [ - "oid" - ] - ] - ], - "relid_comment_tag" : "/* relation id: 2609 - pg_description 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE pg_description\n with (oid=false, relid=2609, toast_oid=2834, toast_index=2835, content=MASTER_ONLY)\n (\n objoid oid, \n classoid oid, \n objsubid integer, \n description text\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "Description", - "content" : "MASTER_ONLY", - "oid" : "", - "relid" : "2609", - "shared" : 0, - "text" : "with (oid=false, relid=2609, toast_oid=2834, toast_index=2835, content=MASTER_ONLY)", - "toast_index" : "2835", - "toast_oid" : "2834" - } - }, - "pg_exttable" : { - "CamelCaseRelationId" : "ExtTableRelationId", - "colh" : { - "command" : "text", - "encoding" : "int4", - "fmterrtbl" : "Oid", - "fmtopts" : "text", - "fmttype" : "char", - "location" : "text[1]", - "rejectlimit" : "int4", - "rejectlimittype" : "char", - "reloid" : "Oid", - "writable" : "bool" - }, - "cols" : [ - { - "colname" : "reloid", - "ctype" : "Oid", - "postcomment" : "-- refers to this relation's oid in pg_class ", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "location", - "ctype" : "text[1]", - "postcomment" : "-- array of URI strings", - "sqltype" : "text[]" - }, - { - "colname" : "fmttype", - "ctype" : "char", - "postcomment" : "-- 't' (text) or 'c' (csv)", - "sqltype" : "quoted_char" - }, - { - "colname" : "fmtopts", - "ctype" : "text", - "postcomment" : "-- the data format options", - "sqltype" : "text" - }, - { - "colname" : "command", - "ctype" : "text", - "postcomment" : "-- the command string to EXECUTE", - "sqltype" : "text" - }, - { - "colname" : "rejectlimit", - "ctype" : "int4", - "postcomment" : "-- error count reject limit per segment", - "sqltype" : "integer" - }, - { - "colname" : "rejectlimittype", - "ctype" : "char", - "postcomment" : "-- 'r' (rows) or 'p' (percent)", - "sqltype" : "quoted_char" - }, - { - "colname" : "fmterrtbl", - "ctype" : "Oid", - "postcomment" : "-- the data format error table oid in pg_class", - "sqltype" : "oid" - }, - { - "colname" : "encoding", - "ctype" : "int4", - "postcomment" : "-- character encoding of this external table", - "sqltype" : "integer" - }, - { - "colname" : "writable", - "ctype" : "bool", - "postcomment" : "-- 't' if writable, 'f' if readable", - "sqltype" : "boolean" - } - ], - "filename" : "pg_exttable.h", - "foreign_keys" : [ - [ - [ - "reloid" - ], - "pg_class", - [ - "oid" - ] - ], - [ - [ - "fmterrtbl" - ], - "pg_class", - [ - "oid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "ExtTableReloidIndexId", - "cols" : [ - [ - "reloid", - "oid_ops" - ] - ], - "indexid" : "6041", - "unique" : "1", - "with" : { - "indexid" : "6041" - } - } - ], - "relid_comment_tag" : "/* relation id: 6040 - pg_exttable 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE pg_exttable\n with (camelcase=ExtTable, oid=false, relid=6040)\n (\n reloid oid, -- refers to this relation's oid in pg_class \n location text[], -- array of URI strings\n fmttype \"char\", -- 't' (text) or 'c' (csv)\n fmtopts text, -- the data format options\n command text, -- the command string to EXECUTE\n rejectlimit integer, -- error count reject limit per segment\n rejectlimittype \"char\", -- 'r' (rows) or 'p' (percent)\n fmterrtbl oid, -- the data format error table oid in pg_class\n encoding integer, -- character encoding of this external table\n writable boolean -- 't' if writable, 'f' if readable\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "ExtTable", - "oid" : "", - "relid" : "6040", - "shared" : 0, - "text" : "with (camelcase=ExtTable, oid=false, relid=6040)" - } - }, - "pg_filespace" : { - "CamelCaseRelationId" : "FileSpaceRelationId", - "UppercaseReltypeOid" : "PG_FILESPACE_RELTYPE_OID", - "colh" : { - "fsname" : "NameData", - "fsowner" : "Oid", - "oid" : "Oid" - }, - "cols" : [ - { - "colname" : "fsname", - "ctype" : "NameData", - "postcomment" : "-- filespace name", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "name" - }, - { - "colname" : "fsowner", - "ctype" : "Oid", - "postcomment" : "-- owner of filespace", - "sqltype" : "oid" - } - ], - "filename" : "pg_filespace.h", - "relid_comment_tag" : "/* relation id: 5009 - pg_filespace 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE pg_filespace\n with (camelcase=FileSpace, shared=true, relid=5009, reltype_oid=6438)\n (\n fsname name, -- filespace name\n fsowner oid -- owner of filespace\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "FileSpace", - "oid" : 1, - "relid" : "5009", - "reltype_oid" : "6438", - "shared" : "1", - "text" : "with (camelcase=FileSpace, shared=true, relid=5009, reltype_oid=6438)" - } - }, - "pg_filespace_entry" : { - "CamelCaseRelationId" : "FileSpaceEntryRelationId", - "CamelCaseToastInd" : "PgFileSpaceEntryToastIndex", - "CamelCaseToastTab" : "PgFileSpaceEntryToastTable", - "UppercaseReltypeOid" : "PG_FILESPACE_ENTRY_RELTYPE_OID", - "UppercaseToastReltypeOid" : "PG_FILESPACE_ENTRY_TOAST_RELTYPE_OID", - "colh" : { - "fsedbid" : "int2", - "fsefsoid" : "Oid", - "fselocation" : "text" - }, - "cols" : [ - { - "colname" : "fsefsoid", - "ctype" : "Oid", - "postcomment" : "-- foreign key to pg_filespace ", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "fsedbid", - "ctype" : "int2", - "postcomment" : "-- segment dbid this refers to ", - "sqltype" : "smallint" - }, - { - "colname" : "fselocation", - "ctype" : "text", - "postcomment" : "-- location of filespace directory", - "sqltype" : "text" - } - ], - "filename" : "pg_filespace_entry.h", - "foreign_keys" : [ - [ - [ - "fsefsoid" - ], - "pg_filespace", - [ - "oid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "FileSpaceEntryFsefsoidIndexId", - "cols" : [ - [ - "fsefsoid", - "oid_ops" - ] - ], - "indexid" : "2893", - "indexname" : "pg_filespace_entry_fs_index", - "unique" : "", - "with" : { - "indexid" : "2893", - "indexname" : "pg_filespace_entry_fs_index" - } - }, - { - "CamelCaseIndexId" : "FileSpaceEntryFsefsoidFsedbidIndexId", - "cols" : [ - [ - "fsefsoid", - "oid_ops" - ], - [ - "fsedbid", - "int2_ops" - ] - ], - "indexid" : "2894", - "indexname" : "pg_filespace_entry_fsdb_index", - "unique" : "1", - "with" : { - "indexid" : "2894", - "indexname" : "pg_filespace_entry_fsdb_index" - } - } - ], - "relid_comment_tag" : "/* relation id: 5033 - pg_filespace_entry 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE pg_filespace_entry\n with (camelcase=FileSpaceEntry, shared=true, oid=false, relid=5033, reltype_oid=6439, toast_oid=2902, toast_index=2903, toast_reltype=2907, content=MASTER_ONLY)\n (\n fsefsoid oid, -- foreign key to pg_filespace \n fsedbid smallint, -- segment dbid this refers to \n fselocation text -- location of filespace directory\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "FileSpaceEntry", - "content" : "MASTER_ONLY", - "oid" : "", - "relid" : "5033", - "reltype_oid" : "6439", - "shared" : "1", - "text" : "with (camelcase=FileSpaceEntry, shared=true, oid=false, relid=5033, reltype_oid=6439, toast_oid=2902, toast_index=2903, toast_reltype=2907, content=MASTER_ONLY)", - "toast_index" : "2903", - "toast_oid" : "2902", - "toast_reltype" : "2907" - } - }, - "pg_foreign_data_wrapper" : { - "CamelCaseRelationId" : "ForeignDataWrapperRelationId", - "UppercaseReltypeOid" : "PG_FOREIGN_DATA_WRAPPER_RELTYPE_OID", - "colh" : { - "fdwacl" : "aclitem[1]", - "fdwname" : "NameData", - "fdwoptions" : "text[1]", - "fdwowner" : "Oid", - "fdwvalidator" : "Oid", - "oid" : "Oid" - }, - "cols" : [ - { - "colname" : "fdwname", - "ctype" : "NameData", - "postcomment" : "-- foreign-data wrapper name", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "name" - }, - { - "colname" : "fdwowner", - "ctype" : "Oid", - "postcomment" : "-- FDW owner", - "sqltype" : "oid" - }, - { - "colname" : "fdwvalidator", - "ctype" : "Oid", - "postcomment" : "-- optional validation function", - "sqltype" : "oid" - }, - { - "colname" : "fdwacl", - "ctype" : "aclitem[1]", - "postcomment" : "-- access permissions", - "precomment" : "\n**TK_BLANK_LINE**\n -- VARIABLE LENGTH FIELDS start here.\n**TK_BLANK_LINE**", - "sqltype" : "aclitem[]" - }, - { - "colname" : "fdwoptions", - "ctype" : "text[1]", - "postcomment" : "-- FDW options", - "sqltype" : "text[]" - } - ], - "filename" : "pg_foreign_data_wrapper.h", - "relid_comment_tag" : "/* relation id: 2898 - pg_foreign_data_wrapper 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE pg_foreign_data_wrapper\n with (camelcase=ForeignDataWrapper, relid=2898, reltype_oid=6447)\n (\n fdwname name, -- foreign-data wrapper name\n fdwowner oid, -- FDW owner\n fdwvalidator oid, -- optional validation function\n\n -- VARIABLE LENGTH FIELDS start here.\n\n fdwacl aclitem[], -- access permissions\n fdwoptions text[] -- FDW options\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "ForeignDataWrapper", - "oid" : 1, - "relid" : "2898", - "reltype_oid" : "6447", - "shared" : 0, - "text" : "with (camelcase=ForeignDataWrapper, relid=2898, reltype_oid=6447)" - } - }, - "pg_foreign_server" : { - "CamelCaseRelationId" : "ForeignServerRelationId", - "UppercaseReltypeOid" : "PG_FOREIGN_SERVER_RELTYPE_OID", - "colh" : { - "oid" : "Oid", - "srvacl" : "aclitem[1]", - "srvfdw" : "Oid", - "srvname" : "NameData", - "srvoptions" : "text[1]", - "srvowner" : "Oid", - "srvtype" : "text", - "srvversion" : "text" - }, - "cols" : [ - { - "colname" : "srvname", - "ctype" : "NameData", - "postcomment" : "-- foreign server name", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "name" - }, - { - "colname" : "srvowner", - "ctype" : "Oid", - "postcomment" : "-- server owner", - "sqltype" : "oid" - }, - { - "colname" : "srvfdw", - "ctype" : "Oid", - "postcomment" : "-- server FDW", - "sqltype" : "oid" - }, - { - "colname" : "srvtype", - "ctype" : "text", - "precomment" : "\n**TK_BLANK_LINE**\n -- VARIABLE LENGTH FIELDS start here. These fields may be NULL, too.\n**TK_BLANK_LINE**", - "sqltype" : "text" - }, - { - "colname" : "srvversion", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "srvacl", - "ctype" : "aclitem[1]", - "postcomment" : "-- access permissions", - "sqltype" : "aclitem[]" - }, - { - "colname" : "srvoptions", - "ctype" : "text[1]", - "postcomment" : "-- FDW-specific options", - "sqltype" : "text[]" - } - ], - "filename" : "pg_foreign_server.h", - "relid_comment_tag" : "/* relation id: 2899 - pg_foreign_server 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE pg_foreign_server\n with (camelcase=ForeignServer, relid=2899, reltype_oid=6448)\n (\n srvname name, -- foreign server name\n srvowner oid, -- server owner\n srvfdw oid, -- server FDW\n\n -- VARIABLE LENGTH FIELDS start here. These fields may be NULL, too.\n\n srvtype text,\n srvversion text,\n srvacl aclitem[], -- access permissions\n srvoptions text[] -- FDW-specific options\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "ForeignServer", - "oid" : 1, - "relid" : "2899", - "reltype_oid" : "6448", - "shared" : 0, - "text" : "with (camelcase=ForeignServer, relid=2899, reltype_oid=6448)" - } - }, - "pg_foreign_table" : { - "CamelCaseRelationId" : "ForeignTableRelationId", - "UppercaseReltypeOid" : "PG_FOREIGN_TABLE_RELTYPE_OID", - "colh" : { - "reloid" : "Oid", - "server" : "Oid", - "tbloptions" : "text[1]" - }, - "cols" : [ - { - "colname" : "reloid", - "ctype" : "Oid", - "postcomment" : "-- refers to this relation's oid in pg_class", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "server", - "ctype" : "Oid", - "postcomment" : "-- table's foreign server", - "sqltype" : "oid" - }, - { - "colname" : "tbloptions", - "ctype" : "text[1]", - "postcomment" : "-- foreign table-specific options", - "precomment" : "\n -- VARIABLE LENGTH FIELDS start here. These fields may be NULL, too.\n**TK_BLANK_LINE**", - "sqltype" : "text[]" - } - ], - "filename" : "pg_foreign_table.h", - "relid_comment_tag" : "/* relation id: 2879 - pg_foreign_table 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE pg_foreign_table\n with (camelcase=ForeignTable, oid=false, relid=2879, reltype_oid=6452)\n (\n reloid oid, -- refers to this relation's oid in pg_class\n server oid, -- table's foreign server\n -- VARIABLE LENGTH FIELDS start here. These fields may be NULL, too.\n\n tbloptions text[] -- foreign table-specific options\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "ForeignTable", - "oid" : "", - "relid" : "2879", - "reltype_oid" : "6452", - "shared" : 0, - "text" : "with (camelcase=ForeignTable, oid=false, relid=2879, reltype_oid=6452)" - } - }, - "pg_index" : { - "CamelCaseRelationId" : "IndexRelationId", - "colh" : { - "indclass" : "oidvector", - "indexprs" : "text", - "indexrelid" : "Oid", - "indisclustered" : "bool", - "indisprimary" : "bool", - "indisunique" : "bool", - "indisvalid" : "bool", - "indkey" : "int2vector", - "indnatts" : "int2", - "indpred" : "text", - "indrelid" : "Oid" - }, - "cols" : [ - { - "colname" : "indexrelid", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "indrelid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "indnatts", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "indisunique", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "indisprimary", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "indisclustered", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "indisvalid", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "indkey", - "ctype" : "int2vector", - "sqltype" : "int2vector" - }, - { - "colname" : "indclass", - "ctype" : "oidvector", - "sqltype" : "oidvector" - }, - { - "colname" : "indexprs", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "indpred", - "ctype" : "text", - "sqltype" : "text" - } - ], - "filename" : "pg_index.h", - "foreign_keys" : [ - [ - [ - "indexrelid" - ], - "pg_class", - [ - "oid" - ] - ], - [ - [ - "indrelid" - ], - "pg_class", - [ - "oid" - ] - ] - ], - "relid_comment_tag" : "/* relation id: 2610 - pg_index 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE pg_index\n with (oid=false, relid=2610)\n (\n indexrelid oid ,\n indrelid oid ,\n indnatts smallint ,\n indisunique boolean ,\n indisprimary boolean ,\n indisclustered boolean ,\n indisvalid boolean ,\n indkey int2vector ,\n indclass oidvector ,\n indexprs text ,\n indpred text \n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "Index", - "oid" : "", - "relid" : "2610", - "shared" : 0, - "text" : "with (oid=false, relid=2610)" - } - }, - "pg_inherits" : { - "CamelCaseRelationId" : "InheritsRelationId", - "colh" : { - "inhparent" : "Oid", - "inhrelid" : "Oid", - "inhseqno" : "int4" - }, - "cols" : [ - { - "colname" : "inhrelid", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "inhparent", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "inhseqno", - "ctype" : "int4", - "sqltype" : "integer" - } - ], - "filename" : "pg_inherits.h", - "foreign_keys" : [ - [ - [ - "inhrelid" - ], - "pg_class", - [ - "oid" - ] - ], - [ - [ - "inhparent" - ], - "pg_class", - [ - "oid" - ] - ] - ], - "relid_comment_tag" : "/* relation id: 2611 - pg_inherits 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE pg_inherits\n with (oid=false, relid=2611)\n (\n inhrelid oid ,\n inhparent oid ,\n inhseqno integer \n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "Inherits", - "oid" : "", - "relid" : "2611", - "shared" : 0, - "text" : "with (oid=false, relid=2611)" - } - }, - "pg_language" : { - "CamelCaseRelationId" : "LanguageRelationId", - "colh" : { - "lanacl" : "aclitem[1]", - "lanispl" : "bool", - "lanname" : "NameData", - "lanplcallfoid" : "Oid", - "lanpltrusted" : "bool", - "lanvalidator" : "Oid", - "oid" : "Oid" - }, - "cols" : [ - { - "colname" : "lanname", - "ctype" : "NameData", - "precomment" : "\n ", - "sqltype" : "name" - }, - { - "colname" : "lanispl", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "lanpltrusted", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "lanplcallfoid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "lanvalidator", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "lanacl", - "ctype" : "aclitem[1]", - "sqltype" : "aclitem[]" - } - ], - "filename" : "pg_language.h", - "foreign_keys" : [ - [ - [ - "lanplcallfoid" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "lanvalidator" - ], - "pg_proc", - [ - "oid" - ] - ] - ], - "relid_comment_tag" : "/* relation id: 2612 - pg_language 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE pg_language\n with (relid=2612)\n ( \n lanname name, \n lanispl boolean, \n lanpltrusted boolean, \n lanplcallfoid oid, \n lanvalidator oid, \n lanacl aclitem[]\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "Language", - "oid" : 1, - "relid" : "2612", - "shared" : 0, - "text" : "with (relid=2612)" - } - }, - "pg_largeobject" : { - "CamelCaseRelationId" : "LargeObjectRelationId", - "colh" : { - "data" : "bytea", - "loid" : "Oid", - "pageno" : "int4" - }, - "cols" : [ - { - "colname" : "loid", - "ctype" : "Oid", - "postcomment" : "-- Identifier of large object ", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "pageno", - "ctype" : "int4", - "postcomment" : "-- Page number (starting from 0)", - "sqltype" : "integer" - }, - { - "colname" : "data", - "ctype" : "bytea", - "postcomment" : "-- Data for page (may be zero-length)", - "sqltype" : "bytea" - } - ], - "filename" : "pg_largeobject.h", - "indexes" : [ - { - "CamelCaseIndexId" : "LargeObjectLoidPagenoIndexId", - "cols" : [ - [ - "loid", - "oid_ops" - ], - [ - "pageno", - "int4_ops" - ] - ], - "indexid" : "2683", - "indexname" : "pg_largeobject_loid_pn_index", - "unique" : "1", - "with" : { - "indexid" : "2683", - "indexname" : "pg_largeobject_loid_pn_index" - } - } - ], - "relid_comment_tag" : "/* relation id: 2613 - pg_largeobject 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE pg_largeobject\n with (camelcase=LargeObject, shared=false, oid=false, relid=2613)\n (\n loid oid , -- Identifier of large object \n pageno integer , -- Page number (starting from 0)\n data bytea -- Data for page (may be zero-length)\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "LargeObject", - "oid" : "", - "relid" : "2613", - "shared" : "", - "text" : "with (camelcase=LargeObject, shared=false, oid=false, relid=2613)" - } - }, - "pg_listener" : { - "CamelCaseRelationId" : "ListenerRelationId", - "colh" : { - "listenerpid" : "int4", - "notification" : "int4", - "relname" : "NameData" - }, - "cols" : [ - { - "colname" : "relname", - "ctype" : "NameData", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "name" - }, - { - "colname" : "listenerpid", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "notification", - "ctype" : "int4", - "sqltype" : "integer" - } - ], - "filename" : "pg_listener.h", - "relid_comment_tag" : "/* relation id: 2614 - pg_listener 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE pg_listener\n with (shared=false, oid=false, relid=2614, content=MASTER_ONLY)\n (\n relname name ,\n listenerpid integer ,\n notification integer \n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "Listener", - "content" : "MASTER_ONLY", - "oid" : "", - "relid" : "2614", - "shared" : "", - "text" : "with (shared=false, oid=false, relid=2614, content=MASTER_ONLY)" - } - }, - "pg_namespace" : { - "CamelCaseRelationId" : "NamespaceRelationId", - "colh" : { - "nspacl" : "aclitem[1]", - "nspname" : "NameData", - "nspowner" : "Oid", - "oid" : "Oid" - }, - "cols" : [ - { - "colname" : "nspname", - "ctype" : "NameData", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "name" - }, - { - "colname" : "nspowner", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "nspacl", - "ctype" : "aclitem[1]", - "postcomment" : "-- VARIABLE LENGTH FIELD", - "sqltype" : "aclitem[]" - } - ], - "filename" : "pg_namespace.h", - "foreign_keys" : [ - [ - [ - "nspowner" - ], - "pg_authid", - [ - "oid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "NamespaceNspnameIndexId", - "cols" : [ - [ - "nspname", - "name_ops" - ] - ], - "indexid" : "2684", - "unique" : "1", - "with" : { - "indexid" : "2684" - } - }, - { - "CamelCaseIndexId" : "NamespaceOidIndexId", - "cols" : [ - [ - "oid", - "oid_ops" - ] - ], - "indexid" : "2685", - "unique" : "1", - "with" : { - "indexid" : "2685" - } - } - ], - "relid_comment_tag" : "/* relation id: 2615 - pg_namespace 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE pg_namespace\n with (relid=2615)\n (\n nspname name ,\n nspowner oid ,\n nspacl aclitem[] -- VARIABLE LENGTH FIELD\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "Namespace", - "oid" : 1, - "relid" : "2615", - "shared" : 0, - "text" : "with (relid=2615)" - } - }, - "pg_opclass" : { - "CamelCaseRelationId" : "OperatorClassRelationId", - "colh" : { - "oid" : "Oid", - "opcamid" : "Oid", - "opcdefault" : "bool", - "opcintype" : "Oid", - "opckeytype" : "Oid", - "opcname" : "NameData", - "opcnamespace" : "Oid", - "opcowner" : "Oid" - }, - "cols" : [ - { - "colname" : "opcamid", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "opcname", - "ctype" : "NameData", - "sqltype" : "name" - }, - { - "colname" : "opcnamespace", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "opcowner", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "opcintype", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "opcdefault", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "opckeytype", - "ctype" : "Oid", - "sqltype" : "oid" - } - ], - "filename" : "pg_opclass.h", - "foreign_keys" : [ - [ - [ - "opcnamespace" - ], - "pg_namespace", - [ - "oid" - ] - ], - [ - [ - "opcowner" - ], - "pg_authid", - [ - "oid" - ] - ] - ], - "relid_comment_tag" : "/* relation id: 2616 - pg_opclass 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE pg_opclass\n with (camelcase=OperatorClass, shared=false, relid=2616)\n (\n opcamid oid ,\n opcname name ,\n opcnamespace oid ,\n opcowner oid ,\n opcintype oid ,\n opcdefault boolean ,\n opckeytype oid \n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "OperatorClass", - "oid" : 1, - "relid" : "2616", - "shared" : "", - "text" : "with (camelcase=OperatorClass, shared=false, relid=2616)" - } - }, - "pg_operator" : { - "CamelCaseRelationId" : "OperatorRelationId", - "colh" : { - "oid" : "Oid", - "oprcanhash" : "bool", - "oprcode" : "regproc", - "oprcom" : "Oid", - "oprgtcmpop" : "Oid", - "oprjoin" : "regproc", - "oprkind" : "char", - "oprleft" : "Oid", - "oprlsortop" : "Oid", - "oprltcmpop" : "Oid", - "oprname" : "NameData", - "oprnamespace" : "Oid", - "oprnegate" : "Oid", - "oprowner" : "Oid", - "oprrest" : "regproc", - "oprresult" : "Oid", - "oprright" : "Oid", - "oprrsortop" : "Oid" - }, - "cols" : [ - { - "colname" : "oprname", - "ctype" : "NameData", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "name" - }, - { - "colname" : "oprnamespace", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "oprowner", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "oprkind", - "ctype" : "char", - "sqltype" : "quoted_char" - }, - { - "colname" : "oprcanhash", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "oprleft", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "oprright", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "oprresult", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "oprcom", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "oprnegate", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "oprlsortop", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "oprrsortop", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "oprltcmpop", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "oprgtcmpop", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "oprcode", - "ctype" : "regproc", - "sqltype" : "regproc" - }, - { - "colname" : "oprrest", - "ctype" : "regproc", - "sqltype" : "regproc" - }, - { - "colname" : "oprjoin", - "ctype" : "regproc", - "sqltype" : "regproc" - } - ], - "filename" : "pg_operator.h", - "foreign_keys" : [ - [ - [ - "oprnamespace" - ], - "pg_namespace", - [ - "oid" - ] - ], - [ - [ - "oprowner" - ], - "pg_authid", - [ - "oid" - ] - ], - [ - [ - "oprleft" - ], - "pg_type", - [ - "oid" - ] - ], - [ - [ - "oprright" - ], - "pg_type", - [ - "oid" - ] - ], - [ - [ - "oprresult" - ], - "pg_type", - [ - "oid" - ] - ], - [ - [ - "oprcom" - ], - "pg_operator", - [ - "oid" - ] - ], - [ - [ - "oprnegate" - ], - "pg_operator", - [ - "oid" - ] - ], - [ - [ - "oprlsortop" - ], - "pg_operator", - [ - "oid" - ] - ], - [ - [ - "oprrsortop" - ], - "pg_operator", - [ - "oid" - ] - ], - [ - [ - "oprltcmpop" - ], - "pg_operator", - [ - "oid" - ] - ], - [ - [ - "oprgtcmpop" - ], - "pg_operator", - [ - "oid" - ] - ], - [ - [ - "oprcode" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "oprrest" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "oprjoin" - ], - "pg_proc", - [ - "oid" - ] - ] - ], - "relid_comment_tag" : "/* relation id: 2617 - pg_operator 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE pg_operator\n with (camelcase=Operator, shared=false, relid=2617)\n (\n oprname name ,\n oprnamespace oid ,\n oprowner oid ,\n oprkind \"char\" ,\n oprcanhash boolean ,\n oprleft oid ,\n oprright oid ,\n oprresult oid ,\n oprcom oid ,\n oprnegate oid ,\n oprlsortop oid ,\n oprrsortop oid ,\n oprltcmpop oid ,\n oprgtcmpop oid ,\n oprcode regproc ,\n oprrest regproc ,\n oprjoin regproc \n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "Operator", - "oid" : 1, - "relid" : "2617", - "shared" : "", - "text" : "with (camelcase=Operator, shared=false, relid=2617)" - } - }, - "pg_partition" : { - "CamelCaseRelationId" : "PartitionRelationId", - "colh" : { - "oid" : "Oid", - "paratts" : "int2vector", - "parclass" : "oidvector", - "paristemplate" : "bool", - "parkind" : "char", - "parlevel" : "int2", - "parnatts" : "int2", - "parrelid" : "Oid" - }, - "cols" : [ - { - "colname" : "parrelid", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "parkind", - "ctype" : "char", - "sqltype" : "quoted_char" - }, - { - "colname" : "parlevel", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "paristemplate", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "parnatts", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "paratts", - "ctype" : "int2vector", - "sqltype" : "int2vector" - }, - { - "colname" : "parclass", - "ctype" : "oidvector", - "sqltype" : "oidvector" - } - ], - "filename" : "pg_partition.h", - "foreign_keys" : [ - [ - [ - "parrelid" - ], - "pg_class", - [ - "oid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "PartitionOidIndexId", - "cols" : [ - [ - "oid", - "oid_ops" - ] - ], - "indexid" : "5012", - "unique" : "1", - "with" : { - "indexid" : "5012" - } - }, - { - "CamelCaseIndexId" : "PartitionParrelidIndexId", - "cols" : [ - [ - "parrelid", - "oid_ops" - ] - ], - "indexid" : "5013", - "unique" : "", - "with" : { - "indexid" : "5013" - } - }, - { - "CamelCaseIndexId" : "PartitionParrelidParlevelParistemplateIndexId", - "cols" : [ - [ - "parrelid", - "oid_ops" - ], - [ - "parlevel", - "int2_ops" - ], - [ - "paristemplate", - "bool_ops" - ] - ], - "indexid" : "5017", - "indexname" : "pg_partition_parrelid_parlevel_istemplate_index", - "unique" : "", - "with" : { - "indexid" : "5017", - "indexname" : "pg_partition_parrelid_parlevel_istemplate_index" - } - } - ], - "relid_comment_tag" : "/* relation id: 5010 - pg_partition 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE pg_partition\n with (relid=5010, content=MASTER_ONLY)\n (\n parrelid oid,\n parkind \"char\",\n parlevel smallint,\n paristemplate boolean,\n parnatts smallint,\n paratts int2vector,\n parclass oidvector\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "Partition", - "content" : "MASTER_ONLY", - "oid" : 1, - "relid" : "5010", - "shared" : 0, - "text" : "with (relid=5010, content=MASTER_ONLY)" - } - }, - "pg_partition_rule" : { - "CamelCaseRelationId" : "PartitionRuleRelationId", - "colh" : { - "oid" : "Oid", - "parchildrelid" : "Oid", - "parisdefault" : "bool", - "parlistvalues" : "text", - "parname" : "NameData", - "paroid" : "Oid", - "parparentrule" : "Oid", - "parrangeend" : "text", - "parrangeendincl" : "bool", - "parrangeevery" : "text", - "parrangestart" : "text", - "parrangestartincl" : "bool", - "parreloptions" : "text[1]", - "parruleord" : "int2", - "partemplatespace" : "Oid" - }, - "cols" : [ - { - "colname" : "paroid", - "ctype" : "Oid", - "precomment" : "\n ", - "sqltype" : "oid" - }, - { - "colname" : "parchildrelid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "parparentrule", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "parname", - "ctype" : "NameData", - "sqltype" : "name" - }, - { - "colname" : "parisdefault", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "parruleord", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "parrangestartincl", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "parrangeendincl", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "parrangestart", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "parrangeend", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "parrangeevery", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "parlistvalues", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "parreloptions", - "ctype" : "text[1]", - "sqltype" : "text[]" - }, - { - "colname" : "partemplatespace", - "ctype" : "Oid", - "sqltype" : "oid" - } - ], - "filename" : "pg_partition_rule.h", - "foreign_keys" : [ - [ - [ - "paroid" - ], - "pg_partition", - [ - "oid" - ] - ], - [ - [ - "parchildrelid" - ], - "pg_class", - [ - "oid" - ] - ], - [ - [ - "parparentrule" - ], - "pg_partition_rule", - [ - "oid" - ] - ], - [ - [ - "partemplatespace" - ], - "pg_tablespace", - [ - "oid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "PartitionRuleOidIndexId", - "cols" : [ - [ - "oid", - "oid_ops" - ] - ], - "indexid" : "5014", - "unique" : "1", - "with" : { - "indexid" : "5014" - } - }, - { - "CamelCaseIndexId" : "PartitionRuleParchildrelidIndexId", - "cols" : [ - [ - "parchildrelid", - "oid_ops" - ] - ], - "indexid" : "5016", - "unique" : "", - "with" : { - "indexid" : "5016" - } - }, - { - "CamelCaseIndexId" : "PartitionRuleParchildrelidParparentruleParruleordIndexId", - "cols" : [ - [ - "parchildrelid", - "oid_ops" - ], - [ - "parparentrule", - "oid_ops" - ], - [ - "parruleord", - "int2_ops" - ] - ], - "indexid" : "5015", - "unique" : "", - "with" : { - "indexid" : "5015" - } - }, - { - "CamelCaseIndexId" : "PartitionRuleParoidParparentruleParruleordIndexId", - "cols" : [ - [ - "paroid", - "oid_ops" - ], - [ - "parparentrule", - "oid_ops" - ], - [ - "parruleord", - "int2_ops" - ] - ], - "indexid" : "5026", - "indexname" : "pg_partition_rule_paroid_parentrule_ruleord_index", - "unique" : "", - "with" : { - "indexid" : "5026", - "indexname" : "pg_partition_rule_paroid_parentrule_ruleord_index" - } - } - ], - "relid_comment_tag" : "/* relation id: 5011 - pg_partition_rule 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE pg_partition_rule\n with (camelcase=PartitionRule, relid=5011, content=MASTER_ONLY)\n ( \n paroid oid,\n parchildrelid oid,\n parparentrule oid,\n parname name,\n parisdefault boolean,\n parruleord smallint,\n parrangestartincl boolean,\n parrangeendincl boolean,\n parrangestart text,\n parrangeend text,\n parrangeevery text,\n parlistvalues text,\n parreloptions text[],\n partemplatespace oid\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "PartitionRule", - "content" : "MASTER_ONLY", - "oid" : 1, - "relid" : "5011", - "shared" : 0, - "text" : "with (camelcase=PartitionRule, relid=5011, content=MASTER_ONLY)" - } - }, - "pg_pltemplate" : { - "CamelCaseRelationId" : "PLTemplateRelationId", - "colh" : { - "tmplacl" : "aclitem[1]", - "tmplhandler" : "text", - "tmpllibrary" : "text", - "tmplname" : "NameData", - "tmpltrusted" : "bool", - "tmplvalidator" : "text" - }, - "cols" : [ - { - "colname" : "tmplname", - "ctype" : "NameData", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "name" - }, - { - "colname" : "tmpltrusted", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "tmplhandler", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "tmplvalidator", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "tmpllibrary", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "tmplacl", - "ctype" : "aclitem[1]", - "sqltype" : "aclitem[]" - } - ], - "filename" : "pg_pltemplate.h", - "relid_comment_tag" : "/* relation id: 1136 - pg_pltemplate 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE pg_pltemplate\n with (camelcase=PLTemplate, shared=true, oid=false, relid=1136)\n (\n tmplname name, \n tmpltrusted boolean, \n tmplhandler text, \n tmplvalidator text, \n tmpllibrary text, \n tmplacl aclitem[]\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "PLTemplate", - "oid" : "", - "relid" : "1136", - "shared" : "1", - "text" : "with (camelcase=PLTemplate, shared=true, oid=false, relid=1136)" - } - }, - "pg_proc" : { - "CamelCaseRelationId" : "ProcedureRelationId", - "CamelCaseToastInd" : "PgProcedureToastIndex", - "CamelCaseToastTab" : "PgProcedureToastTable", - "colh" : { - "oid" : "Oid", - "proacl" : "aclitem[1]", - "proallargtypes" : "Oid[1]", - "proargmodes" : "char[1]", - "proargnames" : "text[1]", - "proargtypes" : "oidvector", - "probin" : "bytea", - "proisagg" : "bool", - "proisstrict" : "bool", - "proiswin" : "bool", - "prolang" : "Oid", - "proname" : "NameData", - "pronamespace" : "Oid", - "pronargs" : "int2", - "proowner" : "Oid", - "proretset" : "bool", - "prorettype" : "Oid", - "prosecdef" : "bool", - "prosrc" : "text", - "provolatile" : "char" - }, - "cols" : [ - { - "colname" : "proname", - "ctype" : "NameData", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "name" - }, - { - "colname" : "pronamespace", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "proowner", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "prolang", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "proisagg", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "prosecdef", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "proisstrict", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "proretset", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "provolatile", - "ctype" : "char", - "sqltype" : "quoted_char" - }, - { - "colname" : "pronargs", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "prorettype", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "proiswin", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "proargtypes", - "ctype" : "oidvector", - "sqltype" : "oidvector" - }, - { - "colname" : "proallargtypes", - "ctype" : "Oid[1]", - "sqltype" : "oid[]" - }, - { - "colname" : "proargmodes", - "ctype" : "char[1]", - "sqltype" : "quoted_char[]" - }, - { - "colname" : "proargnames", - "ctype" : "text[1]", - "sqltype" : "text[]" - }, - { - "colname" : "prosrc", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "probin", - "ctype" : "bytea", - "sqltype" : "bytea" - }, - { - "colname" : "proacl", - "ctype" : "aclitem[1]", - "sqltype" : "aclitem[]" - } - ], - "filename" : "pg_proc.h", - "foreign_keys" : [ - [ - [ - "pronamespace" - ], - "pg_namespace", - [ - "oid" - ] - ], - [ - [ - "proowner" - ], - "pg_authid", - [ - "oid" - ] - ], - [ - [ - "prolang" - ], - "pg_language", - [ - "oid" - ] - ], - [ - [ - "prorettype" - ], - "pg_type", - [ - "oid" - ] - ] - ], - "relid_comment_tag" : "/* relation id: 1255 - pg_proc 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE pg_proc\n with (camelcase=Procedure, bootstrap=true, relid=1255, toast_oid=2836, toast_index=2837)\n (\n proname name, \n pronamespace oid, \n proowner oid, \n prolang oid, \n proisagg boolean, \n prosecdef boolean, \n proisstrict boolean, \n proretset boolean, \n provolatile \"char\", \n pronargs smallint, \n prorettype oid, \n proiswin boolean, \n proargtypes oidvector, \n proallargtypes oid[], \n proargmodes \"char\"[], \n proargnames text[], \n prosrc text, \n probin bytea, \n proacl aclitem[]\n )", - "with" : { - "bootstrap" : "1", - "camelcase" : "Procedure", - "oid" : 1, - "relid" : "1255", - "shared" : 0, - "text" : "with (camelcase=Procedure, bootstrap=true, relid=1255, toast_oid=2836, toast_index=2837)", - "toast_index" : "2837", - "toast_oid" : "2836" - } - }, - "pg_resourcetype" : { - "CamelCaseRelationId" : "ResourceTypeRelationId", - "UppercaseReltypeOid" : "PG_RESOURCETYPE_RELTYPE_OID", - "colh" : { - "oid" : "Oid", - "resdefaultsetting" : "text", - "resdisabledsetting" : "text", - "reshasdefault" : "bool", - "reshasdisable" : "bool", - "resname" : "NameData", - "resrequired" : "bool", - "restypid" : "int2" - }, - "cols" : [ - { - "colname" : "resname", - "ctype" : "NameData", - "postcomment" : "-- name of resource type ", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "name" - }, - { - "colname" : "restypid", - "ctype" : "int2", - "postcomment" : "-- resource type id ", - "sqltype" : "smallint" - }, - { - "colname" : "resrequired", - "ctype" : "bool", - "postcomment" : "-- if required, user must specify during CREATE", - "sqltype" : "boolean" - }, - { - "colname" : "reshasdefault", - "ctype" : "bool", - "postcomment" : "-- create a default entry for optional type", - "sqltype" : "boolean" - }, - { - "colname" : "reshasdisable", - "ctype" : "bool", - "postcomment" : "-- whether the type can be removed or shut off", - "sqltype" : "boolean" - }, - { - "colname" : "resdefaultsetting", - "ctype" : "text", - "postcomment" : "-- default resource setting ", - "sqltype" : "text" - }, - { - "colname" : "resdisabledsetting", - "ctype" : "text", - "postcomment" : "-- value that turns it off ", - "sqltype" : "text" - } - ], - "filename" : "pg_resqueue.h", - "indexes" : [ - { - "CamelCaseIndexId" : "ResourceTypeOidIndexId", - "cols" : [ - [ - "oid", - "oid_ops" - ] - ], - "indexid" : "6061", - "unique" : "1", - "with" : { - "indexid" : "6061" - } - }, - { - "CamelCaseIndexId" : "ResourceTypeRestypidIndexId", - "cols" : [ - [ - "restypid", - "int2_ops" - ] - ], - "indexid" : "6062", - "unique" : "1", - "with" : { - "indexid" : "6062" - } - }, - { - "CamelCaseIndexId" : "ResourceTypeResnameIndexId", - "cols" : [ - [ - "resname", - "name_ops" - ] - ], - "indexid" : "6063", - "unique" : "1", - "with" : { - "indexid" : "6063" - } - } - ], - "relid_comment_tag" : "/* relation id: 6059 - pg_resourcetype 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE pg_resourcetype\n with (camelcase=ResourceType, shared=true, relid=6059, reltype_oid=6445)\n (\n resname name, -- name of resource type \n restypid smallint, -- resource type id \n resrequired boolean, -- if required, user must specify during CREATE\n reshasdefault boolean, -- create a default entry for optional type\n reshasdisable boolean, -- whether the type can be removed or shut off\n resdefaultsetting text,\t-- default resource setting \n resdisabledsetting text\t-- value that turns it off \n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "ResourceType", - "oid" : 1, - "relid" : "6059", - "reltype_oid" : "6445", - "shared" : "1", - "text" : "with (camelcase=ResourceType, shared=true, relid=6059, reltype_oid=6445)" - } - }, - "pg_resqueue" : { - "CamelCaseRelationId" : "ResQueueRelationId", - "colh" : { - "oid" : "Oid", - "rsqcostlimit" : "float4", - "rsqcountlimit" : "float4", - "rsqignorecostlimit" : "float4", - "rsqname" : "NameData", - "rsqovercommit" : "bool" - }, - "cols" : [ - { - "colname" : "rsqname", - "ctype" : "NameData", - "postcomment" : "-- name of resource queue", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "name" - }, - { - "colname" : "rsqcountlimit", - "ctype" : "float4", - "postcomment" : "-- max active count limit", - "sqltype" : "real" - }, - { - "colname" : "rsqcostlimit", - "ctype" : "float4", - "postcomment" : "-- max cost limit", - "sqltype" : "real" - }, - { - "colname" : "rsqovercommit", - "ctype" : "bool", - "postcomment" : "-- allow overcommit on suitable limits", - "sqltype" : "boolean" - }, - { - "colname" : "rsqignorecostlimit", - "ctype" : "float4", - "postcomment" : "-- ignore queries with cost less than", - "sqltype" : "real" - } - ], - "filename" : "pg_resqueue.h", - "indexes" : [ - { - "CamelCaseIndexId" : "ResQueueOidIndexId", - "cols" : [ - [ - "oid", - "oid_ops" - ] - ], - "indexid" : "6027", - "unique" : "1", - "with" : { - "indexid" : "6027" - } - }, - { - "CamelCaseIndexId" : "ResQueueRsqnameIndexId", - "cols" : [ - [ - "rsqname", - "name_ops" - ] - ], - "indexid" : "6028", - "unique" : "1", - "with" : { - "indexid" : "6028" - } - } - ], - "relid_comment_tag" : "/* relation id: 6026 - pg_resqueue 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE pg_resqueue\n with (camelcase=ResQueue, shared=true, relid=6026)\n (\n rsqname name, -- name of resource queue\n rsqcountlimit real, -- max active count limit\n rsqcostlimit real, -- max cost limit\n rsqovercommit boolean, -- allow overcommit on suitable limits\n rsqignorecostlimit real -- ignore queries with cost less than\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "ResQueue", - "oid" : 1, - "relid" : "6026", - "shared" : "1", - "text" : "with (camelcase=ResQueue, shared=true, relid=6026)" - } - }, - "pg_resqueuecapability" : { - "CamelCaseRelationId" : "ResQueueCapabilityRelationId", - "UppercaseReltypeOid" : "PG_RESQUEUECAPABILITY_RELTYPE_OID", - "colh" : { - "oid" : "Oid", - "resqueueid" : "Oid", - "ressetting" : "text", - "restypid" : "int2" - }, - "cols" : [ - { - "colname" : "resqueueid", - "ctype" : "Oid", - "postcomment" : "-- OID of the queue with this capability ", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "restypid", - "ctype" : "int2", - "postcomment" : "-- resource type id (key to pg_resourcetype) ", - "sqltype" : "smallint" - }, - { - "colname" : "ressetting", - "ctype" : "text", - "postcomment" : "-- resource setting (opaque type) ", - "sqltype" : "text" - } - ], - "filename" : "pg_resqueue.h", - "foreign_keys" : [ - [ - [ - "resqueueid" - ], - "pg_resqueue", - [ - "oid" - ] - ], - [ - [ - "restypid" - ], - "pg_resourcetype", - [ - "restypid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "ResQueueCapabilityOidIndexId", - "cols" : [ - [ - "oid", - "oid_ops" - ] - ], - "indexid" : "6064", - "unique" : "1", - "with" : { - "indexid" : "6064" - } - }, - { - "CamelCaseIndexId" : "ResQueueCapabilityResqueueidIndexId", - "cols" : [ - [ - "resqueueid", - "oid_ops" - ] - ], - "indexid" : "6065", - "unique" : "", - "with" : { - "indexid" : "6065" - } - }, - { - "CamelCaseIndexId" : "ResQueueCapabilityRestypidIndexId", - "cols" : [ - [ - "restypid", - "int2_ops" - ] - ], - "indexid" : "6066", - "unique" : "", - "with" : { - "indexid" : "6066" - } - } - ], - "relid_comment_tag" : "/* relation id: 6060 - pg_resqueuecapability 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE pg_resqueuecapability\n with (camelcase=ResQueueCapability, shared=true, relid=6060, reltype_oid=6446)\n (\n resqueueid oid,\t\t-- OID of the queue with this capability \n restypid smallint,\t-- resource type id (key to pg_resourcetype) \n ressetting text\t\t-- resource setting (opaque type) \n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "ResQueueCapability", - "oid" : 1, - "relid" : "6060", - "reltype_oid" : "6446", - "shared" : "1", - "text" : "with (camelcase=ResQueueCapability, shared=true, relid=6060, reltype_oid=6446)" - } - }, - "pg_rewrite" : { - "CamelCaseRelationId" : "RewriteRelationId", - "CamelCaseToastInd" : "PgRewriteToastIndex", - "CamelCaseToastTab" : "PgRewriteToastTable", - "colh" : { - "ev_action" : "text", - "ev_attr" : "int2", - "ev_class" : "Oid", - "ev_qual" : "text", - "ev_type" : "char", - "is_instead" : "bool", - "oid" : "Oid", - "rulename" : "NameData" - }, - "cols" : [ - { - "colname" : "rulename", - "ctype" : "NameData", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "name" - }, - { - "colname" : "ev_class", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "ev_attr", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "ev_type", - "ctype" : "char", - "sqltype" : "quoted_char" - }, - { - "colname" : "is_instead", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "ev_qual", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "ev_action", - "ctype" : "text", - "sqltype" : "text" - } - ], - "filename" : "pg_rewrite.h", - "foreign_keys" : [ - [ - [ - "ev_class" - ], - "pg_attribute", - [ - "attrelid" - ] - ] - ], - "relid_comment_tag" : "/* relation id: 2618 - pg_rewrite 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE pg_rewrite\n with (relid=2618, toast_oid=2838, toast_index=2839)\n (\n rulename name, \n ev_class oid, \n ev_attr smallint, \n ev_type \"char\", \n is_instead boolean, \n ev_qual text, \n ev_action text\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "Rewrite", - "oid" : 1, - "relid" : "2618", - "shared" : 0, - "text" : "with (relid=2618, toast_oid=2838, toast_index=2839)", - "toast_index" : "2839", - "toast_oid" : "2838" - } - }, - "pg_shdepend" : { - "CamelCaseRelationId" : "SharedDependRelationId", - "colh" : { - "classid" : "Oid", - "dbid" : "Oid", - "deptype" : "char", - "objid" : "Oid", - "refclassid" : "Oid", - "refobjid" : "Oid" - }, - "cols" : [ - { - "colname" : "dbid", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "classid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "objid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "refclassid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "refobjid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "deptype", - "ctype" : "char", - "sqltype" : "quoted_char" - } - ], - "filename" : "pg_shdepend.h", - "foreign_keys" : [ - [ - [ - "dbid" - ], - "pg_database", - [ - "oid" - ] - ], - [ - [ - "classid" - ], - "pg_class", - [ - "oid" - ] - ], - [ - [ - "refclassid" - ], - "pg_class", - [ - "oid" - ] - ] - ], - "relid_comment_tag" : "/* relation id: 1214 - pg_shdepend 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE pg_shdepend\n with (camelcase=SharedDepend, shared=true, oid=false, relid=1214, content=SEGMENT_LOCAL)\n (\n dbid oid, \n classid oid, \n objid oid, \n refclassid oid, \n refobjid oid, \n deptype \"char\"\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "SharedDepend", - "content" : "SEGMENT_LOCAL", - "oid" : "", - "relid" : "1214", - "shared" : "1", - "text" : "with (camelcase=SharedDepend, shared=true, oid=false, relid=1214, content=SEGMENT_LOCAL)" - } - }, - "pg_shdescription" : { - "CamelCaseRelationId" : "SharedDescriptionRelationId", - "CamelCaseToastInd" : "PgSharedDescriptionToastIndex", - "CamelCaseToastTab" : "PgSharedDescriptionToastTable", - "colh" : { - "classoid" : "Oid", - "description" : "text", - "objoid" : "Oid" - }, - "cols" : [ - { - "colname" : "objoid", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "classoid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "description", - "ctype" : "text", - "sqltype" : "text" - } - ], - "filename" : "pg_shdescription.h", - "foreign_keys" : [ - [ - [ - "classoid" - ], - "pg_class", - [ - "oid" - ] - ] - ], - "relid_comment_tag" : "/* relation id: 2396 - pg_shdescription 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE pg_shdescription\n with (camelcase=SharedDescription, shared=true, oid=false, relid=2396, toast_oid=2846, toast_index=2847, content=MASTER_ONLY)\n (\n objoid oid, \n classoid oid, \n description text\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "SharedDescription", - "content" : "MASTER_ONLY", - "oid" : "", - "relid" : "2396", - "shared" : "1", - "text" : "with (camelcase=SharedDescription, shared=true, oid=false, relid=2396, toast_oid=2846, toast_index=2847, content=MASTER_ONLY)", - "toast_index" : "2847", - "toast_oid" : "2846" - } - }, - "pg_stat_last_operation" : { - "CamelCaseRelationId" : "StatLastOpRelationId", - "UppercaseReltypeOid" : "PG_STAT_LAST_OPERATION_RELTYPE_OID", - "colh" : { - "classid" : "Oid", - "objid" : "Oid", - "staactionname" : "NameData", - "stasubtype" : "text", - "stasysid" : "Oid", - "statime" : "timestamptz", - "stausename" : "NameData" - }, - "cols" : [ - { - "colname" : "classid", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "objid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "staactionname", - "ctype" : "NameData", - "sqltype" : "name" - }, - { - "colname" : "stasysid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "stausename", - "ctype" : "NameData", - "sqltype" : "name" - }, - { - "colname" : "stasubtype", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "statime", - "ctype" : "timestamptz", - "sqltype" : "timestamp_with_time_zone" - } - ], - "filename" : "pg_statistic.h", - "foreign_keys" : [ - [ - [ - "classid" - ], - "pg_class", - [ - "oid" - ] - ], - [ - [ - "stasysid" - ], - "pg_authid", - [ - "oid" - ] - ] - ], - "relid_comment_tag" : "/* relation id: 6052 - pg_stat_last_operation 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE pg_stat_last_operation\n with (camelcase=StatLastOp, oid=false, relid=6052, reltype_oid=6440, content=MASTER_ONLY)\n (\n classid oid, \n objid oid, \n staactionname name, \n stasysid oid, \n stausename name, \n stasubtype text, \n statime timestamp with time zone\n )", - "tzhack" : "\"statime\"", - "with" : { - "bootstrap" : 0, - "camelcase" : "StatLastOp", - "content" : "MASTER_ONLY", - "oid" : "", - "relid" : "6052", - "reltype_oid" : "6440", - "shared" : 0, - "text" : "with (camelcase=StatLastOp, oid=false, relid=6052, reltype_oid=6440, content=MASTER_ONLY)" - } - }, - "pg_stat_last_shoperation" : { - "CamelCaseRelationId" : "StatLastShOpRelationId", - "UppercaseReltypeOid" : "PG_STAT_LAST_SHOPERATION_RELTYPE_OID", - "colh" : { - "classid" : "Oid", - "objid" : "Oid", - "staactionname" : "NameData", - "stasubtype" : "text", - "stasysid" : "Oid", - "statime" : "timestamptz", - "stausename" : "NameData" - }, - "cols" : [ - { - "colname" : "classid", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "objid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "staactionname", - "ctype" : "NameData", - "sqltype" : "name" - }, - { - "colname" : "stasysid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "stausename", - "ctype" : "NameData", - "sqltype" : "name" - }, - { - "colname" : "stasubtype", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "statime", - "ctype" : "timestamptz", - "sqltype" : "timestamp_with_time_zone" - } - ], - "filename" : "pg_statistic.h", - "foreign_keys" : [ - [ - [ - "classid" - ], - "pg_class", - [ - "oid" - ] - ], - [ - [ - "stasysid" - ], - "pg_authid", - [ - "oid" - ] - ] - ], - "relid_comment_tag" : "/* relation id: 6056 - pg_stat_last_shoperation 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE pg_stat_last_shoperation\n with (camelcase=StatLastShOp, shared=true, oid=false, relid=6056, reltype_oid=6441, content=MASTER_ONLY)\n (\n classid oid, \n objid oid, \n staactionname name, \n stasysid oid, \n stausename name, \n stasubtype text, \n statime timestamp with time zone\n )", - "tzhack" : "\"statime\"", - "with" : { - "bootstrap" : 0, - "camelcase" : "StatLastShOp", - "content" : "MASTER_ONLY", - "oid" : "", - "relid" : "6056", - "reltype_oid" : "6441", - "shared" : "1", - "text" : "with (camelcase=StatLastShOp, shared=true, oid=false, relid=6056, reltype_oid=6441, content=MASTER_ONLY)" - } - }, - "pg_statistic" : { - "CamelCaseRelationId" : "StatisticRelationId", - "CamelCaseToastInd" : "PgStatisticToastIndex", - "CamelCaseToastTab" : "PgStatisticToastTable", - "colh" : { - "staattnum" : "int2", - "stadistinct" : "float4", - "stakind1" : "int2", - "stakind2" : "int2", - "stakind3" : "int2", - "stakind4" : "int2", - "stanullfrac" : "float4", - "stanumbers1" : "float4[1]", - "stanumbers2" : "float4[1]", - "stanumbers3" : "float4[1]", - "stanumbers4" : "float4[1]", - "staop1" : "Oid", - "staop2" : "Oid", - "staop3" : "Oid", - "staop4" : "Oid", - "starelid" : "Oid", - "stavalues1" : "text", - "stavalues2" : "text", - "stavalues3" : "text", - "stavalues4" : "text", - "stawidth" : "int4" - }, - "cols" : [ - { - "colname" : "starelid", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "staattnum", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "stanullfrac", - "ctype" : "float4", - "sqltype" : "real" - }, - { - "colname" : "stawidth", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "stadistinct", - "ctype" : "float4", - "sqltype" : "real" - }, - { - "colname" : "stakind1", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "stakind2", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "stakind3", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "stakind4", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "staop1", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "staop2", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "staop3", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "staop4", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "stanumbers1", - "ctype" : "float4[1]", - "sqltype" : "real[]" - }, - { - "colname" : "stanumbers2", - "ctype" : "float4[1]", - "sqltype" : "real[]" - }, - { - "colname" : "stanumbers3", - "ctype" : "float4[1]", - "sqltype" : "real[]" - }, - { - "colname" : "stanumbers4", - "ctype" : "float4[1]", - "sqltype" : "real[]" - }, - { - "colname" : "stavalues1", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "stavalues2", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "stavalues3", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "stavalues4", - "ctype" : "text", - "sqltype" : "text" - } - ], - "filename" : "pg_statistic.h", - "foreign_keys" : [ - [ - [ - "starelid" - ], - "pg_attribute", - [ - "attrelid" - ] - ], - [ - [ - "staop1" - ], - "pg_operator", - [ - "oid" - ] - ], - [ - [ - "staop2" - ], - "pg_operator", - [ - "oid" - ] - ], - [ - [ - "staop3" - ], - "pg_operator", - [ - "oid" - ] - ], - [ - [ - "staop4" - ], - "pg_operator", - [ - "oid" - ] - ] - ], - "relid_comment_tag" : "/* relation id: 2619 - pg_statistic 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE pg_statistic\n with (camelcase=Statistic, oid=false, relid=2619, toast_oid=2840, toast_index=2841, content=SEGMENT_LOCAL)\n (\n starelid oid, \n staattnum smallint, \n stanullfrac real, \n stawidth integer, \n stadistinct real, \n stakind1 smallint, \n stakind2 smallint, \n stakind3 smallint, \n stakind4 smallint, \n staop1 oid, \n staop2 oid, \n staop3 oid, \n staop4 oid, \n stanumbers1 real[], \n stanumbers2 real[], \n stanumbers3 real[], \n stanumbers4 real[], \n stavalues1 text, \n stavalues2 text, \n stavalues3 text, \n stavalues4 text\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "Statistic", - "content" : "SEGMENT_LOCAL", - "oid" : "", - "relid" : "2619", - "shared" : 0, - "text" : "with (camelcase=Statistic, oid=false, relid=2619, toast_oid=2840, toast_index=2841, content=SEGMENT_LOCAL)", - "toast_index" : "2841", - "toast_oid" : "2840" - } - }, - "pg_tablespace" : { - "CamelCaseRelationId" : "TableSpaceRelationId", - "colh" : { - "oid" : "Oid", - "spcacl" : "aclitem[1]", - "spcfsoid" : "Oid", - "spclocation" : "text", - "spcmirlocations" : "text[1]", - "spcname" : "NameData", - "spcowner" : "Oid", - "spcprilocations" : "text[1]" - }, - "cols" : [ - { - "colname" : "spcname", - "ctype" : "NameData", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "name" - }, - { - "colname" : "spcowner", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "spclocation", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "spcacl", - "ctype" : "aclitem[1]", - "sqltype" : "aclitem[]" - }, - { - "colname" : "spcprilocations", - "ctype" : "text[1]", - "sqltype" : "text[]" - }, - { - "colname" : "spcmirlocations", - "ctype" : "text[1]", - "sqltype" : "text[]" - }, - { - "colname" : "spcfsoid", - "ctype" : "Oid", - "sqltype" : "oid" - } - ], - "filename" : "pg_tablespace.h", - "foreign_keys" : [ - [ - [ - "spcowner" - ], - "pg_authid", - [ - "oid" - ] - ], - [ - [ - "spcfsoid" - ], - "pg_filespace", - [ - "oid" - ] - ] - ], - "relid_comment_tag" : "/* relation id: 1213 - pg_tablespace 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE pg_tablespace\n with (camelcase=TableSpace, shared=true, relid=1213)\n (\n spcname name, \n spcowner oid, \n spclocation text, \n spcacl aclitem[], \n spcprilocations text[], \n spcmirlocations text[], \n spcfsoid oid\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "TableSpace", - "oid" : 1, - "relid" : "1213", - "shared" : "1", - "text" : "with (camelcase=TableSpace, shared=true, relid=1213)" - } - }, - "pg_trigger" : { - "CamelCaseRelationId" : "TriggerRelationId", - "colh" : { - "oid" : "Oid", - "tgargs" : "bytea", - "tgattr" : "int2vector", - "tgconstrname" : "NameData", - "tgconstrrelid" : "Oid", - "tgdeferrable" : "bool", - "tgenabled" : "bool", - "tgfoid" : "Oid", - "tginitdeferred" : "bool", - "tgisconstraint" : "bool", - "tgname" : "NameData", - "tgnargs" : "int2", - "tgrelid" : "Oid", - "tgtype" : "int2" - }, - "cols" : [ - { - "colname" : "tgrelid", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "tgname", - "ctype" : "NameData", - "sqltype" : "name" - }, - { - "colname" : "tgfoid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "tgtype", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "tgenabled", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "tgisconstraint", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "tgconstrname", - "ctype" : "NameData", - "sqltype" : "name" - }, - { - "colname" : "tgconstrrelid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "tgdeferrable", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "tginitdeferred", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "tgnargs", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "tgattr", - "ctype" : "int2vector", - "sqltype" : "int2vector" - }, - { - "colname" : "tgargs", - "ctype" : "bytea", - "sqltype" : "bytea" - } - ], - "filename" : "pg_trigger.h", - "foreign_keys" : [ - [ - [ - "tgrelid" - ], - "pg_class", - [ - "oid" - ] - ], - [ - [ - "tgfoid" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "tgconstrrelid" - ], - "pg_class", - [ - "oid" - ] - ] - ], - "relid_comment_tag" : "/* relation id: 2620 - pg_trigger 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE pg_trigger\n with (relid=2620)\n (\n tgrelid oid, \n tgname name, \n tgfoid oid, \n tgtype smallint, \n tgenabled boolean, \n tgisconstraint boolean, \n tgconstrname name, \n tgconstrrelid oid, \n tgdeferrable boolean, \n tginitdeferred boolean, \n tgnargs smallint, \n tgattr int2vector, \n tgargs bytea\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "Trigger", - "oid" : 1, - "relid" : "2620", - "shared" : 0, - "text" : "with (relid=2620)" - } - }, - "pg_type" : { - "CamelCaseRelationId" : "TypeRelationId", - "colh" : { - "oid" : "Oid", - "typalign" : "char", - "typanalyze" : "regproc", - "typbasetype" : "Oid", - "typbyval" : "bool", - "typdefault" : "text", - "typdefaultbin" : "text", - "typdelim" : "char", - "typelem" : "Oid", - "typinput" : "regproc", - "typisdefined" : "bool", - "typlen" : "int2", - "typname" : "NameData", - "typnamespace" : "Oid", - "typndims" : "int4", - "typnotnull" : "bool", - "typoutput" : "regproc", - "typowner" : "Oid", - "typreceive" : "regproc", - "typrelid" : "Oid", - "typsend" : "regproc", - "typstorage" : "char", - "typtype" : "char", - "typtypmod" : "int4" - }, - "cols" : [ - { - "colname" : "typname", - "ctype" : "NameData", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "name" - }, - { - "colname" : "typnamespace", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "typowner", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "typlen", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "typbyval", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "typtype", - "ctype" : "char", - "sqltype" : "quoted_char" - }, - { - "colname" : "typisdefined", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "typdelim", - "ctype" : "char", - "sqltype" : "quoted_char" - }, - { - "colname" : "typrelid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "typelem", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "typinput", - "ctype" : "regproc", - "sqltype" : "regproc" - }, - { - "colname" : "typoutput", - "ctype" : "regproc", - "sqltype" : "regproc" - }, - { - "colname" : "typreceive", - "ctype" : "regproc", - "sqltype" : "regproc" - }, - { - "colname" : "typsend", - "ctype" : "regproc", - "sqltype" : "regproc" - }, - { - "colname" : "typanalyze", - "ctype" : "regproc", - "sqltype" : "regproc" - }, - { - "colname" : "typalign", - "ctype" : "char", - "sqltype" : "quoted_char" - }, - { - "colname" : "typstorage", - "ctype" : "char", - "sqltype" : "quoted_char" - }, - { - "colname" : "typnotnull", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "typbasetype", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "typtypmod", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "typndims", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "typdefaultbin", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "typdefault", - "ctype" : "text", - "sqltype" : "text" - } - ], - "filename" : "pg_type.h", - "foreign_keys" : [ - [ - [ - "typnamespace" - ], - "pg_namespace", - [ - "oid" - ] - ], - [ - [ - "typowner" - ], - "pg_authid", - [ - "oid" - ] - ], - [ - [ - "typrelid" - ], - "pg_class", - [ - "oid" - ] - ], - [ - [ - "typinput" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "typoutput" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "typreceive" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "typsend" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "typanalyze" - ], - "pg_proc", - [ - "oid" - ] - ] - ], - "relid_comment_tag" : "/* relation id: 1247 - pg_type 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE pg_type\n with (bootstrap=true, relid=1247)\n (\n typname name ,\n typnamespace oid ,\n typowner oid ,\n typlen smallint ,\n typbyval boolean ,\n typtype \"char\" ,\n typisdefined boolean ,\n typdelim \"char\" ,\n typrelid oid ,\n typelem oid ,\n typinput regproc ,\n typoutput regproc ,\n typreceive regproc ,\n typsend regproc ,\n typanalyze regproc ,\n typalign \"char\" ,\n typstorage \"char\" ,\n typnotnull boolean ,\n typbasetype oid ,\n typtypmod integer ,\n typndims integer ,\n typdefaultbin text ,\n typdefault text \n )", - "with" : { - "bootstrap" : "1", - "camelcase" : "Type", - "oid" : 1, - "relid" : "1247", - "shared" : 0, - "text" : "with (bootstrap=true, relid=1247)" - } - }, - "pg_user_mapping" : { - "CamelCaseRelationId" : "UserMappingRelationId", - "UppercaseReltypeOid" : "PG_USER_MAPPING_RELTYPE_OID", - "colh" : { - "oid" : "Oid", - "umoptions" : "text[1]", - "umserver" : "Oid", - "umuser" : "Oid" - }, - "cols" : [ - { - "colname" : "umuser", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "umserver", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "umoptions", - "ctype" : "text[1]", - "sqltype" : "text[]" - } - ], - "filename" : "pg_user_mapping.h", - "relid_comment_tag" : "/* relation id: 2895 - pg_user_mapping 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE pg_user_mapping\n with (camelcase=UserMapping, relid=2895, reltype_oid=6449)\n (\n umuser oid, \n umserver oid, \n umoptions text[]\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "UserMapping", - "oid" : 1, - "relid" : "2895", - "reltype_oid" : "6449", - "shared" : 0, - "text" : "with (camelcase=UserMapping, relid=2895, reltype_oid=6449)" - } - }, - "pg_window" : { - "CamelCaseRelationId" : "WindowRelationId", - "colh" : { - "winallowframe" : "bool", - "wincount" : "bool", - "winfinfunc" : "regproc", - "winfnoid" : "regproc", - "winfunc" : "regproc", - "winkind" : "char", - "winpeercount" : "bool", - "winprefunc" : "regproc", - "winpretype" : "Oid", - "winrequireorder" : "bool" - }, - "cols" : [ - { - "colname" : "winfnoid", - "ctype" : "regproc", - "postcomment" : "-- pg_proc OID of the window function itself", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "regproc" - }, - { - "colname" : "winrequireorder", - "ctype" : "bool", - "postcomment" : "-- does wf require order by?", - "sqltype" : "boolean" - }, - { - "colname" : "winallowframe", - "ctype" : "bool", - "postcomment" : "-- does wf allow framing?", - "sqltype" : "boolean" - }, - { - "colname" : "winpeercount", - "ctype" : "bool", - "postcomment" : "-- does wf definition need peer row count?", - "sqltype" : "boolean" - }, - { - "colname" : "wincount", - "ctype" : "bool", - "postcomment" : "-- does wf definition need partition row count?", - "sqltype" : "boolean" - }, - { - "colname" : "winfunc", - "ctype" : "regproc", - "postcomment" : "-- immediate function (0 if none)", - "sqltype" : "regproc" - }, - { - "colname" : "winprefunc", - "ctype" : "regproc", - "postcomment" : "-- preliminary function (0 if none)", - "sqltype" : "regproc" - }, - { - "colname" : "winpretype", - "ctype" : "Oid", - "postcomment" : "-- type of preliminary function result", - "sqltype" : "oid" - }, - { - "colname" : "winfinfunc", - "ctype" : "regproc", - "postcomment" : "-- final function (0 if none)", - "sqltype" : "regproc" - }, - { - "colname" : "winkind", - "ctype" : "char", - "sqltype" : "quoted_char" - } - ], - "filename" : "pg_window.h", - "foreign_keys" : [ - [ - [ - "winfnoid" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "winfunc" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "winprefunc" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "winfinfunc" - ], - "pg_proc", - [ - "oid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "WindowWinfnoidIndexId", - "cols" : [ - [ - "winfnoid", - "oid_ops" - ] - ], - "indexid" : "5005", - "indexname" : "pg_window_fnoid_index", - "unique" : "1", - "with" : { - "indexid" : "5005", - "indexname" : "pg_window_fnoid_index" - } - } - ], - "relid_comment_tag" : "/* relation id: 5004 - pg_window 20110124 */\n", - "tabdef_text" : "\n CREATE TABLE pg_window\n with (oid=false, relid=5004)\n (\n winfnoid regproc, -- pg_proc OID of the window function itself\n winrequireorder boolean, -- does wf require order by?\n winallowframe boolean, -- does wf allow framing?\n winpeercount boolean, -- does wf definition need peer row count?\n wincount boolean, -- does wf definition need partition row count?\n winfunc regproc, -- immediate function (0 if none)\n winprefunc regproc, -- preliminary function (0 if none)\n winpretype oid, -- type of preliminary function result\n winfinfunc regproc, -- final function (0 if none)\n winkind \"char\" \n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "Window", - "oid" : "", - "relid" : "5004", - "shared" : 0, - "text" : "with (oid=false, relid=5004)" - } - } -} diff --git a/gpMgmt/bin/gppylib/data/4.2.json b/gpMgmt/bin/gppylib/data/4.2.json deleted file mode 100644 index b5880c794855dae74d31c05a293013863f762680..0000000000000000000000000000000000000000 --- a/gpMgmt/bin/gppylib/data/4.2.json +++ /dev/null @@ -1,10572 +0,0 @@ -{ - "__comment" : "Generated by tidycat.pl version 34 on Wed Nov 28 18:26:53 2012 CATALOG_VERSION_NO=201109210", - "__info" : { - "CATALOG_VERSION_NO" : "201109210" - }, - "gp_configuration" : { - "CamelCaseRelationId" : "GpConfigurationRelationId", - "colh" : { - "content" : "int2", - "datadir" : "text", - "dbid" : "int2", - "definedprimary" : "bool", - "hostname" : "NameData", - "isprimary" : "bool", - "port" : "int4", - "valid" : "bool" - }, - "cols" : [ - { - "colname" : "content", - "ctype" : "int2", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "smallint" - }, - { - "colname" : "definedprimary", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "dbid", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "isprimary", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "valid", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "hostname", - "ctype" : "NameData", - "sqltype" : "name" - }, - { - "colname" : "port", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "datadir", - "ctype" : "text", - "sqltype" : "text" - } - ], - "filename" : "gp_configuration.h", - "indexes" : [ - { - "CamelCaseIndexId" : "GpConfigurationContentDefinedprimaryIndexId", - "cols" : [ - [ - "content", - "int2_ops" - ], - [ - "definedprimary", - "bool_ops" - ] - ], - "indexid" : "6101", - "unique" : "1", - "with" : { - "indexid" : "6101" - } - }, - { - "CamelCaseIndexId" : "GpConfigurationDbidIndexId", - "cols" : [ - [ - "dbid", - "int2_ops" - ] - ], - "indexid" : "6102", - "unique" : "1", - "with" : { - "indexid" : "6102" - } - } - ], - "relid_comment_tag" : "/* relation id: 5000 - gp_configuration */\n", - "tabdef_text" : "\n CREATE TABLE gp_configuration\n with (shared=true, oid=false, relid=5000, content=MASTER_ONLY)\n (\n content smallint,\n definedprimary boolean,\n dbid smallint,\n isprimary boolean,\n valid boolean,\n hostname name,\n port integer,\n datadir text\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "GpConfiguration", - "content" : "MASTER_ONLY", - "oid" : "", - "relid" : "5000", - "shared" : "1", - "text" : "with (shared=true, oid=false, relid=5000, content=MASTER_ONLY)" - } - }, - "gp_configuration_history" : { - "CamelCaseRelationId" : "GpConfigHistoryRelationId", - "UppercaseReltypeOid" : "GP_CONFIGURATION_HISTORY_RELTYPE_OID", - "colh" : { - "dbid" : "int2", - "desc" : "text", - "time" : "timestamptz" - }, - "cols" : [ - { - "colname" : "time", - "ctype" : "timestamptz", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "timestamp_with_time_zone" - }, - { - "colname" : "dbid", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "desc", - "ctype" : "text", - "sqltype" : "text" - } - ], - "filename" : "gp_configuration.h", - "relid_comment_tag" : "/* relation id: 5006 - gp_configuration_history */\n", - "tabdef_text" : "\n CREATE TABLE gp_configuration_history\n with (camelcase=GpConfigHistory, shared=true, oid=false, relid=5006, reltype_oid=6434, content=MASTER_ONLY)\n (\n time timestamp with time zone,\n dbid smallint,\n \"desc\" text\n )", - "tzhack" : "\"time\"", - "with" : { - "bootstrap" : 0, - "camelcase" : "GpConfigHistory", - "content" : "MASTER_ONLY", - "oid" : "", - "relid" : "5006", - "reltype_oid" : "6434", - "shared" : "1", - "text" : "with (camelcase=GpConfigHistory, shared=true, oid=false, relid=5006, reltype_oid=6434, content=MASTER_ONLY)" - } - }, - "gp_db_interfaces" : { - "CamelCaseRelationId" : "GpDbInterfacesRelationId", - "UppercaseReltypeOid" : "GP_DB_INTERFACES_RELTYPE_OID", - "colh" : { - "dbid" : "int2", - "interfaceid" : "int2", - "priority" : "int2" - }, - "cols" : [ - { - "colname" : "dbid", - "ctype" : "int2", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "smallint" - }, - { - "colname" : "interfaceid", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "priority", - "ctype" : "int2", - "sqltype" : "smallint" - } - ], - "filename" : "gp_configuration.h", - "indexes" : [ - { - "CamelCaseIndexId" : "GpDbInterfacesDbidIndexId", - "cols" : [ - [ - "dbid", - "int2_ops" - ] - ], - "indexid" : "6108", - "unique" : "", - "with" : { - "indexid" : "6108" - } - } - ], - "relid_comment_tag" : "/* relation id: 5029 - gp_db_interfaces */\n", - "tabdef_text" : "\n CREATE TABLE gp_db_interfaces\n with (camelcase=GpDbInterfaces, shared=true, oid=false, relid=5029, reltype_oid=6436, content=MASTER_ONLY)\n (\n dbid smallint,\n interfaceid smallint,\n priority smallint\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "GpDbInterfaces", - "content" : "MASTER_ONLY", - "oid" : "", - "relid" : "5029", - "reltype_oid" : "6436", - "shared" : "1", - "text" : "with (camelcase=GpDbInterfaces, shared=true, oid=false, relid=5029, reltype_oid=6436, content=MASTER_ONLY)" - } - }, - "gp_distribution_policy" : { - "CamelCaseRelationId" : "GpPolicyRelationId", - "colh" : { - "attrnums" : "int2[1]", - "localoid" : "Oid" - }, - "cols" : [ - { - "colname" : "localoid", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "attrnums", - "ctype" : "int2[1]", - "sqltype" : "smallint[]" - } - ], - "filename" : "gp_policy.h", - "fk_list" : [ - { - "fkcols" : [ - "localoid" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_class", - "type" : "scalar" - } - ], - "foreign_keys" : [ - [ - [ - "localoid" - ], - "pg_class", - [ - "oid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "GpPolicyLocalOidIndexId", - "cols" : [ - [ - "localoid", - "oid_ops" - ] - ], - "indexid" : "6103", - "unique" : "1", - "with" : { - "camelcase" : "GpPolicyLocalOid", - "indexid" : "6103" - } - } - ], - "relid_comment_tag" : "/* relation id: 5002 - gp_distribution_policy */\n", - "tabdef_text" : "\n CREATE TABLE gp_distribution_policy\n with (camelcase=GpPolicy, oid=false, relid=5002, content=MASTER_ONLY)\n (\n localoid oid,\n attrnums smallint[]\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "GpPolicy", - "content" : "MASTER_ONLY", - "oid" : "", - "relid" : "5002", - "shared" : 0, - "text" : "with (camelcase=GpPolicy, oid=false, relid=5002, content=MASTER_ONLY)" - } - }, - "gp_fastsequence" : { - "CamelCaseRelationId" : "FastSequenceRelationId", - "UppercaseReltypeOid" : "GP_FASTSEQUENCE_RELTYPE_OID", - "colh" : { - "last_sequence" : "bigint", - "objid" : "Oid", - "objmod" : "bigint" - }, - "cols" : [ - { - "colname" : "objid", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "objmod", - "ctype" : "bigint", - "sqltype" : "bigint" - }, - { - "colname" : "last_sequence", - "ctype" : "bigint", - "sqltype" : "bigint" - } - ], - "filename" : "gp_fastsequence.h", - "fk_list" : [ - { - "fkcols" : [ - "objid" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_class", - "type" : "scalar" - } - ], - "foreign_keys" : [ - [ - [ - "objid" - ], - "pg_class", - [ - "oid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "FastSequenceObjidObjmodIndexId", - "cols" : [ - [ - "objid", - "oid_ops" - ], - [ - "objmod", - "bigint_ops" - ] - ], - "indexid" : "6067", - "unique" : "1", - "with" : { - "indexid" : "6067" - } - } - ], - "relid_comment_tag" : "/* relation id: 5043 - gp_fastsequence */\n", - "tabdef_text" : "\n CREATE TABLE gp_fastsequence\n with (camelcase=FastSequence, oid=false, relid=5043, reltype_oid=6453, content=SEGMENT_LOCAL)\n (\n objid oid,\n objmod bigint,\n last_sequence bigint\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "FastSequence", - "content" : "SEGMENT_LOCAL", - "oid" : "", - "relid" : "5043", - "reltype_oid" : "6453", - "shared" : 0, - "text" : "with (camelcase=FastSequence, oid=false, relid=5043, reltype_oid=6453, content=SEGMENT_LOCAL)" - } - }, - "gp_fault_strategy" : { - "CamelCaseRelationId" : "GpFaultStrategyRelationId", - "UppercaseReltypeOid" : "GP_FAULT_STRATEGY_RELTYPE_OID", - "colh" : { - "fault_strategy" : "char" - }, - "cols" : [ - { - "colname" : "fault_strategy", - "ctype" : "char", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "quoted_char" - } - ], - "filename" : "gp_san_config.h", - "relid_comment_tag" : "/* relation id: 5039 - gp_fault_strategy */\n", - "tabdef_text" : "\n CREATE TABLE gp_fault_strategy\n with (camelcase=GpFaultStrategy, shared=true, oid=false, relid=5039, reltype_oid=6443, content=MASTER_ONLY)\n (\n fault_strategy \"char\"\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "GpFaultStrategy", - "content" : "MASTER_ONLY", - "oid" : "", - "relid" : "5039", - "reltype_oid" : "6443", - "shared" : "1", - "text" : "with (camelcase=GpFaultStrategy, shared=true, oid=false, relid=5039, reltype_oid=6443, content=MASTER_ONLY)" - } - }, - "gp_global_sequence" : { - "CamelCaseRelationId" : "GpGlobalSequenceRelationId", - "UppercaseReltypeOid" : "GP_GLOBAL_SEQUENCE_RELTYPE_OID", - "colh" : { - "sequence_num" : "bigint" - }, - "cols" : [ - { - "colname" : "sequence_num", - "ctype" : "bigint", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "bigint" - } - ], - "filename" : "gp_global_sequence.h", - "relid_comment_tag" : "/* relation id: 5096 - gp_global_sequence */\n", - "tabdef_text" : "\n CREATE TABLE gp_global_sequence\n with (camelcase=GpGlobalSequence, oid=false, relid=5096, reltype_oid=6995, content=PERSISTENT)\n (\n sequence_num bigint\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "GpGlobalSequence", - "content" : "PERSISTENT", - "oid" : "", - "relid" : "5096", - "reltype_oid" : "6995", - "shared" : 0, - "text" : "with (camelcase=GpGlobalSequence, oid=false, relid=5096, reltype_oid=6995, content=PERSISTENT)" - } - }, - "gp_id" : { - "CamelCaseRelationId" : "GpIdRelationId", - "colh" : { - "content" : "int2", - "dbid" : "int2", - "gpname" : "NameData", - "numsegments" : "int2" - }, - "cols" : [ - { - "colname" : "gpname", - "ctype" : "NameData", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "name" - }, - { - "colname" : "numsegments", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "dbid", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "content", - "ctype" : "int2", - "sqltype" : "smallint" - } - ], - "filename" : "gp_id.h", - "relid_comment_tag" : "/* relation id: 5001 - gp_id */\n", - "tabdef_text" : "\n CREATE TABLE gp_id\n with (shared=true, oid=false, relid=5001, content=SEGMENT_LOCAL)\n (\n gpname name ,\n numsegments smallint ,\n dbid smallint ,\n content smallint \n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "GpId", - "content" : "SEGMENT_LOCAL", - "oid" : "", - "relid" : "5001", - "shared" : "1", - "text" : "with (shared=true, oid=false, relid=5001, content=SEGMENT_LOCAL)" - } - }, - "gp_interfaces" : { - "CamelCaseRelationId" : "GpInterfacesRelationId", - "UppercaseReltypeOid" : "GP_INTERFACES_RELTYPE_OID", - "colh" : { - "address" : "NameData", - "interfaceid" : "int2", - "status" : "int2" - }, - "cols" : [ - { - "colname" : "interfaceid", - "ctype" : "int2", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "smallint" - }, - { - "colname" : "address", - "ctype" : "NameData", - "sqltype" : "name" - }, - { - "colname" : "status", - "ctype" : "int2", - "sqltype" : "smallint" - } - ], - "filename" : "gp_configuration.h", - "indexes" : [ - { - "CamelCaseIndexId" : "GpInterfacesInterfaceidIndexId", - "cols" : [ - [ - "interfaceid", - "int2_ops" - ] - ], - "indexid" : "6109", - "indexname" : "gp_interfaces_interface_index", - "unique" : "1", - "with" : { - "indexid" : "6109", - "indexname" : "gp_interfaces_interface_index" - } - } - ], - "relid_comment_tag" : "/* relation id: 5030 - gp_interfaces */\n", - "tabdef_text" : "\n CREATE TABLE gp_interfaces\n with (shared=true, oid=false, relid=5030, reltype_oid=6433, content=MASTER_ONLY)\n (\n interfaceid smallint,\n address name,\n status smallint \n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "GpInterfaces", - "content" : "MASTER_ONLY", - "oid" : "", - "relid" : "5030", - "reltype_oid" : "6433", - "shared" : "1", - "text" : "with (shared=true, oid=false, relid=5030, reltype_oid=6433, content=MASTER_ONLY)" - } - }, - "gp_master_mirroring" : { - "CamelCaseRelationId" : "GpMasterMirroringRelationId", - "colh" : { - "detail_state" : "text", - "error_message" : "text", - "log_time" : "timestamptz", - "summary_state" : "text" - }, - "cols" : [ - { - "colname" : "summary_state", - "ctype" : "text", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "text" - }, - { - "colname" : "detail_state", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "log_time", - "ctype" : "timestamptz", - "sqltype" : "timestamp_with_time_zone" - }, - { - "colname" : "error_message", - "ctype" : "text", - "sqltype" : "text" - } - ], - "filename" : "gp_master_mirroring.h", - "relid_comment_tag" : "/* relation id: 5008 - gp_master_mirroring */\n", - "tabdef_text" : "\n CREATE TABLE gp_master_mirroring\n with (camelcase=GpMasterMirroring, shared=true, oid=false, relid=5008, content=MASTER_ONLY)\n (\n summary_state text,\n detail_state text,\n log_time timestamp with time zone,\n error_message text\n )", - "tzhack" : "\"log_time\"", - "with" : { - "bootstrap" : 0, - "camelcase" : "GpMasterMirroring", - "content" : "MASTER_ONLY", - "oid" : "", - "relid" : "5008", - "shared" : "1", - "text" : "with (camelcase=GpMasterMirroring, shared=true, oid=false, relid=5008, content=MASTER_ONLY)" - } - }, - "gp_persistent_database_node" : { - "CamelCaseRelationId" : "GpPersistent_database_nodeRelationId", - "UppercaseReltypeOid" : "GP_PERSISTENT_DATABASE_NODE_RELTYPE_OID", - "colh" : { - "create_mirror_data_loss_tracking_session_num" : "bigint", - "database_oid" : "Oid", - "mirror_existence_state" : "int2", - "parent_xid" : "int4", - "persistent_serial_num" : "bigint", - "persistent_state" : "int2", - "previous_free_tid" : "tid", - "reserved" : "int4", - "tablespace_oid" : "Oid" - }, - "cols" : [ - { - "colname" : "tablespace_oid", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "database_oid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "persistent_state", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "create_mirror_data_loss_tracking_session_num", - "ctype" : "bigint", - "sqltype" : "bigint" - }, - { - "colname" : "mirror_existence_state", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "reserved", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "parent_xid", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "persistent_serial_num", - "ctype" : "bigint", - "sqltype" : "bigint" - }, - { - "colname" : "previous_free_tid", - "ctype" : "tid", - "sqltype" : "tid" - } - ], - "filename" : "gp_persistent.h", - "relid_comment_tag" : "/* relation id: 5091 - gp_persistent_database_node */\n", - "tabdef_text" : "\n CREATE TABLE gp_persistent_database_node\n with (shared=true, oid=false, relid=5091, reltype_oid=6991, content=PERSISTENT)\n (\n tablespace_oid oid ,\n database_oid oid ,\n persistent_state smallint ,\n create_mirror_data_loss_tracking_session_num bigint ,\n mirror_existence_state smallint ,\n reserved integer ,\n parent_xid integer ,\n persistent_serial_num bigint ,\n previous_free_tid tid \n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "GpPersistent_database_node", - "content" : "PERSISTENT", - "oid" : "", - "relid" : "5091", - "reltype_oid" : "6991", - "shared" : "1", - "text" : "with (shared=true, oid=false, relid=5091, reltype_oid=6991, content=PERSISTENT)" - } - }, - "gp_persistent_filespace_node" : { - "CamelCaseRelationId" : "GpPersistent_filespace_nodeRelationId", - "UppercaseReltypeOid" : "GP_PERSISTENT_FILESPACE_NODE_RELTYPE_OID", - "colh" : { - "create_mirror_data_loss_tracking_session_num" : "bigint", - "db_id_1" : "int2", - "db_id_2" : "int2", - "filespace_oid" : "Oid", - "location_1" : "text", - "location_2" : "text", - "mirror_existence_state" : "int2", - "parent_xid" : "int4", - "persistent_serial_num" : "bigint", - "persistent_state" : "int2", - "previous_free_tid" : "tid", - "reserved" : "int4" - }, - "cols" : [ - { - "colname" : "filespace_oid", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "db_id_1", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "location_1", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "db_id_2", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "location_2", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "persistent_state", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "create_mirror_data_loss_tracking_session_num", - "ctype" : "bigint", - "sqltype" : "bigint" - }, - { - "colname" : "mirror_existence_state", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "reserved", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "parent_xid", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "persistent_serial_num", - "ctype" : "bigint", - "sqltype" : "bigint" - }, - { - "colname" : "previous_free_tid", - "ctype" : "tid", - "sqltype" : "tid" - } - ], - "filename" : "gp_persistent.h", - "relid_comment_tag" : "/* relation id: 5093 - gp_persistent_filespace_node */\n", - "tabdef_text" : "\n CREATE TABLE gp_persistent_filespace_node\n with (shared=true, oid=false, relid=5093, reltype_oid=6993, content=PERSISTENT)\n (\n filespace_oid oid ,\n db_id_1 smallint ,\n location_1 text ,\n db_id_2 smallint ,\n location_2 text ,\n persistent_state smallint ,\n create_mirror_data_loss_tracking_session_num bigint ,\n mirror_existence_state smallint ,\n reserved integer ,\n parent_xid integer ,\n persistent_serial_num bigint ,\n previous_free_tid tid \n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "GpPersistent_filespace_node", - "content" : "PERSISTENT", - "oid" : "", - "relid" : "5093", - "reltype_oid" : "6993", - "shared" : "1", - "text" : "with (shared=true, oid=false, relid=5093, reltype_oid=6993, content=PERSISTENT)" - } - }, - "gp_persistent_relation_node" : { - "CamelCaseRelationId" : "GpPersistent_relation_nodeRelationId", - "UppercaseReltypeOid" : "GP_PERSISTENT_RELATION_NODE_RELTYPE_OID", - "colh" : { - "create_mirror_data_loss_tracking_session_num" : "bigint", - "database_oid" : "Oid", - "mirror_append_only_loss_eof" : "bigint", - "mirror_append_only_new_eof" : "bigint", - "mirror_bufpool_marked_for_scan_incremental_resync" : "bool", - "mirror_bufpool_resync_changed_page_count" : "bigint", - "mirror_bufpool_resync_ckpt_block_num" : "int4", - "mirror_bufpool_resync_ckpt_loc" : "gpxlogloc", - "mirror_data_synchronization_state" : "int2", - "mirror_existence_state" : "int2", - "parent_xid" : "int4", - "persistent_serial_num" : "bigint", - "persistent_state" : "int2", - "previous_free_tid" : "tid", - "relation_bufpool_kind" : "int4", - "relation_storage_manager" : "int2", - "relfilenode_oid" : "Oid", - "segment_file_num" : "int4", - "tablespace_oid" : "Oid" - }, - "cols" : [ - { - "colname" : "tablespace_oid", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "database_oid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "relfilenode_oid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "segment_file_num", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "relation_storage_manager", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "persistent_state", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "create_mirror_data_loss_tracking_session_num", - "ctype" : "bigint", - "sqltype" : "bigint" - }, - { - "colname" : "mirror_existence_state", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "mirror_data_synchronization_state", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "mirror_bufpool_marked_for_scan_incremental_resync", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "mirror_bufpool_resync_changed_page_count", - "ctype" : "bigint", - "sqltype" : "bigint" - }, - { - "colname" : "mirror_bufpool_resync_ckpt_loc", - "ctype" : "gpxlogloc", - "sqltype" : "gpxlogloc" - }, - { - "colname" : "mirror_bufpool_resync_ckpt_block_num", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "mirror_append_only_loss_eof", - "ctype" : "bigint", - "sqltype" : "bigint" - }, - { - "colname" : "mirror_append_only_new_eof", - "ctype" : "bigint", - "sqltype" : "bigint" - }, - { - "colname" : "relation_bufpool_kind", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "parent_xid", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "persistent_serial_num", - "ctype" : "bigint", - "sqltype" : "bigint" - }, - { - "colname" : "previous_free_tid", - "ctype" : "tid", - "sqltype" : "tid" - } - ], - "filename" : "gp_persistent.h", - "relid_comment_tag" : "/* relation id: 5090 - gp_persistent_relation_node */\n", - "tabdef_text" : "\n CREATE TABLE gp_persistent_relation_node\n with (shared=true, oid=false, relid=5090, reltype_oid=6990, content=PERSISTENT)\n (\n tablespace_oid oid ,\n database_oid oid ,\n relfilenode_oid oid ,\n segment_file_num integer ,\n relation_storage_manager smallint ,\n persistent_state smallint ,\n create_mirror_data_loss_tracking_session_num bigint ,\n mirror_existence_state smallint ,\n mirror_data_synchronization_state smallint ,\n mirror_bufpool_marked_for_scan_incremental_resync boolean ,\n mirror_bufpool_resync_changed_page_count bigint ,\n mirror_bufpool_resync_ckpt_loc gpxlogloc ,\n mirror_bufpool_resync_ckpt_block_num integer ,\n mirror_append_only_loss_eof bigint ,\n mirror_append_only_new_eof bigint ,\n relation_bufpool_kind integer ,\n parent_xid integer ,\n persistent_serial_num bigint ,\n previous_free_tid tid \n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "GpPersistent_relation_node", - "content" : "PERSISTENT", - "oid" : "", - "relid" : "5090", - "reltype_oid" : "6990", - "shared" : "1", - "text" : "with (shared=true, oid=false, relid=5090, reltype_oid=6990, content=PERSISTENT)" - } - }, - "gp_persistent_tablespace_node" : { - "CamelCaseRelationId" : "GpPersistent_tablespace_nodeRelationId", - "UppercaseReltypeOid" : "GP_PERSISTENT_TABLESPACE_NODE_RELTYPE_OID", - "colh" : { - "create_mirror_data_loss_tracking_session_num" : "bigint", - "filespace_oid" : "Oid", - "mirror_existence_state" : "int2", - "parent_xid" : "int4", - "persistent_serial_num" : "bigint", - "persistent_state" : "int2", - "previous_free_tid" : "tid", - "reserved" : "int4", - "tablespace_oid" : "Oid" - }, - "cols" : [ - { - "colname" : "filespace_oid", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "tablespace_oid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "persistent_state", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "create_mirror_data_loss_tracking_session_num", - "ctype" : "bigint", - "sqltype" : "bigint" - }, - { - "colname" : "mirror_existence_state", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "reserved", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "parent_xid", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "persistent_serial_num", - "ctype" : "bigint", - "sqltype" : "bigint" - }, - { - "colname" : "previous_free_tid", - "ctype" : "tid", - "sqltype" : "tid" - } - ], - "filename" : "gp_persistent.h", - "relid_comment_tag" : "/* relation id: 5092 - gp_persistent_tablespace_node */\n", - "tabdef_text" : "\n CREATE TABLE gp_persistent_tablespace_node\n with (shared=true, oid=false, relid=5092, reltype_oid=6992, content=PERSISTENT)\n (\n filespace_oid oid ,\n tablespace_oid oid ,\n persistent_state smallint ,\n create_mirror_data_loss_tracking_session_num bigint ,\n mirror_existence_state smallint ,\n reserved integer ,\n parent_xid integer ,\n persistent_serial_num bigint ,\n previous_free_tid tid \n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "GpPersistent_tablespace_node", - "content" : "PERSISTENT", - "oid" : "", - "relid" : "5092", - "reltype_oid" : "6992", - "shared" : "1", - "text" : "with (shared=true, oid=false, relid=5092, reltype_oid=6992, content=PERSISTENT)" - } - }, - "gp_relation_node" : { - "CamelCaseRelationId" : "GpRelation_nodeRelationId", - "UppercaseReltypeOid" : "GP_RELATION_NODE_RELTYPE_OID", - "colh" : { - "create_mirror_data_loss_tracking_session_num" : "bigint", - "persistent_serial_num" : "bigint", - "persistent_tid" : "tid", - "relfilenode_oid" : "Oid", - "segment_file_num" : "int4" - }, - "cols" : [ - { - "colname" : "relfilenode_oid", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "segment_file_num", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "create_mirror_data_loss_tracking_session_num", - "ctype" : "bigint", - "sqltype" : "bigint" - }, - { - "colname" : "persistent_tid", - "ctype" : "tid", - "sqltype" : "tid" - }, - { - "colname" : "persistent_serial_num", - "ctype" : "bigint", - "sqltype" : "bigint" - } - ], - "filename" : "gp_persistent.h", - "fk_list" : [ - { - "fkcols" : [ - "relfilenode_oid" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_class", - "type" : "scalar" - } - ], - "foreign_keys" : [ - [ - [ - "relfilenode_oid" - ], - "pg_class", - [ - "oid" - ] - ] - ], - "relid_comment_tag" : "/* relation id: 5094 - gp_relation_node */\n", - "tabdef_text" : "\n CREATE TABLE gp_relation_node\n with (shared=false, oid=false, relid=5094, reltype_oid=6994, content=PERSISTENT)\n (\n relfilenode_oid oid ,\n segment_file_num integer ,\n create_mirror_data_loss_tracking_session_num bigint ,\n persistent_tid tid ,\n persistent_serial_num bigint \n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "GpRelation_node", - "content" : "PERSISTENT", - "oid" : "", - "relid" : "5094", - "reltype_oid" : "6994", - "shared" : "", - "text" : "with (shared=false, oid=false, relid=5094, reltype_oid=6994, content=PERSISTENT)" - } - }, - "gp_san_configuration" : { - "CamelCaseRelationId" : "GpSanConfigRelationId", - "UppercaseReltypeOid" : "GP_SAN_CONFIGURATION_RELTYPE_OID", - "colh" : { - "active_host" : "char", - "mirror_device" : "text", - "mirror_host" : "text", - "mirror_mountpoint" : "text", - "mountid" : "int2", - "primary_device" : "text", - "primary_host" : "text", - "primary_mountpoint" : "text", - "san_type" : "char" - }, - "cols" : [ - { - "colname" : "mountid", - "ctype" : "int2", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "smallint" - }, - { - "colname" : "active_host", - "ctype" : "char", - "sqltype" : "quoted_char" - }, - { - "colname" : "san_type", - "ctype" : "char", - "sqltype" : "quoted_char" - }, - { - "colname" : "primary_host", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "primary_mountpoint", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "primary_device", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "mirror_host", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "mirror_mountpoint", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "mirror_device", - "ctype" : "text", - "sqltype" : "text" - } - ], - "filename" : "gp_san_config.h", - "indexes" : [ - { - "CamelCaseIndexId" : "GpSanConfigMountidIndexId", - "cols" : [ - [ - "mountid", - "int2_ops" - ] - ], - "indexid" : "6111", - "indexname" : "gp_san_config_mountid_index", - "unique" : "1", - "with" : { - "indexid" : "6111", - "indexname" : "gp_san_config_mountid_index" - } - } - ], - "relid_comment_tag" : "/* relation id: 5035 - gp_san_configuration */\n", - "tabdef_text" : "\n CREATE TABLE gp_san_configuration\n with (camelcase=GpSanConfig, shared=true, oid=false, relid=5035, reltype_oid=6444, content=MASTER_ONLY)\n (\n mountid smallint ,\n active_host \"char\" ,\n san_type \"char\" ,\n primary_host text ,\n primary_mountpoint text ,\n primary_device text ,\n mirror_host text ,\n mirror_mountpoint text ,\n mirror_device text \n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "GpSanConfig", - "content" : "MASTER_ONLY", - "oid" : "", - "relid" : "5035", - "reltype_oid" : "6444", - "shared" : "1", - "text" : "with (camelcase=GpSanConfig, shared=true, oid=false, relid=5035, reltype_oid=6444, content=MASTER_ONLY)" - } - }, - "gp_segment_configuration" : { - "CamelCaseRelationId" : "GpSegmentConfigRelationId", - "CamelCaseToastInd" : "GpSegmentConfigToastIndex", - "CamelCaseToastTab" : "GpSegmentConfigToastTable", - "UppercaseReltypeOid" : "GP_SEGMENT_CONFIGURATION_RELTYPE_OID", - "UppercaseToastReltypeOid" : "GP_SEGMENT_CONFIGURATION_TOAST_RELTYPE_OID", - "colh" : { - "address" : "text", - "content" : "int2", - "dbid" : "int2", - "hostname" : "text", - "mode" : "char", - "port" : "int4", - "preferred_role" : "char", - "replication_port" : "int4", - "role" : "char", - "san_mounts" : "int2vector", - "status" : "char" - }, - "cols" : [ - { - "colname" : "dbid", - "ctype" : "int2", - "postcomment" : "-- up to 32767 segment databases", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "smallint" - }, - { - "colname" : "content", - "ctype" : "int2", - "postcomment" : "-- up to 32767 contents -- only 16384 usable with mirroring (see dbid)", - "sqltype" : "smallint" - }, - { - "colname" : "role", - "ctype" : "char", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "quoted_char" - }, - { - "colname" : "preferred_role", - "ctype" : "char", - "sqltype" : "quoted_char" - }, - { - "colname" : "mode", - "ctype" : "char", - "sqltype" : "quoted_char" - }, - { - "colname" : "status", - "ctype" : "char", - "sqltype" : "quoted_char" - }, - { - "colname" : "port", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "hostname", - "ctype" : "text", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "text" - }, - { - "colname" : "address", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "replication_port", - "ctype" : "int4", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "integer" - }, - { - "colname" : "san_mounts", - "ctype" : "int2vector", - "postcomment" : "-- one or more mount-points used by this segment.", - "sqltype" : "int2vector" - } - ], - "filename" : "gp_segment_config.h", - "indexes" : [ - { - "CamelCaseIndexId" : "GpSegmentConfigContentPreferred_roleIndexId", - "cols" : [ - [ - "content", - "int2_ops" - ], - [ - "preferred_role", - "char_ops" - ] - ], - "indexid" : "6106", - "indexname" : "gp_segment_config_content_preferred_role_index", - "unique" : "1", - "with" : { - "indexid" : "6106", - "indexname" : "gp_segment_config_content_preferred_role_index" - } - }, - { - "CamelCaseIndexId" : "GpSegmentConfigDbidIndexId", - "cols" : [ - [ - "dbid", - "int2_ops" - ] - ], - "indexid" : "6107", - "indexname" : "gp_segment_config_dbid_index", - "unique" : "1", - "with" : { - "indexid" : "6107", - "indexname" : "gp_segment_config_dbid_index" - } - } - ], - "relid_comment_tag" : "/* relation id: 5036 - gp_segment_configuration */\n", - "tabdef_text" : "\n CREATE TABLE gp_segment_configuration\n with (camelcase=GpSegmentConfig, shared=true, oid=false, relid=5036, reltype_oid=6442, toast_oid=2900, toast_index=2901, toast_reltype=2906, content=MASTER_ONLY)\n (\n dbid smallint , -- up to 32767 segment databases\n content smallint , -- up to 32767 contents -- only 16384 usable with mirroring (see dbid)\n\n role \"char\" ,\n preferred_role \"char\" ,\n mode \"char\" ,\n status \"char\" ,\n port integer ,\n\n hostname text ,\n address text ,\n\n replication_port integer ,\n san_mounts int2vector -- one or more mount-points used by this segment.\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "GpSegmentConfig", - "content" : "MASTER_ONLY", - "oid" : "", - "relid" : "5036", - "reltype_oid" : "6442", - "shared" : "1", - "text" : "with (camelcase=GpSegmentConfig, shared=true, oid=false, relid=5036, reltype_oid=6442, toast_oid=2900, toast_index=2901, toast_reltype=2906, content=MASTER_ONLY)", - "toast_index" : "2901", - "toast_oid" : "2900", - "toast_reltype" : "2906" - } - }, - "gp_verification_history" : { - "CamelCaseRelationId" : "GpVerificationHistoryRelationId", - "UppercaseReltypeOid" : "GP_VERIFICATION_HISTORY_RELTYPE_OID", - "colh" : { - "vercontent" : "int2", - "verdone" : "bool", - "verendtime" : "timestamptz", - "vermismatch" : "bool", - "verstarttime" : "timestamptz", - "verstate" : "int2", - "vertoken" : "NameData", - "vertype" : "int2" - }, - "cols" : [ - { - "colname" : "vertoken", - "ctype" : "NameData", - "postcomment" : "-- token of the verification request, 63 characters or less", - "precomment" : "\n**TK_BLANK_LINE**\n**TK_BLANK_LINE**", - "sqltype" : "name" - }, - { - "colname" : "vertype", - "ctype" : "int2", - "postcomment" : "-- 0=FULL (i.e. all files and directories), 1=FILE, 2=DIRECTORY", - "sqltype" : "smallint" - }, - { - "colname" : "vercontent", - "ctype" : "int2", - "postcomment" : "-- -1= all primary mirror pairs, >=0 specific primary/mirror pair", - "sqltype" : "smallint" - }, - { - "colname" : "verstarttime", - "ctype" : "timestamptz", - "postcomment" : "--time the request is started", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "timestamp_with_time_zone" - }, - { - "colname" : "verstate", - "ctype" : "int2", - "postcomment" : "-- 0=Started, 1=Suspended, 2=Aborted, 3=Failed, 4=Succeeded", - "sqltype" : "smallint" - }, - { - "colname" : "verdone", - "ctype" : "bool", - "postcomment" : "--0 if started or suspeneded, 1 if aborted or failed or successful completion", - "precomment" : "\n ", - "sqltype" : "boolean" - }, - { - "colname" : "verendtime", - "ctype" : "timestamptz", - "postcomment" : "--time the request is completely done processing, only valid id verdone is true, latest end time for this token on any primary/mirror pair", - "sqltype" : "timestamp_with_time_zone" - }, - { - "colname" : "vermismatch", - "ctype" : "bool", - "postcomment" : "--were mismatches found on any primary/mirror pair for this token", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "boolean" - } - ], - "filename" : "gp_verification_history.h", - "indexes" : [ - { - "CamelCaseIndexId" : "GpVerificationHistoryVertokenIndexId", - "cols" : [ - [ - "vertoken", - "name_ops" - ] - ], - "indexid" : "6431", - "unique" : "1", - "with" : { - "indexid" : "6431" - } - } - ], - "relid_comment_tag" : "/* relation id: 6429 - gp_verification_history */\n", - "tabdef_text" : "\n CREATE TABLE gp_verification_history\n with (camelcase=GpVerificationHistory, shared=true, oid=false, relid=6429, reltype_oid=6430, content=MASTER_ONLY)\n (\n\n vertoken name , -- token of the verification request, 63 characters or less\n vertype smallint , -- 0=FULL (i.e. all files and directories), 1=FILE, 2=DIRECTORY\n vercontent smallint , -- -1= all primary mirror pairs, >=0 specific primary/mirror pair\n\n verstarttime timestamp with time zone, --time the request is started\n verstate smallint , -- 0=Started, 1=Suspended, 2=Aborted, 3=Failed, 4=Succeeded\n \n verdone boolean , --0 if started or suspeneded, 1 if aborted or failed or successful completion\n verendtime timestamp with time zone, --time the request is completely done processing, only valid id verdone is true, latest end time for this token on any primary/mirror pair\n\n vermismatch boolean --were mismatches found on any primary/mirror pair for this token\n \n )", - "tzhack" : "\"verstarttime\" et al", - "with" : { - "bootstrap" : 0, - "camelcase" : "GpVerificationHistory", - "content" : "MASTER_ONLY", - "oid" : "", - "relid" : "6429", - "reltype_oid" : "6430", - "shared" : "1", - "text" : "with (camelcase=GpVerificationHistory, shared=true, oid=false, relid=6429, reltype_oid=6430, content=MASTER_ONLY)" - } - }, - "gp_version_at_initdb" : { - "CamelCaseRelationId" : "GpVersion_at_initdbRelationId", - "colh" : { - "productversion" : "text", - "schemaversion" : "int2" - }, - "cols" : [ - { - "colname" : "schemaversion", - "ctype" : "int2", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "smallint" - }, - { - "colname" : "productversion", - "ctype" : "text", - "sqltype" : "text" - } - ], - "filename" : "gp_version.h", - "relid_comment_tag" : "/* relation id: 5003 - gp_version_at_initdb */\n", - "tabdef_text" : "\n CREATE TABLE gp_version_at_initdb\n with (shared=true, oid=false, relid=5003)\n (\n schemaversion smallint ,\n\tproductversion text \n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "GpVersion_at_initdb", - "oid" : "", - "relid" : "5003", - "shared" : "1", - "text" : "with (shared=true, oid=false, relid=5003)" - } - }, - "pg_aggregate" : { - "CamelCaseRelationId" : "AggregateRelationId", - "colh" : { - "aggfinalfn" : "regproc", - "aggfnoid" : "regproc", - "agginitval" : "text", - "agginvprelimfn" : "regproc", - "agginvtransfn" : "regproc", - "aggordered" : "bool", - "aggprelimfn" : "regproc", - "aggsortop" : "Oid", - "aggtransfn" : "regproc", - "aggtranstype" : "Oid" - }, - "cols" : [ - { - "colname" : "aggfnoid", - "ctype" : "regproc", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "regproc" - }, - { - "colname" : "aggtransfn", - "ctype" : "regproc", - "sqltype" : "regproc" - }, - { - "colname" : "agginvtransfn", - "ctype" : "regproc", - "postcomment" : "-- MPP windowing", - "sqltype" : "regproc" - }, - { - "colname" : "aggprelimfn", - "ctype" : "regproc", - "postcomment" : "-- MPP 2-phase agg", - "sqltype" : "regproc" - }, - { - "colname" : "agginvprelimfn", - "ctype" : "regproc", - "postcomment" : "-- MPP windowing", - "sqltype" : "regproc" - }, - { - "colname" : "aggfinalfn", - "ctype" : "regproc", - "sqltype" : "regproc" - }, - { - "colname" : "aggsortop", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "aggtranstype", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "agginitval", - "ctype" : "text", - "postcomment" : "-- VARIABLE LENGTH FIELD", - "sqltype" : "text" - }, - { - "colname" : "aggordered", - "ctype" : "bool", - "postcomment" : "-- MPP ordered aggregates", - "sqltype" : "bool" - } - ], - "filename" : "pg_aggregate.h", - "fk_list" : [ - { - "fkcols" : [ - "aggfnoid" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_proc", - "type" : "scalar" - }, - { - "fkcols" : [ - "aggtransfn" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_proc", - "type" : "scalar" - }, - { - "fkcols" : [ - "agginvtransfn" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_proc", - "type" : "scalar" - }, - { - "fkcols" : [ - "aggprelimfn" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_proc", - "type" : "scalar" - }, - { - "fkcols" : [ - "agginvprelimfn" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_proc", - "type" : "scalar" - }, - { - "fkcols" : [ - "aggfinalfn" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_proc", - "type" : "scalar" - }, - { - "fkcols" : [ - "aggsortop" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_operator", - "type" : "scalar" - }, - { - "fkcols" : [ - "aggtranstype" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_type", - "type" : "scalar" - } - ], - "foreign_keys" : [ - [ - [ - "aggfnoid" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "aggtransfn" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "agginvtransfn" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "aggprelimfn" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "agginvprelimfn" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "aggfinalfn" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "aggsortop" - ], - "pg_operator", - [ - "oid" - ] - ], - [ - [ - "aggtranstype" - ], - "pg_type", - [ - "oid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "AggregateAggfnoidIndexId", - "cols" : [ - [ - "aggfnoid", - "oid_ops" - ] - ], - "indexid" : "2650", - "indexname" : "pg_aggregate_fnoid_index", - "unique" : "1", - "with" : { - "indexid" : "2650", - "indexname" : "pg_aggregate_fnoid_index", - "syscache_nbuckets" : "32", - "syscacheid" : "AGGFNOID" - } - } - ], - "relid_comment_tag" : "/* relation id: 2600 - pg_aggregate */\n", - "tabdef_text" : "\n CREATE TABLE pg_aggregate\n with (oid=false, relid=2600)\n (\n aggfnoid regproc, \n aggtransfn regproc, \n agginvtransfn regproc, -- MPP windowing\n aggprelimfn regproc, -- MPP 2-phase agg\n agginvprelimfn regproc, -- MPP windowing\n aggfinalfn regproc, \n aggsortop oid, \n aggtranstype oid, \n agginitval text, -- VARIABLE LENGTH FIELD\n aggordered bool -- MPP ordered aggregates\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "Aggregate", - "oid" : "", - "relid" : "2600", - "shared" : 0, - "text" : "with (oid=false, relid=2600)" - } - }, - "pg_am" : { - "CamelCaseRelationId" : "AccessMethodRelationId", - "colh" : { - "ambeginscan" : "regproc", - "ambuild" : "regproc", - "ambulkdelete" : "regproc", - "amcanmulticol" : "bool", - "amcanshrink" : "bool", - "amcanunique" : "bool", - "amclusterable" : "bool", - "amcostestimate" : "regproc", - "amendscan" : "regproc", - "amgetmulti" : "regproc", - "amgettuple" : "regproc", - "amindexnulls" : "bool", - "aminsert" : "regproc", - "ammarkpos" : "regproc", - "amname" : "NameData", - "amoptionalkey" : "bool", - "amoptions" : "regproc", - "amorderstrategy" : "int2", - "amrescan" : "regproc", - "amrestrpos" : "regproc", - "amstorage" : "bool", - "amstrategies" : "int2", - "amsupport" : "int2", - "amvacuumcleanup" : "regproc", - "oid" : "Oid" - }, - "cols" : [ - { - "colname" : "amname", - "ctype" : "NameData", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "name" - }, - { - "colname" : "amstrategies", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "amsupport", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "amorderstrategy", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "amcanunique", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "amcanmulticol", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "amoptionalkey", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "amindexnulls", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "amstorage", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "amclusterable", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "amcanshrink", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "aminsert", - "ctype" : "regproc", - "sqltype" : "regproc" - }, - { - "colname" : "ambeginscan", - "ctype" : "regproc", - "sqltype" : "regproc" - }, - { - "colname" : "amgettuple", - "ctype" : "regproc", - "sqltype" : "regproc" - }, - { - "colname" : "amgetmulti", - "ctype" : "regproc", - "sqltype" : "regproc" - }, - { - "colname" : "amrescan", - "ctype" : "regproc", - "sqltype" : "regproc" - }, - { - "colname" : "amendscan", - "ctype" : "regproc", - "sqltype" : "regproc" - }, - { - "colname" : "ammarkpos", - "ctype" : "regproc", - "sqltype" : "regproc" - }, - { - "colname" : "amrestrpos", - "ctype" : "regproc", - "sqltype" : "regproc" - }, - { - "colname" : "ambuild", - "ctype" : "regproc", - "sqltype" : "regproc" - }, - { - "colname" : "ambulkdelete", - "ctype" : "regproc", - "sqltype" : "regproc" - }, - { - "colname" : "amvacuumcleanup", - "ctype" : "regproc", - "sqltype" : "regproc" - }, - { - "colname" : "amcostestimate", - "ctype" : "regproc", - "sqltype" : "regproc" - }, - { - "colname" : "amoptions", - "ctype" : "regproc", - "sqltype" : "regproc" - } - ], - "filename" : "pg_am.h", - "fk_list" : [ - { - "fkcols" : [ - "aminsert" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_proc", - "type" : "scalar" - }, - { - "fkcols" : [ - "ambeginscan" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_proc", - "type" : "scalar" - }, - { - "fkcols" : [ - "amgettuple" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_proc", - "type" : "scalar" - }, - { - "fkcols" : [ - "amgetmulti" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_proc", - "type" : "scalar" - }, - { - "fkcols" : [ - "amrescan" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_proc", - "type" : "scalar" - }, - { - "fkcols" : [ - "amendscan" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_proc", - "type" : "scalar" - }, - { - "fkcols" : [ - "ammarkpos" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_proc", - "type" : "scalar" - }, - { - "fkcols" : [ - "amrestrpos" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_proc", - "type" : "scalar" - }, - { - "fkcols" : [ - "ambuild" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_proc", - "type" : "scalar" - }, - { - "fkcols" : [ - "ambulkdelete" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_proc", - "type" : "scalar" - }, - { - "fkcols" : [ - "amvacuumcleanup" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_proc", - "type" : "scalar" - }, - { - "fkcols" : [ - "amcostestimate" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_proc", - "type" : "scalar" - }, - { - "fkcols" : [ - "amoptions" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_proc", - "type" : "scalar" - } - ], - "foreign_keys" : [ - [ - [ - "aminsert" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "ambeginscan" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "amgettuple" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "amgetmulti" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "amrescan" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "amendscan" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "ammarkpos" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "amrestrpos" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "ambuild" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "ambulkdelete" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "amvacuumcleanup" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "amcostestimate" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "amoptions" - ], - "pg_proc", - [ - "oid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "AmNameIndexId", - "cols" : [ - [ - "amname", - "name_ops" - ] - ], - "indexid" : "2651", - "unique" : "1", - "with" : { - "camelcase" : "AmName", - "indexid" : "2651", - "syscache_nbuckets" : "4", - "syscacheid" : "AMNAME" - } - }, - { - "CamelCaseIndexId" : "AmOidIndexId", - "cols" : [ - [ - "oid", - "oid_ops" - ] - ], - "indexid" : "2652", - "unique" : "1", - "with" : { - "camelcase" : "AmOid", - "indexid" : "2652", - "syscache_nbuckets" : "4", - "syscacheid" : "AMOID" - } - } - ], - "relid_comment_tag" : "/* relation id: 2601 - pg_am */\n", - "tabdef_text" : "\n CREATE TABLE pg_am\n with (camelcase=AccessMethod, relid=2601)\n (\n amname name, \n amstrategies smallint, \n amsupport smallint, \n amorderstrategy smallint, \n amcanunique boolean, \n amcanmulticol boolean, \n amoptionalkey boolean, \n amindexnulls boolean, \n amstorage boolean, \n amclusterable boolean, \n amcanshrink boolean, \n aminsert regproc, \n ambeginscan regproc, \n amgettuple regproc, \n amgetmulti regproc, \n amrescan regproc, \n amendscan regproc, \n ammarkpos regproc, \n amrestrpos regproc, \n ambuild regproc, \n ambulkdelete regproc, \n amvacuumcleanup regproc, \n amcostestimate regproc, \n amoptions regproc\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "AccessMethod", - "oid" : 1, - "relid" : "2601", - "shared" : 0, - "text" : "with (camelcase=AccessMethod, relid=2601)" - } - }, - "pg_amop" : { - "CamelCaseRelationId" : "AccessMethodOperatorRelationId", - "colh" : { - "amopclaid" : "Oid", - "amopopr" : "Oid", - "amopreqcheck" : "bool", - "amopstrategy" : "int2", - "amopsubtype" : "Oid" - }, - "cols" : [ - { - "colname" : "amopclaid", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "amopsubtype", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "amopstrategy", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "amopreqcheck", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "amopopr", - "ctype" : "Oid", - "sqltype" : "oid" - } - ], - "filename" : "pg_amop.h", - "fk_list" : [ - { - "fkcols" : [ - "amopclaid" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_opclass", - "type" : "scalar" - }, - { - "fkcols" : [ - "amopsubtype" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_type", - "type" : "scalar" - }, - { - "fkcols" : [ - "amopopr" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_operator", - "type" : "scalar" - } - ], - "foreign_keys" : [ - [ - [ - "amopclaid" - ], - "pg_opclass", - [ - "oid" - ] - ], - [ - [ - "amopsubtype" - ], - "pg_type", - [ - "oid" - ] - ], - [ - [ - "amopopr" - ], - "pg_operator", - [ - "oid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "AccessMethodStrategyIndexId", - "cols" : [ - [ - "amopclaid", - "oid_ops" - ], - [ - "amopsubtype", - "oid_ops" - ], - [ - "amopstrategy", - "int2_ops" - ] - ], - "indexid" : "2653", - "unique" : "1", - "with" : { - "camelcase" : "AccessMethodStrategy", - "indexid" : "2653", - "syscache_nbuckets" : "64", - "syscacheid" : "AMOPSTRATEGY" - } - }, - { - "CamelCaseIndexId" : "AccessMethodOperatorIndexId", - "cols" : [ - [ - "amopopr", - "oid_ops" - ], - [ - "amopclaid", - "oid_ops" - ] - ], - "indexid" : "2654", - "unique" : "1", - "with" : { - "camelcase" : "AccessMethodOperator", - "indexid" : "2654", - "syscache_nbuckets" : "64", - "syscacheid" : "AMOPOPID" - } - } - ], - "relid_comment_tag" : "/* relation id: 2602 - pg_amop */\n", - "tabdef_text" : "\n CREATE TABLE pg_amop\n with (camelcase=AccessMethodOperator, oid=false, relid=2602)\n (\n amopclaid oid, \n amopsubtype oid, \n amopstrategy smallint, \n amopreqcheck boolean, \n amopopr oid\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "AccessMethodOperator", - "oid" : "", - "relid" : "2602", - "shared" : 0, - "text" : "with (camelcase=AccessMethodOperator, oid=false, relid=2602)" - } - }, - "pg_amproc" : { - "CamelCaseRelationId" : "AccessMethodProcedureRelationId", - "colh" : { - "amopclaid" : "Oid", - "amproc" : "regproc", - "amprocnum" : "int2", - "amprocsubtype" : "Oid" - }, - "cols" : [ - { - "colname" : "amopclaid", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "amprocsubtype", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "amprocnum", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "amproc", - "ctype" : "regproc", - "sqltype" : "regproc" - } - ], - "filename" : "pg_amproc.h", - "fk_list" : [ - { - "fkcols" : [ - "amopclaid" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_opclass", - "type" : "scalar" - }, - { - "fkcols" : [ - "amprocsubtype" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_type", - "type" : "scalar" - }, - { - "fkcols" : [ - "amproc" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_proc", - "type" : "scalar" - } - ], - "foreign_keys" : [ - [ - [ - "amopclaid" - ], - "pg_opclass", - [ - "oid" - ] - ], - [ - [ - "amprocsubtype" - ], - "pg_type", - [ - "oid" - ] - ], - [ - [ - "amproc" - ], - "pg_proc", - [ - "oid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "AccessMethodProcedureIndexId", - "cols" : [ - [ - "amopclaid", - "oid_ops" - ], - [ - "amprocsubtype", - "oid_ops" - ], - [ - "amprocnum", - "int2_ops" - ] - ], - "indexid" : "2655", - "unique" : "1", - "with" : { - "camelcase" : "AccessMethodProcedure", - "indexid" : "2655", - "syscache_nbuckets" : "64", - "syscacheid" : "AMPROCNUM" - } - } - ], - "relid_comment_tag" : "/* relation id: 2603 - pg_amproc */\n", - "tabdef_text" : "\n CREATE TABLE pg_amproc\n with (camelcase=AccessMethodProcedure, oid=false, relid=2603)\n (\n amopclaid oid, \n amprocsubtype oid, \n amprocnum smallint, \n amproc regproc\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "AccessMethodProcedure", - "oid" : "", - "relid" : "2603", - "shared" : 0, - "text" : "with (camelcase=AccessMethodProcedure, oid=false, relid=2603)" - } - }, - "pg_appendonly" : { - "CamelCaseRelationId" : "AppendOnlyRelationId", - "colh" : { - "blkdiridxid" : "Oid", - "blkdirrelid" : "Oid", - "blocksize" : "int4", - "checksum" : "bool", - "columnstore" : "bool", - "compresslevel" : "int2", - "compresstype" : "text", - "majorversion" : "int2", - "minorversion" : "int2", - "relid" : "Oid", - "safefswritesize" : "int4", - "segidxid" : "Oid", - "segrelid" : "Oid", - "version" : "int4" - }, - "cols" : [ - { - "colname" : "relid", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "blocksize", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "safefswritesize", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "compresslevel", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "majorversion", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "minorversion", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "checksum", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "compresstype", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "columnstore", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "segrelid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "segidxid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "blkdirrelid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "blkdiridxid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "version", - "ctype" : "int4", - "sqltype" : "integer" - } - ], - "filename" : "pg_appendonly.h", - "fk_list" : [ - { - "fkcols" : [ - "relid" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_class", - "type" : "scalar" - } - ], - "foreign_keys" : [ - [ - [ - "relid" - ], - "pg_class", - [ - "oid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "AppendOnlyRelidIndexId", - "cols" : [ - [ - "relid", - "oid_ops" - ] - ], - "indexid" : "5007", - "unique" : "1", - "with" : { - "camelcase" : "AppendOnlyRelid", - "indexid" : "5007" - } - } - ], - "relid_comment_tag" : "/* relation id: 6105 - pg_appendonly */\n", - "tabdef_text" : "\n CREATE TABLE pg_appendonly\n with (camelcase=AppendOnly, oid=false, relid=6105)\n (\n relid oid, \n blocksize integer, \n safefswritesize integer, \n compresslevel smallint, \n majorversion smallint, \n minorversion smallint, \n checksum boolean, \n compresstype text, \n columnstore boolean, \n segrelid oid, \n segidxid oid, \n blkdirrelid oid, \n blkdiridxid oid, \n version integer\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "AppendOnly", - "oid" : "", - "relid" : "6105", - "shared" : 0, - "text" : "with (camelcase=AppendOnly, oid=false, relid=6105)" - } - }, - "pg_appendonly_alter_column" : { - "CamelCaseRelationId" : "AppendOnlyAlterColumnRelationId", - "UppercaseReltypeOid" : "PG_APPENDONLY_ALTER_COLUMN_RELTYPE_OID", - "colh" : { - "changenum" : "int4", - "highwaterrownums" : "bytea", - "relid" : "Oid", - "segfilenums" : "int4[1]" - }, - "cols" : [ - { - "colname" : "relid", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "changenum", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "segfilenums", - "ctype" : "int4[1]", - "sqltype" : "integer[]" - }, - { - "colname" : "highwaterrownums", - "ctype" : "bytea", - "sqltype" : "bytea" - } - ], - "filename" : "pg_appendonly_alter_column.h", - "fk_list" : [ - { - "fkcols" : [ - "relid" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_class", - "type" : "scalar" - } - ], - "foreign_keys" : [ - [ - [ - "relid" - ], - "pg_class", - [ - "oid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "AppendOnlyAlterColumnRelidIndexId", - "cols" : [ - [ - "relid", - "oid_ops" - ], - [ - "changenum", - "int4_ops" - ] - ], - "indexid" : "5031", - "unique" : "1", - "with" : { - "camelcase" : "AppendOnlyAlterColumnRelid", - "indexid" : "5031" - } - } - ], - "relid_comment_tag" : "/* relation id: 6110 - pg_appendonly_alter_column */\n", - "tabdef_text" : "\n CREATE TABLE pg_appendonly_alter_column\n with (camelcase=AppendOnlyAlterColumn, oid=false, relid=6110, reltype_oid=6437)\n (\n relid oid, \n changenum integer, \n segfilenums integer[], \n highwaterrownums bytea\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "AppendOnlyAlterColumn", - "oid" : "", - "relid" : "6110", - "reltype_oid" : "6437", - "shared" : 0, - "text" : "with (camelcase=AppendOnlyAlterColumn, oid=false, relid=6110, reltype_oid=6437)" - } - }, - "pg_attrdef" : { - "CamelCaseRelationId" : "AttrDefaultRelationId", - "CamelCaseToastInd" : "PgAttrDefaultToastIndex", - "CamelCaseToastTab" : "PgAttrDefaultToastTable", - "colh" : { - "adbin" : "text", - "adnum" : "int2", - "adrelid" : "Oid", - "adsrc" : "text", - "oid" : "Oid" - }, - "cols" : [ - { - "colname" : "adrelid", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "adnum", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "adbin", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "adsrc", - "ctype" : "text", - "sqltype" : "text" - } - ], - "filename" : "pg_attrdef.h", - "fk_list" : [ - { - "fkcols" : [ - "adrelid" - ], - "pkcols" : [ - "attrelid" - ], - "pktable" : "pg_attribute", - "type" : "scalar" - } - ], - "foreign_keys" : [ - [ - [ - "adrelid" - ], - "pg_attribute", - [ - "attrelid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "AttrDefaultIndexId", - "cols" : [ - [ - "adrelid", - "oid_ops" - ], - [ - "adnum", - "int2_ops" - ] - ], - "indexid" : "2656", - "unique" : "1", - "with" : { - "camelcase" : "AttrDefault", - "indexid" : "2656" - } - }, - { - "CamelCaseIndexId" : "AttrDefaultOidIndexId", - "cols" : [ - [ - "oid", - "oid_ops" - ] - ], - "indexid" : "2657", - "unique" : "1", - "with" : { - "camelcase" : "AttrDefaultOid", - "indexid" : "2657" - } - } - ], - "relid_comment_tag" : "/* relation id: 2604 - pg_attrdef */\n", - "tabdef_text" : "\n CREATE TABLE pg_attrdef\n with (camelcase=AttrDefault, relid=2604, toast_oid=2830, toast_index=2831)\n (\n adrelid oid, \n adnum smallint, \n adbin text, \n adsrc text\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "AttrDefault", - "oid" : 1, - "relid" : "2604", - "shared" : 0, - "text" : "with (camelcase=AttrDefault, relid=2604, toast_oid=2830, toast_index=2831)", - "toast_index" : "2831", - "toast_oid" : "2830" - } - }, - "pg_attribute" : { - "CamelCaseRelationId" : "AttributeRelationId", - "colh" : { - "attalign" : "char", - "attbyval" : "bool", - "attcacheoff" : "int4", - "atthasdef" : "bool", - "attinhcount" : "int4", - "attisdropped" : "bool", - "attislocal" : "bool", - "attlen" : "int2", - "attname" : "NameData", - "attndims" : "int4", - "attnotnull" : "bool", - "attnum" : "int2", - "attrelid" : "Oid", - "attstattarget" : "int4", - "attstorage" : "char", - "atttypid" : "Oid", - "atttypmod" : "int4", - "oid" : "Oid" - }, - "cols" : [ - { - "colname" : "attrelid", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "attname", - "ctype" : "NameData", - "sqltype" : "name" - }, - { - "colname" : "atttypid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "attstattarget", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "attlen", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "attnum", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "attndims", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "attcacheoff", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "atttypmod", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "attbyval", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "attstorage", - "ctype" : "char", - "sqltype" : "quoted_char" - }, - { - "colname" : "attalign", - "ctype" : "char", - "sqltype" : "quoted_char" - }, - { - "colname" : "attnotnull", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "atthasdef", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "attisdropped", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "attislocal", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "attinhcount", - "ctype" : "int4", - "sqltype" : "integer" - } - ], - "filename" : "pg_attribute.h", - "fk_list" : [ - { - "fkcols" : [ - "attrelid" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_class", - "type" : "scalar" - }, - { - "fkcols" : [ - "atttypid" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_type", - "type" : "scalar" - } - ], - "foreign_keys" : [ - [ - [ - "attrelid" - ], - "pg_class", - [ - "oid" - ] - ], - [ - [ - "atttypid" - ], - "pg_type", - [ - "oid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "AttributeRelidNameIndexId", - "cols" : [ - [ - "attrelid", - "oid_ops" - ], - [ - "attname", - "name_ops" - ] - ], - "indexid" : "2658", - "unique" : "1", - "with" : { - "camelcase" : "AttributeRelidName", - "indexid" : "2658", - "syscache_nbuckets" : "2048", - "syscacheid" : "ATTNAME" - } - }, - { - "CamelCaseIndexId" : "AttributeRelidNumIndexId", - "cols" : [ - [ - "attrelid", - "oid_ops" - ], - [ - "attnum", - "int2_ops" - ] - ], - "indexid" : "2659", - "unique" : "1", - "with" : { - "camelcase" : "AttributeRelidNum", - "indexid" : "2659", - "syscache_nbuckets" : "2048", - "syscacheid" : "ATTNUM" - } - } - ], - "relid_comment_tag" : "/* relation id: 1249 - pg_attribute */\n", - "tabdef_text" : "\n CREATE TABLE pg_attribute\n with (camelcase=Attribute, relid=1249)\n (\n attrelid oid, \n attname name, \n atttypid oid, \n attstattarget integer, \n attlen smallint, \n attnum smallint, \n attndims integer, \n attcacheoff integer, \n atttypmod integer, \n attbyval boolean, \n attstorage \"char\", \n attalign \"char\", \n attnotnull boolean, \n atthasdef boolean, \n attisdropped boolean, \n attislocal boolean, \n attinhcount integer\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "Attribute", - "oid" : 1, - "relid" : "1249", - "shared" : 0, - "text" : "with (camelcase=Attribute, relid=1249)" - } - }, - "pg_attribute_encoding" : { - "CamelCaseRelationId" : "AttributeEncodingRelationId", - "CamelCaseToastInd" : "PgAttributeEncodingToastIndex", - "CamelCaseToastTab" : "PgAttributeEncodingToastTable", - "UppercaseReltypeOid" : "PG_ATTRIBUTE_ENCODING_RELTYPE_OID", - "UppercaseToastReltypeOid" : "PG_ATTRIBUTE_ENCODING_TOAST_RELTYPE_OID", - "colh" : { - "attnum" : "int2", - "attoptions" : "text[1]", - "attrelid" : "Oid" - }, - "cols" : [ - { - "colname" : "attrelid", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "attnum", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "attoptions", - "ctype" : "text[1]", - "sqltype" : "text[]" - } - ], - "filename" : "pg_attribute_encoding.h", - "fk_list" : [ - { - "fkcols" : [ - "attrelid" - ], - "pkcols" : [ - "attrelid" - ], - "pktable" : "pg_attribute", - "type" : "scalar" - } - ], - "foreign_keys" : [ - [ - [ - "attrelid" - ], - "pg_attribute", - [ - "attrelid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "AttributeEncodingAttrelidIndexId", - "cols" : [ - [ - "attrelid", - "oid_ops" - ] - ], - "indexid" : "3236", - "unique" : "", - "with" : { - "camelcase" : "AttributeEncodingAttrelid", - "indexid" : "3236" - } - }, - { - "CamelCaseIndexId" : "AttributeEncodingAttrelidAttnumIndexId", - "cols" : [ - [ - "attrelid", - "oid_ops" - ], - [ - "attnum", - "int2_ops" - ] - ], - "indexid" : "3237", - "unique" : "1", - "with" : { - "camelcase" : "AttributeEncodingAttrelidAttnum", - "indexid" : "3237" - } - } - ], - "relid_comment_tag" : "/* relation id: 3231 - pg_attribute_encoding */\n", - "tabdef_text" : "\n CREATE TABLE pg_attribute_encoding\n with (relid=3231, reltype_oid=3232, toast_oid=3233, toast_index=3234, toast_reltype=3235, CamelCase=AttributeEncoding, oid=false)\n (\n attrelid oid, \n attnum\t\tsmallint, \n attoptions text[]\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "AttributeEncoding", - "oid" : "", - "relid" : "3231", - "reltype_oid" : "3232", - "shared" : 0, - "text" : "with (relid=3231, reltype_oid=3232, toast_oid=3233, toast_index=3234, toast_reltype=3235, CamelCase=AttributeEncoding, oid=false)", - "toast_index" : "3234", - "toast_oid" : "3233", - "toast_reltype" : "3235" - } - }, - "pg_auth_members" : { - "CamelCaseRelationId" : "AuthMemRelationId", - "colh" : { - "admin_option" : "bool", - "grantor" : "Oid", - "member" : "Oid", - "roleid" : "Oid" - }, - "cols" : [ - { - "colname" : "roleid", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "member", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "grantor", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "admin_option", - "ctype" : "bool", - "sqltype" : "boolean" - } - ], - "filename" : "pg_auth_members.h", - "fk_list" : [ - { - "fkcols" : [ - "roleid" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_authid", - "type" : "scalar" - }, - { - "fkcols" : [ - "member" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_authid", - "type" : "scalar" - } - ], - "foreign_keys" : [ - [ - [ - "roleid" - ], - "pg_authid", - [ - "oid" - ] - ], - [ - [ - "member" - ], - "pg_authid", - [ - "oid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "AuthMemRoleMemIndexId", - "cols" : [ - [ - "roleid", - "oid_ops" - ], - [ - "member", - "oid_ops" - ] - ], - "indexid" : "2694", - "unique" : "1", - "with" : { - "camelcase" : "AuthMemRoleMem", - "indexid" : "2694", - "syscache_nbuckets" : "128", - "syscacheid" : "AUTHMEMROLEMEM" - } - }, - { - "CamelCaseIndexId" : "AuthMemMemRoleIndexId", - "cols" : [ - [ - "member", - "oid_ops" - ], - [ - "roleid", - "oid_ops" - ] - ], - "indexid" : "2695", - "unique" : "1", - "with" : { - "camelcase" : "AuthMemMemRole", - "indexid" : "2695", - "syscache_nbuckets" : "128", - "syscacheid" : "AUTHMEMMEMROLE" - } - } - ], - "relid_comment_tag" : "/* relation id: 1261 - pg_auth_members */\n", - "tabdef_text" : "\n CREATE TABLE pg_auth_members\n with (camelcase=AuthMem, shared=true, oid=false, relid=1261)\n (\n roleid oid, \n member oid, \n grantor oid, \n admin_option boolean\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "AuthMem", - "oid" : "", - "relid" : "1261", - "shared" : "1", - "text" : "with (camelcase=AuthMem, shared=true, oid=false, relid=1261)" - } - }, - "pg_auth_time_constraint" : { - "CamelCaseRelationId" : "AuthTimeConstraintRelationId", - "UppercaseReltypeOid" : "PG_AUTH_TIME_CONSTRAINT_RELTYPE_OID", - "colh" : { - "authid" : "Oid", - "end_day" : "int2", - "end_time" : "time", - "start_day" : "int2", - "start_time" : "time" - }, - "cols" : [ - { - "colname" : "authid", - "ctype" : "Oid", - "postcomment" : "-- foreign key to pg_authid.oid,", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "start_day", - "ctype" : "int2", - "postcomment" : "-- [0,6] denoting start of interval", - "sqltype" : "smallint" - }, - { - "colname" : "start_time", - "ctype" : "time", - "postcomment" : "-- optional time denoting start of interval", - "sqltype" : "time" - }, - { - "colname" : "end_day", - "ctype" : "int2", - "postcomment" : "-- [0,6] denoting end of interval", - "sqltype" : "smallint" - }, - { - "colname" : "end_time", - "ctype" : "time", - "postcomment" : "-- optional time denoting end of interval", - "sqltype" : "time" - } - ], - "filename" : "pg_auth_time_constraint.h", - "fk_list" : [ - { - "fkcols" : [ - "authid" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_authid", - "type" : "scalar" - } - ], - "foreign_keys" : [ - [ - [ - "authid" - ], - "pg_authid", - [ - "oid" - ] - ] - ], - "relid_comment_tag" : "/* relation id: 2914 - pg_auth_time_constraint */\n", - "tabdef_text" : "\n CREATE TABLE pg_auth_time_constraint\n with (CamelCase=AuthTimeConstraint, shared=true, oid=false, relid=2914, reltype_oid=2915)\n (\n authid oid, -- foreign key to pg_authid.oid,\n start_day smallint, -- [0,6] denoting start of interval\n start_time time, -- optional time denoting start of interval\n end_day smallint, -- [0,6] denoting end of interval\n end_time time -- optional time denoting end of interval\n )", - "tmhack" : "\"start_time\" et al", - "with" : { - "bootstrap" : 0, - "camelcase" : "AuthTimeConstraint", - "oid" : "", - "relid" : "2914", - "reltype_oid" : "2915", - "shared" : "1", - "text" : "with (CamelCase=AuthTimeConstraint, shared=true, oid=false, relid=2914, reltype_oid=2915)" - } - }, - "pg_authid" : { - "CamelCaseRelationId" : "AuthIdRelationId", - "CamelCaseToastInd" : "PgAuthIdToastIndex", - "CamelCaseToastTab" : "PgAuthIdToastTable", - "colh" : { - "oid" : "Oid", - "rolcanlogin" : "bool", - "rolcatupdate" : "bool", - "rolconfig" : "text[1]", - "rolconnlimit" : "int4", - "rolcreatedb" : "bool", - "rolcreaterextgpfd" : "bool", - "rolcreaterexthdfs" : "bool", - "rolcreaterexthttp" : "bool", - "rolcreaterole" : "bool", - "rolcreatewextgpfd" : "bool", - "rolcreatewexthdfs" : "bool", - "rolinherit" : "bool", - "rolname" : "NameData", - "rolpassword" : "text", - "rolresqueue" : "Oid", - "rolsuper" : "bool", - "rolvaliduntil" : "timestamptz" - }, - "cols" : [ - { - "colname" : "rolname", - "ctype" : "NameData", - "postcomment" : "-- name of role ", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "name" - }, - { - "colname" : "rolsuper", - "ctype" : "bool", - "postcomment" : "-- read this field via superuser() only! ", - "sqltype" : "boolean" - }, - { - "colname" : "rolinherit", - "ctype" : "bool", - "postcomment" : "-- inherit privileges from other roles? ", - "sqltype" : "boolean" - }, - { - "colname" : "rolcreaterole", - "ctype" : "bool", - "postcomment" : "-- allowed to create more roles? ", - "sqltype" : "boolean" - }, - { - "colname" : "rolcreatedb", - "ctype" : "bool", - "postcomment" : "-- allowed to create databases? ", - "sqltype" : "boolean" - }, - { - "colname" : "rolcatupdate", - "ctype" : "bool", - "postcomment" : "-- allowed to alter catalogs manually? ", - "sqltype" : "boolean" - }, - { - "colname" : "rolcanlogin", - "ctype" : "bool", - "postcomment" : "-- allowed to log in as session user? ", - "sqltype" : "boolean" - }, - { - "colname" : "rolconnlimit", - "ctype" : "int4", - "postcomment" : "-- max connections allowed (-1=no limit) ", - "sqltype" : "integer" - }, - { - "colname" : "rolpassword", - "ctype" : "text", - "postcomment" : "-- password, if any ", - "precomment" : "\n**TK_BLANK_LINE**\n -- remaining fields may be null. use heap_getattr to read them! ", - "sqltype" : "text" - }, - { - "colname" : "rolvaliduntil", - "ctype" : "timestamptz", - "postcomment" : "-- password expiration time, if any", - "sqltype" : "timestamp_with_time_zone" - }, - { - "colname" : "rolconfig", - "ctype" : "text[1]", - "postcomment" : "-- GUC settings to apply at login ", - "sqltype" : "text[]" - }, - { - "colname" : "rolresqueue", - "ctype" : "Oid", - "postcomment" : "-- ID of resource queue for this role ", - "sqltype" : "oid" - }, - { - "colname" : "rolcreaterextgpfd", - "ctype" : "bool", - "postcomment" : "-- allowed to create readable gpfdist tbl? ", - "precomment" : "\n \n -- GP added fields", - "sqltype" : "boolean" - }, - { - "colname" : "rolcreaterexthttp", - "ctype" : "bool", - "postcomment" : "-- allowed to create readable http tbl? ", - "sqltype" : "boolean" - }, - { - "colname" : "rolcreatewextgpfd", - "ctype" : "bool", - "postcomment" : "-- allowed to create writable gpfdist tbl? ", - "sqltype" : "boolean" - }, - { - "colname" : "rolcreaterexthdfs", - "ctype" : "bool", - "postcomment" : "-- allowed to create readable gphdfs tbl?", - "sqltype" : "boolean" - }, - { - "colname" : "rolcreatewexthdfs", - "ctype" : "bool", - "postcomment" : "-- allowed to create writable gphdfs tbl?", - "sqltype" : "boolean" - } - ], - "filename" : "pg_authid.h", - "fk_list" : [ - { - "fkcols" : [ - "rolresqueue" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_resqueue", - "type" : "scalar" - } - ], - "foreign_keys" : [ - [ - [ - "rolresqueue" - ], - "pg_resqueue", - [ - "oid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "AuthIdRolnameIndexId", - "cols" : [ - [ - "rolname", - "name_ops" - ] - ], - "indexid" : "2676", - "unique" : "1", - "with" : { - "indexid" : "2676", - "syscache_nbuckets" : "128", - "syscacheid" : "AUTHNAME" - } - }, - { - "CamelCaseIndexId" : "AuthIdOidIndexId", - "cols" : [ - [ - "oid", - "oid_ops" - ] - ], - "indexid" : "2677", - "unique" : "1", - "with" : { - "indexid" : "2677", - "syscache_nbuckets" : "128", - "syscacheid" : "AUTHOID" - } - }, - { - "CamelCaseIndexId" : "AuthIdRolResQueueIndexId", - "cols" : [ - [ - "rolresqueue", - "oid_ops" - ] - ], - "indexid" : "6029", - "unique" : "", - "with" : { - "camelcase" : "AuthIdRolResQueue", - "indexid" : "6029" - } - } - ], - "relid_comment_tag" : "/* relation id: 1260 - pg_authid */\n", - "tabdef_text" : "\n CREATE TABLE pg_authid\n with (CamelCase=AuthId, shared=true, relid=1260, toast_oid=2842, toast_index=2843)\n (\n rolname name, -- name of role \n rolsuper boolean, -- read this field via superuser() only! \n rolinherit boolean, -- inherit privileges from other roles? \n rolcreaterole boolean, -- allowed to create more roles? \n rolcreatedb boolean, -- allowed to create databases? \n rolcatupdate boolean, -- allowed to alter catalogs manually? \n rolcanlogin boolean, -- allowed to log in as session user? \n rolconnlimit integer, -- max connections allowed (-1=no limit) \n\n -- remaining fields may be null. use heap_getattr to read them! \n rolpassword text, -- password, if any \n rolvaliduntil timestamp with time zone, -- password expiration time, if any\n rolconfig text[], -- GUC settings to apply at login \n rolresqueue oid, -- ID of resource queue for this role \n \n -- GP added fields\n rolcreaterextgpfd boolean, -- allowed to create readable gpfdist tbl? \n rolcreaterexthttp boolean, -- allowed to create readable http tbl? \n rolcreatewextgpfd boolean, -- allowed to create writable gpfdist tbl? \n rolcreaterexthdfs boolean, -- allowed to create readable gphdfs tbl?\n rolcreatewexthdfs boolean -- allowed to create writable gphdfs tbl?\n )", - "tzhack" : "\"rolvaliduntil\"", - "with" : { - "bootstrap" : 0, - "camelcase" : "AuthId", - "oid" : 1, - "relid" : "1260", - "shared" : "1", - "text" : "with (CamelCase=AuthId, shared=true, relid=1260, toast_oid=2842, toast_index=2843)", - "toast_index" : "2843", - "toast_oid" : "2842" - } - }, - "pg_autovacuum" : { - "CamelCaseRelationId" : "AutovacuumRelationId", - "colh" : { - "anl_base_thresh" : "int4", - "anl_scale_factor" : "float4", - "enabled" : "bool", - "freeze_max_age" : "int4", - "freeze_min_age" : "int4", - "vac_base_thresh" : "int4", - "vac_cost_delay" : "int4", - "vac_cost_limit" : "int4", - "vac_scale_factor" : "float4", - "vacrelid" : "Oid" - }, - "cols" : [ - { - "colname" : "vacrelid", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "enabled", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "vac_base_thresh", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "vac_scale_factor", - "ctype" : "float4", - "sqltype" : "real" - }, - { - "colname" : "anl_base_thresh", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "anl_scale_factor", - "ctype" : "float4", - "sqltype" : "real" - }, - { - "colname" : "vac_cost_delay", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "vac_cost_limit", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "freeze_min_age", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "freeze_max_age", - "ctype" : "int4", - "sqltype" : "integer" - } - ], - "filename" : "pg_autovacuum.h", - "indexes" : [ - { - "CamelCaseIndexId" : "AutovacuumRelidIndexId", - "cols" : [ - [ - "vacrelid", - "oid_ops" - ] - ], - "indexid" : "1250", - "unique" : "1", - "with" : { - "camelcase" : "AutovacuumRelid", - "indexid" : "1250" - } - } - ], - "relid_comment_tag" : "/* relation id: 1248 - pg_autovacuum */\n", - "tabdef_text" : "\n CREATE TABLE pg_autovacuum\n with (oid=false, relid=1248)\n (\n vacrelid oid, \n enabled boolean, \n vac_base_thresh integer, \n vac_scale_factor real, \n anl_base_thresh integer, \n anl_scale_factor real, \n vac_cost_delay integer, \n vac_cost_limit integer, \n freeze_min_age integer, \n freeze_max_age integer\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "Autovacuum", - "oid" : "", - "relid" : "1248", - "shared" : 0, - "text" : "with (oid=false, relid=1248)" - } - }, - "pg_cast" : { - "CamelCaseRelationId" : "CastRelationId", - "colh" : { - "castcontext" : "char", - "castfunc" : "Oid", - "castsource" : "Oid", - "casttarget" : "Oid", - "oid" : "Oid" - }, - "cols" : [ - { - "colname" : "castsource", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "casttarget", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "castfunc", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "castcontext", - "ctype" : "char", - "sqltype" : "quoted_char" - } - ], - "filename" : "pg_cast.h", - "fk_list" : [ - { - "fkcols" : [ - "castsource" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_type", - "type" : "scalar" - }, - { - "fkcols" : [ - "casttarget" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_type", - "type" : "scalar" - }, - { - "fkcols" : [ - "castfunc" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_proc", - "type" : "scalar" - } - ], - "foreign_keys" : [ - [ - [ - "castsource" - ], - "pg_type", - [ - "oid" - ] - ], - [ - [ - "casttarget" - ], - "pg_type", - [ - "oid" - ] - ], - [ - [ - "castfunc" - ], - "pg_proc", - [ - "oid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "CastOidIndexId", - "cols" : [ - [ - "oid", - "oid_ops" - ] - ], - "indexid" : "2660", - "unique" : "1", - "with" : { - "camelcase" : "CastOid", - "indexid" : "2660" - } - }, - { - "CamelCaseIndexId" : "CastSourceTargetIndexId", - "cols" : [ - [ - "castsource", - "oid_ops" - ], - [ - "casttarget", - "oid_ops" - ] - ], - "indexid" : "2661", - "unique" : "1", - "with" : { - "camelcase" : "CastSourceTarget", - "indexid" : "2661", - "syscache_nbuckets" : "256", - "syscacheid" : "CASTSOURCETARGET" - } - } - ], - "relid_comment_tag" : "/* relation id: 2605 - pg_cast */\n", - "tabdef_text" : "\n CREATE TABLE pg_cast\n with (relid=2605)\n (\n castsource oid, \n casttarget oid, \n castfunc oid, \n castcontext \"char\"\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "Cast", - "oid" : 1, - "relid" : "2605", - "shared" : 0, - "text" : "with (relid=2605)" - } - }, - "pg_class" : { - "CamelCaseRelationId" : "RelationRelationId", - "colh" : { - "oid" : "Oid", - "relacl" : "aclitem[1]", - "relam" : "Oid", - "relaosegidxid" : "Oid", - "relaosegrelid" : "Oid", - "relchecks" : "int2", - "relfilenode" : "Oid", - "relfkeys" : "int2", - "relfrozenxid" : "xid", - "relhasindex" : "bool", - "relhasoids" : "bool", - "relhaspkey" : "bool", - "relhasrules" : "bool", - "relhassubclass" : "bool", - "relisshared" : "bool", - "relkind" : "char", - "relname" : "NameData", - "relnamespace" : "Oid", - "relnatts" : "int2", - "reloptions" : "text[1]", - "relowner" : "Oid", - "relpages" : "int4", - "relrefs" : "int2", - "relstorage" : "char", - "reltablespace" : "Oid", - "reltoastidxid" : "Oid", - "reltoastrelid" : "Oid", - "reltriggers" : "int2", - "reltuples" : "float4", - "reltype" : "Oid", - "relukeys" : "int2" - }, - "cols" : [ - { - "colname" : "relname", - "ctype" : "NameData", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "name" - }, - { - "colname" : "relnamespace", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "reltype", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "relowner", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "relam", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "relfilenode", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "reltablespace", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "relpages", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "reltuples", - "ctype" : "float4", - "sqltype" : "real" - }, - { - "colname" : "reltoastrelid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "reltoastidxid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "relaosegrelid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "relaosegidxid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "relhasindex", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "relisshared", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "relkind", - "ctype" : "char", - "sqltype" : "quoted_char" - }, - { - "colname" : "relstorage", - "ctype" : "char", - "sqltype" : "quoted_char" - }, - { - "colname" : "relnatts", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "relchecks", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "reltriggers", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "relukeys", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "relfkeys", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "relrefs", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "relhasoids", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "relhaspkey", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "relhasrules", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "relhassubclass", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "relfrozenxid", - "ctype" : "xid", - "sqltype" : "xid" - }, - { - "colname" : "relacl", - "ctype" : "aclitem[1]", - "sqltype" : "aclitem[]" - }, - { - "colname" : "reloptions", - "ctype" : "text[1]", - "sqltype" : "text[]" - } - ], - "filename" : "pg_class.h", - "fk_list" : [ - { - "fkcols" : [ - "relnamespace" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_namespace", - "type" : "scalar" - }, - { - "fkcols" : [ - "reltype" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_type", - "type" : "scalar" - }, - { - "fkcols" : [ - "relowner" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_authid", - "type" : "scalar" - }, - { - "fkcols" : [ - "relam" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_am", - "type" : "scalar" - }, - { - "fkcols" : [ - "reltablespace" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_tablespace", - "type" : "scalar" - }, - { - "fkcols" : [ - "reltoastrelid" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_class", - "type" : "scalar" - }, - { - "fkcols" : [ - "reltoastidxid" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_class", - "type" : "scalar" - } - ], - "foreign_keys" : [ - [ - [ - "relnamespace" - ], - "pg_namespace", - [ - "oid" - ] - ], - [ - [ - "reltype" - ], - "pg_type", - [ - "oid" - ] - ], - [ - [ - "relowner" - ], - "pg_authid", - [ - "oid" - ] - ], - [ - [ - "relam" - ], - "pg_am", - [ - "oid" - ] - ], - [ - [ - "reltablespace" - ], - "pg_tablespace", - [ - "oid" - ] - ], - [ - [ - "reltoastrelid" - ], - "pg_class", - [ - "oid" - ] - ], - [ - [ - "reltoastidxid" - ], - "pg_class", - [ - "oid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "ClassOidIndexId", - "cols" : [ - [ - "oid", - "oid_ops" - ] - ], - "indexid" : "2662", - "unique" : "1", - "with" : { - "camelcase" : "ClassOid", - "indexid" : "2662", - "syscache_nbuckets" : "1024", - "syscacheid" : "RELOID" - } - }, - { - "CamelCaseIndexId" : "ClassNameNspIndexId", - "cols" : [ - [ - "relname", - "name_ops" - ], - [ - "relnamespace", - "oid_ops" - ] - ], - "indexid" : "2663", - "unique" : "1", - "with" : { - "camelcase" : "ClassNameNsp", - "indexid" : "2663", - "syscache_nbuckets" : "1024", - "syscacheid" : "RELNAMENSP" - } - } - ], - "relid_comment_tag" : "/* relation id: 1259 - pg_class */\n", - "tabdef_text" : "\n CREATE TABLE pg_class\n with (camelcase=Relation, bootstrap=true, relid=1259)\n (\n relname name ,\n relnamespace oid ,\n reltype oid ,\n relowner oid ,\n relam oid ,\n relfilenode oid ,\n reltablespace oid ,\n relpages integer ,\n reltuples real ,\n reltoastrelid oid ,\n reltoastidxid oid ,\n relaosegrelid oid ,\n relaosegidxid oid ,\n relhasindex boolean ,\n relisshared boolean ,\n relkind \"char\" ,\n relstorage \"char\" ,\n relnatts smallint ,\n relchecks smallint ,\n reltriggers smallint ,\n relukeys smallint ,\n relfkeys smallint ,\n relrefs smallint ,\n relhasoids boolean ,\n relhaspkey boolean ,\n relhasrules boolean ,\n relhassubclass boolean ,\n relfrozenxid xid ,\n relacl aclitem[] ,\n reloptions text[] \n )", - "with" : { - "bootstrap" : "1", - "camelcase" : "Relation", - "oid" : 1, - "relid" : "1259", - "shared" : 0, - "text" : "with (camelcase=Relation, bootstrap=true, relid=1259)" - } - }, - "pg_compression" : { - "CamelCaseRelationId" : "CompressionRelationId", - "UppercaseReltypeOid" : "PG_COMPRESSION_RELTYPE_OID", - "colh" : { - "compcompressor" : "regproc", - "compconstructor" : "regproc", - "compdecompressor" : "regproc", - "compdestructor" : "regproc", - "compname" : "NameData", - "compowner" : "Oid", - "compvalidator" : "regproc", - "oid" : "Oid" - }, - "cols" : [ - { - "colname" : "compname", - "ctype" : "NameData", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "name" - }, - { - "colname" : "compconstructor", - "ctype" : "regproc", - "sqltype" : "regproc" - }, - { - "colname" : "compdestructor", - "ctype" : "regproc", - "sqltype" : "regproc" - }, - { - "colname" : "compcompressor", - "ctype" : "regproc", - "sqltype" : "regproc" - }, - { - "colname" : "compdecompressor", - "ctype" : "regproc", - "sqltype" : "regproc" - }, - { - "colname" : "compvalidator", - "ctype" : "regproc", - "sqltype" : "regproc" - }, - { - "colname" : "compowner", - "ctype" : "Oid", - "sqltype" : "oid" - } - ], - "filename" : "pg_compression.h", - "fk_list" : [ - { - "fkcols" : [ - "compconstructor" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_proc", - "type" : "scalar" - }, - { - "fkcols" : [ - "compdestructor" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_proc", - "type" : "scalar" - }, - { - "fkcols" : [ - "compcompressor" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_proc", - "type" : "scalar" - }, - { - "fkcols" : [ - "compdecompressor" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_proc", - "type" : "scalar" - }, - { - "fkcols" : [ - "compvalidator" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_proc", - "type" : "scalar" - }, - { - "fkcols" : [ - "compowner" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_authid", - "type" : "scalar" - } - ], - "foreign_keys" : [ - [ - [ - "compconstructor" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "compdestructor" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "compcompressor" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "compdecompressor" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "compvalidator" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "compowner" - ], - "pg_authid", - [ - "oid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "CompressionOidIndexId", - "cols" : [ - [ - "oid", - "oid_ops" - ] - ], - "indexid" : "3058", - "unique" : "1", - "with" : { - "camelcase" : "CompressionOid", - "indexid" : "3058" - } - }, - { - "CamelCaseIndexId" : "CompressionCompnameIndexId", - "cols" : [ - [ - "compname", - "name_ops" - ] - ], - "indexid" : "3059", - "unique" : "1", - "with" : { - "camelcase" : "CompressionCompname", - "indexid" : "3059" - } - } - ], - "relid_comment_tag" : "/* relation id: 3056 - pg_compression */\n", - "tabdef_text" : "\n CREATE TABLE pg_compression\n with (relid=3056, reltype_oid=3057, CamelCase=Compression)\n (\n compname\t\t\t\tname, \n compconstructor\t\tregproc,\n compdestructor\t\tregproc,\n compcompressor\t\tregproc,\n compdecompressor\t\tregproc,\n compvalidator\t\tregproc,\n compowner\t\t\toid\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "Compression", - "oid" : 1, - "relid" : "3056", - "reltype_oid" : "3057", - "shared" : 0, - "text" : "with (relid=3056, reltype_oid=3057, CamelCase=Compression)" - } - }, - "pg_constraint" : { - "CamelCaseRelationId" : "ConstraintRelationId", - "CamelCaseToastInd" : "PgConstraintToastIndex", - "CamelCaseToastTab" : "PgConstraintToastTable", - "colh" : { - "conbin" : "text", - "condeferrable" : "bool", - "condeferred" : "bool", - "confdeltype" : "char", - "confkey" : "int2[1]", - "confmatchtype" : "char", - "confrelid" : "Oid", - "confupdtype" : "char", - "conkey" : "int2[1]", - "conname" : "NameData", - "connamespace" : "Oid", - "conrelid" : "Oid", - "consrc" : "text", - "contype" : "char", - "contypid" : "Oid", - "oid" : "Oid" - }, - "cols" : [ - { - "colname" : "conname", - "ctype" : "NameData", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "name" - }, - { - "colname" : "connamespace", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "contype", - "ctype" : "char", - "sqltype" : "quoted_char" - }, - { - "colname" : "condeferrable", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "condeferred", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "conrelid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "contypid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "confrelid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "confupdtype", - "ctype" : "char", - "sqltype" : "quoted_char" - }, - { - "colname" : "confdeltype", - "ctype" : "char", - "sqltype" : "quoted_char" - }, - { - "colname" : "confmatchtype", - "ctype" : "char", - "sqltype" : "quoted_char" - }, - { - "colname" : "conkey", - "ctype" : "int2[1]", - "sqltype" : "smallint[]" - }, - { - "colname" : "confkey", - "ctype" : "int2[1]", - "sqltype" : "smallint[]" - }, - { - "colname" : "conbin", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "consrc", - "ctype" : "text", - "sqltype" : "text" - } - ], - "filename" : "pg_constraint.h", - "fk_list" : [ - { - "fkcols" : [ - "connamespace" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_namespace", - "type" : "scalar" - }, - { - "fkcols" : [ - "conrelid" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_class", - "type" : "scalar" - }, - { - "fkcols" : [ - "contypid" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_type", - "type" : "scalar" - }, - { - "fkcols" : [ - "confrelid" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_class", - "type" : "scalar" - } - ], - "foreign_keys" : [ - [ - [ - "connamespace" - ], - "pg_namespace", - [ - "oid" - ] - ], - [ - [ - "conrelid" - ], - "pg_class", - [ - "oid" - ] - ], - [ - [ - "contypid" - ], - "pg_type", - [ - "oid" - ] - ], - [ - [ - "confrelid" - ], - "pg_class", - [ - "oid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "ConstraintOidIndexId", - "cols" : [ - [ - "oid", - "oid_ops" - ] - ], - "indexid" : "2667", - "unique" : "1", - "with" : { - "camelcase" : "ConstraintOid", - "indexid" : "2667" - } - }, - { - "CamelCaseIndexId" : "ConstraintNameNspIndexId", - "cols" : [ - [ - "conname", - "name_ops" - ], - [ - "connamespace", - "oid_ops" - ] - ], - "indexid" : "2664", - "unique" : "", - "with" : { - "camelcase" : "ConstraintNameNsp", - "indexid" : "2664" - } - }, - { - "CamelCaseIndexId" : "ConstraintRelidIndexId", - "cols" : [ - [ - "conrelid", - "oid_ops" - ] - ], - "indexid" : "2665", - "unique" : "", - "with" : { - "camelcase" : "ConstraintRelid", - "indexid" : "2665" - } - }, - { - "CamelCaseIndexId" : "ConstraintTypidIndexId", - "cols" : [ - [ - "contypid", - "oid_ops" - ] - ], - "indexid" : "2666", - "unique" : "", - "with" : { - "camelcase" : "ConstraintTypid", - "indexid" : "2666" - } - } - ], - "relid_comment_tag" : "/* relation id: 2606 - pg_constraint */\n", - "tabdef_text" : "\n CREATE TABLE pg_constraint\n with (relid=2606, toast_oid=2832, toast_index=2833)\n (\n conname name, \n connamespace oid, \n contype \"char\", \n condeferrable boolean, \n condeferred boolean, \n conrelid oid, \n contypid oid, \n confrelid oid, \n confupdtype \"char\", \n confdeltype \"char\", \n confmatchtype \"char\", \n conkey smallint[], \n confkey smallint[], \n conbin text, \n consrc text\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "Constraint", - "oid" : 1, - "relid" : "2606", - "shared" : 0, - "text" : "with (relid=2606, toast_oid=2832, toast_index=2833)", - "toast_index" : "2833", - "toast_oid" : "2832" - } - }, - "pg_conversion" : { - "CamelCaseRelationId" : "ConversionRelationId", - "colh" : { - "condefault" : "bool", - "conforencoding" : "int4", - "conname" : "NameData", - "connamespace" : "Oid", - "conowner" : "Oid", - "conproc" : "regproc", - "contoencoding" : "int4", - "oid" : "Oid" - }, - "cols" : [ - { - "colname" : "conname", - "ctype" : "NameData", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "name" - }, - { - "colname" : "connamespace", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "conowner", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "conforencoding", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "contoencoding", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "conproc", - "ctype" : "regproc", - "sqltype" : "regproc" - }, - { - "colname" : "condefault", - "ctype" : "bool", - "sqltype" : "boolean" - } - ], - "filename" : "pg_conversion.h", - "fk_list" : [ - { - "fkcols" : [ - "connamespace" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_namespace", - "type" : "scalar" - }, - { - "fkcols" : [ - "conowner" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_authid", - "type" : "scalar" - }, - { - "fkcols" : [ - "conproc" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_proc", - "type" : "scalar" - } - ], - "foreign_keys" : [ - [ - [ - "connamespace" - ], - "pg_namespace", - [ - "oid" - ] - ], - [ - [ - "conowner" - ], - "pg_authid", - [ - "oid" - ] - ], - [ - [ - "conproc" - ], - "pg_proc", - [ - "oid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "ConversionDefaultIndexId", - "cols" : [ - [ - "connamespace", - "oid_ops" - ], - [ - "conforencoding", - "int4_ops" - ], - [ - "contoencoding", - "int4_ops" - ], - [ - "oid", - "oid_ops" - ] - ], - "indexid" : "2668", - "unique" : "1", - "with" : { - "camelcase" : "ConversionDefault", - "indexid" : "2668", - "syscache_nbuckets" : "128", - "syscacheid" : "CONDEFAULT" - } - }, - { - "CamelCaseIndexId" : "ConversionNameNspIndexId", - "cols" : [ - [ - "conname", - "name_ops" - ], - [ - "connamespace", - "oid_ops" - ] - ], - "indexid" : "2669", - "unique" : "1", - "with" : { - "camelcase" : "ConversionNameNsp", - "indexid" : "2669", - "syscache_nbuckets" : "128", - "syscacheid" : "CONNAMENSP" - } - }, - { - "CamelCaseIndexId" : "ConversionOidIndexId", - "cols" : [ - [ - "oid", - "oid_ops" - ] - ], - "indexid" : "2670", - "unique" : "1", - "with" : { - "camelcase" : "ConversionOid", - "indexid" : "2670", - "syscache_nbuckets" : "128", - "syscacheid" : "CONOID" - } - } - ], - "relid_comment_tag" : "/* relation id: 2607 - pg_conversion */\n", - "tabdef_text" : "\n CREATE TABLE pg_conversion\n with (relid=2607)\n (\n conname name, \n connamespace oid, \n conowner oid, \n conforencoding integer, \n contoencoding integer, \n conproc regproc, \n condefault boolean\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "Conversion", - "oid" : 1, - "relid" : "2607", - "shared" : 0, - "text" : "with (relid=2607)" - } - }, - "pg_database" : { - "CamelCaseRelationId" : "DatabaseRelationId", - "CamelCaseToastInd" : "PgDatabaseToastIndex", - "CamelCaseToastTab" : "PgDatabaseToastTable", - "colh" : { - "datacl" : "aclitem[1]", - "datallowconn" : "bool", - "datconfig" : "text[1]", - "datconnlimit" : "int4", - "datdba" : "Oid", - "datfrozenxid" : "xid", - "datistemplate" : "bool", - "datlastsysoid" : "Oid", - "datname" : "NameData", - "dattablespace" : "Oid", - "encoding" : "int4", - "oid" : "Oid" - }, - "cols" : [ - { - "colname" : "datname", - "ctype" : "NameData", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "name" - }, - { - "colname" : "datdba", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "encoding", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "datistemplate", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "datallowconn", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "datconnlimit", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "datlastsysoid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "datfrozenxid", - "ctype" : "xid", - "sqltype" : "xid" - }, - { - "colname" : "dattablespace", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "datconfig", - "ctype" : "text[1]", - "sqltype" : "text[]" - }, - { - "colname" : "datacl", - "ctype" : "aclitem[1]", - "sqltype" : "aclitem[]" - } - ], - "filename" : "pg_database.h", - "fk_list" : [ - { - "fkcols" : [ - "datdba" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_authid", - "type" : "scalar" - }, - { - "fkcols" : [ - "dattablespace" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_tablespace", - "type" : "scalar" - } - ], - "foreign_keys" : [ - [ - [ - "datdba" - ], - "pg_authid", - [ - "oid" - ] - ], - [ - [ - "dattablespace" - ], - "pg_tablespace", - [ - "oid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "DatabaseNameIndexId", - "cols" : [ - [ - "datname", - "name_ops" - ] - ], - "indexid" : "2671", - "unique" : "1", - "with" : { - "camelcase" : "DatabaseName", - "indexid" : "2671" - } - }, - { - "CamelCaseIndexId" : "DatabaseOidIndexId", - "cols" : [ - [ - "oid", - "oid_ops" - ] - ], - "indexid" : "2672", - "unique" : "1", - "with" : { - "camelcase" : "DatabaseOid", - "indexid" : "2672", - "syscache_nbuckets" : "4", - "syscacheid" : "DATABASEOID" - } - } - ], - "relid_comment_tag" : "/* relation id: 1262 - pg_database */\n", - "tabdef_text" : "\n CREATE TABLE pg_database\n with (shared=true, relid=1262, toast_oid=2844, toast_index=2845)\n (\n datname name, \n datdba oid, \n encoding integer, \n datistemplate boolean, \n datallowconn boolean, \n datconnlimit integer, \n datlastsysoid oid, \n datfrozenxid xid, \n dattablespace oid, \n datconfig text[], \n datacl aclitem[]\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "Database", - "oid" : 1, - "relid" : "1262", - "shared" : "1", - "text" : "with (shared=true, relid=1262, toast_oid=2844, toast_index=2845)", - "toast_index" : "2845", - "toast_oid" : "2844" - } - }, - "pg_depend" : { - "CamelCaseRelationId" : "DependRelationId", - "colh" : { - "classid" : "Oid", - "deptype" : "char", - "objid" : "Oid", - "objsubid" : "int4", - "refclassid" : "Oid", - "refobjid" : "Oid", - "refobjsubid" : "int4" - }, - "cols" : [ - { - "colname" : "classid", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "objid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "objsubid", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "refclassid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "refobjid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "refobjsubid", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "deptype", - "ctype" : "char", - "sqltype" : "quoted_char" - } - ], - "filename" : "pg_depend.h", - "fk_list" : [ - { - "fkcols" : [ - "classid" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_class", - "type" : "scalar" - }, - { - "fkcols" : [ - "refclassid" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_class", - "type" : "scalar" - } - ], - "foreign_keys" : [ - [ - [ - "classid" - ], - "pg_class", - [ - "oid" - ] - ], - [ - [ - "refclassid" - ], - "pg_class", - [ - "oid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "DependDependerIndexId", - "cols" : [ - [ - "classid", - "oid_ops" - ], - [ - "objid", - "oid_ops" - ], - [ - "objsubid", - "int4_ops" - ] - ], - "indexid" : "2673", - "unique" : "", - "with" : { - "camelcase" : "DependDepender", - "indexid" : "2673" - } - }, - { - "CamelCaseIndexId" : "DependReferenceIndexId", - "cols" : [ - [ - "refclassid", - "oid_ops" - ], - [ - "refobjid", - "oid_ops" - ], - [ - "refobjsubid", - "int4_ops" - ] - ], - "indexid" : "2674", - "unique" : "", - "with" : { - "camelcase" : "DependReference", - "indexid" : "2674" - } - } - ], - "relid_comment_tag" : "/* relation id: 2608 - pg_depend */\n", - "tabdef_text" : "\n CREATE TABLE pg_depend\n with (oid=false, relid=2608, content=SEGMENT_LOCAL)\n (\n classid oid, \n objid oid, \n objsubid integer, \n refclassid oid, \n refobjid oid, \n refobjsubid integer, \n deptype \"char\"\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "Depend", - "content" : "SEGMENT_LOCAL", - "oid" : "", - "relid" : "2608", - "shared" : 0, - "text" : "with (oid=false, relid=2608, content=SEGMENT_LOCAL)" - } - }, - "pg_description" : { - "CamelCaseRelationId" : "DescriptionRelationId", - "CamelCaseToastInd" : "PgDescriptionToastIndex", - "CamelCaseToastTab" : "PgDescriptionToastTable", - "colh" : { - "classoid" : "Oid", - "description" : "text", - "objoid" : "Oid", - "objsubid" : "int4" - }, - "cols" : [ - { - "colname" : "objoid", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "classoid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "objsubid", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "description", - "ctype" : "text", - "sqltype" : "text" - } - ], - "filename" : "pg_description.h", - "fk_list" : [ - { - "fkcols" : [ - "classoid" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_class", - "type" : "scalar" - } - ], - "foreign_keys" : [ - [ - [ - "classoid" - ], - "pg_class", - [ - "oid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "DescriptionObjIndexId", - "cols" : [ - [ - "objoid", - "oid_ops" - ], - [ - "classoid", - "oid_ops" - ], - [ - "objsubid", - "int4_ops" - ] - ], - "indexid" : "2675", - "unique" : "1", - "with" : { - "camelcase" : "DescriptionObj", - "indexid" : "2675" - } - } - ], - "relid_comment_tag" : "/* relation id: 2609 - pg_description */\n", - "tabdef_text" : "\n CREATE TABLE pg_description\n with (oid=false, relid=2609, toast_oid=2834, toast_index=2835, content=MASTER_ONLY)\n (\n objoid oid, \n classoid oid, \n objsubid integer, \n description text\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "Description", - "content" : "MASTER_ONLY", - "oid" : "", - "relid" : "2609", - "shared" : 0, - "text" : "with (oid=false, relid=2609, toast_oid=2834, toast_index=2835, content=MASTER_ONLY)", - "toast_index" : "2835", - "toast_oid" : "2834" - } - }, - "pg_extprotocol" : { - "CamelCaseRelationId" : "ExtprotocolRelationId", - "UppercaseReltypeOid" : "PG_EXTPROTOCOL_RELTYPE_OID", - "colh" : { - "oid" : "Oid", - "ptcacl" : "aclitem[1]", - "ptcname" : "NameData", - "ptcowner" : "Oid", - "ptcreadfn" : "Oid", - "ptctrusted" : "bool", - "ptcvalidatorfn" : "Oid", - "ptcwritefn" : "Oid" - }, - "cols" : [ - { - "colname" : "ptcname", - "ctype" : "NameData", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "name" - }, - { - "colname" : "ptcreadfn", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "ptcwritefn", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "ptcvalidatorfn", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "ptcowner", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "ptctrusted", - "ctype" : "bool", - "sqltype" : "bool" - }, - { - "colname" : "ptcacl", - "ctype" : "aclitem[1]", - "sqltype" : "aclitem[]" - } - ], - "filename" : "pg_extprotocol.h", - "fk_list" : [ - { - "fkcols" : [ - "ptcreadfn" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_proc", - "type" : "scalar" - }, - { - "fkcols" : [ - "ptcwritefn" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_proc", - "type" : "scalar" - }, - { - "fkcols" : [ - "ptcvalidatorfn" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_proc", - "type" : "scalar" - } - ], - "foreign_keys" : [ - [ - [ - "ptcreadfn" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "ptcwritefn" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "ptcvalidatorfn" - ], - "pg_proc", - [ - "oid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "ExtprotocolOidIndexId", - "cols" : [ - [ - "oid", - "oid_ops" - ] - ], - "indexid" : "7156", - "unique" : "1", - "with" : { - "indexid" : "7156" - } - }, - { - "CamelCaseIndexId" : "ExtprotocolPtcnameIndexId", - "cols" : [ - [ - "ptcname", - "name_ops" - ] - ], - "indexid" : "7177", - "unique" : "1", - "with" : { - "indexid" : "7177" - } - } - ], - "relid_comment_tag" : "/* relation id: 7175 - pg_extprotocol */\n", - "tabdef_text" : "\n CREATE TABLE pg_extprotocol\n with (shared=false, oid=true, relid=7175, reltype_oid=7176)\n (\n ptcname name,\n ptcreadfn Oid,\n ptcwritefn Oid,\n ptcvalidatorfn Oid, \n ptcowner Oid,\n ptctrusted\t bool,\n ptcacl aclitem[] \n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "Extprotocol", - "oid" : "1", - "relid" : "7175", - "reltype_oid" : "7176", - "shared" : "", - "text" : "with (shared=false, oid=true, relid=7175, reltype_oid=7176)" - } - }, - "pg_exttable" : { - "CamelCaseRelationId" : "ExtTableRelationId", - "colh" : { - "command" : "text", - "encoding" : "int4", - "fmterrtbl" : "Oid", - "fmtopts" : "text", - "fmttype" : "char", - "location" : "text[1]", - "rejectlimit" : "int4", - "rejectlimittype" : "char", - "reloid" : "Oid", - "writable" : "bool" - }, - "cols" : [ - { - "colname" : "reloid", - "ctype" : "Oid", - "postcomment" : "-- refers to this relation's oid in pg_class ", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "location", - "ctype" : "text[1]", - "postcomment" : "-- array of URI strings", - "sqltype" : "text[]" - }, - { - "colname" : "fmttype", - "ctype" : "char", - "postcomment" : "-- 't' (text) or 'c' (csv)", - "sqltype" : "quoted_char" - }, - { - "colname" : "fmtopts", - "ctype" : "text", - "postcomment" : "-- the data format options", - "sqltype" : "text" - }, - { - "colname" : "command", - "ctype" : "text", - "postcomment" : "-- the command string to EXECUTE", - "sqltype" : "text" - }, - { - "colname" : "rejectlimit", - "ctype" : "int4", - "postcomment" : "-- error count reject limit per segment", - "sqltype" : "integer" - }, - { - "colname" : "rejectlimittype", - "ctype" : "char", - "postcomment" : "-- 'r' (rows) or 'p' (percent)", - "sqltype" : "quoted_char" - }, - { - "colname" : "fmterrtbl", - "ctype" : "Oid", - "postcomment" : "-- the data format error table oid in pg_class", - "sqltype" : "oid" - }, - { - "colname" : "encoding", - "ctype" : "int4", - "postcomment" : "-- character encoding of this external table", - "sqltype" : "integer" - }, - { - "colname" : "writable", - "ctype" : "bool", - "postcomment" : "-- 't' if writable, 'f' if readable", - "sqltype" : "boolean" - } - ], - "filename" : "pg_exttable.h", - "fk_list" : [ - { - "fkcols" : [ - "reloid" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_class", - "type" : "scalar" - }, - { - "fkcols" : [ - "fmterrtbl" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_class", - "type" : "scalar" - } - ], - "foreign_keys" : [ - [ - [ - "reloid" - ], - "pg_class", - [ - "oid" - ] - ], - [ - [ - "fmterrtbl" - ], - "pg_class", - [ - "oid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "ExtTableReloidIndexId", - "cols" : [ - [ - "reloid", - "oid_ops" - ] - ], - "indexid" : "6041", - "unique" : "1", - "with" : { - "indexid" : "6041" - } - } - ], - "relid_comment_tag" : "/* relation id: 6040 - pg_exttable */\n", - "tabdef_text" : "\n CREATE TABLE pg_exttable\n with (camelcase=ExtTable, oid=false, relid=6040)\n (\n reloid oid, -- refers to this relation's oid in pg_class \n location text[], -- array of URI strings\n fmttype \"char\", -- 't' (text) or 'c' (csv)\n fmtopts text, -- the data format options\n command text, -- the command string to EXECUTE\n rejectlimit integer, -- error count reject limit per segment\n rejectlimittype \"char\", -- 'r' (rows) or 'p' (percent)\n fmterrtbl oid, -- the data format error table oid in pg_class\n encoding integer, -- character encoding of this external table\n writable boolean -- 't' if writable, 'f' if readable\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "ExtTable", - "oid" : "", - "relid" : "6040", - "shared" : 0, - "text" : "with (camelcase=ExtTable, oid=false, relid=6040)" - } - }, - "pg_filespace" : { - "CamelCaseRelationId" : "FileSpaceRelationId", - "UppercaseReltypeOid" : "PG_FILESPACE_RELTYPE_OID", - "colh" : { - "fsname" : "NameData", - "fsowner" : "Oid", - "oid" : "Oid" - }, - "cols" : [ - { - "colname" : "fsname", - "ctype" : "NameData", - "postcomment" : "-- filespace name", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "name" - }, - { - "colname" : "fsowner", - "ctype" : "Oid", - "postcomment" : "-- owner of filespace", - "sqltype" : "oid" - } - ], - "filename" : "pg_filespace.h", - "indexes" : [ - { - "CamelCaseIndexId" : "FilespaceOidIndexId", - "cols" : [ - [ - "oid", - "oid_ops" - ] - ], - "indexid" : "2858", - "unique" : "1", - "with" : { - "camelcase" : "FilespaceOid", - "indexid" : "2858" - } - }, - { - "CamelCaseIndexId" : "FilespaceNameIndexId", - "cols" : [ - [ - "fsname", - "name_ops" - ] - ], - "indexid" : "2859", - "unique" : "1", - "with" : { - "camelcase" : "FilespaceName", - "indexid" : "2859" - } - } - ], - "relid_comment_tag" : "/* relation id: 5009 - pg_filespace */\n", - "tabdef_text" : "\n CREATE TABLE pg_filespace\n with (camelcase=FileSpace, shared=true, relid=5009, reltype_oid=6438)\n (\n fsname name, -- filespace name\n fsowner oid -- owner of filespace\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "FileSpace", - "oid" : 1, - "relid" : "5009", - "reltype_oid" : "6438", - "shared" : "1", - "text" : "with (camelcase=FileSpace, shared=true, relid=5009, reltype_oid=6438)" - } - }, - "pg_filespace_entry" : { - "CamelCaseRelationId" : "FileSpaceEntryRelationId", - "CamelCaseToastInd" : "PgFileSpaceEntryToastIndex", - "CamelCaseToastTab" : "PgFileSpaceEntryToastTable", - "UppercaseReltypeOid" : "PG_FILESPACE_ENTRY_RELTYPE_OID", - "UppercaseToastReltypeOid" : "PG_FILESPACE_ENTRY_TOAST_RELTYPE_OID", - "colh" : { - "fsedbid" : "int2", - "fsefsoid" : "Oid", - "fselocation" : "text" - }, - "cols" : [ - { - "colname" : "fsefsoid", - "ctype" : "Oid", - "postcomment" : "-- foreign key to pg_filespace ", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "fsedbid", - "ctype" : "int2", - "postcomment" : "-- segment dbid this refers to ", - "sqltype" : "smallint" - }, - { - "colname" : "fselocation", - "ctype" : "text", - "postcomment" : "-- location of filespace directory", - "sqltype" : "text" - } - ], - "filename" : "pg_filespace_entry.h", - "fk_list" : [ - { - "fkcols" : [ - "fsefsoid" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_filespace", - "type" : "scalar" - } - ], - "foreign_keys" : [ - [ - [ - "fsefsoid" - ], - "pg_filespace", - [ - "oid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "FileSpaceEntryFsefsoidIndexId", - "cols" : [ - [ - "fsefsoid", - "oid_ops" - ] - ], - "indexid" : "2893", - "indexname" : "pg_filespace_entry_fs_index", - "unique" : "", - "with" : { - "indexid" : "2893", - "indexname" : "pg_filespace_entry_fs_index" - } - }, - { - "CamelCaseIndexId" : "FileSpaceEntryFsefsoidFsedbidIndexId", - "cols" : [ - [ - "fsefsoid", - "oid_ops" - ], - [ - "fsedbid", - "int2_ops" - ] - ], - "indexid" : "2894", - "indexname" : "pg_filespace_entry_fsdb_index", - "unique" : "1", - "with" : { - "indexid" : "2894", - "indexname" : "pg_filespace_entry_fsdb_index" - } - } - ], - "relid_comment_tag" : "/* relation id: 5033 - pg_filespace_entry */\n", - "tabdef_text" : "\n CREATE TABLE pg_filespace_entry\n with (camelcase=FileSpaceEntry, shared=true, oid=false, relid=5033, reltype_oid=6439, toast_oid=2902, toast_index=2903, toast_reltype=2907, content=MASTER_ONLY)\n (\n fsefsoid oid, -- foreign key to pg_filespace \n fsedbid smallint, -- segment dbid this refers to \n fselocation text -- location of filespace directory\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "FileSpaceEntry", - "content" : "MASTER_ONLY", - "oid" : "", - "relid" : "5033", - "reltype_oid" : "6439", - "shared" : "1", - "text" : "with (camelcase=FileSpaceEntry, shared=true, oid=false, relid=5033, reltype_oid=6439, toast_oid=2902, toast_index=2903, toast_reltype=2907, content=MASTER_ONLY)", - "toast_index" : "2903", - "toast_oid" : "2902", - "toast_reltype" : "2907" - } - }, - "pg_foreign_data_wrapper" : { - "CamelCaseRelationId" : "ForeignDataWrapperRelationId", - "UppercaseReltypeOid" : "PG_FOREIGN_DATA_WRAPPER_RELTYPE_OID", - "colh" : { - "fdwacl" : "aclitem[1]", - "fdwname" : "NameData", - "fdwoptions" : "text[1]", - "fdwowner" : "Oid", - "fdwvalidator" : "Oid", - "oid" : "Oid" - }, - "cols" : [ - { - "colname" : "fdwname", - "ctype" : "NameData", - "postcomment" : "-- foreign-data wrapper name", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "name" - }, - { - "colname" : "fdwowner", - "ctype" : "Oid", - "postcomment" : "-- FDW owner", - "sqltype" : "oid" - }, - { - "colname" : "fdwvalidator", - "ctype" : "Oid", - "postcomment" : "-- optional validation function", - "sqltype" : "oid" - }, - { - "colname" : "fdwacl", - "ctype" : "aclitem[1]", - "postcomment" : "-- access permissions", - "precomment" : "\n**TK_BLANK_LINE**\n -- VARIABLE LENGTH FIELDS start here.\n**TK_BLANK_LINE**", - "sqltype" : "aclitem[]" - }, - { - "colname" : "fdwoptions", - "ctype" : "text[1]", - "postcomment" : "-- FDW options", - "sqltype" : "text[]" - } - ], - "filename" : "pg_foreign_data_wrapper.h", - "fk_list" : [ - { - "fkcols" : [ - "fdwowner" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_authid", - "type" : "scalar" - }, - { - "fkcols" : [ - "fdwvalidator" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_proc", - "type" : "scalar" - } - ], - "foreign_keys" : [ - [ - [ - "fdwowner" - ], - "pg_authid", - [ - "oid" - ] - ], - [ - [ - "fdwvalidator" - ], - "pg_proc", - [ - "oid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "ForeignDataWrapperOidIndexId", - "cols" : [ - [ - "oid", - "oid_ops" - ] - ], - "indexid" : "3306", - "unique" : "1", - "with" : { - "camelcase" : "ForeignDataWrapperOid", - "indexid" : "3306", - "syscache_nbuckets" : "8", - "syscacheid" : "FOREIGNDATAWRAPPEROID" - } - }, - { - "CamelCaseIndexId" : "ForeignDataWrapperNameIndexId", - "cols" : [ - [ - "fdwname", - "name_ops" - ] - ], - "indexid" : "3307", - "unique" : "1", - "with" : { - "camelcase" : "ForeignDataWrapperName", - "indexid" : "3307", - "syscache_nbuckets" : "8", - "syscacheid" : "FOREIGNDATAWRAPPERNAME" - } - } - ], - "relid_comment_tag" : "/* relation id: 2898 - pg_foreign_data_wrapper */\n", - "tabdef_text" : "\n CREATE TABLE pg_foreign_data_wrapper\n with (camelcase=ForeignDataWrapper, relid=2898, reltype_oid=6447)\n (\n fdwname name, -- foreign-data wrapper name\n fdwowner oid, -- FDW owner\n fdwvalidator oid, -- optional validation function\n\n -- VARIABLE LENGTH FIELDS start here.\n\n fdwacl aclitem[], -- access permissions\n fdwoptions text[] -- FDW options\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "ForeignDataWrapper", - "oid" : 1, - "relid" : "2898", - "reltype_oid" : "6447", - "shared" : 0, - "text" : "with (camelcase=ForeignDataWrapper, relid=2898, reltype_oid=6447)" - } - }, - "pg_foreign_server" : { - "CamelCaseRelationId" : "ForeignServerRelationId", - "UppercaseReltypeOid" : "PG_FOREIGN_SERVER_RELTYPE_OID", - "colh" : { - "oid" : "Oid", - "srvacl" : "aclitem[1]", - "srvfdw" : "Oid", - "srvname" : "NameData", - "srvoptions" : "text[1]", - "srvowner" : "Oid", - "srvtype" : "text", - "srvversion" : "text" - }, - "cols" : [ - { - "colname" : "srvname", - "ctype" : "NameData", - "postcomment" : "-- foreign server name", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "name" - }, - { - "colname" : "srvowner", - "ctype" : "Oid", - "postcomment" : "-- server owner", - "sqltype" : "oid" - }, - { - "colname" : "srvfdw", - "ctype" : "Oid", - "postcomment" : "-- server FDW", - "sqltype" : "oid" - }, - { - "colname" : "srvtype", - "ctype" : "text", - "precomment" : "\n**TK_BLANK_LINE**\n -- VARIABLE LENGTH FIELDS start here. These fields may be NULL, too.\n**TK_BLANK_LINE**", - "sqltype" : "text" - }, - { - "colname" : "srvversion", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "srvacl", - "ctype" : "aclitem[1]", - "postcomment" : "-- access permissions", - "sqltype" : "aclitem[]" - }, - { - "colname" : "srvoptions", - "ctype" : "text[1]", - "postcomment" : "-- FDW-specific options", - "sqltype" : "text[]" - } - ], - "filename" : "pg_foreign_server.h", - "fk_list" : [ - { - "fkcols" : [ - "srvowner" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_authid", - "type" : "scalar" - }, - { - "fkcols" : [ - "srvfdw" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_foreign_data_wrapper", - "type" : "scalar" - } - ], - "foreign_keys" : [ - [ - [ - "srvowner" - ], - "pg_authid", - [ - "oid" - ] - ], - [ - [ - "srvfdw" - ], - "pg_foreign_data_wrapper", - [ - "oid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "ForeignServerOidIndexId", - "cols" : [ - [ - "oid", - "oid_ops" - ] - ], - "indexid" : "3308", - "unique" : "1", - "with" : { - "camelcase" : "ForeignServerOid", - "indexid" : "3308", - "syscache_nbuckets" : "32", - "syscacheid" : "FOREIGNSERVEROID" - } - }, - { - "CamelCaseIndexId" : "ForeignServerNameIndexId", - "cols" : [ - [ - "srvname", - "name_ops" - ] - ], - "indexid" : "3309", - "unique" : "1", - "with" : { - "camelcase" : "ForeignServerName", - "indexid" : "3309", - "syscache_nbuckets" : "32", - "syscacheid" : "FOREIGNSERVERNAME" - } - } - ], - "relid_comment_tag" : "/* relation id: 2899 - pg_foreign_server */\n", - "tabdef_text" : "\n CREATE TABLE pg_foreign_server\n with (camelcase=ForeignServer, relid=2899, reltype_oid=6448)\n (\n srvname name, -- foreign server name\n srvowner oid, -- server owner\n srvfdw oid, -- server FDW\n\n -- VARIABLE LENGTH FIELDS start here. These fields may be NULL, too.\n\n srvtype text,\n srvversion text,\n srvacl aclitem[], -- access permissions\n srvoptions text[] -- FDW-specific options\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "ForeignServer", - "oid" : 1, - "relid" : "2899", - "reltype_oid" : "6448", - "shared" : 0, - "text" : "with (camelcase=ForeignServer, relid=2899, reltype_oid=6448)" - } - }, - "pg_foreign_table" : { - "CamelCaseRelationId" : "ForeignTableRelationId", - "UppercaseReltypeOid" : "PG_FOREIGN_TABLE_RELTYPE_OID", - "colh" : { - "reloid" : "Oid", - "server" : "Oid", - "tbloptions" : "text[1]" - }, - "cols" : [ - { - "colname" : "reloid", - "ctype" : "Oid", - "postcomment" : "-- refers to this relation's oid in pg_class", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "server", - "ctype" : "Oid", - "postcomment" : "-- table's foreign server", - "sqltype" : "oid" - }, - { - "colname" : "tbloptions", - "ctype" : "text[1]", - "postcomment" : "-- foreign table-specific options", - "precomment" : "\n -- VARIABLE LENGTH FIELDS start here. These fields may be NULL, too.\n**TK_BLANK_LINE**", - "sqltype" : "text[]" - } - ], - "filename" : "pg_foreign_table.h", - "fk_list" : [ - { - "fkcols" : [ - "reloid" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_class", - "type" : "scalar" - }, - { - "fkcols" : [ - "server" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_foreign_server", - "type" : "scalar" - } - ], - "foreign_keys" : [ - [ - [ - "reloid" - ], - "pg_class", - [ - "oid" - ] - ], - [ - [ - "server" - ], - "pg_foreign_server", - [ - "oid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "ForeignTableRelOidIndexId", - "cols" : [ - [ - "reloid", - "oid_ops" - ] - ], - "indexid" : "3049", - "unique" : "1", - "with" : { - "camelcase" : "ForeignTableRelOid", - "indexid" : "3049" - } - } - ], - "relid_comment_tag" : "/* relation id: 2879 - pg_foreign_table */\n", - "tabdef_text" : "\n CREATE TABLE pg_foreign_table\n with (camelcase=ForeignTable, oid=false, relid=2879, reltype_oid=6452)\n (\n reloid oid, -- refers to this relation's oid in pg_class\n server oid, -- table's foreign server\n -- VARIABLE LENGTH FIELDS start here. These fields may be NULL, too.\n\n tbloptions text[] -- foreign table-specific options\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "ForeignTable", - "oid" : "", - "relid" : "2879", - "reltype_oid" : "6452", - "shared" : 0, - "text" : "with (camelcase=ForeignTable, oid=false, relid=2879, reltype_oid=6452)" - } - }, - "pg_index" : { - "CamelCaseRelationId" : "IndexRelationId", - "colh" : { - "indclass" : "oidvector", - "indexprs" : "text", - "indexrelid" : "Oid", - "indisclustered" : "bool", - "indisprimary" : "bool", - "indisunique" : "bool", - "indisvalid" : "bool", - "indkey" : "int2vector", - "indnatts" : "int2", - "indpred" : "text", - "indrelid" : "Oid" - }, - "cols" : [ - { - "colname" : "indexrelid", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "indrelid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "indnatts", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "indisunique", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "indisprimary", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "indisclustered", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "indisvalid", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "indkey", - "ctype" : "int2vector", - "sqltype" : "int2vector" - }, - { - "colname" : "indclass", - "ctype" : "oidvector", - "sqltype" : "oidvector" - }, - { - "colname" : "indexprs", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "indpred", - "ctype" : "text", - "sqltype" : "text" - } - ], - "filename" : "pg_index.h", - "fk_list" : [ - { - "fkcols" : [ - "indexrelid" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_class", - "type" : "scalar" - }, - { - "fkcols" : [ - "indrelid" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_class", - "type" : "scalar" - }, - { - "fkcols" : [ - "indclass" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_opclass", - "type" : "vector" - } - ], - "foreign_keys" : [ - [ - [ - "indexrelid" - ], - "pg_class", - [ - "oid" - ] - ], - [ - [ - "indrelid" - ], - "pg_class", - [ - "oid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "IndexIndrelidIndexId", - "cols" : [ - [ - "indrelid", - "oid_ops" - ] - ], - "indexid" : "2678", - "unique" : "", - "with" : { - "camelcase" : "IndexIndrelid", - "indexid" : "2678" - } - }, - { - "CamelCaseIndexId" : "IndexRelidIndexId", - "cols" : [ - [ - "indexrelid", - "oid_ops" - ] - ], - "indexid" : "2679", - "unique" : "1", - "with" : { - "camelcase" : "IndexRelid", - "indexid" : "2679", - "syscache_nbuckets" : "1024", - "syscacheid" : "INDEXRELID" - } - } - ], - "relid_comment_tag" : "/* relation id: 2610 - pg_index */\n", - "tabdef_text" : "\n CREATE TABLE pg_index\n with (oid=false, relid=2610)\n (\n indexrelid oid ,\n indrelid oid ,\n indnatts smallint ,\n indisunique boolean ,\n indisprimary boolean ,\n indisclustered boolean ,\n indisvalid boolean ,\n indkey int2vector ,\n indclass oidvector ,\n indexprs text ,\n indpred text \n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "Index", - "oid" : "", - "relid" : "2610", - "shared" : 0, - "text" : "with (oid=false, relid=2610)" - } - }, - "pg_inherits" : { - "CamelCaseRelationId" : "InheritsRelationId", - "colh" : { - "inhparent" : "Oid", - "inhrelid" : "Oid", - "inhseqno" : "int4" - }, - "cols" : [ - { - "colname" : "inhrelid", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "inhparent", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "inhseqno", - "ctype" : "int4", - "sqltype" : "integer" - } - ], - "filename" : "pg_inherits.h", - "fk_list" : [ - { - "fkcols" : [ - "inhrelid" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_class", - "type" : "scalar" - }, - { - "fkcols" : [ - "inhparent" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_class", - "type" : "scalar" - } - ], - "foreign_keys" : [ - [ - [ - "inhrelid" - ], - "pg_class", - [ - "oid" - ] - ], - [ - [ - "inhparent" - ], - "pg_class", - [ - "oid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "InheritsRelidSeqnoIndexId", - "cols" : [ - [ - "inhrelid", - "oid_ops" - ], - [ - "inhseqno", - "int4_ops" - ] - ], - "indexid" : "2680", - "unique" : "1", - "with" : { - "camelcase" : "InheritsRelidSeqno", - "indexid" : "2680", - "syscache_nbuckets" : "256", - "syscacheid" : "INHRELID" - } - } - ], - "relid_comment_tag" : "/* relation id: 2611 - pg_inherits */\n", - "tabdef_text" : "\n CREATE TABLE pg_inherits\n with (oid=false, relid=2611)\n (\n inhrelid oid ,\n inhparent oid ,\n inhseqno integer \n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "Inherits", - "oid" : "", - "relid" : "2611", - "shared" : 0, - "text" : "with (oid=false, relid=2611)" - } - }, - "pg_language" : { - "CamelCaseRelationId" : "LanguageRelationId", - "colh" : { - "lanacl" : "aclitem[1]", - "lanispl" : "bool", - "lanname" : "NameData", - "lanplcallfoid" : "Oid", - "lanpltrusted" : "bool", - "lanvalidator" : "Oid", - "oid" : "Oid" - }, - "cols" : [ - { - "colname" : "lanname", - "ctype" : "NameData", - "precomment" : "\n ", - "sqltype" : "name" - }, - { - "colname" : "lanispl", - "ctype" : "bool", - "postcomment" : "-- Is a procedural language", - "sqltype" : "boolean" - }, - { - "colname" : "lanpltrusted", - "ctype" : "bool", - "postcomment" : "-- PL is trusted", - "sqltype" : "boolean" - }, - { - "colname" : "lanplcallfoid", - "ctype" : "Oid", - "postcomment" : "-- Call handler for PL", - "sqltype" : "oid" - }, - { - "colname" : "lanvalidator", - "ctype" : "Oid", - "postcomment" : "-- optional validation function", - "sqltype" : "oid" - }, - { - "colname" : "lanacl", - "ctype" : "aclitem[1]", - "postcomment" : "-- Access privileges", - "sqltype" : "aclitem[]" - } - ], - "filename" : "pg_language.h", - "fk_list" : [ - { - "fkcols" : [ - "lanplcallfoid" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_proc", - "type" : "scalar" - }, - { - "fkcols" : [ - "lanvalidator" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_proc", - "type" : "scalar" - } - ], - "foreign_keys" : [ - [ - [ - "lanplcallfoid" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "lanvalidator" - ], - "pg_proc", - [ - "oid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "LanguageNameIndexId", - "cols" : [ - [ - "lanname", - "name_ops" - ] - ], - "indexid" : "2681", - "unique" : "1", - "with" : { - "camelcase" : "LanguageName", - "indexid" : "2681", - "syscache_nbuckets" : "4", - "syscacheid" : "LANGNAME" - } - }, - { - "CamelCaseIndexId" : "LanguageOidIndexId", - "cols" : [ - [ - "oid", - "oid_ops" - ] - ], - "indexid" : "2682", - "unique" : "1", - "with" : { - "camelcase" : "LanguageOid", - "indexid" : "2682", - "syscache_nbuckets" : "4", - "syscacheid" : "LANGOID" - } - } - ], - "relid_comment_tag" : "/* relation id: 2612 - pg_language */\n", - "tabdef_text" : "\n CREATE TABLE pg_language\n with (relid=2612)\n ( \n lanname name, \n lanispl boolean, -- Is a procedural language\n lanpltrusted boolean, -- PL is trusted\n lanplcallfoid oid, -- Call handler for PL\n lanvalidator oid, -- optional validation function\n lanacl aclitem[] -- Access privileges\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "Language", - "oid" : 1, - "relid" : "2612", - "shared" : 0, - "text" : "with (relid=2612)" - } - }, - "pg_largeobject" : { - "CamelCaseRelationId" : "LargeObjectRelationId", - "colh" : { - "data" : "bytea", - "loid" : "Oid", - "pageno" : "int4" - }, - "cols" : [ - { - "colname" : "loid", - "ctype" : "Oid", - "postcomment" : "-- Identifier of large object ", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "pageno", - "ctype" : "int4", - "postcomment" : "-- Page number (starting from 0)", - "sqltype" : "integer" - }, - { - "colname" : "data", - "ctype" : "bytea", - "postcomment" : "-- Data for page (may be zero-length)", - "sqltype" : "bytea" - } - ], - "filename" : "pg_largeobject.h", - "indexes" : [ - { - "CamelCaseIndexId" : "LargeObjectLoidPagenoIndexId", - "cols" : [ - [ - "loid", - "oid_ops" - ], - [ - "pageno", - "int4_ops" - ] - ], - "indexid" : "2683", - "indexname" : "pg_largeobject_loid_pn_index", - "unique" : "1", - "with" : { - "indexid" : "2683", - "indexname" : "pg_largeobject_loid_pn_index" - } - } - ], - "relid_comment_tag" : "/* relation id: 2613 - pg_largeobject */\n", - "tabdef_text" : "\n CREATE TABLE pg_largeobject\n with (camelcase=LargeObject, shared=false, oid=false, relid=2613)\n (\n loid oid , -- Identifier of large object \n pageno integer , -- Page number (starting from 0)\n data bytea -- Data for page (may be zero-length)\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "LargeObject", - "oid" : "", - "relid" : "2613", - "shared" : "", - "text" : "with (camelcase=LargeObject, shared=false, oid=false, relid=2613)" - } - }, - "pg_listener" : { - "CamelCaseRelationId" : "ListenerRelationId", - "colh" : { - "listenerpid" : "int4", - "notification" : "int4", - "relname" : "NameData" - }, - "cols" : [ - { - "colname" : "relname", - "ctype" : "NameData", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "name" - }, - { - "colname" : "listenerpid", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "notification", - "ctype" : "int4", - "sqltype" : "integer" - } - ], - "filename" : "pg_listener.h", - "relid_comment_tag" : "/* relation id: 2614 - pg_listener */\n", - "tabdef_text" : "\n CREATE TABLE pg_listener\n with (shared=false, oid=false, relid=2614, content=MASTER_ONLY)\n (\n relname name ,\n listenerpid integer ,\n notification integer \n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "Listener", - "content" : "MASTER_ONLY", - "oid" : "", - "relid" : "2614", - "shared" : "", - "text" : "with (shared=false, oid=false, relid=2614, content=MASTER_ONLY)" - } - }, - "pg_namespace" : { - "CamelCaseRelationId" : "NamespaceRelationId", - "colh" : { - "nspacl" : "aclitem[1]", - "nspname" : "NameData", - "nspowner" : "Oid", - "oid" : "Oid" - }, - "cols" : [ - { - "colname" : "nspname", - "ctype" : "NameData", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "name" - }, - { - "colname" : "nspowner", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "nspacl", - "ctype" : "aclitem[1]", - "postcomment" : "-- VARIABLE LENGTH FIELD", - "sqltype" : "aclitem[]" - } - ], - "filename" : "pg_namespace.h", - "fk_list" : [ - { - "fkcols" : [ - "nspowner" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_authid", - "type" : "scalar" - } - ], - "foreign_keys" : [ - [ - [ - "nspowner" - ], - "pg_authid", - [ - "oid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "NamespaceNspnameIndexId", - "cols" : [ - [ - "nspname", - "name_ops" - ] - ], - "indexid" : "2684", - "unique" : "1", - "with" : { - "indexid" : "2684", - "syscache_nbuckets" : "256", - "syscacheid" : "NAMESPACENAME" - } - }, - { - "CamelCaseIndexId" : "NamespaceOidIndexId", - "cols" : [ - [ - "oid", - "oid_ops" - ] - ], - "indexid" : "2685", - "unique" : "1", - "with" : { - "indexid" : "2685", - "syscache_nbuckets" : "256", - "syscacheid" : "NAMESPACEOID" - } - } - ], - "relid_comment_tag" : "/* relation id: 2615 - pg_namespace */\n", - "tabdef_text" : "\n CREATE TABLE pg_namespace\n with (relid=2615)\n (\n nspname name ,\n nspowner oid ,\n nspacl aclitem[] -- VARIABLE LENGTH FIELD\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "Namespace", - "oid" : 1, - "relid" : "2615", - "shared" : 0, - "text" : "with (relid=2615)" - } - }, - "pg_opclass" : { - "CamelCaseRelationId" : "OperatorClassRelationId", - "colh" : { - "oid" : "Oid", - "opcamid" : "Oid", - "opcdefault" : "bool", - "opcintype" : "Oid", - "opckeytype" : "Oid", - "opcname" : "NameData", - "opcnamespace" : "Oid", - "opcowner" : "Oid" - }, - "cols" : [ - { - "colname" : "opcamid", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "opcname", - "ctype" : "NameData", - "sqltype" : "name" - }, - { - "colname" : "opcnamespace", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "opcowner", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "opcintype", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "opcdefault", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "opckeytype", - "ctype" : "Oid", - "sqltype" : "oid" - } - ], - "filename" : "pg_opclass.h", - "fk_list" : [ - { - "fkcols" : [ - "opcnamespace" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_namespace", - "type" : "scalar" - }, - { - "fkcols" : [ - "opcowner" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_authid", - "type" : "scalar" - } - ], - "foreign_keys" : [ - [ - [ - "opcnamespace" - ], - "pg_namespace", - [ - "oid" - ] - ], - [ - [ - "opcowner" - ], - "pg_authid", - [ - "oid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "OpclassAmNameNspIndexId", - "cols" : [ - [ - "opcamid", - "oid_ops" - ], - [ - "opcname", - "name_ops" - ], - [ - "opcnamespace", - "oid_ops" - ] - ], - "indexid" : "2686", - "unique" : "1", - "with" : { - "camelcase" : "OpclassAmNameNsp", - "indexid" : "2686", - "syscache_nbuckets" : "64", - "syscacheid" : "CLAAMNAMENSP" - } - }, - { - "CamelCaseIndexId" : "OpclassOidIndexId", - "cols" : [ - [ - "oid", - "oid_ops" - ] - ], - "indexid" : "2687", - "unique" : "1", - "with" : { - "camelcase" : "OpclassOid", - "indexid" : "2687", - "syscache_nbuckets" : "64", - "syscacheid" : "CLAOID" - } - } - ], - "relid_comment_tag" : "/* relation id: 2616 - pg_opclass */\n", - "tabdef_text" : "\n CREATE TABLE pg_opclass\n with (camelcase=OperatorClass, shared=false, relid=2616)\n (\n opcamid oid ,\n opcname name ,\n opcnamespace oid ,\n opcowner oid ,\n opcintype oid ,\n opcdefault boolean ,\n opckeytype oid \n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "OperatorClass", - "oid" : 1, - "relid" : "2616", - "shared" : "", - "text" : "with (camelcase=OperatorClass, shared=false, relid=2616)" - } - }, - "pg_operator" : { - "CamelCaseRelationId" : "OperatorRelationId", - "colh" : { - "oid" : "Oid", - "oprcanhash" : "bool", - "oprcode" : "regproc", - "oprcom" : "Oid", - "oprgtcmpop" : "Oid", - "oprjoin" : "regproc", - "oprkind" : "char", - "oprleft" : "Oid", - "oprlsortop" : "Oid", - "oprltcmpop" : "Oid", - "oprname" : "NameData", - "oprnamespace" : "Oid", - "oprnegate" : "Oid", - "oprowner" : "Oid", - "oprrest" : "regproc", - "oprresult" : "Oid", - "oprright" : "Oid", - "oprrsortop" : "Oid" - }, - "cols" : [ - { - "colname" : "oprname", - "ctype" : "NameData", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "name" - }, - { - "colname" : "oprnamespace", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "oprowner", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "oprkind", - "ctype" : "char", - "sqltype" : "quoted_char" - }, - { - "colname" : "oprcanhash", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "oprleft", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "oprright", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "oprresult", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "oprcom", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "oprnegate", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "oprlsortop", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "oprrsortop", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "oprltcmpop", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "oprgtcmpop", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "oprcode", - "ctype" : "regproc", - "sqltype" : "regproc" - }, - { - "colname" : "oprrest", - "ctype" : "regproc", - "sqltype" : "regproc" - }, - { - "colname" : "oprjoin", - "ctype" : "regproc", - "sqltype" : "regproc" - } - ], - "filename" : "pg_operator.h", - "fk_list" : [ - { - "fkcols" : [ - "oprnamespace" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_namespace", - "type" : "scalar" - }, - { - "fkcols" : [ - "oprowner" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_authid", - "type" : "scalar" - }, - { - "fkcols" : [ - "oprleft" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_type", - "type" : "scalar" - }, - { - "fkcols" : [ - "oprright" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_type", - "type" : "scalar" - }, - { - "fkcols" : [ - "oprresult" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_type", - "type" : "scalar" - }, - { - "fkcols" : [ - "oprcom" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_operator", - "type" : "scalar" - }, - { - "fkcols" : [ - "oprnegate" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_operator", - "type" : "scalar" - }, - { - "fkcols" : [ - "oprlsortop" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_operator", - "type" : "scalar" - }, - { - "fkcols" : [ - "oprrsortop" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_operator", - "type" : "scalar" - }, - { - "fkcols" : [ - "oprltcmpop" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_operator", - "type" : "scalar" - }, - { - "fkcols" : [ - "oprgtcmpop" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_operator", - "type" : "scalar" - }, - { - "fkcols" : [ - "oprcode" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_proc", - "type" : "scalar" - }, - { - "fkcols" : [ - "oprrest" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_proc", - "type" : "scalar" - }, - { - "fkcols" : [ - "oprjoin" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_proc", - "type" : "scalar" - } - ], - "foreign_keys" : [ - [ - [ - "oprnamespace" - ], - "pg_namespace", - [ - "oid" - ] - ], - [ - [ - "oprowner" - ], - "pg_authid", - [ - "oid" - ] - ], - [ - [ - "oprleft" - ], - "pg_type", - [ - "oid" - ] - ], - [ - [ - "oprright" - ], - "pg_type", - [ - "oid" - ] - ], - [ - [ - "oprresult" - ], - "pg_type", - [ - "oid" - ] - ], - [ - [ - "oprcom" - ], - "pg_operator", - [ - "oid" - ] - ], - [ - [ - "oprnegate" - ], - "pg_operator", - [ - "oid" - ] - ], - [ - [ - "oprlsortop" - ], - "pg_operator", - [ - "oid" - ] - ], - [ - [ - "oprrsortop" - ], - "pg_operator", - [ - "oid" - ] - ], - [ - [ - "oprltcmpop" - ], - "pg_operator", - [ - "oid" - ] - ], - [ - [ - "oprgtcmpop" - ], - "pg_operator", - [ - "oid" - ] - ], - [ - [ - "oprcode" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "oprrest" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "oprjoin" - ], - "pg_proc", - [ - "oid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "OperatorOidIndexId", - "cols" : [ - [ - "oid", - "oid_ops" - ] - ], - "indexid" : "2688", - "unique" : "1", - "with" : { - "camelcase" : "OperatorOid", - "indexid" : "2688", - "syscache_nbuckets" : "1024", - "syscacheid" : "OPEROID" - } - }, - { - "CamelCaseIndexId" : "OperatorNameNspIndexId", - "cols" : [ - [ - "oprname", - "name_ops" - ], - [ - "oprleft", - "oid_ops" - ], - [ - "oprright", - "oid_ops" - ], - [ - "oprnamespace", - "oid_ops" - ] - ], - "indexid" : "2689", - "unique" : "1", - "with" : { - "camelcase" : "OperatorNameNsp", - "indexid" : "2689", - "syscache_nbuckets" : "1024", - "syscacheid" : "OPERNAMENSP" - } - } - ], - "relid_comment_tag" : "/* relation id: 2617 - pg_operator */\n", - "tabdef_text" : "\n CREATE TABLE pg_operator\n with (camelcase=Operator, shared=false, relid=2617)\n (\n oprname name ,\n oprnamespace oid ,\n oprowner oid ,\n oprkind \"char\" ,\n oprcanhash boolean ,\n oprleft oid ,\n oprright oid ,\n oprresult oid ,\n oprcom oid ,\n oprnegate oid ,\n oprlsortop oid ,\n oprrsortop oid ,\n oprltcmpop oid ,\n oprgtcmpop oid ,\n oprcode regproc ,\n oprrest regproc ,\n oprjoin regproc \n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "Operator", - "oid" : 1, - "relid" : "2617", - "shared" : "", - "text" : "with (camelcase=Operator, shared=false, relid=2617)" - } - }, - "pg_partition" : { - "CamelCaseRelationId" : "PartitionRelationId", - "colh" : { - "oid" : "Oid", - "paratts" : "int2vector", - "parclass" : "oidvector", - "paristemplate" : "bool", - "parkind" : "char", - "parlevel" : "int2", - "parnatts" : "int2", - "parrelid" : "Oid" - }, - "cols" : [ - { - "colname" : "parrelid", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "parkind", - "ctype" : "char", - "sqltype" : "quoted_char" - }, - { - "colname" : "parlevel", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "paristemplate", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "parnatts", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "paratts", - "ctype" : "int2vector", - "sqltype" : "int2vector" - }, - { - "colname" : "parclass", - "ctype" : "oidvector", - "sqltype" : "oidvector" - } - ], - "filename" : "pg_partition.h", - "fk_list" : [ - { - "fkcols" : [ - "parrelid" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_class", - "type" : "scalar" - }, - { - "fkcols" : [ - "parclass" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_opclass", - "type" : "vector" - } - ], - "foreign_keys" : [ - [ - [ - "parrelid" - ], - "pg_class", - [ - "oid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "PartitionOidIndexId", - "cols" : [ - [ - "oid", - "oid_ops" - ] - ], - "indexid" : "5012", - "unique" : "1", - "with" : { - "indexid" : "5012" - } - }, - { - "CamelCaseIndexId" : "PartitionParrelidIndexId", - "cols" : [ - [ - "parrelid", - "oid_ops" - ] - ], - "indexid" : "5013", - "unique" : "", - "with" : { - "indexid" : "5013" - } - }, - { - "CamelCaseIndexId" : "PartitionParrelidParlevelParistemplateIndexId", - "cols" : [ - [ - "parrelid", - "oid_ops" - ], - [ - "parlevel", - "int2_ops" - ], - [ - "paristemplate", - "bool_ops" - ] - ], - "indexid" : "5017", - "indexname" : "pg_partition_parrelid_parlevel_istemplate_index", - "unique" : "", - "with" : { - "indexid" : "5017", - "indexname" : "pg_partition_parrelid_parlevel_istemplate_index" - } - } - ], - "relid_comment_tag" : "/* relation id: 5010 - pg_partition */\n", - "tabdef_text" : "\n CREATE TABLE pg_partition\n with (relid=5010, content=MASTER_ONLY)\n (\n parrelid oid,\n parkind \"char\",\n parlevel smallint,\n paristemplate boolean,\n parnatts smallint,\n paratts int2vector,\n parclass oidvector\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "Partition", - "content" : "MASTER_ONLY", - "oid" : 1, - "relid" : "5010", - "shared" : 0, - "text" : "with (relid=5010, content=MASTER_ONLY)" - } - }, - "pg_partition_encoding" : { - "CamelCaseRelationId" : "PartitionEncodingRelationId", - "CamelCaseToastInd" : "PgPartitionEncodingToastIndex", - "CamelCaseToastTab" : "PgPartitionEncodingToastTable", - "UppercaseReltypeOid" : "PG_PARTITION_ENCODING_RELTYPE_OID", - "UppercaseToastReltypeOid" : "PG_PARTITION_ENCODING_TOAST_RELTYPE_OID", - "colh" : { - "parencattnum" : "int2", - "parencattoptions" : "text[1]", - "parencoid" : "Oid" - }, - "cols" : [ - { - "colname" : "parencoid", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "parencattnum", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "parencattoptions", - "ctype" : "text[1]", - "sqltype" : "text[]" - } - ], - "filename" : "pg_partition_encoding.h", - "fk_list" : [ - { - "fkcols" : [ - "parencoid" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_partition", - "type" : "scalar" - } - ], - "foreign_keys" : [ - [ - [ - "parencoid" - ], - "pg_partition", - [ - "oid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "PartitionEncodingParencoidAttnumIndexId", - "cols" : [ - [ - "parencoid", - "oid_ops" - ], - [ - "parencattnum", - "int2_ops" - ] - ], - "indexid" : "9908", - "unique" : "1", - "with" : { - "camelcase" : "PartitionEncodingParencoidAttnum", - "indexid" : "9908" - } - }, - { - "CamelCaseIndexId" : "PartitionEncodingParencoidIndexId", - "cols" : [ - [ - "parencoid", - "oid_ops" - ] - ], - "indexid" : "9909", - "unique" : "", - "with" : { - "camelcase" : "PartitionEncodingParencoid", - "indexid" : "9909" - } - } - ], - "relid_comment_tag" : "/* relation id: 9903 - pg_partition_encoding */\n", - "tabdef_text" : "\n CREATE TABLE pg_partition_encoding\n with (relid=9903, reltype_oid=9904, toast_oid=9905, toast_index=9906, toast_reltype=9907, CamelCase=PartitionEncoding, oid=false)\n (\n parencoid oid, \n parencattnum\t smallint,\n parencattoptions text[]\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "PartitionEncoding", - "oid" : "", - "relid" : "9903", - "reltype_oid" : "9904", - "shared" : 0, - "text" : "with (relid=9903, reltype_oid=9904, toast_oid=9905, toast_index=9906, toast_reltype=9907, CamelCase=PartitionEncoding, oid=false)", - "toast_index" : "9906", - "toast_oid" : "9905", - "toast_reltype" : "9907" - } - }, - "pg_partition_rule" : { - "CamelCaseRelationId" : "PartitionRuleRelationId", - "colh" : { - "oid" : "Oid", - "parchildrelid" : "Oid", - "parisdefault" : "bool", - "parlistvalues" : "text", - "parname" : "NameData", - "paroid" : "Oid", - "parparentrule" : "Oid", - "parrangeend" : "text", - "parrangeendincl" : "bool", - "parrangeevery" : "text", - "parrangestart" : "text", - "parrangestartincl" : "bool", - "parreloptions" : "text[1]", - "parruleord" : "int2", - "partemplatespace" : "Oid" - }, - "cols" : [ - { - "colname" : "paroid", - "ctype" : "Oid", - "precomment" : "\n ", - "sqltype" : "oid" - }, - { - "colname" : "parchildrelid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "parparentrule", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "parname", - "ctype" : "NameData", - "sqltype" : "name" - }, - { - "colname" : "parisdefault", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "parruleord", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "parrangestartincl", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "parrangeendincl", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "parrangestart", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "parrangeend", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "parrangeevery", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "parlistvalues", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "parreloptions", - "ctype" : "text[1]", - "sqltype" : "text[]" - }, - { - "colname" : "partemplatespace", - "ctype" : "Oid", - "sqltype" : "oid" - } - ], - "filename" : "pg_partition_rule.h", - "fk_list" : [ - { - "fkcols" : [ - "paroid" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_partition", - "type" : "scalar" - }, - { - "fkcols" : [ - "parchildrelid" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_class", - "type" : "scalar" - }, - { - "fkcols" : [ - "parparentrule" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_partition_rule", - "type" : "scalar" - }, - { - "fkcols" : [ - "partemplatespace" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_tablespace", - "type" : "scalar" - } - ], - "foreign_keys" : [ - [ - [ - "paroid" - ], - "pg_partition", - [ - "oid" - ] - ], - [ - [ - "parchildrelid" - ], - "pg_class", - [ - "oid" - ] - ], - [ - [ - "parparentrule" - ], - "pg_partition_rule", - [ - "oid" - ] - ], - [ - [ - "partemplatespace" - ], - "pg_tablespace", - [ - "oid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "PartitionRuleOidIndexId", - "cols" : [ - [ - "oid", - "oid_ops" - ] - ], - "indexid" : "5014", - "unique" : "1", - "with" : { - "indexid" : "5014" - } - }, - { - "CamelCaseIndexId" : "PartitionRuleParchildrelidIndexId", - "cols" : [ - [ - "parchildrelid", - "oid_ops" - ] - ], - "indexid" : "5016", - "unique" : "", - "with" : { - "indexid" : "5016" - } - }, - { - "CamelCaseIndexId" : "PartitionRuleParchildrelidParparentruleParruleordIndexId", - "cols" : [ - [ - "parchildrelid", - "oid_ops" - ], - [ - "parparentrule", - "oid_ops" - ], - [ - "parruleord", - "int2_ops" - ] - ], - "indexid" : "5015", - "unique" : "", - "with" : { - "indexid" : "5015" - } - }, - { - "CamelCaseIndexId" : "PartitionRuleParoidParparentruleParruleordIndexId", - "cols" : [ - [ - "paroid", - "oid_ops" - ], - [ - "parparentrule", - "oid_ops" - ], - [ - "parruleord", - "int2_ops" - ] - ], - "indexid" : "5026", - "indexname" : "pg_partition_rule_paroid_parentrule_ruleord_index", - "unique" : "", - "with" : { - "indexid" : "5026", - "indexname" : "pg_partition_rule_paroid_parentrule_ruleord_index" - } - } - ], - "relid_comment_tag" : "/* relation id: 5011 - pg_partition_rule */\n", - "tabdef_text" : "\n CREATE TABLE pg_partition_rule\n with (camelcase=PartitionRule, relid=5011, content=MASTER_ONLY)\n ( \n paroid oid,\n parchildrelid oid,\n parparentrule oid,\n parname name,\n parisdefault boolean,\n parruleord smallint,\n parrangestartincl boolean,\n parrangeendincl boolean,\n parrangestart text,\n parrangeend text,\n parrangeevery text,\n parlistvalues text,\n parreloptions text[],\n partemplatespace oid\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "PartitionRule", - "content" : "MASTER_ONLY", - "oid" : 1, - "relid" : "5011", - "shared" : 0, - "text" : "with (camelcase=PartitionRule, relid=5011, content=MASTER_ONLY)" - } - }, - "pg_pltemplate" : { - "CamelCaseRelationId" : "PLTemplateRelationId", - "colh" : { - "tmplacl" : "aclitem[1]", - "tmplhandler" : "text", - "tmpllibrary" : "text", - "tmplname" : "NameData", - "tmpltrusted" : "bool", - "tmplvalidator" : "text" - }, - "cols" : [ - { - "colname" : "tmplname", - "ctype" : "NameData", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "name" - }, - { - "colname" : "tmpltrusted", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "tmplhandler", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "tmplvalidator", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "tmpllibrary", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "tmplacl", - "ctype" : "aclitem[1]", - "sqltype" : "aclitem[]" - } - ], - "filename" : "pg_pltemplate.h", - "indexes" : [ - { - "CamelCaseIndexId" : "PLTemplateNameIndexId", - "cols" : [ - [ - "tmplname", - "name_ops" - ] - ], - "indexid" : "1137", - "unique" : "1", - "with" : { - "camelcase" : "PLTemplateName", - "indexid" : "1137" - } - } - ], - "relid_comment_tag" : "/* relation id: 1136 - pg_pltemplate */\n", - "tabdef_text" : "\n CREATE TABLE pg_pltemplate\n with (camelcase=PLTemplate, shared=true, oid=false, relid=1136)\n (\n tmplname name, \n tmpltrusted boolean, \n tmplhandler text, \n tmplvalidator text, \n tmpllibrary text, \n tmplacl aclitem[]\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "PLTemplate", - "oid" : "", - "relid" : "1136", - "shared" : "1", - "text" : "with (camelcase=PLTemplate, shared=true, oid=false, relid=1136)" - } - }, - "pg_proc" : { - "CamelCaseRelationId" : "ProcedureRelationId", - "CamelCaseToastInd" : "PgProcedureToastIndex", - "CamelCaseToastTab" : "PgProcedureToastTable", - "colh" : { - "oid" : "Oid", - "proacl" : "aclitem[1]", - "proallargtypes" : "Oid[1]", - "proargmodes" : "char[1]", - "proargnames" : "text[1]", - "proargtypes" : "oidvector", - "probin" : "bytea", - "proisagg" : "bool", - "proisstrict" : "bool", - "proiswin" : "bool", - "prolang" : "Oid", - "proname" : "NameData", - "pronamespace" : "Oid", - "pronargs" : "int2", - "proowner" : "Oid", - "proretset" : "bool", - "prorettype" : "Oid", - "prosecdef" : "bool", - "prosrc" : "text", - "provolatile" : "char" - }, - "cols" : [ - { - "colname" : "proname", - "ctype" : "NameData", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "name" - }, - { - "colname" : "pronamespace", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "proowner", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "prolang", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "proisagg", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "prosecdef", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "proisstrict", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "proretset", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "provolatile", - "ctype" : "char", - "sqltype" : "quoted_char" - }, - { - "colname" : "pronargs", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "prorettype", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "proiswin", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "proargtypes", - "ctype" : "oidvector", - "sqltype" : "oidvector" - }, - { - "colname" : "proallargtypes", - "ctype" : "Oid[1]", - "sqltype" : "oid[]" - }, - { - "colname" : "proargmodes", - "ctype" : "char[1]", - "sqltype" : "quoted_char[]" - }, - { - "colname" : "proargnames", - "ctype" : "text[1]", - "sqltype" : "text[]" - }, - { - "colname" : "prosrc", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "probin", - "ctype" : "bytea", - "sqltype" : "bytea" - }, - { - "colname" : "proacl", - "ctype" : "aclitem[1]", - "sqltype" : "aclitem[]" - } - ], - "filename" : "pg_proc.h", - "fk_list" : [ - { - "fkcols" : [ - "pronamespace" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_namespace", - "type" : "scalar" - }, - { - "fkcols" : [ - "proowner" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_authid", - "type" : "scalar" - }, - { - "fkcols" : [ - "prolang" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_language", - "type" : "scalar" - }, - { - "fkcols" : [ - "prorettype" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_type", - "type" : "scalar" - }, - { - "fkcols" : [ - "proargtypes" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_type", - "type" : "vector" - }, - { - "fkcols" : [ - "proallargtypes" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_type", - "type" : "vector" - } - ], - "foreign_keys" : [ - [ - [ - "pronamespace" - ], - "pg_namespace", - [ - "oid" - ] - ], - [ - [ - "proowner" - ], - "pg_authid", - [ - "oid" - ] - ], - [ - [ - "prolang" - ], - "pg_language", - [ - "oid" - ] - ], - [ - [ - "prorettype" - ], - "pg_type", - [ - "oid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "ProcedureOidIndexId", - "cols" : [ - [ - "oid", - "oid_ops" - ] - ], - "indexid" : "2690", - "unique" : "1", - "with" : { - "camelcase" : "ProcedureOid", - "indexid" : "2690", - "syscache_nbuckets" : "2048", - "syscacheid" : "PROCOID" - } - }, - { - "CamelCaseIndexId" : "ProcedureNameArgsNspIndexId", - "cols" : [ - [ - "proname", - "name_ops" - ], - [ - "proargtypes", - "oidvector_ops" - ], - [ - "pronamespace", - "oid_ops" - ] - ], - "indexid" : "2691", - "unique" : "1", - "with" : { - "camelcase" : "ProcedureNameArgsNsp", - "indexid" : "2691", - "syscache_nbuckets" : "2048", - "syscacheid" : "PROCNAMEARGSNSP" - } - } - ], - "relid_comment_tag" : "/* relation id: 1255 - pg_proc */\n", - "tabdef_text" : "\n CREATE TABLE pg_proc\n with (camelcase=Procedure, bootstrap=true, relid=1255, toast_oid=2836, toast_index=2837)\n (\n proname name, \n pronamespace oid, \n proowner oid, \n prolang oid, \n proisagg boolean, \n prosecdef boolean, \n proisstrict boolean, \n proretset boolean, \n provolatile \"char\", \n pronargs smallint, \n prorettype oid, \n proiswin boolean, \n proargtypes oidvector, \n proallargtypes oid[], \n proargmodes \"char\"[], \n proargnames text[], \n prosrc text, \n probin bytea, \n proacl aclitem[]\n )", - "with" : { - "bootstrap" : "1", - "camelcase" : "Procedure", - "oid" : 1, - "relid" : "1255", - "shared" : 0, - "text" : "with (camelcase=Procedure, bootstrap=true, relid=1255, toast_oid=2836, toast_index=2837)", - "toast_index" : "2837", - "toast_oid" : "2836" - } - }, - "pg_proc_callback" : { - "CamelCaseRelationId" : "ProcCallbackRelationId", - "UppercaseReltypeOid" : "PG_PROC_CALLBACK_RELTYPE_OID", - "colh" : { - "procallback" : "regproc", - "profnoid" : "regproc", - "promethod" : "char" - }, - "cols" : [ - { - "colname" : "profnoid", - "ctype" : "regproc", - "postcomment" : "-- oid of the main function", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "regproc" - }, - { - "colname" : "procallback", - "ctype" : "regproc", - "postcomment" : "-- oid of the callback function", - "sqltype" : "regproc" - }, - { - "colname" : "promethod", - "ctype" : "char", - "postcomment" : "-- role the callback function is performing", - "sqltype" : "quoted_char" - } - ], - "filename" : "pg_proc_callback.h", - "fk_list" : [ - { - "fkcols" : [ - "profnoid" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_proc", - "type" : "scalar" - }, - { - "fkcols" : [ - "procallback" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_proc", - "type" : "scalar" - } - ], - "foreign_keys" : [ - [ - [ - "profnoid" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "procallback" - ], - "pg_proc", - [ - "oid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "ProcCallbackProfnoidPromethodIndexId", - "cols" : [ - [ - "profnoid", - "oid_ops" - ], - [ - "promethod", - "char_ops" - ] - ], - "indexid" : "3126", - "unique" : "1", - "with" : { - "camelcase" : "ProcCallbackProfnoidPromethod", - "indexid" : "3126" - } - } - ], - "relid_comment_tag" : "/* relation id: 3124 - pg_proc_callback */\n", - "tabdef_text" : "\n CREATE TABLE pg_proc_callback\n with (relid=3124, reltype_oid=3125, oid=false, CamelCase=ProcCallback)\n (\n profnoid regproc, -- oid of the main function\n procallback regproc, -- oid of the callback function\n promethod \"char\" -- role the callback function is performing\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "ProcCallback", - "oid" : "", - "relid" : "3124", - "reltype_oid" : "3125", - "shared" : 0, - "text" : "with (relid=3124, reltype_oid=3125, oid=false, CamelCase=ProcCallback)" - } - }, - "pg_resourcetype" : { - "CamelCaseRelationId" : "ResourceTypeRelationId", - "UppercaseReltypeOid" : "PG_RESOURCETYPE_RELTYPE_OID", - "colh" : { - "oid" : "Oid", - "resdefaultsetting" : "text", - "resdisabledsetting" : "text", - "reshasdefault" : "bool", - "reshasdisable" : "bool", - "resname" : "NameData", - "resrequired" : "bool", - "restypid" : "int2" - }, - "cols" : [ - { - "colname" : "resname", - "ctype" : "NameData", - "postcomment" : "-- name of resource type ", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "name" - }, - { - "colname" : "restypid", - "ctype" : "int2", - "postcomment" : "-- resource type id ", - "sqltype" : "smallint" - }, - { - "colname" : "resrequired", - "ctype" : "bool", - "postcomment" : "-- if required, user must specify during CREATE", - "sqltype" : "boolean" - }, - { - "colname" : "reshasdefault", - "ctype" : "bool", - "postcomment" : "-- create a default entry for optional type", - "sqltype" : "boolean" - }, - { - "colname" : "reshasdisable", - "ctype" : "bool", - "postcomment" : "-- whether the type can be removed or shut off", - "sqltype" : "boolean" - }, - { - "colname" : "resdefaultsetting", - "ctype" : "text", - "postcomment" : "-- default resource setting ", - "sqltype" : "text" - }, - { - "colname" : "resdisabledsetting", - "ctype" : "text", - "postcomment" : "-- value that turns it off ", - "sqltype" : "text" - } - ], - "filename" : "pg_resqueue.h", - "indexes" : [ - { - "CamelCaseIndexId" : "ResourceTypeOidIndexId", - "cols" : [ - [ - "oid", - "oid_ops" - ] - ], - "indexid" : "6061", - "unique" : "1", - "with" : { - "indexid" : "6061" - } - }, - { - "CamelCaseIndexId" : "ResourceTypeRestypidIndexId", - "cols" : [ - [ - "restypid", - "int2_ops" - ] - ], - "indexid" : "6062", - "unique" : "1", - "with" : { - "indexid" : "6062" - } - }, - { - "CamelCaseIndexId" : "ResourceTypeResnameIndexId", - "cols" : [ - [ - "resname", - "name_ops" - ] - ], - "indexid" : "6063", - "unique" : "1", - "with" : { - "indexid" : "6063" - } - } - ], - "relid_comment_tag" : "/* relation id: 6059 - pg_resourcetype */\n", - "tabdef_text" : "\n CREATE TABLE pg_resourcetype\n with (camelcase=ResourceType, shared=true, relid=6059, reltype_oid=6445)\n (\n resname name, -- name of resource type \n restypid smallint, -- resource type id \n resrequired boolean, -- if required, user must specify during CREATE\n reshasdefault boolean, -- create a default entry for optional type\n reshasdisable boolean, -- whether the type can be removed or shut off\n resdefaultsetting text,\t-- default resource setting \n resdisabledsetting text\t-- value that turns it off \n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "ResourceType", - "oid" : 1, - "relid" : "6059", - "reltype_oid" : "6445", - "shared" : "1", - "text" : "with (camelcase=ResourceType, shared=true, relid=6059, reltype_oid=6445)" - } - }, - "pg_resqueue" : { - "CamelCaseRelationId" : "ResQueueRelationId", - "colh" : { - "oid" : "Oid", - "rsqcostlimit" : "float4", - "rsqcountlimit" : "float4", - "rsqignorecostlimit" : "float4", - "rsqname" : "NameData", - "rsqovercommit" : "bool" - }, - "cols" : [ - { - "colname" : "rsqname", - "ctype" : "NameData", - "postcomment" : "-- name of resource queue", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "name" - }, - { - "colname" : "rsqcountlimit", - "ctype" : "float4", - "postcomment" : "-- max active count limit", - "sqltype" : "real" - }, - { - "colname" : "rsqcostlimit", - "ctype" : "float4", - "postcomment" : "-- max cost limit", - "sqltype" : "real" - }, - { - "colname" : "rsqovercommit", - "ctype" : "bool", - "postcomment" : "-- allow overcommit on suitable limits", - "sqltype" : "boolean" - }, - { - "colname" : "rsqignorecostlimit", - "ctype" : "float4", - "postcomment" : "-- ignore queries with cost less than", - "sqltype" : "real" - } - ], - "filename" : "pg_resqueue.h", - "indexes" : [ - { - "CamelCaseIndexId" : "ResQueueOidIndexId", - "cols" : [ - [ - "oid", - "oid_ops" - ] - ], - "indexid" : "6027", - "unique" : "1", - "with" : { - "indexid" : "6027" - } - }, - { - "CamelCaseIndexId" : "ResQueueRsqnameIndexId", - "cols" : [ - [ - "rsqname", - "name_ops" - ] - ], - "indexid" : "6028", - "unique" : "1", - "with" : { - "indexid" : "6028" - } - } - ], - "relid_comment_tag" : "/* relation id: 6026 - pg_resqueue */\n", - "tabdef_text" : "\n CREATE TABLE pg_resqueue\n with (camelcase=ResQueue, shared=true, relid=6026)\n (\n rsqname name, -- name of resource queue\n rsqcountlimit real, -- max active count limit\n rsqcostlimit real, -- max cost limit\n rsqovercommit boolean, -- allow overcommit on suitable limits\n rsqignorecostlimit real -- ignore queries with cost less than\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "ResQueue", - "oid" : 1, - "relid" : "6026", - "shared" : "1", - "text" : "with (camelcase=ResQueue, shared=true, relid=6026)" - } - }, - "pg_resqueuecapability" : { - "CamelCaseRelationId" : "ResQueueCapabilityRelationId", - "UppercaseReltypeOid" : "PG_RESQUEUECAPABILITY_RELTYPE_OID", - "colh" : { - "oid" : "Oid", - "resqueueid" : "Oid", - "ressetting" : "text", - "restypid" : "int2" - }, - "cols" : [ - { - "colname" : "resqueueid", - "ctype" : "Oid", - "postcomment" : "-- OID of the queue with this capability ", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "restypid", - "ctype" : "int2", - "postcomment" : "-- resource type id (key to pg_resourcetype) ", - "sqltype" : "smallint" - }, - { - "colname" : "ressetting", - "ctype" : "text", - "postcomment" : "-- resource setting (opaque type) ", - "sqltype" : "text" - } - ], - "filename" : "pg_resqueue.h", - "fk_list" : [ - { - "fkcols" : [ - "resqueueid" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_resqueue", - "type" : "scalar" - }, - { - "fkcols" : [ - "restypid" - ], - "pkcols" : [ - "restypid" - ], - "pktable" : "pg_resourcetype", - "type" : "scalar" - } - ], - "foreign_keys" : [ - [ - [ - "resqueueid" - ], - "pg_resqueue", - [ - "oid" - ] - ], - [ - [ - "restypid" - ], - "pg_resourcetype", - [ - "restypid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "ResQueueCapabilityOidIndexId", - "cols" : [ - [ - "oid", - "oid_ops" - ] - ], - "indexid" : "6064", - "unique" : "1", - "with" : { - "indexid" : "6064" - } - }, - { - "CamelCaseIndexId" : "ResQueueCapabilityResqueueidIndexId", - "cols" : [ - [ - "resqueueid", - "oid_ops" - ] - ], - "indexid" : "6065", - "unique" : "", - "with" : { - "indexid" : "6065" - } - }, - { - "CamelCaseIndexId" : "ResQueueCapabilityRestypidIndexId", - "cols" : [ - [ - "restypid", - "int2_ops" - ] - ], - "indexid" : "6066", - "unique" : "", - "with" : { - "indexid" : "6066" - } - } - ], - "relid_comment_tag" : "/* relation id: 6060 - pg_resqueuecapability */\n", - "tabdef_text" : "\n CREATE TABLE pg_resqueuecapability\n with (camelcase=ResQueueCapability, shared=true, relid=6060, reltype_oid=6446)\n (\n resqueueid oid,\t\t-- OID of the queue with this capability \n restypid smallint,\t-- resource type id (key to pg_resourcetype) \n ressetting text\t\t-- resource setting (opaque type) \n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "ResQueueCapability", - "oid" : 1, - "relid" : "6060", - "reltype_oid" : "6446", - "shared" : "1", - "text" : "with (camelcase=ResQueueCapability, shared=true, relid=6060, reltype_oid=6446)" - } - }, - "pg_rewrite" : { - "CamelCaseRelationId" : "RewriteRelationId", - "CamelCaseToastInd" : "PgRewriteToastIndex", - "CamelCaseToastTab" : "PgRewriteToastTable", - "colh" : { - "ev_action" : "text", - "ev_attr" : "int2", - "ev_class" : "Oid", - "ev_qual" : "text", - "ev_type" : "char", - "is_instead" : "bool", - "oid" : "Oid", - "rulename" : "NameData" - }, - "cols" : [ - { - "colname" : "rulename", - "ctype" : "NameData", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "name" - }, - { - "colname" : "ev_class", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "ev_attr", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "ev_type", - "ctype" : "char", - "sqltype" : "quoted_char" - }, - { - "colname" : "is_instead", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "ev_qual", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "ev_action", - "ctype" : "text", - "sqltype" : "text" - } - ], - "filename" : "pg_rewrite.h", - "fk_list" : [ - { - "fkcols" : [ - "ev_class" - ], - "pkcols" : [ - "attrelid" - ], - "pktable" : "pg_attribute", - "type" : "scalar" - } - ], - "foreign_keys" : [ - [ - [ - "ev_class" - ], - "pg_attribute", - [ - "attrelid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "RewriteOidIndexId", - "cols" : [ - [ - "oid", - "oid_ops" - ] - ], - "indexid" : "2692", - "unique" : "1", - "with" : { - "camelcase" : "RewriteOid", - "indexid" : "2692" - } - }, - { - "CamelCaseIndexId" : "RewriteRelRulenameIndexId", - "cols" : [ - [ - "ev_class", - "oid_ops" - ], - [ - "rulename", - "name_ops" - ] - ], - "indexid" : "2693", - "unique" : "1", - "with" : { - "camelcase" : "RewriteRelRulename", - "indexid" : "2693", - "syscache_nbuckets" : "1024", - "syscacheid" : "RULERELNAME" - } - } - ], - "relid_comment_tag" : "/* relation id: 2618 - pg_rewrite */\n", - "tabdef_text" : "\n CREATE TABLE pg_rewrite\n with (relid=2618, toast_oid=2838, toast_index=2839)\n (\n rulename name, \n ev_class oid, \n ev_attr smallint, \n ev_type \"char\", \n is_instead boolean, \n ev_qual text, \n ev_action text\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "Rewrite", - "oid" : 1, - "relid" : "2618", - "shared" : 0, - "text" : "with (relid=2618, toast_oid=2838, toast_index=2839)", - "toast_index" : "2839", - "toast_oid" : "2838" - } - }, - "pg_shdepend" : { - "CamelCaseRelationId" : "SharedDependRelationId", - "colh" : { - "classid" : "Oid", - "dbid" : "Oid", - "deptype" : "char", - "objid" : "Oid", - "refclassid" : "Oid", - "refobjid" : "Oid" - }, - "cols" : [ - { - "colname" : "dbid", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "classid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "objid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "refclassid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "refobjid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "deptype", - "ctype" : "char", - "sqltype" : "quoted_char" - } - ], - "filename" : "pg_shdepend.h", - "fk_list" : [ - { - "fkcols" : [ - "dbid" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_database", - "type" : "scalar" - }, - { - "fkcols" : [ - "classid" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_class", - "type" : "scalar" - }, - { - "fkcols" : [ - "refclassid" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_class", - "type" : "scalar" - } - ], - "foreign_keys" : [ - [ - [ - "dbid" - ], - "pg_database", - [ - "oid" - ] - ], - [ - [ - "classid" - ], - "pg_class", - [ - "oid" - ] - ], - [ - [ - "refclassid" - ], - "pg_class", - [ - "oid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "SharedDependDependerIndexId", - "cols" : [ - [ - "dbid", - "oid_ops" - ], - [ - "classid", - "oid_ops" - ], - [ - "objid", - "oid_ops" - ] - ], - "indexid" : "1232", - "unique" : "", - "with" : { - "camelcase" : "SharedDependDepender", - "indexid" : "1232" - } - }, - { - "CamelCaseIndexId" : "SharedDependReferenceIndexId", - "cols" : [ - [ - "refclassid", - "oid_ops" - ], - [ - "refobjid", - "oid_ops" - ] - ], - "indexid" : "1233", - "unique" : "", - "with" : { - "camelcase" : "SharedDependReference", - "indexid" : "1233" - } - } - ], - "relid_comment_tag" : "/* relation id: 1214 - pg_shdepend */\n", - "tabdef_text" : "\n CREATE TABLE pg_shdepend\n with (camelcase=SharedDepend, shared=true, oid=false, relid=1214, content=SEGMENT_LOCAL)\n (\n dbid oid, \n classid oid, \n objid oid, \n refclassid oid, \n refobjid oid, \n deptype \"char\"\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "SharedDepend", - "content" : "SEGMENT_LOCAL", - "oid" : "", - "relid" : "1214", - "shared" : "1", - "text" : "with (camelcase=SharedDepend, shared=true, oid=false, relid=1214, content=SEGMENT_LOCAL)" - } - }, - "pg_shdescription" : { - "CamelCaseRelationId" : "SharedDescriptionRelationId", - "CamelCaseToastInd" : "PgSharedDescriptionToastIndex", - "CamelCaseToastTab" : "PgSharedDescriptionToastTable", - "colh" : { - "classoid" : "Oid", - "description" : "text", - "objoid" : "Oid" - }, - "cols" : [ - { - "colname" : "objoid", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "classoid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "description", - "ctype" : "text", - "sqltype" : "text" - } - ], - "filename" : "pg_shdescription.h", - "fk_list" : [ - { - "fkcols" : [ - "classoid" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_class", - "type" : "scalar" - } - ], - "foreign_keys" : [ - [ - [ - "classoid" - ], - "pg_class", - [ - "oid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "SharedDescriptionObjIndexId", - "cols" : [ - [ - "objoid", - "oid_ops" - ], - [ - "classoid", - "oid_ops" - ] - ], - "indexid" : "2397", - "unique" : "1", - "with" : { - "camelcase" : "SharedDescriptionObj", - "indexid" : "2397" - } - } - ], - "relid_comment_tag" : "/* relation id: 2396 - pg_shdescription */\n", - "tabdef_text" : "\n CREATE TABLE pg_shdescription\n with (camelcase=SharedDescription, shared=true, oid=false, relid=2396, toast_oid=2846, toast_index=2847, content=MASTER_ONLY)\n (\n objoid oid, \n classoid oid, \n description text\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "SharedDescription", - "content" : "MASTER_ONLY", - "oid" : "", - "relid" : "2396", - "shared" : "1", - "text" : "with (camelcase=SharedDescription, shared=true, oid=false, relid=2396, toast_oid=2846, toast_index=2847, content=MASTER_ONLY)", - "toast_index" : "2847", - "toast_oid" : "2846" - } - }, - "pg_stat_last_operation" : { - "CamelCaseRelationId" : "StatLastOpRelationId", - "UppercaseReltypeOid" : "PG_STAT_LAST_OPERATION_RELTYPE_OID", - "colh" : { - "classid" : "Oid", - "objid" : "Oid", - "staactionname" : "NameData", - "stasubtype" : "text", - "stasysid" : "Oid", - "statime" : "timestamptz", - "stausename" : "NameData" - }, - "cols" : [ - { - "colname" : "classid", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "objid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "staactionname", - "ctype" : "NameData", - "sqltype" : "name" - }, - { - "colname" : "stasysid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "stausename", - "ctype" : "NameData", - "sqltype" : "name" - }, - { - "colname" : "stasubtype", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "statime", - "ctype" : "timestamptz", - "sqltype" : "timestamp_with_time_zone" - } - ], - "filename" : "pg_statistic.h", - "fk_list" : [ - { - "fkcols" : [ - "classid" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_class", - "type" : "scalar" - }, - { - "fkcols" : [ - "stasysid" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_authid", - "type" : "scalar" - } - ], - "foreign_keys" : [ - [ - [ - "classid" - ], - "pg_class", - [ - "oid" - ] - ], - [ - [ - "stasysid" - ], - "pg_authid", - [ - "oid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "StatLastOpClassidObjidIndexId", - "cols" : [ - [ - "classid", - "oid_ops" - ], - [ - "objid", - "oid_ops" - ] - ], - "indexid" : "6053", - "unique" : "", - "with" : { - "camelcase" : "StatLastOpClassidObjid", - "indexid" : "6053" - } - }, - { - "CamelCaseIndexId" : "StatLastOpClassidObjidStaactionnameIndexId", - "cols" : [ - [ - "classid", - "oid_ops" - ], - [ - "objid", - "oid_ops" - ], - [ - "staactionname", - "name_ops" - ] - ], - "indexid" : "6054", - "unique" : "1", - "with" : { - "camelcase" : "StatLastOpClassidObjidStaactionname", - "indexid" : "6054" - } - } - ], - "relid_comment_tag" : "/* relation id: 6052 - pg_stat_last_operation */\n", - "tabdef_text" : "\n CREATE TABLE pg_stat_last_operation\n with (camelcase=StatLastOp, oid=false, relid=6052, reltype_oid=6440, content=MASTER_ONLY)\n (\n classid oid, \n objid oid, \n staactionname name, \n stasysid oid, \n stausename name, \n stasubtype text, \n statime timestamp with time zone\n )", - "tzhack" : "\"statime\"", - "with" : { - "bootstrap" : 0, - "camelcase" : "StatLastOp", - "content" : "MASTER_ONLY", - "oid" : "", - "relid" : "6052", - "reltype_oid" : "6440", - "shared" : 0, - "text" : "with (camelcase=StatLastOp, oid=false, relid=6052, reltype_oid=6440, content=MASTER_ONLY)" - } - }, - "pg_stat_last_shoperation" : { - "CamelCaseRelationId" : "StatLastShOpRelationId", - "UppercaseReltypeOid" : "PG_STAT_LAST_SHOPERATION_RELTYPE_OID", - "colh" : { - "classid" : "Oid", - "objid" : "Oid", - "staactionname" : "NameData", - "stasubtype" : "text", - "stasysid" : "Oid", - "statime" : "timestamptz", - "stausename" : "NameData" - }, - "cols" : [ - { - "colname" : "classid", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "objid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "staactionname", - "ctype" : "NameData", - "sqltype" : "name" - }, - { - "colname" : "stasysid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "stausename", - "ctype" : "NameData", - "sqltype" : "name" - }, - { - "colname" : "stasubtype", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "statime", - "ctype" : "timestamptz", - "sqltype" : "timestamp_with_time_zone" - } - ], - "filename" : "pg_statistic.h", - "fk_list" : [ - { - "fkcols" : [ - "classid" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_class", - "type" : "scalar" - }, - { - "fkcols" : [ - "stasysid" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_authid", - "type" : "scalar" - } - ], - "foreign_keys" : [ - [ - [ - "classid" - ], - "pg_class", - [ - "oid" - ] - ], - [ - [ - "stasysid" - ], - "pg_authid", - [ - "oid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "StatLastShOpClassidObjidIndexId", - "cols" : [ - [ - "classid", - "oid_ops" - ], - [ - "objid", - "oid_ops" - ] - ], - "indexid" : "6057", - "unique" : "", - "with" : { - "camelcase" : "StatLastShOpClassidObjid", - "indexid" : "6057" - } - }, - { - "CamelCaseIndexId" : "StatLastShOpClassidObjidStaactionnameIndexId", - "cols" : [ - [ - "classid", - "oid_ops" - ], - [ - "objid", - "oid_ops" - ], - [ - "staactionname", - "name_ops" - ] - ], - "indexid" : "6058", - "unique" : "1", - "with" : { - "camelcase" : "StatLastShOpClassidObjidStaactionname", - "indexid" : "6058" - } - } - ], - "relid_comment_tag" : "/* relation id: 6056 - pg_stat_last_shoperation */\n", - "tabdef_text" : "\n CREATE TABLE pg_stat_last_shoperation\n with (camelcase=StatLastShOp, shared=true, oid=false, relid=6056, reltype_oid=6441, content=MASTER_ONLY)\n (\n classid oid, \n objid oid, \n staactionname name, \n stasysid oid, \n stausename name, \n stasubtype text, \n statime timestamp with time zone\n )", - "tzhack" : "\"statime\"", - "with" : { - "bootstrap" : 0, - "camelcase" : "StatLastShOp", - "content" : "MASTER_ONLY", - "oid" : "", - "relid" : "6056", - "reltype_oid" : "6441", - "shared" : "1", - "text" : "with (camelcase=StatLastShOp, shared=true, oid=false, relid=6056, reltype_oid=6441, content=MASTER_ONLY)" - } - }, - "pg_statistic" : { - "CamelCaseRelationId" : "StatisticRelationId", - "CamelCaseToastInd" : "PgStatisticToastIndex", - "CamelCaseToastTab" : "PgStatisticToastTable", - "colh" : { - "staattnum" : "int2", - "stadistinct" : "float4", - "stakind1" : "int2", - "stakind2" : "int2", - "stakind3" : "int2", - "stakind4" : "int2", - "stanullfrac" : "float4", - "stanumbers1" : "float4[1]", - "stanumbers2" : "float4[1]", - "stanumbers3" : "float4[1]", - "stanumbers4" : "float4[1]", - "staop1" : "Oid", - "staop2" : "Oid", - "staop3" : "Oid", - "staop4" : "Oid", - "starelid" : "Oid", - "stavalues1" : "text", - "stavalues2" : "text", - "stavalues3" : "text", - "stavalues4" : "text", - "stawidth" : "int4" - }, - "cols" : [ - { - "colname" : "starelid", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "staattnum", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "stanullfrac", - "ctype" : "float4", - "sqltype" : "real" - }, - { - "colname" : "stawidth", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "stadistinct", - "ctype" : "float4", - "sqltype" : "real" - }, - { - "colname" : "stakind1", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "stakind2", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "stakind3", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "stakind4", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "staop1", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "staop2", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "staop3", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "staop4", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "stanumbers1", - "ctype" : "float4[1]", - "sqltype" : "real[]" - }, - { - "colname" : "stanumbers2", - "ctype" : "float4[1]", - "sqltype" : "real[]" - }, - { - "colname" : "stanumbers3", - "ctype" : "float4[1]", - "sqltype" : "real[]" - }, - { - "colname" : "stanumbers4", - "ctype" : "float4[1]", - "sqltype" : "real[]" - }, - { - "colname" : "stavalues1", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "stavalues2", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "stavalues3", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "stavalues4", - "ctype" : "text", - "sqltype" : "text" - } - ], - "filename" : "pg_statistic.h", - "fk_list" : [ - { - "fkcols" : [ - "starelid" - ], - "pkcols" : [ - "attrelid" - ], - "pktable" : "pg_attribute", - "type" : "scalar" - }, - { - "fkcols" : [ - "staop1" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_operator", - "type" : "scalar" - }, - { - "fkcols" : [ - "staop2" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_operator", - "type" : "scalar" - }, - { - "fkcols" : [ - "staop3" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_operator", - "type" : "scalar" - }, - { - "fkcols" : [ - "staop4" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_operator", - "type" : "scalar" - } - ], - "foreign_keys" : [ - [ - [ - "starelid" - ], - "pg_attribute", - [ - "attrelid" - ] - ], - [ - [ - "staop1" - ], - "pg_operator", - [ - "oid" - ] - ], - [ - [ - "staop2" - ], - "pg_operator", - [ - "oid" - ] - ], - [ - [ - "staop3" - ], - "pg_operator", - [ - "oid" - ] - ], - [ - [ - "staop4" - ], - "pg_operator", - [ - "oid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "StatisticRelidAttnumIndexId", - "cols" : [ - [ - "starelid", - "oid_ops" - ], - [ - "staattnum", - "int2_ops" - ] - ], - "indexid" : "2696", - "unique" : "1", - "with" : { - "camelcase" : "StatisticRelidAttnum", - "indexid" : "2696", - "syscache_nbuckets" : "1024", - "syscacheid" : "STATRELATT" - } - } - ], - "relid_comment_tag" : "/* relation id: 2619 - pg_statistic */\n", - "tabdef_text" : "\n CREATE TABLE pg_statistic\n with (camelcase=Statistic, oid=false, relid=2619, toast_oid=2840, toast_index=2841, content=SEGMENT_LOCAL)\n (\n starelid oid, \n staattnum smallint, \n stanullfrac real, \n stawidth integer, \n stadistinct real, \n stakind1 smallint, \n stakind2 smallint, \n stakind3 smallint, \n stakind4 smallint, \n staop1 oid, \n staop2 oid, \n staop3 oid, \n staop4 oid, \n stanumbers1 real[], \n stanumbers2 real[], \n stanumbers3 real[], \n stanumbers4 real[], \n stavalues1 text, \n stavalues2 text, \n stavalues3 text, \n stavalues4 text\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "Statistic", - "content" : "SEGMENT_LOCAL", - "oid" : "", - "relid" : "2619", - "shared" : 0, - "text" : "with (camelcase=Statistic, oid=false, relid=2619, toast_oid=2840, toast_index=2841, content=SEGMENT_LOCAL)", - "toast_index" : "2841", - "toast_oid" : "2840" - } - }, - "pg_tablespace" : { - "CamelCaseRelationId" : "TableSpaceRelationId", - "colh" : { - "oid" : "Oid", - "spcacl" : "aclitem[1]", - "spcfsoid" : "Oid", - "spclocation" : "text", - "spcmirlocations" : "text[1]", - "spcname" : "NameData", - "spcowner" : "Oid", - "spcprilocations" : "text[1]" - }, - "cols" : [ - { - "colname" : "spcname", - "ctype" : "NameData", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "name" - }, - { - "colname" : "spcowner", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "spclocation", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "spcacl", - "ctype" : "aclitem[1]", - "sqltype" : "aclitem[]" - }, - { - "colname" : "spcprilocations", - "ctype" : "text[1]", - "sqltype" : "text[]" - }, - { - "colname" : "spcmirlocations", - "ctype" : "text[1]", - "sqltype" : "text[]" - }, - { - "colname" : "spcfsoid", - "ctype" : "Oid", - "sqltype" : "oid" - } - ], - "filename" : "pg_tablespace.h", - "fk_list" : [ - { - "fkcols" : [ - "spcowner" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_authid", - "type" : "scalar" - }, - { - "fkcols" : [ - "spcfsoid" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_filespace", - "type" : "scalar" - } - ], - "foreign_keys" : [ - [ - [ - "spcowner" - ], - "pg_authid", - [ - "oid" - ] - ], - [ - [ - "spcfsoid" - ], - "pg_filespace", - [ - "oid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "TablespaceOidIndexId", - "cols" : [ - [ - "oid", - "oid_ops" - ] - ], - "indexid" : "2697", - "unique" : "1", - "with" : { - "camelcase" : "TablespaceOid", - "indexid" : "2697" - } - }, - { - "CamelCaseIndexId" : "TablespaceNameIndexId", - "cols" : [ - [ - "spcname", - "name_ops" - ] - ], - "indexid" : "2698", - "unique" : "1", - "with" : { - "camelcase" : "TablespaceName", - "indexid" : "2698" - } - } - ], - "relid_comment_tag" : "/* relation id: 1213 - pg_tablespace */\n", - "tabdef_text" : "\n CREATE TABLE pg_tablespace\n with (camelcase=TableSpace, shared=true, relid=1213)\n (\n spcname name, \n spcowner oid, \n spclocation text, \n spcacl aclitem[], \n spcprilocations text[], \n spcmirlocations text[], \n spcfsoid oid\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "TableSpace", - "oid" : 1, - "relid" : "1213", - "shared" : "1", - "text" : "with (camelcase=TableSpace, shared=true, relid=1213)" - } - }, - "pg_trigger" : { - "CamelCaseRelationId" : "TriggerRelationId", - "colh" : { - "oid" : "Oid", - "tgargs" : "bytea", - "tgattr" : "int2vector", - "tgconstrname" : "NameData", - "tgconstrrelid" : "Oid", - "tgdeferrable" : "bool", - "tgenabled" : "bool", - "tgfoid" : "Oid", - "tginitdeferred" : "bool", - "tgisconstraint" : "bool", - "tgname" : "NameData", - "tgnargs" : "int2", - "tgrelid" : "Oid", - "tgtype" : "int2" - }, - "cols" : [ - { - "colname" : "tgrelid", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "tgname", - "ctype" : "NameData", - "sqltype" : "name" - }, - { - "colname" : "tgfoid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "tgtype", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "tgenabled", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "tgisconstraint", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "tgconstrname", - "ctype" : "NameData", - "sqltype" : "name" - }, - { - "colname" : "tgconstrrelid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "tgdeferrable", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "tginitdeferred", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "tgnargs", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "tgattr", - "ctype" : "int2vector", - "sqltype" : "int2vector" - }, - { - "colname" : "tgargs", - "ctype" : "bytea", - "sqltype" : "bytea" - } - ], - "filename" : "pg_trigger.h", - "fk_list" : [ - { - "fkcols" : [ - "tgrelid" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_class", - "type" : "scalar" - }, - { - "fkcols" : [ - "tgfoid" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_proc", - "type" : "scalar" - }, - { - "fkcols" : [ - "tgconstrrelid" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_class", - "type" : "scalar" - } - ], - "foreign_keys" : [ - [ - [ - "tgrelid" - ], - "pg_class", - [ - "oid" - ] - ], - [ - [ - "tgfoid" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "tgconstrrelid" - ], - "pg_class", - [ - "oid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "TriggerConstrNameIndexId", - "cols" : [ - [ - "tgconstrname", - "name_ops" - ] - ], - "indexid" : "2699", - "unique" : "", - "with" : { - "camelcase" : "TriggerConstrName", - "indexid" : "2699" - } - }, - { - "CamelCaseIndexId" : "TriggerConstrRelidIndexId", - "cols" : [ - [ - "tgconstrrelid", - "oid_ops" - ] - ], - "indexid" : "2700", - "unique" : "", - "with" : { - "camelcase" : "TriggerConstrRelid", - "indexid" : "2700" - } - }, - { - "CamelCaseIndexId" : "TriggerRelidNameIndexId", - "cols" : [ - [ - "tgrelid", - "oid_ops" - ], - [ - "tgname", - "name_ops" - ] - ], - "indexid" : "2701", - "unique" : "1", - "with" : { - "camelcase" : "TriggerRelidName", - "indexid" : "2701" - } - }, - { - "CamelCaseIndexId" : "TriggerOidIndexId", - "cols" : [ - [ - "oid", - "oid_ops" - ] - ], - "indexid" : "2702", - "unique" : "1", - "with" : { - "camelcase" : "TriggerOid", - "indexid" : "2702" - } - } - ], - "relid_comment_tag" : "/* relation id: 2620 - pg_trigger */\n", - "tabdef_text" : "\n CREATE TABLE pg_trigger\n with (relid=2620)\n (\n tgrelid oid, \n tgname name, \n tgfoid oid, \n tgtype smallint, \n tgenabled boolean, \n tgisconstraint boolean, \n tgconstrname name, \n tgconstrrelid oid, \n tgdeferrable boolean, \n tginitdeferred boolean, \n tgnargs smallint, \n tgattr int2vector, \n tgargs bytea\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "Trigger", - "oid" : 1, - "relid" : "2620", - "shared" : 0, - "text" : "with (relid=2620)" - } - }, - "pg_type" : { - "CamelCaseRelationId" : "TypeRelationId", - "colh" : { - "oid" : "Oid", - "typalign" : "char", - "typanalyze" : "regproc", - "typbasetype" : "Oid", - "typbyval" : "bool", - "typdefault" : "text", - "typdefaultbin" : "text", - "typdelim" : "char", - "typelem" : "Oid", - "typinput" : "regproc", - "typisdefined" : "bool", - "typlen" : "int2", - "typname" : "NameData", - "typnamespace" : "Oid", - "typndims" : "int4", - "typnotnull" : "bool", - "typoutput" : "regproc", - "typowner" : "Oid", - "typreceive" : "regproc", - "typrelid" : "Oid", - "typsend" : "regproc", - "typstorage" : "char", - "typtype" : "char", - "typtypmod" : "int4" - }, - "cols" : [ - { - "colname" : "typname", - "ctype" : "NameData", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "name" - }, - { - "colname" : "typnamespace", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "typowner", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "typlen", - "ctype" : "int2", - "sqltype" : "smallint" - }, - { - "colname" : "typbyval", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "typtype", - "ctype" : "char", - "sqltype" : "quoted_char" - }, - { - "colname" : "typisdefined", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "typdelim", - "ctype" : "char", - "sqltype" : "quoted_char" - }, - { - "colname" : "typrelid", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "typelem", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "typinput", - "ctype" : "regproc", - "sqltype" : "regproc" - }, - { - "colname" : "typoutput", - "ctype" : "regproc", - "sqltype" : "regproc" - }, - { - "colname" : "typreceive", - "ctype" : "regproc", - "sqltype" : "regproc" - }, - { - "colname" : "typsend", - "ctype" : "regproc", - "sqltype" : "regproc" - }, - { - "colname" : "typanalyze", - "ctype" : "regproc", - "sqltype" : "regproc" - }, - { - "colname" : "typalign", - "ctype" : "char", - "sqltype" : "quoted_char" - }, - { - "colname" : "typstorage", - "ctype" : "char", - "sqltype" : "quoted_char" - }, - { - "colname" : "typnotnull", - "ctype" : "bool", - "sqltype" : "boolean" - }, - { - "colname" : "typbasetype", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "typtypmod", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "typndims", - "ctype" : "int4", - "sqltype" : "integer" - }, - { - "colname" : "typdefaultbin", - "ctype" : "text", - "sqltype" : "text" - }, - { - "colname" : "typdefault", - "ctype" : "text", - "sqltype" : "text" - } - ], - "filename" : "pg_type.h", - "fk_list" : [ - { - "fkcols" : [ - "typnamespace" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_namespace", - "type" : "scalar" - }, - { - "fkcols" : [ - "typowner" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_authid", - "type" : "scalar" - }, - { - "fkcols" : [ - "typrelid" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_class", - "type" : "scalar" - }, - { - "fkcols" : [ - "typinput" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_proc", - "type" : "scalar" - }, - { - "fkcols" : [ - "typoutput" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_proc", - "type" : "scalar" - }, - { - "fkcols" : [ - "typreceive" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_proc", - "type" : "scalar" - }, - { - "fkcols" : [ - "typsend" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_proc", - "type" : "scalar" - }, - { - "fkcols" : [ - "typanalyze" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_proc", - "type" : "scalar" - } - ], - "foreign_keys" : [ - [ - [ - "typnamespace" - ], - "pg_namespace", - [ - "oid" - ] - ], - [ - [ - "typowner" - ], - "pg_authid", - [ - "oid" - ] - ], - [ - [ - "typrelid" - ], - "pg_class", - [ - "oid" - ] - ], - [ - [ - "typinput" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "typoutput" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "typreceive" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "typsend" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "typanalyze" - ], - "pg_proc", - [ - "oid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "TypeOidIndexId", - "cols" : [ - [ - "oid", - "oid_ops" - ] - ], - "indexid" : "2703", - "unique" : "1", - "with" : { - "camelcase" : "TypeOid", - "indexid" : "2703", - "syscache_nbuckets" : "1024", - "syscacheid" : "TYPEOID" - } - }, - { - "CamelCaseIndexId" : "TypeNameNspIndexId", - "cols" : [ - [ - "typname", - "name_ops" - ], - [ - "typnamespace", - "oid_ops" - ] - ], - "indexid" : "2704", - "unique" : "1", - "with" : { - "camelcase" : "TypeNameNsp", - "indexid" : "2704", - "syscache_nbuckets" : "1024", - "syscacheid" : "TYPENAMENSP" - } - } - ], - "relid_comment_tag" : "/* relation id: 1247 - pg_type */\n", - "tabdef_text" : "\n CREATE TABLE pg_type\n with (bootstrap=true, relid=1247)\n (\n typname name ,\n typnamespace oid ,\n typowner oid ,\n typlen smallint ,\n typbyval boolean ,\n typtype \"char\" ,\n typisdefined boolean ,\n typdelim \"char\" ,\n typrelid oid ,\n typelem oid ,\n typinput regproc ,\n typoutput regproc ,\n typreceive regproc ,\n typsend regproc ,\n typanalyze regproc ,\n typalign \"char\" ,\n typstorage \"char\" ,\n typnotnull boolean ,\n typbasetype oid ,\n typtypmod integer ,\n typndims integer ,\n typdefaultbin text ,\n typdefault text \n )", - "with" : { - "bootstrap" : "1", - "camelcase" : "Type", - "oid" : 1, - "relid" : "1247", - "shared" : 0, - "text" : "with (bootstrap=true, relid=1247)" - } - }, - "pg_type_encoding" : { - "CamelCaseRelationId" : "TypeEncodingRelationId", - "CamelCaseToastInd" : "PgTypeEncodingToastIndex", - "CamelCaseToastTab" : "PgTypeEncodingToastTable", - "UppercaseReltypeOid" : "PG_TYPE_ENCODING_RELTYPE_OID", - "UppercaseToastReltypeOid" : "PG_TYPE_ENCODING_TOAST_RELTYPE_OID", - "colh" : { - "typid" : "Oid", - "typoptions" : "text[1]" - }, - "cols" : [ - { - "colname" : "typid", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "typoptions", - "ctype" : "text[1]", - "sqltype" : "text[]" - } - ], - "filename" : "pg_type_encoding.h", - "fk_list" : [ - { - "fkcols" : [ - "typid" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_type", - "type" : "scalar" - } - ], - "foreign_keys" : [ - [ - [ - "typid" - ], - "pg_type", - [ - "oid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "TypeEncodingTypidIndexId", - "cols" : [ - [ - "typid", - "oid_ops" - ] - ], - "indexid" : "3207", - "unique" : "1", - "with" : { - "camelcase" : "TypeEncodingTypid", - "indexid" : "3207" - } - } - ], - "relid_comment_tag" : "/* relation id: 3220 - pg_type_encoding */\n", - "tabdef_text" : "\n CREATE TABLE pg_type_encoding\n with (relid=3220, reltype_oid=3221, toast_oid=3222, toast_index=3223, toast_reltype=3224, CamelCase=TypeEncoding, oid=false)\n (\n typid oid, \n typoptions text[]\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "TypeEncoding", - "oid" : "", - "relid" : "3220", - "reltype_oid" : "3221", - "shared" : 0, - "text" : "with (relid=3220, reltype_oid=3221, toast_oid=3222, toast_index=3223, toast_reltype=3224, CamelCase=TypeEncoding, oid=false)", - "toast_index" : "3223", - "toast_oid" : "3222", - "toast_reltype" : "3224" - } - }, - "pg_user_mapping" : { - "CamelCaseRelationId" : "UserMappingRelationId", - "UppercaseReltypeOid" : "PG_USER_MAPPING_RELTYPE_OID", - "colh" : { - "oid" : "Oid", - "umoptions" : "text[1]", - "umserver" : "Oid", - "umuser" : "Oid" - }, - "cols" : [ - { - "colname" : "umuser", - "ctype" : "Oid", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "oid" - }, - { - "colname" : "umserver", - "ctype" : "Oid", - "sqltype" : "oid" - }, - { - "colname" : "umoptions", - "ctype" : "text[1]", - "sqltype" : "text[]" - } - ], - "filename" : "pg_user_mapping.h", - "fk_list" : [ - { - "fkcols" : [ - "umuser" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_authid", - "type" : "scalar" - }, - { - "fkcols" : [ - "umserver" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_foreign_server", - "type" : "scalar" - } - ], - "foreign_keys" : [ - [ - [ - "umuser" - ], - "pg_authid", - [ - "oid" - ] - ], - [ - [ - "umserver" - ], - "pg_foreign_server", - [ - "oid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "UserMappingOidIndexId", - "cols" : [ - [ - "oid", - "oid_ops" - ] - ], - "indexid" : "3316", - "unique" : "1", - "with" : { - "camelcase" : "UserMappingOid", - "indexid" : "3316", - "syscache_nbuckets" : "128", - "syscacheid" : "USERMAPPINGOID" - } - }, - { - "CamelCaseIndexId" : "UserMappingUserServerIndexId", - "cols" : [ - [ - "umuser", - "oid_ops" - ], - [ - "umserver", - "oid_ops" - ] - ], - "indexid" : "3317", - "unique" : "1", - "with" : { - "camelcase" : "UserMappingUserServer", - "indexid" : "3317", - "syscache_nbuckets" : "128", - "syscacheid" : "USERMAPPINGUSERSERVER" - } - } - ], - "relid_comment_tag" : "/* relation id: 2895 - pg_user_mapping */\n", - "tabdef_text" : "\n CREATE TABLE pg_user_mapping\n with (camelcase=UserMapping, relid=2895, reltype_oid=6449)\n (\n umuser oid, \n umserver oid, \n umoptions text[]\n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "UserMapping", - "oid" : 1, - "relid" : "2895", - "reltype_oid" : "6449", - "shared" : 0, - "text" : "with (camelcase=UserMapping, relid=2895, reltype_oid=6449)" - } - }, - "pg_window" : { - "CamelCaseRelationId" : "WindowRelationId", - "colh" : { - "winallowframe" : "bool", - "wincount" : "bool", - "winfinfunc" : "regproc", - "winfnoid" : "regproc", - "winfunc" : "regproc", - "winkind" : "char", - "winpeercount" : "bool", - "winprefunc" : "regproc", - "winpretype" : "Oid", - "winrequireorder" : "bool" - }, - "cols" : [ - { - "colname" : "winfnoid", - "ctype" : "regproc", - "postcomment" : "-- pg_proc OID of the window function itself", - "precomment" : "\n**TK_BLANK_LINE**", - "sqltype" : "regproc" - }, - { - "colname" : "winrequireorder", - "ctype" : "bool", - "postcomment" : "-- does wf require order by?", - "sqltype" : "boolean" - }, - { - "colname" : "winallowframe", - "ctype" : "bool", - "postcomment" : "-- does wf allow framing?", - "sqltype" : "boolean" - }, - { - "colname" : "winpeercount", - "ctype" : "bool", - "postcomment" : "-- does wf definition need peer row count?", - "sqltype" : "boolean" - }, - { - "colname" : "wincount", - "ctype" : "bool", - "postcomment" : "-- does wf definition need partition row count?", - "sqltype" : "boolean" - }, - { - "colname" : "winfunc", - "ctype" : "regproc", - "postcomment" : "-- immediate function (0 if none)", - "sqltype" : "regproc" - }, - { - "colname" : "winprefunc", - "ctype" : "regproc", - "postcomment" : "-- preliminary function (0 if none)", - "sqltype" : "regproc" - }, - { - "colname" : "winpretype", - "ctype" : "Oid", - "postcomment" : "-- type of preliminary function result", - "sqltype" : "oid" - }, - { - "colname" : "winfinfunc", - "ctype" : "regproc", - "postcomment" : "-- final function (0 if none)", - "sqltype" : "regproc" - }, - { - "colname" : "winkind", - "ctype" : "char", - "sqltype" : "quoted_char" - } - ], - "filename" : "pg_window.h", - "fk_list" : [ - { - "fkcols" : [ - "winfnoid" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_proc", - "type" : "scalar" - }, - { - "fkcols" : [ - "winfunc" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_proc", - "type" : "scalar" - }, - { - "fkcols" : [ - "winprefunc" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_proc", - "type" : "scalar" - }, - { - "fkcols" : [ - "winfinfunc" - ], - "pkcols" : [ - "oid" - ], - "pktable" : "pg_proc", - "type" : "scalar" - } - ], - "foreign_keys" : [ - [ - [ - "winfnoid" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "winfunc" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "winprefunc" - ], - "pg_proc", - [ - "oid" - ] - ], - [ - [ - "winfinfunc" - ], - "pg_proc", - [ - "oid" - ] - ] - ], - "indexes" : [ - { - "CamelCaseIndexId" : "WindowWinfnoidIndexId", - "cols" : [ - [ - "winfnoid", - "oid_ops" - ] - ], - "indexid" : "5005", - "indexname" : "pg_window_fnoid_index", - "unique" : "1", - "with" : { - "indexid" : "5005", - "indexname" : "pg_window_fnoid_index", - "syscache_nbuckets" : "32", - "syscacheid" : "WINFNOID" - } - } - ], - "relid_comment_tag" : "/* relation id: 5004 - pg_window */\n", - "tabdef_text" : "\n CREATE TABLE pg_window\n with (oid=false, relid=5004)\n (\n winfnoid regproc, -- pg_proc OID of the window function itself\n winrequireorder boolean, -- does wf require order by?\n winallowframe boolean, -- does wf allow framing?\n winpeercount boolean, -- does wf definition need peer row count?\n wincount boolean, -- does wf definition need partition row count?\n winfunc regproc, -- immediate function (0 if none)\n winprefunc regproc, -- preliminary function (0 if none)\n winpretype oid, -- type of preliminary function result\n winfinfunc regproc, -- final function (0 if none)\n winkind \"char\" \n )", - "with" : { - "bootstrap" : 0, - "camelcase" : "Window", - "oid" : "", - "relid" : "5004", - "shared" : 0, - "text" : "with (oid=false, relid=5004)" - } - } -} diff --git a/gpMgmt/bin/gppylib/data/4.3.json b/gpMgmt/bin/gppylib/data/5.0.json similarity index 100% rename from gpMgmt/bin/gppylib/data/4.3.json rename to gpMgmt/bin/gppylib/data/5.0.json diff --git a/src/backend/catalog/Makefile b/src/backend/catalog/Makefile index 54f74925531eeb0f4bc07f8ac1789f76b78c566a..61cd229a28274e562a901d4ef4bb75d28db3e8c1 100644 --- a/src/backend/catalog/Makefile +++ b/src/backend/catalog/Makefile @@ -85,8 +85,8 @@ postgres.shdescription: postgres.bki ; postgres_bki_srcs: process_col_defaults.pl $(POSTGRES_BKI_SRCS) cat $(POSTGRES_BKI_SRCS) | $(PERL) process_col_defaults.pl > postgres_bki_srcs -4.3.json: process_foreign_keys.pl $(POSTGRES_BKI_SRCS) $(top_srcdir)/src/include/catalog/catversion.h - cat $(POSTGRES_BKI_SRCS) $(top_srcdir)/src/include/catalog/catversion.h | $(PERL) process_foreign_keys.pl > 4.3.json +5.0.json: process_foreign_keys.pl $(POSTGRES_BKI_SRCS) $(top_srcdir)/src/include/catalog/catversion.h + cat $(POSTGRES_BKI_SRCS) $(top_srcdir)/src/include/catalog/catversion.h | $(PERL) process_foreign_keys.pl > 5.0.json postgres.bki: genbki.sh postgres_bki_srcs $(top_srcdir)/src/include/pg_config_manual.h AWK='$(AWK)' $(SHELL) $< $(pg_includes) --set-version=$(VERSION) -o postgres postgres_bki_srcs diff --git a/src/include/catalog/README.add_catalog_function b/src/include/catalog/README.add_catalog_function index 07495a5c18a84941812ba80e1d1785fafc4a6fd1..e4e96c4b8beae5e8a0ca0357a2e9c21157151325 100644 --- a/src/include/catalog/README.add_catalog_function +++ b/src/include/catalog/README.add_catalog_function @@ -35,9 +35,9 @@ the following steps are needed. gpMgmt/bin/gppylib/data/X.X.json. Otherwise, catversion test would fail. $ cd src/backend/catalog - $ make 4.3.json + $ make 5.0.json - After 4.3.json is generated, move it to gpMgmt/bin/gppylib/data/ + After 5.0.json is generated, move it to gpMgmt/bin/gppylib/data/ 5. Run make distclean, make, gpinitsystem and you should be able to see your newly added function in pg_proc. diff --git a/src/include/catalog/README.modifying_catalogs b/src/include/catalog/README.modifying_catalogs index 6f6cf9eca4a2e187975e2e3699dc12b787f76b12..784d0a1d47ab6386169d53d5f0578ac80ff7f712 100644 --- a/src/include/catalog/README.modifying_catalogs +++ b/src/include/catalog/README.modifying_catalogs @@ -72,8 +72,8 @@ gpMgmt/bin/gppylib/data/.json file. There is a script for that in src/backend/catalog: cd src/backend/catalog - make 4.3.json - cp 4.3.json ../../../gpMgmt/bin/gppylib/data + make 5.0.json + cp 5.0.json ../../../gpMgmt/bin/gppylib/data If you add a column to an existing PostgreSQL catalog, you can use