blob: 293e649e130e730da52fb592567062ff25de3b1b [file] [log] [blame]
{
"__comment" : "Generated by tidycat.pl version 34 on Mon Mar 27 14:22:31 2017 CATALOG_VERSION_NO=201507221",
"__info" : {
"CATALOG_VERSION_NO" : "201507221"
},
"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" : {
"description" : "text",
"hostname" : "text",
"registration_order" : "int4",
"time" : "timestamptz"
},
"cols" : [
{
"colname" : "time",
"ctype" : "timestamptz",
"precomment" : "\n**TK_BLANK_LINE**",
"sqltype" : "timestamp_with_time_zone"
},
{
"colname" : "registration_order",
"ctype" : "int4",
"sqltype" : "integer"
},
{
"colname" : "hostname",
"ctype" : "text",
"sqltype" : "text"
},
{
"colname" : "description",
"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 registration_order integer,\n hostname text,\n description 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]",
"bucketnum" : "int4",
"localoid" : "Oid"
},
"cols" : [
{
"colname" : "localoid",
"ctype" : "Oid",
"precomment" : "\n**TK_BLANK_LINE**",
"sqltype" : "oid"
},
{
"colname" : "bucketnum",
"ctype" : "int4",
"sqltype" : "integer"
},
{
"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 bucketnum integer,\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_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_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_filespace_node" : {
"CamelCaseRelationId" : "GpPersistent_filespace_nodeRelationId",
"UppercaseReltypeOid" : "GP_PERSISTENT_FILESPACE_NODE_RELTYPE_OID",
"colh" : {
"db_id" : "int2",
"filespace_oid" : "Oid",
"location" : "text",
"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",
"ctype" : "int2",
"sqltype" : "smallint"
},
{
"colname" : "location",
"ctype" : "text",
"sqltype" : "text"
},
{
"colname" : "persistent_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 smallint ,\n location text ,\n persistent_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" : {
"database_oid" : "Oid",
"parent_xid" : "int4",
"persistent_serial_num" : "bigint",
"persistent_state" : "int2",
"previous_free_tid" : "tid",
"relfilenode_oid" : "Oid",
"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" : "relfilenode_oid",
"ctype" : "Oid",
"sqltype" : "oid"
},
{
"colname" : "persistent_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: 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\t\t\t\t\t\t\t\t\toid\t\t\t,\n database_oid\t\t\t\t\t\t\t\t\t\toid\t\t\t,\n relfilenode_oid\t\t\t\t\t\t\t\t\toid\t\t\t,\n persistent_state\t\t\t\t\t\t\t\t\tsmallint\t\t,\n reserved\t\t\t\t\t\t\t\t\t\t\tinteger\t\t,\n parent_xid\t\t\t\t\t\t\t\t\t\tinteger\t\t,\n persistent_serial_num\t\t\t\t\t\t\t\tbigint\t\t,\n previous_free_tid\t\t\t\t\t\t\t\t\ttid\t\t\t,\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_relfile_node" : {
"CamelCaseRelationId" : "GpPersistent_relfile_nodeRelationId",
"UppercaseReltypeOid" : "GP_PERSISTENT_RELFILE_NODE_RELTYPE_OID",
"colh" : {
"database_oid" : "Oid",
"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" : "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: 5089 - gp_persistent_relfile_node */\n",
"tabdef_text" : "\n CREATE TABLE gp_persistent_relfile_node\n with (shared=true, oid=false, relid=5089, reltype_oid=6989, 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 relation_bufpool_kind integer ,\n parent_xid integer ,\n persistent_serial_num bigint ,\n previous_free_tid tid ,\n )",
"with" : {
"bootstrap" : 0,
"camelcase" : "GpPersistent_relfile_node",
"content" : "PERSISTENT",
"oid" : "",
"relid" : "5089",
"reltype_oid" : "6989",
"shared" : "1",
"text" : "with (shared=true, oid=false, relid=5089, reltype_oid=6989, content=PERSISTENT)"
}
},
"gp_persistent_tablespace_node" : {
"CamelCaseRelationId" : "GpPersistent_tablespace_nodeRelationId",
"UppercaseReltypeOid" : "GP_PERSISTENT_TABLESPACE_NODE_RELTYPE_OID",
"colh" : {
"filespace_oid" : "Oid",
"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" : "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 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_relfile_node" : {
"CamelCaseRelationId" : "GpRelfile_nodeRelationId",
"UppercaseReltypeOid" : "GP_RELFILE_NODE_RELTYPE_OID",
"colh" : {
"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" : "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_relfile_node */\n",
"tabdef_text" : "\n CREATE TABLE gp_relfile_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 persistent_tid tid ,\n persistent_serial_num bigint \n )",
"with" : {
"bootstrap" : 0,
"camelcase" : "GpRelfile_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",
"description" : "text",
"hostname" : "text",
"port" : "int4",
"registration_order" : "int4",
"role" : "char",
"status" : "char"
},
"cols" : [
{
"colname" : "registration_order",
"ctype" : "int4",
"precomment" : "\n**TK_BLANK_LINE**",
"sqltype" : "integer"
},
{
"colname" : "role",
"ctype" : "char",
"sqltype" : "quoted_char"
},
{
"colname" : "status",
"ctype" : "char",
"sqltype" : "quoted_char"
},
{
"colname" : "port",
"ctype" : "int4",
"sqltype" : "integer"
},
{
"colname" : "hostname",
"ctype" : "text",
"sqltype" : "text"
},
{
"colname" : "address",
"ctype" : "text",
"sqltype" : "text"
},
{
"colname" : "description",
"ctype" : "text",
"sqltype" : "text"
}
],
"filename" : "gp_segment_config.h",
"indexes" : [
{
"CamelCaseIndexId" : "GpSegmentConfigRegistration_orderIndexId",
"cols" : [
[
"registration_order",
"int4_ops"
]
],
"indexid" : "6106",
"indexname" : "gp_segment_config_registration_order_index",
"unique" : "1",
"with" : {
"indexid" : "6106",
"indexname" : "gp_segment_config_registration_order_index"
}
},
{
"CamelCaseIndexId" : "GpSegmentConfigRoleIndexId",
"cols" : [
[
"role",
"char_ops"
]
],
"indexid" : "6107",
"indexname" : "gp_segment_config_role_index",
"unique" : "",
"with" : {
"indexid" : "6107",
"indexname" : "gp_segment_config_role_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 registration_order integer ,\n role \"char\" ,\n status \"char\" ,\n port integer ,\n hostname text ,\n address text ,\n description text\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",
"pagesize" : "int4",
"relid" : "Oid",
"safefswritesize" : "int4",
"segidxid" : "Oid",
"segrelid" : "Oid",
"splitsize" : "int4",
"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"
},
{
"colname" : "pagesize",
"ctype" : "int4",
"sqltype" : "integer"
},
{
"colname" : "splitsize",
"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 pagesize\t\t\tinteger,\n splitsize 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" : {
"dat2tablespace" : "Oid",
"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" : "dat2tablespace",
"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 dat2tablespace 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" : {
"fsfsys" : "Oid",
"fsname" : "NameData",
"fsowner" : "Oid",
"fsrep" : "int2",
"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"
},
{
"colname" : "fsfsys",
"ctype" : "Oid",
"postcomment" : "-- filesystem",
"sqltype" : "oid"
},
{
"colname" : "fsrep",
"ctype" : "int2",
"postcomment" : "-- num of replica",
"sqltype" : "smallint"
}
],
"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 fsfsys oid, -- filesystem\n fsrep smallint, -- num of replica\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_filesystem" : {
"CamelCaseRelationId" : "FileSystemRelationId",
"CamelCaseToastInd" : "PgFileSystemToastIndex",
"CamelCaseToastTab" : "PgFileSystemToastTable",
"UppercaseReltypeOid" : "PG_FILESYSTEM_RELTYPE_OID",
"UppercaseToastReltypeOid" : "PG_FILESYSTEM_TOAST_RELTYPE_OID",
"colh" : {
"fsysacl" : "aclitem[1]",
"fsyschmodfn" : "NameData",
"fsysclosefn" : "NameData",
"fsysconnfn" : "NameData",
"fsysdeletefn" : "NameData",
"fsysdisconnfn" : "NameData",
"fsysflushfn" : "NameData",
"fsysfreefileinfofn" : "NameData",
"fsysgetpathinfofn" : "NameData",
"fsyslibfile" : "text",
"fsysmkdirfn" : "NameData",
"fsysname" : "NameData",
"fsysopenfn" : "NameData",
"fsysowner" : "Oid",
"fsysreadfn" : "NameData",
"fsysseekfn" : "NameData",
"fsystellfn" : "NameData",
"fsystruncatefn" : "NameData",
"fsystrusted" : "bool",
"fsyswritefn" : "NameData",
"oid" : "Oid"
},
"cols" : [
{
"colname" : "fsysname",
"ctype" : "NameData",
"postcomment" : "-- filesystem name",
"precomment" : "\n**TK_BLANK_LINE**",
"sqltype" : "name"
},
{
"colname" : "fsysconnfn",
"ctype" : "NameData",
"postcomment" : "-- connect",
"sqltype" : "name"
},
{
"colname" : "fsysdisconnfn",
"ctype" : "NameData",
"postcomment" : "-- disconnect",
"sqltype" : "name"
},
{
"colname" : "fsysopenfn",
"ctype" : "NameData",
"postcomment" : "-- open",
"sqltype" : "name"
},
{
"colname" : "fsysclosefn",
"ctype" : "NameData",
"postcomment" : "-- close",
"sqltype" : "name"
},
{
"colname" : "fsysseekfn",
"ctype" : "NameData",
"sqltype" : "name"
},
{
"colname" : "fsystellfn",
"ctype" : "NameData",
"sqltype" : "name"
},
{
"colname" : "fsysreadfn",
"ctype" : "NameData",
"sqltype" : "name"
},
{
"colname" : "fsyswritefn",
"ctype" : "NameData",
"sqltype" : "name"
},
{
"colname" : "fsysflushfn",
"ctype" : "NameData",
"sqltype" : "name"
},
{
"colname" : "fsysdeletefn",
"ctype" : "NameData",
"sqltype" : "name"
},
{
"colname" : "fsyschmodfn",
"ctype" : "NameData",
"sqltype" : "name"
},
{
"colname" : "fsysmkdirfn",
"ctype" : "NameData",
"sqltype" : "name"
},
{
"colname" : "fsystruncatefn",
"ctype" : "NameData",
"sqltype" : "name"
},
{
"colname" : "fsysgetpathinfofn",
"ctype" : "NameData",
"sqltype" : "name"
},
{
"colname" : "fsysfreefileinfofn",
"ctype" : "NameData",
"sqltype" : "name"
},
{
"colname" : "fsyslibfile",
"ctype" : "text",
"sqltype" : "text"
},
{
"colname" : "fsysowner",
"ctype" : "Oid",
"postcomment" : "-- owner",
"sqltype" : "oid"
},
{
"colname" : "fsystrusted",
"ctype" : "bool",
"postcomment" : "--",
"sqltype" : "bool"
},
{
"colname" : "fsysacl",
"ctype" : "aclitem[1]",
"sqltype" : "aclitem[]"
}
],
"filename" : "pg_filesystem.h",
"indexes" : [
{
"CamelCaseIndexId" : "FileSystemOidIndexId",
"cols" : [
[
"oid",
"oid_ops"
]
],
"indexid" : "7183",
"unique" : "1",
"with" : {
"indexid" : "7183"
}
},
{
"CamelCaseIndexId" : "FileSystemFsysnameIndexId",
"cols" : [
[
"fsysname",
"name_ops"
]
],
"indexid" : "7184",
"unique" : "1",
"with" : {
"indexid" : "7184"
}
}
],
"relid_comment_tag" : "/* relation id: 6112 - pg_filesystem */\n",
"tabdef_text" : "\n CREATE TABLE pg_filesystem\n with (camelcase=FileSystem, shared=true, oid=true, relid=6112, reltype_oid=6113, toast_oid=6114, toast_index=6115, toast_reltype=6116)\n (\n fsysname name, -- filesystem name\n fsysconnfn\t\t\tname, -- connect\n fsysdisconnfn\t\tname, -- disconnect\n fsysopenfn\t\t\tname, -- open\n fsysclosefn\t\t\tname, -- close\n fsysseekfn\t\t\tname,\n fsystellfn\t\t\tname,\n fsysreadfn\t\t\tname,\n fsyswritefn\t\t\tname,\n fsysflushfn\t\t\tname,\n fsysdeletefn name,\n fsyschmodfn name,\n fsysmkdirfn name,\n fsystruncatefn name,\n fsysgetpathinfofn name,\n fsysfreefileinfofn name,\n fsyslibfile text,\n fsysowner Oid, -- owner\n fsystrusted\t bool, --\n fsysacl aclitem[]\n )",
"with" : {
"bootstrap" : 0,
"camelcase" : "FileSystem",
"oid" : "1",
"relid" : "6112",
"reltype_oid" : "6113",
"shared" : "1",
"text" : "with (camelcase=FileSystem, shared=true, oid=true, relid=6112, reltype_oid=6113, toast_oid=6114, toast_index=6115, toast_reltype=6116)",
"toast_index" : "6115",
"toast_oid" : "6114",
"toast_reltype" : "6116"
}
},
"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]",
"nspdboid" : "Oid",
"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[]"
},
{
"colname" : "nspdboid",
"ctype" : "Oid",
"sqltype" : "oid"
}
],
"filename" : "pg_namespace.h",
"fk_list" : [
{
"fkcols" : [
"nspowner"
],
"pkcols" : [
"oid"
],
"pktable" : "pg_authid",
"type" : "scalar"
}
],
"foreign_keys" : [
[
[
"nspowner"
],
"pg_authid",
[
"oid"
]
]
],
"indexes" : [
{
"CamelCaseIndexId" : "NamespaceNspnameNspdboidIndexId",
"cols" : [
[
"nspname",
"name_ops"
],
[
"nspdboid",
"oid_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 nspdboid oid\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",
"prodataaccess" : "char",
"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[]"
},
{
"colname" : "prodataaccess",
"ctype" : "char",
"sqltype" : "quoted_char"
}
],
"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 prodataaccess \"char\"\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_remote_credentials" : {
"CamelCaseRelationId" : "RemoteCredentialsRelationId",
"CamelCaseToastInd" : "PgRemoteCredentialsToastIndex",
"CamelCaseToastTab" : "PgRemoteCredentialsToastTable",
"UppercaseReltypeOid" : "PG_REMOTE_CREDENTIALS_RELTYPE_OID",
"UppercaseToastReltypeOid" : "PG_REMOTE_CREDENTIALS_TOAST_RELTYPE_OID",
"colh" : {
"rcowner" : "Oid",
"rcremotepassword" : "text",
"rcremoteuser" : "text",
"rcservice" : "text"
},
"cols" : [
{
"colname" : "rcowner",
"ctype" : "Oid",
"precomment" : "\n**TK_BLANK_LINE**",
"sqltype" : "oid"
},
{
"colname" : "rcservice",
"ctype" : "text",
"sqltype" : "text"
},
{
"colname" : "rcremoteuser",
"ctype" : "text",
"sqltype" : "text"
},
{
"colname" : "rcremotepassword",
"ctype" : "text",
"sqltype" : "text"
}
],
"filename" : "pg_remote_credentials.h",
"fk_list" : [
{
"fkcols" : [
"rcowner"
],
"pkcols" : [
"oid"
],
"pktable" : "pg_authid",
"type" : "scalar"
}
],
"foreign_keys" : [
[
[
"rcowner"
],
"pg_authid",
[
"oid"
]
]
],
"indexes" : [
{
"CamelCaseIndexId" : "RemoteCredentialsOwnerServiceIndexId",
"cols" : [
[
"rcowner",
"oid_ops"
],
[
"rcservice",
"text_ops"
]
],
"indexid" : "7081",
"indexname" : "pg_remote_credentials_owner_service_index",
"unique" : "1",
"with" : {
"camelcase" : "RemoteCredentialsOwnerService",
"indexid" : "7081",
"indexname" : "pg_remote_credentials_owner_service_index"
}
}
],
"relid_comment_tag" : "/* relation id: 7076 - pg_remote_credentials */\n",
"tabdef_text" : "\n CREATE TABLE pg_remote_credentials\n with (relid=7076, reltype_oid=7077, toast_oid=7078, toast_index=7079, toast_reltype=7080, camelcase=RemoteCredentials, oid=false, shared=false)\n (\n rcowner\t\t\toid, \n rcservice\t\ttext, \n rcremoteuser\t\ttext,\n rcremotepassword\ttext\n )",
"with" : {
"bootstrap" : 0,
"camelcase" : "RemoteCredentials",
"oid" : "",
"relid" : "7076",
"reltype_oid" : "7077",
"shared" : "",
"text" : "with (relid=7076, reltype_oid=7077, toast_oid=7078, toast_index=7079, toast_reltype=7080, camelcase=RemoteCredentials, oid=false, shared=false)",
"toast_index" : "7079",
"toast_oid" : "7078",
"toast_reltype" : "7080"
}
},
"pg_resqueue" : {
"CamelCaseRelationId" : "ResQueueRelationId",
"CamelCaseToastInd" : "PgResQueueToastIndex",
"CamelCaseToastTab" : "PgResQueueToastTable",
"UppercaseReltypeOid" : "PG_RESQUEUE_RELTYPE_OID",
"UppercaseToastReltypeOid" : "PG_RESQUEUE_TOAST_RELTYPE_OID",
"colh" : {
"activestats" : "int4",
"allocpolicy" : "text",
"corelimit" : "text",
"creationtime" : "timestamptz",
"memorylimit" : "text",
"nvseglowerlimit" : "int4",
"nvseglowerlimitperseg" : "float4",
"nvsegupperlimit" : "int4",
"nvsegupperlimitperseg" : "float4",
"oid" : "Oid",
"parentoid" : "Oid",
"resovercommit" : "float4",
"rsqname" : "NameData",
"status" : "text",
"updatetime" : "timestamptz",
"vsegresourcequota" : "text"
},
"cols" : [
{
"colname" : "rsqname",
"ctype" : "NameData",
"postcomment" : "-- name of resource queue",
"precomment" : "\n**TK_BLANK_LINE**",
"sqltype" : "name"
},
{
"colname" : "parentoid",
"ctype" : "Oid",
"postcomment" : "-- oid of resource queue",
"sqltype" : "oid"
},
{
"colname" : "activestats",
"ctype" : "int4",
"postcomment" : "-- active statement count limit",
"sqltype" : "integer"
},
{
"colname" : "memorylimit",
"ctype" : "text",
"postcomment" : "-- memory limit in cluster",
"sqltype" : "text"
},
{
"colname" : "corelimit",
"ctype" : "text",
"postcomment" : "-- core limit in cluster",
"sqltype" : "text"
},
{
"colname" : "resovercommit",
"ctype" : "float4",
"postcomment" : "-- resource upper limit in cluster",
"sqltype" : "real"
},
{
"colname" : "allocpolicy",
"ctype" : "text",
"postcomment" : "-- query resource allocation policy",
"sqltype" : "text"
},
{
"colname" : "vsegresourcequota",
"ctype" : "text",
"postcomment" : "-- vsegment resource quota",
"sqltype" : "text"
},
{
"colname" : "nvsegupperlimit",
"ctype" : "int4",
"postcomment" : "-- vsegment size upper limit",
"sqltype" : "integer"
},
{
"colname" : "nvseglowerlimit",
"ctype" : "int4",
"postcomment" : "-- vsegment size lower limit",
"sqltype" : "integer"
},
{
"colname" : "nvsegupperlimitperseg",
"ctype" : "float4",
"postcomment" : "-- vsegment size upper limit per segment",
"sqltype" : "real"
},
{
"colname" : "nvseglowerlimitperseg",
"ctype" : "float4",
"postcomment" : "-- vsegment size lower limit per segment",
"sqltype" : "real"
},
{
"colname" : "creationtime",
"ctype" : "timestamptz",
"postcomment" : "-- when the queue is created",
"sqltype" : "timestamp_with_time_zone"
},
{
"colname" : "updatetime",
"ctype" : "timestamptz",
"postcomment" : "-- when the queue is updated ( create or alter )",
"sqltype" : "timestamp_with_time_zone"
},
{
"colname" : "status",
"ctype" : "text",
"postcomment" : "-- the status of resource queue",
"sqltype" : "text"
}
],
"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, reltype_oid=9830, toast_oid=9820, toast_index=9821, toast_reltype=9822)\n (\n rsqname name, -- name of resource queue\n parentoid oid, -- oid of resource queue\n activestats integer, -- active statement count limit\n memorylimit text, -- memory limit in cluster\n corelimit text, -- core limit in cluster\n resovercommit real, -- resource upper limit in cluster\n allocpolicy text, -- query resource allocation policy\n vsegresourcequota text, -- vsegment resource quota\n nvsegupperlimit integer, -- vsegment size upper limit\n nvseglowerlimit integer, -- vsegment size lower limit\n nvsegupperlimitperseg real, -- vsegment size upper limit per segment\n nvseglowerlimitperseg real, -- vsegment size lower limit per segment\n creationtime timestamp with time zone, -- when the queue is created\n updatetime timestamp with time zone, -- when the queue is updated ( create or alter )\n status text, -- the status of resource queue\n )",
"tzhack" : "\"creationtime\" et al",
"with" : {
"bootstrap" : 0,
"camelcase" : "ResQueue",
"oid" : 1,
"relid" : "6026",
"reltype_oid" : "9830",
"shared" : "1",
"text" : "with (camelcase=ResQueue, shared=true, relid=6026, reltype_oid=9830, toast_oid=9820, toast_index=9821, toast_reltype=9822)",
"toast_index" : "9821",
"toast_oid" : "9820",
"toast_reltype" : "9822"
}
},
"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)"
}
}
}