diff --git a/internal/codegen/golang/postgresql_type.go b/internal/codegen/golang/postgresql_type.go index 3a438b7724..2046014682 100644 --- a/internal/codegen/golang/postgresql_type.go +++ b/internal/codegen/golang/postgresql_type.go @@ -274,7 +274,7 @@ func postgresType(req *plugin.CodeGenRequest, col *plugin.Column) string { } for _, schema := range req.Catalog.Schemas { - if schema.Name == "pg_catalog" { + if schema.Name == "pg_catalog" || schema.Name == "information_schema" { continue } diff --git a/internal/codegen/golang/result.go b/internal/codegen/golang/result.go index 1875a9e5ee..bfd9c1b2ea 100644 --- a/internal/codegen/golang/result.go +++ b/internal/codegen/golang/result.go @@ -13,7 +13,7 @@ import ( func buildEnums(req *plugin.CodeGenRequest) []Enum { var enums []Enum for _, schema := range req.Catalog.Schemas { - if schema.Name == "pg_catalog" { + if schema.Name == "pg_catalog" || schema.Name == "information_schema" { continue } for _, enum := range schema.Enums { @@ -52,7 +52,7 @@ func buildEnums(req *plugin.CodeGenRequest) []Enum { func buildStructs(req *plugin.CodeGenRequest) []Struct { var structs []Struct for _, schema := range req.Catalog.Schemas { - if schema.Name == "pg_catalog" { + if schema.Name == "pg_catalog" || schema.Name == "information_schema" { continue } for _, table := range schema.Tables { @@ -253,8 +253,9 @@ func buildQueries(req *plugin.CodeGenRequest, structs []Struct) ([]Query, error) // It's possible that this method will generate duplicate JSON tag values // -// Columns: count, count, count_2 -// Fields: Count, Count_2, Count2 +// Columns: count, count, count_2 +// Fields: Count, Count_2, Count2 +// // JSON tags: count, count_2, count_2 // // This is unlikely to happen, so don't fix it yet diff --git a/internal/codegen/kotlin/gen.go b/internal/codegen/kotlin/gen.go index 1c4a9daa15..ed5f636cdb 100644 --- a/internal/codegen/kotlin/gen.go +++ b/internal/codegen/kotlin/gen.go @@ -217,7 +217,7 @@ func ktEnumValueName(value string) string { func buildEnums(req *plugin.CodeGenRequest) []Enum { var enums []Enum for _, schema := range req.Catalog.Schemas { - if schema.Name == "pg_catalog" { + if schema.Name == "pg_catalog" || schema.Name == "information_schema" { continue } for _, enum := range schema.Enums { @@ -265,7 +265,7 @@ func memberName(name string, settings *plugin.Settings) string { func buildDataClasses(req *plugin.CodeGenRequest) []Struct { var structs []Struct for _, schema := range req.Catalog.Schemas { - if schema.Name == "pg_catalog" { + if schema.Name == "pg_catalog" || schema.Name == "information_schema" { continue } for _, table := range schema.Tables { diff --git a/internal/codegen/kotlin/postgresql_type.go b/internal/codegen/kotlin/postgresql_type.go index d199ea5d7f..55111b6b6f 100644 --- a/internal/codegen/kotlin/postgresql_type.go +++ b/internal/codegen/kotlin/postgresql_type.go @@ -84,7 +84,7 @@ func postgresType(req *plugin.CodeGenRequest, col *plugin.Column) (string, bool) default: for _, schema := range req.Catalog.Schemas { - if schema.Name == "pg_catalog" { + if schema.Name == "pg_catalog" || schema.Name == "information_schema" { continue } for _, enum := range schema.Enums { diff --git a/internal/codegen/python/gen.go b/internal/codegen/python/gen.go index b9f9b1d84c..fa09620f29 100644 --- a/internal/codegen/python/gen.go +++ b/internal/codegen/python/gen.go @@ -244,7 +244,7 @@ func pyEnumValueName(value string) string { func buildEnums(req *plugin.CodeGenRequest) []Enum { var enums []Enum for _, schema := range req.Catalog.Schemas { - if schema.Name == "pg_catalog" { + if schema.Name == "pg_catalog" || schema.Name == "information_schema" { continue } for _, enum := range schema.Enums { @@ -277,7 +277,7 @@ func buildEnums(req *plugin.CodeGenRequest) []Enum { func buildModels(req *plugin.CodeGenRequest) []Struct { var structs []Struct for _, schema := range req.Catalog.Schemas { - if schema.Name == "pg_catalog" { + if schema.Name == "pg_catalog" || schema.Name == "information_schema" { continue } for _, table := range schema.Tables { diff --git a/internal/codegen/python/postgresql_type.go b/internal/codegen/python/postgresql_type.go index 12c99f1de3..5036180c3b 100644 --- a/internal/codegen/python/postgresql_type.go +++ b/internal/codegen/python/postgresql_type.go @@ -44,7 +44,7 @@ func postgresType(req *plugin.CodeGenRequest, col *plugin.Column) string { return "str" default: for _, schema := range req.Catalog.Schemas { - if schema.Name == "pg_catalog" { + if schema.Name == "pg_catalog" || schema.Name == "information_schema" { continue } for _, enum := range schema.Enums { diff --git a/internal/endtoend/testdata/codegen_json/gen/codegen.json b/internal/endtoend/testdata/codegen_json/gen/codegen.json index 8d8f278d42..892925a97c 100644 --- a/internal/endtoend/testdata/codegen_json/gen/codegen.json +++ b/internal/endtoend/testdata/codegen_json/gen/codegen.json @@ -34290,6 +34290,15070 @@ ], "enums": [], "composite_types": [] + }, + { + "comment": "", + "name": "information_schema", + "tables": [ + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_data_wrappers" + }, + "columns": [ + { + "name": "oid", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_data_wrappers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "oid" + } + }, + { + "name": "fdwowner", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_data_wrappers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "oid" + } + }, + { + "name": "fdwoptions", + "not_null": false, + "is_array": true, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_data_wrappers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "_text" + } + }, + { + "name": "foreign_data_wrapper_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_data_wrappers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "foreign_data_wrapper_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_data_wrappers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "authorization_identifier", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_data_wrappers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "foreign_data_wrapper_language", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_data_wrappers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_servers" + }, + "columns": [ + { + "name": "oid", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_servers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "oid" + } + }, + { + "name": "srvoptions", + "not_null": false, + "is_array": true, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_servers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "_text" + } + }, + { + "name": "foreign_server_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_servers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "foreign_server_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_servers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "foreign_data_wrapper_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_servers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "foreign_data_wrapper_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_servers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "foreign_server_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_servers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "foreign_server_version", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_servers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "authorization_identifier", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_servers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_table_columns" + }, + "columns": [ + { + "name": "nspname", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_table_columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "name" + } + }, + { + "name": "relname", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_table_columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "name" + } + }, + { + "name": "attname", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_table_columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "name" + } + }, + { + "name": "attfdwoptions", + "not_null": false, + "is_array": true, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_table_columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "_text" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_tables" + }, + "columns": [ + { + "name": "foreign_table_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_tables" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "foreign_table_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_tables" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "foreign_table_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_tables" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "ftoptions", + "not_null": false, + "is_array": true, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_tables" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "_text" + } + }, + { + "name": "foreign_server_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_tables" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "foreign_server_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_tables" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "authorization_identifier", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_tables" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_user_mappings" + }, + "columns": [ + { + "name": "oid", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_user_mappings" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "oid" + } + }, + { + "name": "umoptions", + "not_null": false, + "is_array": true, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_user_mappings" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "_text" + } + }, + { + "name": "umuser", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_user_mappings" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "oid" + } + }, + { + "name": "authorization_identifier", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_user_mappings" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "foreign_server_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_user_mappings" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "foreign_server_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_user_mappings" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "srvowner", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_user_mappings" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "administrable_role_authorizations" + }, + "columns": [ + { + "name": "grantee", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "administrable_role_authorizations" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "role_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "administrable_role_authorizations" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "is_grantable", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "administrable_role_authorizations" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "applicable_roles" + }, + "columns": [ + { + "name": "grantee", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "applicable_roles" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "role_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "applicable_roles" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "is_grantable", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "applicable_roles" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "columns": [ + { + "name": "udt_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "udt_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "udt_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "attribute_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "ordinal_position", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "attribute_default", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "is_nullable", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "data_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "character_maximum_length", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "character_octet_length", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "character_set_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "character_set_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "character_set_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "collation_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "collation_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "collation_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "numeric_precision", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "numeric_precision_radix", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "numeric_scale", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "datetime_precision", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "interval_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "interval_precision", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "attribute_udt_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "attribute_udt_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "attribute_udt_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "scope_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "scope_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "scope_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "maximum_cardinality", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "dtd_identifier", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "is_derived_reference_attribute", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "character_sets" + }, + "columns": [ + { + "name": "character_set_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "character_sets" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "character_set_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "character_sets" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "character_set_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "character_sets" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "character_repertoire", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "character_sets" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "form_of_use", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "character_sets" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "default_collate_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "character_sets" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "default_collate_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "character_sets" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "default_collate_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "character_sets" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "check_constraint_routine_usage" + }, + "columns": [ + { + "name": "constraint_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "check_constraint_routine_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "constraint_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "check_constraint_routine_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "constraint_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "check_constraint_routine_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "specific_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "check_constraint_routine_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "specific_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "check_constraint_routine_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "specific_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "check_constraint_routine_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "check_constraints" + }, + "columns": [ + { + "name": "constraint_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "check_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "constraint_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "check_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "constraint_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "check_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "check_clause", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "check_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "collation_character_set_applicability" + }, + "columns": [ + { + "name": "collation_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "collation_character_set_applicability" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "collation_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "collation_character_set_applicability" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "collation_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "collation_character_set_applicability" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "character_set_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "collation_character_set_applicability" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "character_set_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "collation_character_set_applicability" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "character_set_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "collation_character_set_applicability" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "collations" + }, + "columns": [ + { + "name": "collation_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "collations" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "collation_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "collations" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "collation_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "collations" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "pad_attribute", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "collations" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_column_usage" + }, + "columns": [ + { + "name": "table_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_column_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_column_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_column_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "column_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_column_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "dependent_column", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_column_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_domain_usage" + }, + "columns": [ + { + "name": "domain_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_domain_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "domain_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_domain_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "domain_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_domain_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_domain_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_domain_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_domain_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "column_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_domain_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_options" + }, + "columns": [ + { + "name": "table_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_options" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_options" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_options" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "column_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_options" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "option_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_options" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "option_value", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_options" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_privileges" + }, + "columns": [ + { + "name": "grantor", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "grantee", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "column_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "privilege_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "is_grantable", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_udt_usage" + }, + "columns": [ + { + "name": "udt_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_udt_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "udt_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_udt_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "udt_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_udt_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_udt_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_udt_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_udt_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "column_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_udt_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "columns": [ + { + "name": "table_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "column_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "ordinal_position", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "column_default", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "is_nullable", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "data_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "character_maximum_length", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "character_octet_length", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "numeric_precision", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "numeric_precision_radix", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "numeric_scale", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "datetime_precision", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "interval_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "interval_precision", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "character_set_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "character_set_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "character_set_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "collation_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "collation_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "collation_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "domain_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "domain_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "domain_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "udt_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "udt_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "udt_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "scope_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "scope_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "scope_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "maximum_cardinality", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "dtd_identifier", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "is_self_referencing", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "is_identity", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "identity_generation", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "identity_start", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "identity_increment", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "identity_maximum", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "identity_minimum", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "identity_cycle", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "is_generated", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "generation_expression", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "is_updatable", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "constraint_column_usage" + }, + "columns": [ + { + "name": "table_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "constraint_column_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "constraint_column_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "constraint_column_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "column_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "constraint_column_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "constraint_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "constraint_column_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "constraint_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "constraint_column_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "constraint_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "constraint_column_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "constraint_table_usage" + }, + "columns": [ + { + "name": "table_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "constraint_table_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "constraint_table_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "constraint_table_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "constraint_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "constraint_table_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "constraint_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "constraint_table_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "constraint_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "constraint_table_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "data_type_privileges" + }, + "columns": [ + { + "name": "object_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "data_type_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "object_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "data_type_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "object_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "data_type_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "object_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "data_type_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "dtd_identifier", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "data_type_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domain_constraints" + }, + "columns": [ + { + "name": "constraint_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domain_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "constraint_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domain_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "constraint_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domain_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "domain_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domain_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "domain_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domain_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "domain_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domain_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "is_deferrable", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domain_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "initially_deferred", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domain_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domain_udt_usage" + }, + "columns": [ + { + "name": "udt_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domain_udt_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "udt_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domain_udt_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "udt_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domain_udt_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "domain_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domain_udt_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "domain_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domain_udt_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "domain_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domain_udt_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domains" + }, + "columns": [ + { + "name": "domain_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domains" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "domain_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domains" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "domain_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domains" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "data_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domains" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "character_maximum_length", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domains" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "character_octet_length", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domains" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "character_set_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domains" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "character_set_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domains" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "character_set_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domains" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "collation_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domains" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "collation_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domains" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "collation_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domains" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "numeric_precision", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domains" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "numeric_precision_radix", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domains" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "numeric_scale", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domains" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "datetime_precision", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domains" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "interval_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domains" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "interval_precision", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domains" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "domain_default", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domains" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "udt_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domains" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "udt_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domains" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "udt_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domains" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "scope_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domains" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "scope_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domains" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "scope_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domains" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "maximum_cardinality", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domains" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "dtd_identifier", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domains" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "columns": [ + { + "name": "object_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "object_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "object_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "object_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "collection_type_identifier", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "data_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "character_maximum_length", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "character_octet_length", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "character_set_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "character_set_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "character_set_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "collation_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "collation_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "collation_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "numeric_precision", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "numeric_precision_radix", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "numeric_scale", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "datetime_precision", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "interval_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "interval_precision", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "domain_default", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "udt_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "udt_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "udt_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "scope_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "scope_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "scope_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "maximum_cardinality", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "dtd_identifier", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "enabled_roles" + }, + "columns": [ + { + "name": "role_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "enabled_roles" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_data_wrapper_options" + }, + "columns": [ + { + "name": "foreign_data_wrapper_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_data_wrapper_options" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "foreign_data_wrapper_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_data_wrapper_options" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "option_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_data_wrapper_options" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "option_value", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_data_wrapper_options" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_data_wrappers" + }, + "columns": [ + { + "name": "foreign_data_wrapper_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_data_wrappers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "foreign_data_wrapper_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_data_wrappers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "authorization_identifier", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_data_wrappers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "library_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_data_wrappers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "foreign_data_wrapper_language", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_data_wrappers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_server_options" + }, + "columns": [ + { + "name": "foreign_server_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_server_options" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "foreign_server_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_server_options" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "option_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_server_options" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "option_value", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_server_options" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_servers" + }, + "columns": [ + { + "name": "foreign_server_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_servers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "foreign_server_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_servers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "foreign_data_wrapper_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_servers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "foreign_data_wrapper_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_servers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "foreign_server_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_servers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "foreign_server_version", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_servers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "authorization_identifier", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_servers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_table_options" + }, + "columns": [ + { + "name": "foreign_table_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_table_options" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "foreign_table_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_table_options" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "foreign_table_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_table_options" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "option_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_table_options" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "option_value", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_table_options" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_tables" + }, + "columns": [ + { + "name": "foreign_table_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_tables" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "foreign_table_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_tables" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "foreign_table_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_tables" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "foreign_server_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_tables" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "foreign_server_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_tables" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "information_schema_catalog_name" + }, + "columns": [ + { + "name": "catalog_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "information_schema_catalog_name" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "key_column_usage" + }, + "columns": [ + { + "name": "constraint_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "key_column_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "constraint_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "key_column_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "constraint_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "key_column_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "key_column_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "key_column_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "key_column_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "column_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "key_column_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "ordinal_position", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "key_column_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "position_in_unique_constraint", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "key_column_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "columns": [ + { + "name": "specific_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "specific_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "specific_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "ordinal_position", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "parameter_mode", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "is_result", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "as_locator", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "parameter_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "data_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "character_maximum_length", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "character_octet_length", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "character_set_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "character_set_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "character_set_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "collation_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "collation_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "collation_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "numeric_precision", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "numeric_precision_radix", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "numeric_scale", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "datetime_precision", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "interval_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "interval_precision", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "udt_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "udt_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "udt_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "scope_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "scope_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "scope_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "maximum_cardinality", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "dtd_identifier", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "parameter_default", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "referential_constraints" + }, + "columns": [ + { + "name": "constraint_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "referential_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "constraint_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "referential_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "constraint_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "referential_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "unique_constraint_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "referential_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "unique_constraint_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "referential_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "unique_constraint_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "referential_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "match_option", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "referential_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "update_rule", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "referential_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "delete_rule", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "referential_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_column_grants" + }, + "columns": [ + { + "name": "grantor", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_column_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "grantee", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_column_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_column_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_column_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_column_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "column_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_column_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "privilege_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_column_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "is_grantable", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_column_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_routine_grants" + }, + "columns": [ + { + "name": "grantor", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_routine_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "grantee", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_routine_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "specific_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_routine_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "specific_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_routine_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "specific_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_routine_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "routine_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_routine_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "routine_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_routine_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "routine_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_routine_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "privilege_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_routine_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "is_grantable", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_routine_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_table_grants" + }, + "columns": [ + { + "name": "grantor", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_table_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "grantee", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_table_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_table_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_table_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_table_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "privilege_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_table_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "is_grantable", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_table_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "with_hierarchy", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_table_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_udt_grants" + }, + "columns": [ + { + "name": "grantor", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_udt_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "grantee", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_udt_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "udt_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_udt_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "udt_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_udt_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "udt_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_udt_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "privilege_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_udt_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "is_grantable", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_udt_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_usage_grants" + }, + "columns": [ + { + "name": "grantor", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_usage_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "grantee", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_usage_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "object_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_usage_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "object_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_usage_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "object_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_usage_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "object_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_usage_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "privilege_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_usage_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "is_grantable", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_usage_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routine_privileges" + }, + "columns": [ + { + "name": "grantor", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routine_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "grantee", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routine_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "specific_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routine_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "specific_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routine_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "specific_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routine_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "routine_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routine_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "routine_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routine_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "routine_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routine_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "privilege_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routine_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "is_grantable", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routine_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "columns": [ + { + "name": "specific_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "specific_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "specific_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "routine_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "routine_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "routine_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "routine_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "module_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "module_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "module_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "udt_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "udt_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "udt_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "data_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "character_maximum_length", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "character_octet_length", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "character_set_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "character_set_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "character_set_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "collation_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "collation_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "collation_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "numeric_precision", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "numeric_precision_radix", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "numeric_scale", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "datetime_precision", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "interval_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "interval_precision", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "type_udt_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "type_udt_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "type_udt_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "scope_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "scope_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "scope_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "maximum_cardinality", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "dtd_identifier", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "routine_body", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "routine_definition", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "external_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "external_language", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "parameter_style", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "is_deterministic", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "sql_data_access", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "is_null_call", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "sql_path", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "schema_level_routine", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "max_dynamic_result_sets", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "is_user_defined_cast", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "is_implicitly_invocable", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "security_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "to_sql_specific_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "to_sql_specific_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "to_sql_specific_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "as_locator", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "created", + "not_null": false, + "is_array": false, + "comment": "", + "length": 8, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "time_stamp" + } + }, + { + "name": "last_altered", + "not_null": false, + "is_array": false, + "comment": "", + "length": 8, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "time_stamp" + } + }, + { + "name": "new_savepoint_level", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "is_udt_dependent", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "result_cast_from_data_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "result_cast_as_locator", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "result_cast_char_max_length", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "result_cast_char_octet_length", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "result_cast_char_set_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "result_cast_char_set_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "result_cast_char_set_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "result_cast_collation_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "result_cast_collation_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "result_cast_collation_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "result_cast_numeric_precision", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "result_cast_numeric_precision_radix", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "result_cast_numeric_scale", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "result_cast_datetime_precision", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "result_cast_interval_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "result_cast_interval_precision", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "result_cast_type_udt_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "result_cast_type_udt_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "result_cast_type_udt_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "result_cast_scope_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "result_cast_scope_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "result_cast_scope_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "result_cast_maximum_cardinality", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "result_cast_dtd_identifier", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "schemata" + }, + "columns": [ + { + "name": "catalog_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "schemata" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "schema_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "schemata" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "schema_owner", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "schemata" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "default_character_set_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "schemata" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "default_character_set_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "schemata" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "default_character_set_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "schemata" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "sql_path", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "schemata" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sequences" + }, + "columns": [ + { + "name": "sequence_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sequences" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "sequence_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sequences" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "sequence_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sequences" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "data_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sequences" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "numeric_precision", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sequences" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "numeric_precision_radix", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sequences" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "numeric_scale", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sequences" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "start_value", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sequences" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "minimum_value", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sequences" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "maximum_value", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sequences" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "increment", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sequences" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "cycle_option", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sequences" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_features" + }, + "columns": [ + { + "name": "tableoid", + "not_null": true, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_features" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "oid" + } + }, + { + "name": "cmax", + "not_null": true, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_features" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cid" + } + }, + { + "name": "xmax", + "not_null": true, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_features" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "xid" + } + }, + { + "name": "cmin", + "not_null": true, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_features" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cid" + } + }, + { + "name": "xmin", + "not_null": true, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_features" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "xid" + } + }, + { + "name": "ctid", + "not_null": true, + "is_array": false, + "comment": "", + "length": 6, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_features" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "tid" + } + }, + { + "name": "feature_id", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_features" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "feature_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_features" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "sub_feature_id", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_features" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "sub_feature_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_features" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "is_supported", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_features" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "is_verified_by", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_features" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "comments", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_features" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_implementation_info" + }, + "columns": [ + { + "name": "tableoid", + "not_null": true, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_implementation_info" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "oid" + } + }, + { + "name": "cmax", + "not_null": true, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_implementation_info" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cid" + } + }, + { + "name": "xmax", + "not_null": true, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_implementation_info" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "xid" + } + }, + { + "name": "cmin", + "not_null": true, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_implementation_info" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cid" + } + }, + { + "name": "xmin", + "not_null": true, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_implementation_info" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "xid" + } + }, + { + "name": "ctid", + "not_null": true, + "is_array": false, + "comment": "", + "length": 6, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_implementation_info" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "tid" + } + }, + { + "name": "implementation_info_id", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_implementation_info" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "implementation_info_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_implementation_info" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "integer_value", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_implementation_info" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "character_value", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_implementation_info" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "comments", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_implementation_info" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_parts" + }, + "columns": [ + { + "name": "tableoid", + "not_null": true, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_parts" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "oid" + } + }, + { + "name": "cmax", + "not_null": true, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_parts" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cid" + } + }, + { + "name": "xmax", + "not_null": true, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_parts" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "xid" + } + }, + { + "name": "cmin", + "not_null": true, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_parts" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cid" + } + }, + { + "name": "xmin", + "not_null": true, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_parts" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "xid" + } + }, + { + "name": "ctid", + "not_null": true, + "is_array": false, + "comment": "", + "length": 6, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_parts" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "tid" + } + }, + { + "name": "feature_id", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_parts" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "feature_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_parts" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "is_supported", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_parts" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "is_verified_by", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_parts" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "comments", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_parts" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_sizing" + }, + "columns": [ + { + "name": "tableoid", + "not_null": true, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_sizing" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "oid" + } + }, + { + "name": "cmax", + "not_null": true, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_sizing" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cid" + } + }, + { + "name": "xmax", + "not_null": true, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_sizing" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "xid" + } + }, + { + "name": "cmin", + "not_null": true, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_sizing" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cid" + } + }, + { + "name": "xmin", + "not_null": true, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_sizing" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "xid" + } + }, + { + "name": "ctid", + "not_null": true, + "is_array": false, + "comment": "", + "length": 6, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_sizing" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "tid" + } + }, + { + "name": "sizing_id", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_sizing" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "sizing_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_sizing" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "supported_value", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_sizing" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "comments", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_sizing" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "table_constraints" + }, + "columns": [ + { + "name": "constraint_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "table_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "constraint_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "table_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "constraint_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "table_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "table_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "table_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "table_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "constraint_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "table_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "is_deferrable", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "table_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "initially_deferred", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "table_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "enforced", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "table_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "table_privileges" + }, + "columns": [ + { + "name": "grantor", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "table_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "grantee", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "table_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "table_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "table_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "table_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "privilege_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "table_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "is_grantable", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "table_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "with_hierarchy", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "table_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "tables" + }, + "columns": [ + { + "name": "table_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "tables" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "tables" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "tables" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "tables" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "self_referencing_column_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "tables" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "reference_generation", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "tables" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "user_defined_type_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "tables" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "user_defined_type_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "tables" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "user_defined_type_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "tables" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "is_insertable_into", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "tables" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "is_typed", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "tables" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "commit_action", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "tables" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "transforms" + }, + "columns": [ + { + "name": "udt_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "transforms" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "udt_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "transforms" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "udt_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "transforms" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "specific_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "transforms" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "specific_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "transforms" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "specific_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "transforms" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "group_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "transforms" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "transform_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "transforms" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "triggered_update_columns" + }, + "columns": [ + { + "name": "trigger_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "triggered_update_columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "trigger_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "triggered_update_columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "trigger_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "triggered_update_columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "event_object_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "triggered_update_columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "event_object_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "triggered_update_columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "event_object_table", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "triggered_update_columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "event_object_column", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "triggered_update_columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "triggers" + }, + "columns": [ + { + "name": "trigger_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "triggers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "trigger_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "triggers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "trigger_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "triggers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "event_manipulation", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "triggers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "event_object_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "triggers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "event_object_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "triggers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "event_object_table", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "triggers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "action_order", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "triggers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "action_condition", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "triggers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "action_statement", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "triggers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "action_orientation", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "triggers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "action_timing", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "triggers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "action_reference_old_table", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "triggers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "action_reference_new_table", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "triggers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "action_reference_old_row", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "triggers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "action_reference_new_row", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "triggers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "created", + "not_null": false, + "is_array": false, + "comment": "", + "length": 8, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "triggers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "time_stamp" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "udt_privileges" + }, + "columns": [ + { + "name": "grantor", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "udt_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "grantee", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "udt_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "udt_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "udt_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "udt_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "udt_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "udt_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "udt_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "privilege_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "udt_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "is_grantable", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "udt_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "usage_privileges" + }, + "columns": [ + { + "name": "grantor", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "usage_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "grantee", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "usage_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "object_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "usage_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "object_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "usage_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "object_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "usage_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "object_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "usage_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "privilege_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "usage_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "is_grantable", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "usage_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "columns": [ + { + "name": "user_defined_type_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "user_defined_type_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "user_defined_type_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "user_defined_type_category", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "is_instantiable", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "is_final", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "ordering_form", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "ordering_category", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "ordering_routine_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "ordering_routine_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "ordering_routine_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "reference_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "data_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "character_maximum_length", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "character_octet_length", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "character_set_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "character_set_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "character_set_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "collation_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "collation_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "collation_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "numeric_precision", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "numeric_precision_radix", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "numeric_scale", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "datetime_precision", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "interval_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "interval_precision", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "source_dtd_identifier", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "ref_dtd_identifier", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_mapping_options" + }, + "columns": [ + { + "name": "authorization_identifier", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_mapping_options" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "foreign_server_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_mapping_options" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "foreign_server_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_mapping_options" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "option_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_mapping_options" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "option_value", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_mapping_options" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_mappings" + }, + "columns": [ + { + "name": "authorization_identifier", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_mappings" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "foreign_server_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_mappings" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "foreign_server_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_mappings" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "view_column_usage" + }, + "columns": [ + { + "name": "view_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "view_column_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "view_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "view_column_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "view_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "view_column_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "view_column_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "view_column_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "view_column_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "column_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "view_column_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "view_routine_usage" + }, + "columns": [ + { + "name": "table_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "view_routine_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "view_routine_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "view_routine_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "specific_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "view_routine_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "specific_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "view_routine_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "specific_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "view_routine_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "view_table_usage" + }, + "columns": [ + { + "name": "view_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "view_table_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "view_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "view_table_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "view_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "view_table_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "view_table_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "view_table_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "view_table_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "views" + }, + "columns": [ + { + "name": "table_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "views" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "views" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "views" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "view_definition", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "views" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "check_option", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "views" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "is_updatable", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "views" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "is_insertable_into", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "views" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "is_trigger_updatable", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "views" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "is_trigger_deletable", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "views" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "is_trigger_insertable_into", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "views" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + } + ], + "comment": "" + } + ], + "enums": [], + "composite_types": [] } ] }, diff --git a/internal/endtoend/testdata/pg_timezone_names/postgresql/pgx/go/db.go b/internal/endtoend/testdata/pg_timezone_names/go_pgx/db.go similarity index 100% rename from internal/endtoend/testdata/pg_timezone_names/postgresql/pgx/go/db.go rename to internal/endtoend/testdata/pg_timezone_names/go_pgx/db.go diff --git a/internal/endtoend/testdata/pg_timezone_names/postgresql/pgx/go/models.go b/internal/endtoend/testdata/pg_timezone_names/go_pgx/models.go similarity index 100% rename from internal/endtoend/testdata/pg_timezone_names/postgresql/pgx/go/models.go rename to internal/endtoend/testdata/pg_timezone_names/go_pgx/models.go diff --git a/internal/endtoend/testdata/pg_timezone_names/go_pgx/query.sql.go b/internal/endtoend/testdata/pg_timezone_names/go_pgx/query.sql.go new file mode 100644 index 0000000000..21c049837a --- /dev/null +++ b/internal/endtoend/testdata/pg_timezone_names/go_pgx/query.sql.go @@ -0,0 +1,100 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.15.0 +// source: query.sql + +package querytest + +import ( + "context" + "database/sql" +) + +const getColumns = `-- name: GetColumns :many +SELECT table_name::text, column_name::text from information_schema.columns +` + +type GetColumnsRow struct { + TableName string + ColumnName string +} + +func (q *Queries) GetColumns(ctx context.Context) ([]GetColumnsRow, error) { + rows, err := q.db.Query(ctx, getColumns) + if err != nil { + return nil, err + } + defer rows.Close() + var items []GetColumnsRow + for rows.Next() { + var i GetColumnsRow + if err := rows.Scan(&i.TableName, &i.ColumnName); err != nil { + return nil, err + } + items = append(items, i) + } + if err := rows.Err(); err != nil { + return nil, err + } + return items, nil +} + +const getTables = `-- name: GetTables :many +SELECT table_name::text from information_schema.tables +` + +func (q *Queries) GetTables(ctx context.Context) ([]string, error) { + rows, err := q.db.Query(ctx, getTables) + if err != nil { + return nil, err + } + defer rows.Close() + var items []string + for rows.Next() { + var table_name string + if err := rows.Scan(&table_name); err != nil { + return nil, err + } + items = append(items, table_name) + } + if err := rows.Err(); err != nil { + return nil, err + } + return items, nil +} + +const getTimezones = `-- name: GetTimezones :many +SELECT name, abbrev, utc_offset, is_dst from pg_catalog.pg_timezone_names +` + +type GetTimezonesRow struct { + Name sql.NullString + Abbrev sql.NullString + UtcOffset sql.NullInt64 + IsDst sql.NullBool +} + +func (q *Queries) GetTimezones(ctx context.Context) ([]GetTimezonesRow, error) { + rows, err := q.db.Query(ctx, getTimezones) + if err != nil { + return nil, err + } + defer rows.Close() + var items []GetTimezonesRow + for rows.Next() { + var i GetTimezonesRow + if err := rows.Scan( + &i.Name, + &i.Abbrev, + &i.UtcOffset, + &i.IsDst, + ); err != nil { + return nil, err + } + items = append(items, i) + } + if err := rows.Err(); err != nil { + return nil, err + } + return items, nil +} diff --git a/internal/endtoend/testdata/pg_timezone_names/postgresql/stdlib/go/db.go b/internal/endtoend/testdata/pg_timezone_names/go_stdlib/db.go similarity index 100% rename from internal/endtoend/testdata/pg_timezone_names/postgresql/stdlib/go/db.go rename to internal/endtoend/testdata/pg_timezone_names/go_stdlib/db.go diff --git a/internal/endtoend/testdata/pg_timezone_names/postgresql/stdlib/go/models.go b/internal/endtoend/testdata/pg_timezone_names/go_stdlib/models.go similarity index 100% rename from internal/endtoend/testdata/pg_timezone_names/postgresql/stdlib/go/models.go rename to internal/endtoend/testdata/pg_timezone_names/go_stdlib/models.go diff --git a/internal/endtoend/testdata/pg_timezone_names/go_stdlib/query.sql.go b/internal/endtoend/testdata/pg_timezone_names/go_stdlib/query.sql.go new file mode 100644 index 0000000000..2db2004bb5 --- /dev/null +++ b/internal/endtoend/testdata/pg_timezone_names/go_stdlib/query.sql.go @@ -0,0 +1,109 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.15.0 +// source: query.sql + +package querytest + +import ( + "context" + "database/sql" +) + +const getColumns = `-- name: GetColumns :many +SELECT table_name::text, column_name::text from information_schema.columns +` + +type GetColumnsRow struct { + TableName string + ColumnName string +} + +func (q *Queries) GetColumns(ctx context.Context) ([]GetColumnsRow, error) { + rows, err := q.db.QueryContext(ctx, getColumns) + if err != nil { + return nil, err + } + defer rows.Close() + var items []GetColumnsRow + for rows.Next() { + var i GetColumnsRow + if err := rows.Scan(&i.TableName, &i.ColumnName); err != nil { + return nil, err + } + items = append(items, i) + } + if err := rows.Close(); err != nil { + return nil, err + } + if err := rows.Err(); err != nil { + return nil, err + } + return items, nil +} + +const getTables = `-- name: GetTables :many +SELECT table_name::text from information_schema.tables +` + +func (q *Queries) GetTables(ctx context.Context) ([]string, error) { + rows, err := q.db.QueryContext(ctx, getTables) + if err != nil { + return nil, err + } + defer rows.Close() + var items []string + for rows.Next() { + var table_name string + if err := rows.Scan(&table_name); err != nil { + return nil, err + } + items = append(items, table_name) + } + if err := rows.Close(); err != nil { + return nil, err + } + if err := rows.Err(); err != nil { + return nil, err + } + return items, nil +} + +const getTimezones = `-- name: GetTimezones :many +SELECT name, abbrev, utc_offset, is_dst from pg_catalog.pg_timezone_names +` + +type GetTimezonesRow struct { + Name sql.NullString + Abbrev sql.NullString + UtcOffset sql.NullInt64 + IsDst sql.NullBool +} + +func (q *Queries) GetTimezones(ctx context.Context) ([]GetTimezonesRow, error) { + rows, err := q.db.QueryContext(ctx, getTimezones) + if err != nil { + return nil, err + } + defer rows.Close() + var items []GetTimezonesRow + for rows.Next() { + var i GetTimezonesRow + if err := rows.Scan( + &i.Name, + &i.Abbrev, + &i.UtcOffset, + &i.IsDst, + ); err != nil { + return nil, err + } + items = append(items, i) + } + if err := rows.Close(); err != nil { + return nil, err + } + if err := rows.Err(); err != nil { + return nil, err + } + return items, nil +} diff --git a/internal/endtoend/testdata/pg_timezone_names/postgresql/pgx/go/query.sql.go b/internal/endtoend/testdata/pg_timezone_names/postgresql/pgx/go/query.sql.go deleted file mode 100644 index 0ed01279ef..0000000000 --- a/internal/endtoend/testdata/pg_timezone_names/postgresql/pgx/go/query.sql.go +++ /dev/null @@ -1,47 +0,0 @@ -// Code generated by sqlc. DO NOT EDIT. -// versions: -// sqlc v1.15.0 -// source: query.sql - -package querytest - -import ( - "context" - "database/sql" -) - -const getTimezones = `-- name: GetTimezones :many -SELECT name, abbrev, utc_offset, is_dst from pg_catalog.pg_timezone_names -` - -type GetTimezonesRow struct { - Name sql.NullString - Abbrev sql.NullString - UtcOffset sql.NullInt64 - IsDst sql.NullBool -} - -func (q *Queries) GetTimezones(ctx context.Context) ([]GetTimezonesRow, error) { - rows, err := q.db.Query(ctx, getTimezones) - if err != nil { - return nil, err - } - defer rows.Close() - var items []GetTimezonesRow - for rows.Next() { - var i GetTimezonesRow - if err := rows.Scan( - &i.Name, - &i.Abbrev, - &i.UtcOffset, - &i.IsDst, - ); err != nil { - return nil, err - } - items = append(items, i) - } - if err := rows.Err(); err != nil { - return nil, err - } - return items, nil -} diff --git a/internal/endtoend/testdata/pg_timezone_names/postgresql/pgx/query.sql b/internal/endtoend/testdata/pg_timezone_names/postgresql/pgx/query.sql deleted file mode 100644 index 26f435b163..0000000000 --- a/internal/endtoend/testdata/pg_timezone_names/postgresql/pgx/query.sql +++ /dev/null @@ -1,2 +0,0 @@ --- name: GetTimezones :many -SELECT * from pg_catalog.pg_timezone_names; diff --git a/internal/endtoend/testdata/pg_timezone_names/postgresql/pgx/sqlc.json b/internal/endtoend/testdata/pg_timezone_names/postgresql/pgx/sqlc.json deleted file mode 100644 index 9403bd0279..0000000000 --- a/internal/endtoend/testdata/pg_timezone_names/postgresql/pgx/sqlc.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "version": "1", - "packages": [ - { - "path": "go", - "engine": "postgresql", - "sql_package": "pgx/v4", - "name": "querytest", - "schema": "query.sql", - "queries": "query.sql" - } - ] -} diff --git a/internal/endtoend/testdata/pg_timezone_names/postgresql/stdlib/go/query.sql.go b/internal/endtoend/testdata/pg_timezone_names/postgresql/stdlib/go/query.sql.go deleted file mode 100644 index 6fa7e115c1..0000000000 --- a/internal/endtoend/testdata/pg_timezone_names/postgresql/stdlib/go/query.sql.go +++ /dev/null @@ -1,50 +0,0 @@ -// Code generated by sqlc. DO NOT EDIT. -// versions: -// sqlc v1.15.0 -// source: query.sql - -package querytest - -import ( - "context" - "database/sql" -) - -const getTimezones = `-- name: GetTimezones :many -SELECT name, abbrev, utc_offset, is_dst from pg_catalog.pg_timezone_names -` - -type GetTimezonesRow struct { - Name sql.NullString - Abbrev sql.NullString - UtcOffset sql.NullInt64 - IsDst sql.NullBool -} - -func (q *Queries) GetTimezones(ctx context.Context) ([]GetTimezonesRow, error) { - rows, err := q.db.QueryContext(ctx, getTimezones) - if err != nil { - return nil, err - } - defer rows.Close() - var items []GetTimezonesRow - for rows.Next() { - var i GetTimezonesRow - if err := rows.Scan( - &i.Name, - &i.Abbrev, - &i.UtcOffset, - &i.IsDst, - ); err != nil { - return nil, err - } - items = append(items, i) - } - if err := rows.Close(); err != nil { - return nil, err - } - if err := rows.Err(); err != nil { - return nil, err - } - return items, nil -} diff --git a/internal/endtoend/testdata/pg_timezone_names/postgresql/stdlib/query.sql b/internal/endtoend/testdata/pg_timezone_names/postgresql/stdlib/query.sql deleted file mode 100644 index 26f435b163..0000000000 --- a/internal/endtoend/testdata/pg_timezone_names/postgresql/stdlib/query.sql +++ /dev/null @@ -1,2 +0,0 @@ --- name: GetTimezones :many -SELECT * from pg_catalog.pg_timezone_names; diff --git a/internal/endtoend/testdata/pg_timezone_names/postgresql/stdlib/sqlc.json b/internal/endtoend/testdata/pg_timezone_names/postgresql/stdlib/sqlc.json deleted file mode 100644 index c72b6132d5..0000000000 --- a/internal/endtoend/testdata/pg_timezone_names/postgresql/stdlib/sqlc.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "version": "1", - "packages": [ - { - "path": "go", - "engine": "postgresql", - "name": "querytest", - "schema": "query.sql", - "queries": "query.sql" - } - ] -} diff --git a/internal/endtoend/testdata/pg_timezone_names/query.sql b/internal/endtoend/testdata/pg_timezone_names/query.sql new file mode 100644 index 0000000000..dc4310f4aa --- /dev/null +++ b/internal/endtoend/testdata/pg_timezone_names/query.sql @@ -0,0 +1,8 @@ +-- name: GetTimezones :many +SELECT * from pg_catalog.pg_timezone_names; + +-- name: GetTables :many +SELECT table_name::text from information_schema.tables; + +-- name: GetColumns :many +SELECT table_name::text, column_name::text from information_schema.columns; diff --git a/internal/endtoend/testdata/pg_timezone_names/sqlc.json b/internal/endtoend/testdata/pg_timezone_names/sqlc.json new file mode 100644 index 0000000000..28435fd460 --- /dev/null +++ b/internal/endtoend/testdata/pg_timezone_names/sqlc.json @@ -0,0 +1,28 @@ +{ + "version": "2", + "sql": [ + { + "engine": "postgresql", + "schema": "query.sql", + "queries": "query.sql", + "gen": { + "go": { + "sql_package": "pgx/v4", + "package": "querytest", + "out": "go_pgx" + } + } + }, + { + "engine": "postgresql", + "schema": "query.sql", + "queries": "query.sql", + "gen": { + "go": { + "package": "querytest", + "out": "go_stdlib" + } + } + } + ] +} diff --git a/internal/endtoend/testdata/process_plugin_sqlc_gen_json/gen/codegen.json b/internal/endtoend/testdata/process_plugin_sqlc_gen_json/gen/codegen.json index 0844ed70c5..09a2d670cf 100644 --- a/internal/endtoend/testdata/process_plugin_sqlc_gen_json/gen/codegen.json +++ b/internal/endtoend/testdata/process_plugin_sqlc_gen_json/gen/codegen.json @@ -34290,6 +34290,15070 @@ ], "enums": [], "composite_types": [] + }, + { + "comment": "", + "name": "information_schema", + "tables": [ + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_data_wrappers" + }, + "columns": [ + { + "name": "oid", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_data_wrappers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "oid" + } + }, + { + "name": "fdwowner", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_data_wrappers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "oid" + } + }, + { + "name": "fdwoptions", + "not_null": false, + "is_array": true, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_data_wrappers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "_text" + } + }, + { + "name": "foreign_data_wrapper_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_data_wrappers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "foreign_data_wrapper_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_data_wrappers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "authorization_identifier", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_data_wrappers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "foreign_data_wrapper_language", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_data_wrappers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_servers" + }, + "columns": [ + { + "name": "oid", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_servers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "oid" + } + }, + { + "name": "srvoptions", + "not_null": false, + "is_array": true, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_servers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "_text" + } + }, + { + "name": "foreign_server_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_servers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "foreign_server_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_servers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "foreign_data_wrapper_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_servers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "foreign_data_wrapper_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_servers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "foreign_server_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_servers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "foreign_server_version", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_servers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "authorization_identifier", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_servers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_table_columns" + }, + "columns": [ + { + "name": "nspname", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_table_columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "name" + } + }, + { + "name": "relname", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_table_columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "name" + } + }, + { + "name": "attname", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_table_columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "name" + } + }, + { + "name": "attfdwoptions", + "not_null": false, + "is_array": true, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_table_columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "_text" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_tables" + }, + "columns": [ + { + "name": "foreign_table_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_tables" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "foreign_table_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_tables" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "foreign_table_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_tables" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "ftoptions", + "not_null": false, + "is_array": true, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_tables" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "_text" + } + }, + { + "name": "foreign_server_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_tables" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "foreign_server_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_tables" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "authorization_identifier", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_foreign_tables" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_user_mappings" + }, + "columns": [ + { + "name": "oid", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_user_mappings" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "oid" + } + }, + { + "name": "umoptions", + "not_null": false, + "is_array": true, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_user_mappings" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "_text" + } + }, + { + "name": "umuser", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_user_mappings" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "oid" + } + }, + { + "name": "authorization_identifier", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_user_mappings" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "foreign_server_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_user_mappings" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "foreign_server_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_user_mappings" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "srvowner", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "_pg_user_mappings" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "administrable_role_authorizations" + }, + "columns": [ + { + "name": "grantee", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "administrable_role_authorizations" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "role_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "administrable_role_authorizations" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "is_grantable", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "administrable_role_authorizations" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "applicable_roles" + }, + "columns": [ + { + "name": "grantee", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "applicable_roles" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "role_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "applicable_roles" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "is_grantable", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "applicable_roles" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "columns": [ + { + "name": "udt_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "udt_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "udt_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "attribute_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "ordinal_position", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "attribute_default", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "is_nullable", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "data_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "character_maximum_length", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "character_octet_length", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "character_set_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "character_set_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "character_set_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "collation_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "collation_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "collation_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "numeric_precision", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "numeric_precision_radix", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "numeric_scale", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "datetime_precision", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "interval_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "interval_precision", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "attribute_udt_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "attribute_udt_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "attribute_udt_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "scope_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "scope_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "scope_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "maximum_cardinality", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "dtd_identifier", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "is_derived_reference_attribute", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "attributes" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "character_sets" + }, + "columns": [ + { + "name": "character_set_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "character_sets" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "character_set_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "character_sets" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "character_set_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "character_sets" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "character_repertoire", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "character_sets" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "form_of_use", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "character_sets" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "default_collate_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "character_sets" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "default_collate_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "character_sets" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "default_collate_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "character_sets" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "check_constraint_routine_usage" + }, + "columns": [ + { + "name": "constraint_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "check_constraint_routine_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "constraint_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "check_constraint_routine_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "constraint_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "check_constraint_routine_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "specific_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "check_constraint_routine_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "specific_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "check_constraint_routine_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "specific_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "check_constraint_routine_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "check_constraints" + }, + "columns": [ + { + "name": "constraint_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "check_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "constraint_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "check_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "constraint_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "check_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "check_clause", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "check_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "collation_character_set_applicability" + }, + "columns": [ + { + "name": "collation_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "collation_character_set_applicability" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "collation_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "collation_character_set_applicability" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "collation_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "collation_character_set_applicability" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "character_set_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "collation_character_set_applicability" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "character_set_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "collation_character_set_applicability" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "character_set_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "collation_character_set_applicability" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "collations" + }, + "columns": [ + { + "name": "collation_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "collations" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "collation_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "collations" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "collation_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "collations" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "pad_attribute", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "collations" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_column_usage" + }, + "columns": [ + { + "name": "table_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_column_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_column_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_column_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "column_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_column_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "dependent_column", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_column_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_domain_usage" + }, + "columns": [ + { + "name": "domain_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_domain_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "domain_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_domain_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "domain_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_domain_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_domain_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_domain_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_domain_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "column_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_domain_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_options" + }, + "columns": [ + { + "name": "table_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_options" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_options" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_options" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "column_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_options" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "option_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_options" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "option_value", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_options" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_privileges" + }, + "columns": [ + { + "name": "grantor", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "grantee", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "column_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "privilege_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "is_grantable", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_udt_usage" + }, + "columns": [ + { + "name": "udt_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_udt_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "udt_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_udt_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "udt_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_udt_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_udt_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_udt_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_udt_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "column_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "column_udt_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "columns": [ + { + "name": "table_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "column_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "ordinal_position", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "column_default", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "is_nullable", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "data_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "character_maximum_length", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "character_octet_length", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "numeric_precision", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "numeric_precision_radix", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "numeric_scale", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "datetime_precision", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "interval_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "interval_precision", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "character_set_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "character_set_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "character_set_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "collation_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "collation_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "collation_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "domain_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "domain_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "domain_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "udt_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "udt_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "udt_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "scope_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "scope_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "scope_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "maximum_cardinality", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "dtd_identifier", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "is_self_referencing", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "is_identity", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "identity_generation", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "identity_start", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "identity_increment", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "identity_maximum", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "identity_minimum", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "identity_cycle", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "is_generated", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "generation_expression", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "is_updatable", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "constraint_column_usage" + }, + "columns": [ + { + "name": "table_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "constraint_column_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "constraint_column_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "constraint_column_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "column_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "constraint_column_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "constraint_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "constraint_column_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "constraint_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "constraint_column_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "constraint_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "constraint_column_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "constraint_table_usage" + }, + "columns": [ + { + "name": "table_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "constraint_table_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "constraint_table_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "constraint_table_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "constraint_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "constraint_table_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "constraint_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "constraint_table_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "constraint_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "constraint_table_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "data_type_privileges" + }, + "columns": [ + { + "name": "object_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "data_type_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "object_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "data_type_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "object_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "data_type_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "object_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "data_type_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "dtd_identifier", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "data_type_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domain_constraints" + }, + "columns": [ + { + "name": "constraint_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domain_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "constraint_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domain_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "constraint_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domain_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "domain_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domain_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "domain_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domain_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "domain_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domain_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "is_deferrable", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domain_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "initially_deferred", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domain_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domain_udt_usage" + }, + "columns": [ + { + "name": "udt_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domain_udt_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "udt_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domain_udt_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "udt_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domain_udt_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "domain_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domain_udt_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "domain_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domain_udt_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "domain_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domain_udt_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domains" + }, + "columns": [ + { + "name": "domain_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domains" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "domain_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domains" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "domain_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domains" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "data_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domains" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "character_maximum_length", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domains" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "character_octet_length", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domains" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "character_set_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domains" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "character_set_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domains" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "character_set_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domains" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "collation_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domains" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "collation_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domains" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "collation_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domains" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "numeric_precision", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domains" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "numeric_precision_radix", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domains" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "numeric_scale", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domains" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "datetime_precision", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domains" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "interval_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domains" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "interval_precision", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domains" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "domain_default", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domains" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "udt_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domains" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "udt_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domains" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "udt_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domains" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "scope_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domains" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "scope_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domains" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "scope_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domains" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "maximum_cardinality", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domains" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "dtd_identifier", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "domains" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "columns": [ + { + "name": "object_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "object_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "object_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "object_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "collection_type_identifier", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "data_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "character_maximum_length", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "character_octet_length", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "character_set_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "character_set_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "character_set_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "collation_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "collation_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "collation_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "numeric_precision", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "numeric_precision_radix", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "numeric_scale", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "datetime_precision", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "interval_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "interval_precision", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "domain_default", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "udt_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "udt_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "udt_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "scope_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "scope_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "scope_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "maximum_cardinality", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "dtd_identifier", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "element_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "enabled_roles" + }, + "columns": [ + { + "name": "role_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "enabled_roles" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_data_wrapper_options" + }, + "columns": [ + { + "name": "foreign_data_wrapper_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_data_wrapper_options" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "foreign_data_wrapper_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_data_wrapper_options" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "option_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_data_wrapper_options" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "option_value", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_data_wrapper_options" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_data_wrappers" + }, + "columns": [ + { + "name": "foreign_data_wrapper_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_data_wrappers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "foreign_data_wrapper_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_data_wrappers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "authorization_identifier", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_data_wrappers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "library_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_data_wrappers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "foreign_data_wrapper_language", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_data_wrappers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_server_options" + }, + "columns": [ + { + "name": "foreign_server_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_server_options" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "foreign_server_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_server_options" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "option_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_server_options" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "option_value", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_server_options" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_servers" + }, + "columns": [ + { + "name": "foreign_server_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_servers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "foreign_server_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_servers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "foreign_data_wrapper_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_servers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "foreign_data_wrapper_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_servers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "foreign_server_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_servers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "foreign_server_version", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_servers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "authorization_identifier", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_servers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_table_options" + }, + "columns": [ + { + "name": "foreign_table_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_table_options" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "foreign_table_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_table_options" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "foreign_table_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_table_options" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "option_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_table_options" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "option_value", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_table_options" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_tables" + }, + "columns": [ + { + "name": "foreign_table_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_tables" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "foreign_table_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_tables" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "foreign_table_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_tables" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "foreign_server_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_tables" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "foreign_server_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "foreign_tables" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "information_schema_catalog_name" + }, + "columns": [ + { + "name": "catalog_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "information_schema_catalog_name" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "key_column_usage" + }, + "columns": [ + { + "name": "constraint_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "key_column_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "constraint_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "key_column_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "constraint_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "key_column_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "key_column_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "key_column_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "key_column_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "column_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "key_column_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "ordinal_position", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "key_column_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "position_in_unique_constraint", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "key_column_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "columns": [ + { + "name": "specific_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "specific_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "specific_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "ordinal_position", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "parameter_mode", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "is_result", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "as_locator", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "parameter_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "data_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "character_maximum_length", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "character_octet_length", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "character_set_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "character_set_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "character_set_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "collation_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "collation_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "collation_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "numeric_precision", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "numeric_precision_radix", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "numeric_scale", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "datetime_precision", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "interval_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "interval_precision", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "udt_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "udt_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "udt_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "scope_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "scope_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "scope_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "maximum_cardinality", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "dtd_identifier", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "parameter_default", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "parameters" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "referential_constraints" + }, + "columns": [ + { + "name": "constraint_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "referential_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "constraint_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "referential_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "constraint_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "referential_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "unique_constraint_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "referential_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "unique_constraint_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "referential_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "unique_constraint_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "referential_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "match_option", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "referential_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "update_rule", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "referential_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "delete_rule", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "referential_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_column_grants" + }, + "columns": [ + { + "name": "grantor", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_column_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "grantee", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_column_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_column_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_column_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_column_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "column_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_column_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "privilege_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_column_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "is_grantable", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_column_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_routine_grants" + }, + "columns": [ + { + "name": "grantor", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_routine_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "grantee", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_routine_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "specific_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_routine_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "specific_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_routine_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "specific_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_routine_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "routine_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_routine_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "routine_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_routine_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "routine_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_routine_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "privilege_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_routine_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "is_grantable", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_routine_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_table_grants" + }, + "columns": [ + { + "name": "grantor", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_table_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "grantee", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_table_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_table_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_table_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_table_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "privilege_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_table_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "is_grantable", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_table_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "with_hierarchy", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_table_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_udt_grants" + }, + "columns": [ + { + "name": "grantor", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_udt_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "grantee", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_udt_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "udt_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_udt_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "udt_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_udt_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "udt_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_udt_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "privilege_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_udt_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "is_grantable", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_udt_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_usage_grants" + }, + "columns": [ + { + "name": "grantor", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_usage_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "grantee", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_usage_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "object_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_usage_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "object_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_usage_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "object_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_usage_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "object_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_usage_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "privilege_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_usage_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "is_grantable", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "role_usage_grants" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routine_privileges" + }, + "columns": [ + { + "name": "grantor", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routine_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "grantee", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routine_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "specific_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routine_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "specific_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routine_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "specific_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routine_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "routine_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routine_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "routine_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routine_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "routine_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routine_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "privilege_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routine_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "is_grantable", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routine_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "columns": [ + { + "name": "specific_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "specific_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "specific_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "routine_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "routine_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "routine_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "routine_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "module_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "module_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "module_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "udt_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "udt_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "udt_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "data_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "character_maximum_length", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "character_octet_length", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "character_set_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "character_set_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "character_set_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "collation_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "collation_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "collation_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "numeric_precision", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "numeric_precision_radix", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "numeric_scale", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "datetime_precision", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "interval_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "interval_precision", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "type_udt_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "type_udt_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "type_udt_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "scope_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "scope_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "scope_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "maximum_cardinality", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "dtd_identifier", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "routine_body", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "routine_definition", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "external_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "external_language", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "parameter_style", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "is_deterministic", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "sql_data_access", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "is_null_call", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "sql_path", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "schema_level_routine", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "max_dynamic_result_sets", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "is_user_defined_cast", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "is_implicitly_invocable", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "security_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "to_sql_specific_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "to_sql_specific_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "to_sql_specific_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "as_locator", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "created", + "not_null": false, + "is_array": false, + "comment": "", + "length": 8, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "time_stamp" + } + }, + { + "name": "last_altered", + "not_null": false, + "is_array": false, + "comment": "", + "length": 8, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "time_stamp" + } + }, + { + "name": "new_savepoint_level", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "is_udt_dependent", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "result_cast_from_data_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "result_cast_as_locator", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "result_cast_char_max_length", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "result_cast_char_octet_length", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "result_cast_char_set_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "result_cast_char_set_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "result_cast_char_set_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "result_cast_collation_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "result_cast_collation_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "result_cast_collation_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "result_cast_numeric_precision", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "result_cast_numeric_precision_radix", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "result_cast_numeric_scale", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "result_cast_datetime_precision", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "result_cast_interval_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "result_cast_interval_precision", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "result_cast_type_udt_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "result_cast_type_udt_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "result_cast_type_udt_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "result_cast_scope_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "result_cast_scope_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "result_cast_scope_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "result_cast_maximum_cardinality", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "result_cast_dtd_identifier", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "routines" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "schemata" + }, + "columns": [ + { + "name": "catalog_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "schemata" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "schema_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "schemata" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "schema_owner", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "schemata" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "default_character_set_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "schemata" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "default_character_set_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "schemata" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "default_character_set_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "schemata" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "sql_path", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "schemata" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sequences" + }, + "columns": [ + { + "name": "sequence_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sequences" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "sequence_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sequences" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "sequence_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sequences" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "data_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sequences" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "numeric_precision", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sequences" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "numeric_precision_radix", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sequences" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "numeric_scale", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sequences" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "start_value", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sequences" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "minimum_value", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sequences" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "maximum_value", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sequences" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "increment", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sequences" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "cycle_option", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sequences" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_features" + }, + "columns": [ + { + "name": "tableoid", + "not_null": true, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_features" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "oid" + } + }, + { + "name": "cmax", + "not_null": true, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_features" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cid" + } + }, + { + "name": "xmax", + "not_null": true, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_features" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "xid" + } + }, + { + "name": "cmin", + "not_null": true, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_features" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cid" + } + }, + { + "name": "xmin", + "not_null": true, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_features" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "xid" + } + }, + { + "name": "ctid", + "not_null": true, + "is_array": false, + "comment": "", + "length": 6, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_features" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "tid" + } + }, + { + "name": "feature_id", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_features" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "feature_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_features" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "sub_feature_id", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_features" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "sub_feature_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_features" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "is_supported", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_features" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "is_verified_by", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_features" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "comments", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_features" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_implementation_info" + }, + "columns": [ + { + "name": "tableoid", + "not_null": true, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_implementation_info" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "oid" + } + }, + { + "name": "cmax", + "not_null": true, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_implementation_info" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cid" + } + }, + { + "name": "xmax", + "not_null": true, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_implementation_info" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "xid" + } + }, + { + "name": "cmin", + "not_null": true, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_implementation_info" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cid" + } + }, + { + "name": "xmin", + "not_null": true, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_implementation_info" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "xid" + } + }, + { + "name": "ctid", + "not_null": true, + "is_array": false, + "comment": "", + "length": 6, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_implementation_info" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "tid" + } + }, + { + "name": "implementation_info_id", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_implementation_info" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "implementation_info_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_implementation_info" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "integer_value", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_implementation_info" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "character_value", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_implementation_info" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "comments", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_implementation_info" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_parts" + }, + "columns": [ + { + "name": "tableoid", + "not_null": true, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_parts" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "oid" + } + }, + { + "name": "cmax", + "not_null": true, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_parts" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cid" + } + }, + { + "name": "xmax", + "not_null": true, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_parts" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "xid" + } + }, + { + "name": "cmin", + "not_null": true, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_parts" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cid" + } + }, + { + "name": "xmin", + "not_null": true, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_parts" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "xid" + } + }, + { + "name": "ctid", + "not_null": true, + "is_array": false, + "comment": "", + "length": 6, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_parts" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "tid" + } + }, + { + "name": "feature_id", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_parts" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "feature_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_parts" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "is_supported", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_parts" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "is_verified_by", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_parts" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "comments", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_parts" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_sizing" + }, + "columns": [ + { + "name": "tableoid", + "not_null": true, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_sizing" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "oid" + } + }, + { + "name": "cmax", + "not_null": true, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_sizing" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cid" + } + }, + { + "name": "xmax", + "not_null": true, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_sizing" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "xid" + } + }, + { + "name": "cmin", + "not_null": true, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_sizing" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cid" + } + }, + { + "name": "xmin", + "not_null": true, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_sizing" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "xid" + } + }, + { + "name": "ctid", + "not_null": true, + "is_array": false, + "comment": "", + "length": 6, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_sizing" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "tid" + } + }, + { + "name": "sizing_id", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_sizing" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "sizing_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_sizing" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "supported_value", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_sizing" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "comments", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "sql_sizing" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "table_constraints" + }, + "columns": [ + { + "name": "constraint_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "table_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "constraint_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "table_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "constraint_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "table_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "table_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "table_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "table_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "constraint_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "table_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "is_deferrable", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "table_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "initially_deferred", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "table_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "enforced", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "table_constraints" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "table_privileges" + }, + "columns": [ + { + "name": "grantor", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "table_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "grantee", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "table_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "table_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "table_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "table_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "privilege_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "table_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "is_grantable", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "table_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "with_hierarchy", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "table_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "tables" + }, + "columns": [ + { + "name": "table_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "tables" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "tables" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "tables" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "tables" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "self_referencing_column_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "tables" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "reference_generation", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "tables" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "user_defined_type_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "tables" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "user_defined_type_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "tables" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "user_defined_type_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "tables" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "is_insertable_into", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "tables" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "is_typed", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "tables" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "commit_action", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "tables" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "transforms" + }, + "columns": [ + { + "name": "udt_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "transforms" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "udt_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "transforms" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "udt_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "transforms" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "specific_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "transforms" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "specific_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "transforms" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "specific_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "transforms" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "group_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "transforms" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "transform_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "transforms" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "triggered_update_columns" + }, + "columns": [ + { + "name": "trigger_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "triggered_update_columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "trigger_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "triggered_update_columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "trigger_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "triggered_update_columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "event_object_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "triggered_update_columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "event_object_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "triggered_update_columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "event_object_table", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "triggered_update_columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "event_object_column", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "triggered_update_columns" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "triggers" + }, + "columns": [ + { + "name": "trigger_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "triggers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "trigger_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "triggers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "trigger_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "triggers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "event_manipulation", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "triggers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "event_object_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "triggers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "event_object_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "triggers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "event_object_table", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "triggers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "action_order", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "triggers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "action_condition", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "triggers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "action_statement", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "triggers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "action_orientation", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "triggers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "action_timing", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "triggers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "action_reference_old_table", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "triggers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "action_reference_new_table", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "triggers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "action_reference_old_row", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "triggers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "action_reference_new_row", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "triggers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "created", + "not_null": false, + "is_array": false, + "comment": "", + "length": 8, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "triggers" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "time_stamp" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "udt_privileges" + }, + "columns": [ + { + "name": "grantor", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "udt_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "grantee", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "udt_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "udt_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "udt_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "udt_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "udt_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "udt_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "udt_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "privilege_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "udt_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "is_grantable", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "udt_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "usage_privileges" + }, + "columns": [ + { + "name": "grantor", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "usage_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "grantee", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "usage_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "object_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "usage_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "object_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "usage_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "object_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "usage_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "object_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "usage_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "privilege_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "usage_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "is_grantable", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "usage_privileges" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "columns": [ + { + "name": "user_defined_type_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "user_defined_type_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "user_defined_type_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "user_defined_type_category", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "is_instantiable", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "is_final", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "ordering_form", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "ordering_category", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "ordering_routine_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "ordering_routine_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "ordering_routine_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "reference_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "data_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "character_maximum_length", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "character_octet_length", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "character_set_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "character_set_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "character_set_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "collation_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "collation_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "collation_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "numeric_precision", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "numeric_precision_radix", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "numeric_scale", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "datetime_precision", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "interval_type", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "interval_precision", + "not_null": false, + "is_array": false, + "comment": "", + "length": 4, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "cardinal_number" + } + }, + { + "name": "source_dtd_identifier", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "ref_dtd_identifier", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_defined_types" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_mapping_options" + }, + "columns": [ + { + "name": "authorization_identifier", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_mapping_options" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "foreign_server_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_mapping_options" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "foreign_server_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_mapping_options" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "option_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_mapping_options" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "option_value", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_mapping_options" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_mappings" + }, + "columns": [ + { + "name": "authorization_identifier", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_mappings" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "foreign_server_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_mappings" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "foreign_server_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "user_mappings" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "view_column_usage" + }, + "columns": [ + { + "name": "view_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "view_column_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "view_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "view_column_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "view_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "view_column_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "view_column_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "view_column_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "view_column_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "column_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "view_column_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "view_routine_usage" + }, + "columns": [ + { + "name": "table_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "view_routine_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "view_routine_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "view_routine_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "specific_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "view_routine_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "specific_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "view_routine_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "specific_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "view_routine_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "view_table_usage" + }, + "columns": [ + { + "name": "view_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "view_table_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "view_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "view_table_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "view_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "view_table_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "view_table_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "view_table_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "view_table_usage" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + } + ], + "comment": "" + }, + { + "rel": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "views" + }, + "columns": [ + { + "name": "table_catalog", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "views" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_schema", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "views" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "table_name", + "not_null": false, + "is_array": false, + "comment": "", + "length": 64, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "views" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "sql_identifier" + } + }, + { + "name": "view_definition", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "views" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "check_option", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "views" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "character_data" + } + }, + { + "name": "is_updatable", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "views" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "is_insertable_into", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "views" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "is_trigger_updatable", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "views" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "is_trigger_deletable", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "views" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + }, + { + "name": "is_trigger_insertable_into", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "pg_catalog", + "schema": "information_schema", + "name": "views" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "yes_or_no" + } + } + ], + "comment": "" + } + ], + "enums": [], + "composite_types": [] } ] }, diff --git a/internal/engine/postgresql/catalog.go b/internal/engine/postgresql/catalog.go index 354a05a184..625f1cd683 100644 --- a/internal/engine/postgresql/catalog.go +++ b/internal/engine/postgresql/catalog.go @@ -2,10 +2,17 @@ package postgresql import "github.com/kyleconroy/sqlc/internal/sql/catalog" +// toPointer converts an int to a pointer without a temporary +// variable at the call-site, and is used by the generated schemas +func toPointer(x int) *int { + return &x +} + func NewCatalog() *catalog.Catalog { c := catalog.New("public") c.Schemas = append(c.Schemas, pgTemp()) c.Schemas = append(c.Schemas, genPGCatalog()) + c.Schemas = append(c.Schemas, genInformationSchema()) c.SearchPath = []string{"pg_catalog"} c.LoadExtension = loadExtension return c diff --git a/internal/engine/postgresql/information_schema.go b/internal/engine/postgresql/information_schema.go new file mode 100644 index 0000000000..c6cfe0db2e --- /dev/null +++ b/internal/engine/postgresql/information_schema.go @@ -0,0 +1,3899 @@ +// Code generated by sqlc-pg-gen. DO NOT EDIT. + +package postgresql + +import ( + "github.com/kyleconroy/sqlc/internal/sql/ast" + "github.com/kyleconroy/sqlc/internal/sql/catalog" +) + +func genInformationSchema() *catalog.Schema { + s := &catalog.Schema{Name: "information_schema"} + s.Funcs = []*catalog.Function{} + s.Tables = []*catalog.Table{ + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "_pg_foreign_data_wrappers", + }, + Columns: []*catalog.Column{ + { + Name: "oid", + Type: ast.TypeName{Name: "oid"}, + Length: toPointer(4), + }, + { + Name: "fdwowner", + Type: ast.TypeName{Name: "oid"}, + Length: toPointer(4), + }, + { + Name: "fdwoptions", + Type: ast.TypeName{Name: "_text"}, + IsArray: true, + }, + { + Name: "foreign_data_wrapper_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "foreign_data_wrapper_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "authorization_identifier", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "foreign_data_wrapper_language", + Type: ast.TypeName{Name: "character_data"}, + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "_pg_foreign_servers", + }, + Columns: []*catalog.Column{ + { + Name: "oid", + Type: ast.TypeName{Name: "oid"}, + Length: toPointer(4), + }, + { + Name: "srvoptions", + Type: ast.TypeName{Name: "_text"}, + IsArray: true, + }, + { + Name: "foreign_server_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "foreign_server_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "foreign_data_wrapper_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "foreign_data_wrapper_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "foreign_server_type", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "foreign_server_version", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "authorization_identifier", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "_pg_foreign_table_columns", + }, + Columns: []*catalog.Column{ + { + Name: "nspname", + Type: ast.TypeName{Name: "name"}, + Length: toPointer(64), + }, + { + Name: "relname", + Type: ast.TypeName{Name: "name"}, + Length: toPointer(64), + }, + { + Name: "attname", + Type: ast.TypeName{Name: "name"}, + Length: toPointer(64), + }, + { + Name: "attfdwoptions", + Type: ast.TypeName{Name: "_text"}, + IsArray: true, + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "_pg_foreign_tables", + }, + Columns: []*catalog.Column{ + { + Name: "foreign_table_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "foreign_table_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "foreign_table_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "ftoptions", + Type: ast.TypeName{Name: "_text"}, + IsArray: true, + }, + { + Name: "foreign_server_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "foreign_server_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "authorization_identifier", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "_pg_user_mappings", + }, + Columns: []*catalog.Column{ + { + Name: "oid", + Type: ast.TypeName{Name: "oid"}, + Length: toPointer(4), + }, + { + Name: "umoptions", + Type: ast.TypeName{Name: "_text"}, + IsArray: true, + }, + { + Name: "umuser", + Type: ast.TypeName{Name: "oid"}, + Length: toPointer(4), + }, + { + Name: "authorization_identifier", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "foreign_server_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "foreign_server_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "srvowner", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "administrable_role_authorizations", + }, + Columns: []*catalog.Column{ + { + Name: "grantee", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "role_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "is_grantable", + Type: ast.TypeName{Name: "yes_or_no"}, + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "applicable_roles", + }, + Columns: []*catalog.Column{ + { + Name: "grantee", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "role_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "is_grantable", + Type: ast.TypeName{Name: "yes_or_no"}, + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "attributes", + }, + Columns: []*catalog.Column{ + { + Name: "udt_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "udt_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "udt_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "attribute_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "ordinal_position", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "attribute_default", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "is_nullable", + Type: ast.TypeName{Name: "yes_or_no"}, + }, + { + Name: "data_type", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "character_maximum_length", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "character_octet_length", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "character_set_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "character_set_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "character_set_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "collation_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "collation_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "collation_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "numeric_precision", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "numeric_precision_radix", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "numeric_scale", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "datetime_precision", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "interval_type", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "interval_precision", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "attribute_udt_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "attribute_udt_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "attribute_udt_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "scope_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "scope_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "scope_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "maximum_cardinality", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "dtd_identifier", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "is_derived_reference_attribute", + Type: ast.TypeName{Name: "yes_or_no"}, + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "character_sets", + }, + Columns: []*catalog.Column{ + { + Name: "character_set_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "character_set_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "character_set_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "character_repertoire", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "form_of_use", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "default_collate_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "default_collate_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "default_collate_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "check_constraint_routine_usage", + }, + Columns: []*catalog.Column{ + { + Name: "constraint_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "constraint_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "constraint_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "specific_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "specific_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "specific_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "check_constraints", + }, + Columns: []*catalog.Column{ + { + Name: "constraint_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "constraint_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "constraint_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "check_clause", + Type: ast.TypeName{Name: "character_data"}, + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "collation_character_set_applicability", + }, + Columns: []*catalog.Column{ + { + Name: "collation_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "collation_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "collation_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "character_set_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "character_set_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "character_set_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "collations", + }, + Columns: []*catalog.Column{ + { + Name: "collation_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "collation_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "collation_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "pad_attribute", + Type: ast.TypeName{Name: "character_data"}, + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "column_column_usage", + }, + Columns: []*catalog.Column{ + { + Name: "table_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "table_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "table_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "column_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "dependent_column", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "column_domain_usage", + }, + Columns: []*catalog.Column{ + { + Name: "domain_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "domain_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "domain_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "table_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "table_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "table_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "column_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "column_options", + }, + Columns: []*catalog.Column{ + { + Name: "table_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "table_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "table_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "column_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "option_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "option_value", + Type: ast.TypeName{Name: "character_data"}, + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "column_privileges", + }, + Columns: []*catalog.Column{ + { + Name: "grantor", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "grantee", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "table_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "table_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "table_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "column_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "privilege_type", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "is_grantable", + Type: ast.TypeName{Name: "yes_or_no"}, + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "column_udt_usage", + }, + Columns: []*catalog.Column{ + { + Name: "udt_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "udt_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "udt_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "table_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "table_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "table_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "column_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "columns", + }, + Columns: []*catalog.Column{ + { + Name: "table_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "table_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "table_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "column_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "ordinal_position", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "column_default", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "is_nullable", + Type: ast.TypeName{Name: "yes_or_no"}, + }, + { + Name: "data_type", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "character_maximum_length", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "character_octet_length", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "numeric_precision", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "numeric_precision_radix", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "numeric_scale", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "datetime_precision", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "interval_type", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "interval_precision", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "character_set_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "character_set_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "character_set_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "collation_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "collation_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "collation_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "domain_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "domain_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "domain_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "udt_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "udt_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "udt_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "scope_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "scope_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "scope_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "maximum_cardinality", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "dtd_identifier", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "is_self_referencing", + Type: ast.TypeName{Name: "yes_or_no"}, + }, + { + Name: "is_identity", + Type: ast.TypeName{Name: "yes_or_no"}, + }, + { + Name: "identity_generation", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "identity_start", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "identity_increment", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "identity_maximum", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "identity_minimum", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "identity_cycle", + Type: ast.TypeName{Name: "yes_or_no"}, + }, + { + Name: "is_generated", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "generation_expression", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "is_updatable", + Type: ast.TypeName{Name: "yes_or_no"}, + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "constraint_column_usage", + }, + Columns: []*catalog.Column{ + { + Name: "table_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "table_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "table_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "column_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "constraint_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "constraint_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "constraint_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "constraint_table_usage", + }, + Columns: []*catalog.Column{ + { + Name: "table_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "table_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "table_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "constraint_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "constraint_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "constraint_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "data_type_privileges", + }, + Columns: []*catalog.Column{ + { + Name: "object_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "object_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "object_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "object_type", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "dtd_identifier", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "domain_constraints", + }, + Columns: []*catalog.Column{ + { + Name: "constraint_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "constraint_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "constraint_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "domain_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "domain_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "domain_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "is_deferrable", + Type: ast.TypeName{Name: "yes_or_no"}, + }, + { + Name: "initially_deferred", + Type: ast.TypeName{Name: "yes_or_no"}, + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "domain_udt_usage", + }, + Columns: []*catalog.Column{ + { + Name: "udt_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "udt_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "udt_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "domain_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "domain_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "domain_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "domains", + }, + Columns: []*catalog.Column{ + { + Name: "domain_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "domain_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "domain_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "data_type", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "character_maximum_length", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "character_octet_length", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "character_set_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "character_set_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "character_set_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "collation_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "collation_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "collation_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "numeric_precision", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "numeric_precision_radix", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "numeric_scale", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "datetime_precision", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "interval_type", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "interval_precision", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "domain_default", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "udt_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "udt_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "udt_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "scope_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "scope_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "scope_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "maximum_cardinality", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "dtd_identifier", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "element_types", + }, + Columns: []*catalog.Column{ + { + Name: "object_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "object_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "object_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "object_type", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "collection_type_identifier", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "data_type", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "character_maximum_length", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "character_octet_length", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "character_set_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "character_set_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "character_set_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "collation_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "collation_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "collation_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "numeric_precision", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "numeric_precision_radix", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "numeric_scale", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "datetime_precision", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "interval_type", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "interval_precision", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "domain_default", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "udt_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "udt_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "udt_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "scope_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "scope_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "scope_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "maximum_cardinality", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "dtd_identifier", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "enabled_roles", + }, + Columns: []*catalog.Column{ + { + Name: "role_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "foreign_data_wrapper_options", + }, + Columns: []*catalog.Column{ + { + Name: "foreign_data_wrapper_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "foreign_data_wrapper_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "option_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "option_value", + Type: ast.TypeName{Name: "character_data"}, + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "foreign_data_wrappers", + }, + Columns: []*catalog.Column{ + { + Name: "foreign_data_wrapper_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "foreign_data_wrapper_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "authorization_identifier", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "library_name", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "foreign_data_wrapper_language", + Type: ast.TypeName{Name: "character_data"}, + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "foreign_server_options", + }, + Columns: []*catalog.Column{ + { + Name: "foreign_server_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "foreign_server_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "option_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "option_value", + Type: ast.TypeName{Name: "character_data"}, + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "foreign_servers", + }, + Columns: []*catalog.Column{ + { + Name: "foreign_server_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "foreign_server_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "foreign_data_wrapper_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "foreign_data_wrapper_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "foreign_server_type", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "foreign_server_version", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "authorization_identifier", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "foreign_table_options", + }, + Columns: []*catalog.Column{ + { + Name: "foreign_table_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "foreign_table_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "foreign_table_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "option_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "option_value", + Type: ast.TypeName{Name: "character_data"}, + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "foreign_tables", + }, + Columns: []*catalog.Column{ + { + Name: "foreign_table_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "foreign_table_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "foreign_table_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "foreign_server_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "foreign_server_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "information_schema_catalog_name", + }, + Columns: []*catalog.Column{ + { + Name: "catalog_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "key_column_usage", + }, + Columns: []*catalog.Column{ + { + Name: "constraint_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "constraint_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "constraint_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "table_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "table_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "table_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "column_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "ordinal_position", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "position_in_unique_constraint", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "parameters", + }, + Columns: []*catalog.Column{ + { + Name: "specific_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "specific_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "specific_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "ordinal_position", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "parameter_mode", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "is_result", + Type: ast.TypeName{Name: "yes_or_no"}, + }, + { + Name: "as_locator", + Type: ast.TypeName{Name: "yes_or_no"}, + }, + { + Name: "parameter_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "data_type", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "character_maximum_length", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "character_octet_length", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "character_set_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "character_set_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "character_set_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "collation_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "collation_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "collation_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "numeric_precision", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "numeric_precision_radix", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "numeric_scale", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "datetime_precision", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "interval_type", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "interval_precision", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "udt_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "udt_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "udt_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "scope_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "scope_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "scope_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "maximum_cardinality", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "dtd_identifier", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "parameter_default", + Type: ast.TypeName{Name: "character_data"}, + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "referential_constraints", + }, + Columns: []*catalog.Column{ + { + Name: "constraint_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "constraint_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "constraint_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "unique_constraint_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "unique_constraint_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "unique_constraint_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "match_option", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "update_rule", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "delete_rule", + Type: ast.TypeName{Name: "character_data"}, + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "role_column_grants", + }, + Columns: []*catalog.Column{ + { + Name: "grantor", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "grantee", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "table_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "table_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "table_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "column_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "privilege_type", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "is_grantable", + Type: ast.TypeName{Name: "yes_or_no"}, + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "role_routine_grants", + }, + Columns: []*catalog.Column{ + { + Name: "grantor", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "grantee", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "specific_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "specific_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "specific_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "routine_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "routine_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "routine_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "privilege_type", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "is_grantable", + Type: ast.TypeName{Name: "yes_or_no"}, + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "role_table_grants", + }, + Columns: []*catalog.Column{ + { + Name: "grantor", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "grantee", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "table_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "table_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "table_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "privilege_type", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "is_grantable", + Type: ast.TypeName{Name: "yes_or_no"}, + }, + { + Name: "with_hierarchy", + Type: ast.TypeName{Name: "yes_or_no"}, + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "role_udt_grants", + }, + Columns: []*catalog.Column{ + { + Name: "grantor", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "grantee", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "udt_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "udt_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "udt_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "privilege_type", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "is_grantable", + Type: ast.TypeName{Name: "yes_or_no"}, + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "role_usage_grants", + }, + Columns: []*catalog.Column{ + { + Name: "grantor", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "grantee", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "object_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "object_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "object_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "object_type", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "privilege_type", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "is_grantable", + Type: ast.TypeName{Name: "yes_or_no"}, + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "routine_privileges", + }, + Columns: []*catalog.Column{ + { + Name: "grantor", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "grantee", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "specific_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "specific_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "specific_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "routine_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "routine_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "routine_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "privilege_type", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "is_grantable", + Type: ast.TypeName{Name: "yes_or_no"}, + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "routines", + }, + Columns: []*catalog.Column{ + { + Name: "specific_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "specific_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "specific_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "routine_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "routine_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "routine_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "routine_type", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "module_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "module_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "module_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "udt_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "udt_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "udt_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "data_type", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "character_maximum_length", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "character_octet_length", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "character_set_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "character_set_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "character_set_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "collation_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "collation_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "collation_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "numeric_precision", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "numeric_precision_radix", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "numeric_scale", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "datetime_precision", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "interval_type", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "interval_precision", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "type_udt_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "type_udt_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "type_udt_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "scope_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "scope_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "scope_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "maximum_cardinality", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "dtd_identifier", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "routine_body", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "routine_definition", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "external_name", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "external_language", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "parameter_style", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "is_deterministic", + Type: ast.TypeName{Name: "yes_or_no"}, + }, + { + Name: "sql_data_access", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "is_null_call", + Type: ast.TypeName{Name: "yes_or_no"}, + }, + { + Name: "sql_path", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "schema_level_routine", + Type: ast.TypeName{Name: "yes_or_no"}, + }, + { + Name: "max_dynamic_result_sets", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "is_user_defined_cast", + Type: ast.TypeName{Name: "yes_or_no"}, + }, + { + Name: "is_implicitly_invocable", + Type: ast.TypeName{Name: "yes_or_no"}, + }, + { + Name: "security_type", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "to_sql_specific_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "to_sql_specific_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "to_sql_specific_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "as_locator", + Type: ast.TypeName{Name: "yes_or_no"}, + }, + { + Name: "created", + Type: ast.TypeName{Name: "time_stamp"}, + Length: toPointer(8), + }, + { + Name: "last_altered", + Type: ast.TypeName{Name: "time_stamp"}, + Length: toPointer(8), + }, + { + Name: "new_savepoint_level", + Type: ast.TypeName{Name: "yes_or_no"}, + }, + { + Name: "is_udt_dependent", + Type: ast.TypeName{Name: "yes_or_no"}, + }, + { + Name: "result_cast_from_data_type", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "result_cast_as_locator", + Type: ast.TypeName{Name: "yes_or_no"}, + }, + { + Name: "result_cast_char_max_length", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "result_cast_char_octet_length", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "result_cast_char_set_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "result_cast_char_set_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "result_cast_char_set_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "result_cast_collation_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "result_cast_collation_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "result_cast_collation_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "result_cast_numeric_precision", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "result_cast_numeric_precision_radix", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "result_cast_numeric_scale", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "result_cast_datetime_precision", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "result_cast_interval_type", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "result_cast_interval_precision", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "result_cast_type_udt_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "result_cast_type_udt_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "result_cast_type_udt_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "result_cast_scope_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "result_cast_scope_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "result_cast_scope_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "result_cast_maximum_cardinality", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "result_cast_dtd_identifier", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "schemata", + }, + Columns: []*catalog.Column{ + { + Name: "catalog_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "schema_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "schema_owner", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "default_character_set_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "default_character_set_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "default_character_set_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "sql_path", + Type: ast.TypeName{Name: "character_data"}, + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "sequences", + }, + Columns: []*catalog.Column{ + { + Name: "sequence_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "sequence_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "sequence_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "data_type", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "numeric_precision", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "numeric_precision_radix", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "numeric_scale", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "start_value", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "minimum_value", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "maximum_value", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "increment", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "cycle_option", + Type: ast.TypeName{Name: "yes_or_no"}, + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "sql_features", + }, + Columns: []*catalog.Column{ + { + Name: "tableoid", + Type: ast.TypeName{Name: "oid"}, + IsNotNull: true, + Length: toPointer(4), + }, + { + Name: "cmax", + Type: ast.TypeName{Name: "cid"}, + IsNotNull: true, + Length: toPointer(4), + }, + { + Name: "xmax", + Type: ast.TypeName{Name: "xid"}, + IsNotNull: true, + Length: toPointer(4), + }, + { + Name: "cmin", + Type: ast.TypeName{Name: "cid"}, + IsNotNull: true, + Length: toPointer(4), + }, + { + Name: "xmin", + Type: ast.TypeName{Name: "xid"}, + IsNotNull: true, + Length: toPointer(4), + }, + { + Name: "ctid", + Type: ast.TypeName{Name: "tid"}, + IsNotNull: true, + Length: toPointer(6), + }, + { + Name: "feature_id", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "feature_name", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "sub_feature_id", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "sub_feature_name", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "is_supported", + Type: ast.TypeName{Name: "yes_or_no"}, + }, + { + Name: "is_verified_by", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "comments", + Type: ast.TypeName{Name: "character_data"}, + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "sql_implementation_info", + }, + Columns: []*catalog.Column{ + { + Name: "tableoid", + Type: ast.TypeName{Name: "oid"}, + IsNotNull: true, + Length: toPointer(4), + }, + { + Name: "cmax", + Type: ast.TypeName{Name: "cid"}, + IsNotNull: true, + Length: toPointer(4), + }, + { + Name: "xmax", + Type: ast.TypeName{Name: "xid"}, + IsNotNull: true, + Length: toPointer(4), + }, + { + Name: "cmin", + Type: ast.TypeName{Name: "cid"}, + IsNotNull: true, + Length: toPointer(4), + }, + { + Name: "xmin", + Type: ast.TypeName{Name: "xid"}, + IsNotNull: true, + Length: toPointer(4), + }, + { + Name: "ctid", + Type: ast.TypeName{Name: "tid"}, + IsNotNull: true, + Length: toPointer(6), + }, + { + Name: "implementation_info_id", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "implementation_info_name", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "integer_value", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "character_value", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "comments", + Type: ast.TypeName{Name: "character_data"}, + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "sql_parts", + }, + Columns: []*catalog.Column{ + { + Name: "tableoid", + Type: ast.TypeName{Name: "oid"}, + IsNotNull: true, + Length: toPointer(4), + }, + { + Name: "cmax", + Type: ast.TypeName{Name: "cid"}, + IsNotNull: true, + Length: toPointer(4), + }, + { + Name: "xmax", + Type: ast.TypeName{Name: "xid"}, + IsNotNull: true, + Length: toPointer(4), + }, + { + Name: "cmin", + Type: ast.TypeName{Name: "cid"}, + IsNotNull: true, + Length: toPointer(4), + }, + { + Name: "xmin", + Type: ast.TypeName{Name: "xid"}, + IsNotNull: true, + Length: toPointer(4), + }, + { + Name: "ctid", + Type: ast.TypeName{Name: "tid"}, + IsNotNull: true, + Length: toPointer(6), + }, + { + Name: "feature_id", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "feature_name", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "is_supported", + Type: ast.TypeName{Name: "yes_or_no"}, + }, + { + Name: "is_verified_by", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "comments", + Type: ast.TypeName{Name: "character_data"}, + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "sql_sizing", + }, + Columns: []*catalog.Column{ + { + Name: "tableoid", + Type: ast.TypeName{Name: "oid"}, + IsNotNull: true, + Length: toPointer(4), + }, + { + Name: "cmax", + Type: ast.TypeName{Name: "cid"}, + IsNotNull: true, + Length: toPointer(4), + }, + { + Name: "xmax", + Type: ast.TypeName{Name: "xid"}, + IsNotNull: true, + Length: toPointer(4), + }, + { + Name: "cmin", + Type: ast.TypeName{Name: "cid"}, + IsNotNull: true, + Length: toPointer(4), + }, + { + Name: "xmin", + Type: ast.TypeName{Name: "xid"}, + IsNotNull: true, + Length: toPointer(4), + }, + { + Name: "ctid", + Type: ast.TypeName{Name: "tid"}, + IsNotNull: true, + Length: toPointer(6), + }, + { + Name: "sizing_id", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "sizing_name", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "supported_value", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "comments", + Type: ast.TypeName{Name: "character_data"}, + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "table_constraints", + }, + Columns: []*catalog.Column{ + { + Name: "constraint_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "constraint_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "constraint_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "table_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "table_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "table_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "constraint_type", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "is_deferrable", + Type: ast.TypeName{Name: "yes_or_no"}, + }, + { + Name: "initially_deferred", + Type: ast.TypeName{Name: "yes_or_no"}, + }, + { + Name: "enforced", + Type: ast.TypeName{Name: "yes_or_no"}, + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "table_privileges", + }, + Columns: []*catalog.Column{ + { + Name: "grantor", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "grantee", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "table_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "table_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "table_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "privilege_type", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "is_grantable", + Type: ast.TypeName{Name: "yes_or_no"}, + }, + { + Name: "with_hierarchy", + Type: ast.TypeName{Name: "yes_or_no"}, + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "tables", + }, + Columns: []*catalog.Column{ + { + Name: "table_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "table_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "table_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "table_type", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "self_referencing_column_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "reference_generation", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "user_defined_type_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "user_defined_type_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "user_defined_type_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "is_insertable_into", + Type: ast.TypeName{Name: "yes_or_no"}, + }, + { + Name: "is_typed", + Type: ast.TypeName{Name: "yes_or_no"}, + }, + { + Name: "commit_action", + Type: ast.TypeName{Name: "character_data"}, + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "transforms", + }, + Columns: []*catalog.Column{ + { + Name: "udt_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "udt_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "udt_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "specific_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "specific_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "specific_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "group_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "transform_type", + Type: ast.TypeName{Name: "character_data"}, + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "triggered_update_columns", + }, + Columns: []*catalog.Column{ + { + Name: "trigger_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "trigger_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "trigger_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "event_object_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "event_object_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "event_object_table", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "event_object_column", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "triggers", + }, + Columns: []*catalog.Column{ + { + Name: "trigger_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "trigger_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "trigger_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "event_manipulation", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "event_object_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "event_object_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "event_object_table", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "action_order", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "action_condition", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "action_statement", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "action_orientation", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "action_timing", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "action_reference_old_table", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "action_reference_new_table", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "action_reference_old_row", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "action_reference_new_row", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "created", + Type: ast.TypeName{Name: "time_stamp"}, + Length: toPointer(8), + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "udt_privileges", + }, + Columns: []*catalog.Column{ + { + Name: "grantor", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "grantee", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "udt_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "udt_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "udt_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "privilege_type", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "is_grantable", + Type: ast.TypeName{Name: "yes_or_no"}, + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "usage_privileges", + }, + Columns: []*catalog.Column{ + { + Name: "grantor", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "grantee", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "object_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "object_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "object_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "object_type", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "privilege_type", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "is_grantable", + Type: ast.TypeName{Name: "yes_or_no"}, + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "user_defined_types", + }, + Columns: []*catalog.Column{ + { + Name: "user_defined_type_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "user_defined_type_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "user_defined_type_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "user_defined_type_category", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "is_instantiable", + Type: ast.TypeName{Name: "yes_or_no"}, + }, + { + Name: "is_final", + Type: ast.TypeName{Name: "yes_or_no"}, + }, + { + Name: "ordering_form", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "ordering_category", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "ordering_routine_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "ordering_routine_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "ordering_routine_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "reference_type", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "data_type", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "character_maximum_length", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "character_octet_length", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "character_set_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "character_set_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "character_set_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "collation_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "collation_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "collation_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "numeric_precision", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "numeric_precision_radix", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "numeric_scale", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "datetime_precision", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "interval_type", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "interval_precision", + Type: ast.TypeName{Name: "cardinal_number"}, + Length: toPointer(4), + }, + { + Name: "source_dtd_identifier", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "ref_dtd_identifier", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "user_mapping_options", + }, + Columns: []*catalog.Column{ + { + Name: "authorization_identifier", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "foreign_server_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "foreign_server_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "option_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "option_value", + Type: ast.TypeName{Name: "character_data"}, + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "user_mappings", + }, + Columns: []*catalog.Column{ + { + Name: "authorization_identifier", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "foreign_server_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "foreign_server_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "view_column_usage", + }, + Columns: []*catalog.Column{ + { + Name: "view_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "view_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "view_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "table_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "table_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "table_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "column_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "view_routine_usage", + }, + Columns: []*catalog.Column{ + { + Name: "table_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "table_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "table_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "specific_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "specific_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "specific_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "view_table_usage", + }, + Columns: []*catalog.Column{ + { + Name: "view_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "view_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "view_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "table_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "table_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "table_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + }, + }, + { + Rel: &ast.TableName{ + Catalog: "pg_catalog", + Schema: "information_schema", + Name: "views", + }, + Columns: []*catalog.Column{ + { + Name: "table_catalog", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "table_schema", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "table_name", + Type: ast.TypeName{Name: "sql_identifier"}, + Length: toPointer(64), + }, + { + Name: "view_definition", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "check_option", + Type: ast.TypeName{Name: "character_data"}, + }, + { + Name: "is_updatable", + Type: ast.TypeName{Name: "yes_or_no"}, + }, + { + Name: "is_insertable_into", + Type: ast.TypeName{Name: "yes_or_no"}, + }, + { + Name: "is_trigger_updatable", + Type: ast.TypeName{Name: "yes_or_no"}, + }, + { + Name: "is_trigger_deletable", + Type: ast.TypeName{Name: "yes_or_no"}, + }, + { + Name: "is_trigger_insertable_into", + Type: ast.TypeName{Name: "yes_or_no"}, + }, + }, + }, + } + return s +} diff --git a/internal/engine/postgresql/pg_catalog.go b/internal/engine/postgresql/pg_catalog.go index 61c64570c3..8045172b8a 100644 --- a/internal/engine/postgresql/pg_catalog.go +++ b/internal/engine/postgresql/pg_catalog.go @@ -7,12 +7,6 @@ import ( "github.com/kyleconroy/sqlc/internal/sql/catalog" ) -// toPointer converts an int to a pointer without a temporary -// variable at the call-site -func toPointer(x int) *int { - return &x -} - func genPGCatalog() *catalog.Schema { s := &catalog.Schema{Name: "pg_catalog"} s.Funcs = []*catalog.Function{ diff --git a/internal/ext/wasm/wasm.go b/internal/ext/wasm/wasm.go index eb9e9abd26..db4e695abe 100644 --- a/internal/ext/wasm/wasm.go +++ b/internal/ext/wasm/wasm.go @@ -186,7 +186,7 @@ func removePGCatalog(req *plugin.CodeGenRequest) { filtered := make([]*plugin.Schema, 0, len(req.Catalog.Schemas)) for _, schema := range req.Catalog.Schemas { - if schema.Name == "pg_catalog" { + if schema.Name == "pg_catalog" || schema.Name == "information_schema" { continue } diff --git a/internal/tools/sqlc-pg-gen/main.go b/internal/tools/sqlc-pg-gen/main.go index 9dfd844d2d..f0c6de6cd3 100644 --- a/internal/tools/sqlc-pg-gen/main.go +++ b/internal/tools/sqlc-pg-gen/main.go @@ -51,16 +51,8 @@ import ( "github.com/kyleconroy/sqlc/internal/sql/catalog" ) -{{- if .Relations }} -// toPointer converts an int to a pointer without a temporary -// variable at the call-site -func toPointer(x int) *int { - return &x -} -{{- end }} - -func {{.Name}}() *catalog.Schema { - s := &catalog.Schema{Name: "pg_catalog"} +func {{.GenFnName}}() *catalog.Schema { + s := &catalog.Schema{Name: "{{ .SchemaName }}"} s.Funcs = []*catalog.Function{ {{- range .Procs}} { @@ -140,10 +132,11 @@ func loadExtension(name string) *catalog.Schema { ` type tmplCtx struct { - Pkg string - Name string - Procs []Proc - Relations []Relation + Pkg string + GenFnName string + SchemaName string + Procs []Proc + Relations []Relation } func main() { @@ -160,27 +153,33 @@ func clean(arg string) string { return arg } -func run(ctx context.Context) error { - tmpl, err := template.New("").Parse(catalogTmpl) +// writeFormattedGo executes `tmpl` with `data` as its context to the the file `destPath` +func writeFormattedGo(tmpl *template.Template, data any, destPath string) error { + out := bytes.NewBuffer([]byte{}) + err := tmpl.Execute(out, data) if err != nil { return err } - conn, err := pgx.Connect(ctx, os.Getenv("DATABASE_URL")) + code, err := format.Source(out.Bytes()) if err != nil { return err } - defer conn.Close(ctx) - // Generate internal/engine/postgresql/pg_catalog.gen.go - rows, err := conn.Query(ctx, catalogFuncs) - if err != nil { - return err - } - allProcs, err := scanProcs(rows) + err = os.WriteFile(destPath, code, 0644) if err != nil { return err } + return nil +} + +// preserveLegacyCatalogBehavior maintain previous ordering and filtering +// that was manually done to the generated file pg_catalog.go. +// Some of the test depend on this ordering - in particular, function lookups +// where there might be multiple matching functions (due to type overloads) +// Until sqlc supports "smarter" looking up of these functions, +// preserveLegacyCatalogBehavior ensures there are no accidental test breakages +func preserveLegacyCatalogBehavior(allProcs []Proc) []Proc { // Preserve the legacy sort order of the end-to-end tests sort.SliceStable(allProcs, func(i, j int) bool { fnA := allProcs[i] @@ -199,7 +198,7 @@ func run(ctx context.Context) error { procs := make([]Proc, 0, len(allProcs)) for _, p := range allProcs { - // Skip generating concat to preserve legacy behavior + // Skip generating pg_catalog.concat to preserve legacy behavior if p.Name == "concat" { continue } @@ -207,26 +206,62 @@ func run(ctx context.Context) error { procs = append(procs, p) } - relations, err := readRelations(ctx, conn) - if err != nil { - return err - } + return procs +} - out := bytes.NewBuffer([]byte{}) - if err := tmpl.Execute(out, tmplCtx{Pkg: "postgresql", Name: "genPGCatalog", Procs: procs, Relations: relations}); err != nil { - return err - } - code, err := format.Source(out.Bytes()) +func run(ctx context.Context) error { + tmpl, err := template.New("").Parse(catalogTmpl) if err != nil { return err } - err = os.WriteFile(filepath.Join("internal", "engine", "postgresql", "pg_catalog.go"), code, 0644) + conn, err := pgx.Connect(ctx, os.Getenv("DATABASE_URL")) if err != nil { return err } + defer conn.Close(ctx) - loaded := []extensionPair{} + schemas := []schemaToLoad{ + { + Name: "pg_catalog", + GenFnName: "genPGCatalog", + DestPath: filepath.Join("internal", "engine", "postgresql", "pg_catalog.go"), + }, + { + Name: "information_schema", + GenFnName: "genInformationSchema", + DestPath: filepath.Join("internal", "engine", "postgresql", "information_schema.go"), + }, + } + + for _, schema := range schemas { + procs, err := readProcs(ctx, conn, schema.Name) + if err != nil { + return err + } + + if schema.Name == "pg_catalog" { + procs = preserveLegacyCatalogBehavior(procs) + } + relations, err := readRelations(ctx, conn, schema.Name) + if err != nil { + return err + } + + err = writeFormattedGo(tmpl, tmplCtx{ + Pkg: "postgresql", + SchemaName: schema.Name, + GenFnName: schema.GenFnName, + Procs: procs, + Relations: relations, + }, schema.DestPath) + + if err != nil { + return err + } + } + + loaded := []extensionPair{} for _, extension := range extensions { name := strings.Replace(extension, "-", "_", -1) @@ -268,44 +303,43 @@ func run(ctx context.Context) error { return false }) - out := bytes.NewBuffer([]byte{}) - if err := tmpl.Execute(out, tmplCtx{Pkg: "contrib", Name: funcName, Procs: procs}); err != nil { - return err - } - code, err := format.Source(out.Bytes()) + extensionPath := filepath.Join("internal", "engine", "postgresql", "contrib", name+".go") + err = writeFormattedGo(tmpl, tmplCtx{ + Pkg: "contrib", + SchemaName: "pg_catalog", + GenFnName: funcName, + Procs: procs, + }, extensionPath) if err != nil { - return err - } - err = os.WriteFile(filepath.Join("internal", "engine", "postgresql", "contrib", name+".go"), code, 0644) - if err != nil { - return err + return fmt.Errorf("error generating extension %s: %w", extension, err) } loaded = append(loaded, extensionPair{Name: extension, Func: funcName}) } - { - tmpl, err := template.New("").Parse(loaderFuncTmpl) - if err != nil { - return err - } - out := bytes.NewBuffer([]byte{}) - if err := tmpl.Execute(out, loaded); err != nil { - return err - } - code, err := format.Source(out.Bytes()) - if err != nil { - return err - } - err = os.WriteFile(filepath.Join("internal", "engine", "postgresql", "extension.go"), code, 0644) - if err != nil { - return err - } + extensionTmpl, err := template.New("").Parse(loaderFuncTmpl) + if err != nil { + return err + } + + extensionLoaderPath := filepath.Join("internal", "engine", "postgresql", "extension.go") + err = writeFormattedGo(extensionTmpl, loaded, extensionLoaderPath) + if err != nil { + return err } return nil } +type schemaToLoad struct { + // name is the name of a schema to load + Name string + // DestPath is the desination for the generate file + DestPath string + // The name of the function to generate for loading this schema + GenFnName string +} + type extensionPair struct { Name string Func string diff --git a/internal/tools/sqlc-pg-gen/proc.go b/internal/tools/sqlc-pg-gen/proc.go index e10240be8f..5f6dadf902 100644 --- a/internal/tools/sqlc-pg-gen/proc.go +++ b/internal/tools/sqlc-pg-gen/proc.go @@ -1,6 +1,7 @@ package main import ( + "context" "strings" pgx "github.com/jackc/pgx/v4" @@ -16,7 +17,7 @@ SELECT p.proname as name, p.proargmodes::text[] FROM pg_catalog.pg_proc p LEFT JOIN pg_catalog.pg_namespace n ON n.oid = p.pronamespace -WHERE n.nspname OPERATOR(pg_catalog.~) '^(pg_catalog)$' +WHERE n.nspname::text = $1 AND pg_function_is_visible(p.oid) -- simply order all columns to keep subsequent runs stable ORDER BY 1, 2, 3, 4, 5; @@ -155,3 +156,12 @@ func scanProcs(rows pgx.Rows) ([]Proc, error) { } return procs, rows.Err() } + +func readProcs(ctx context.Context, conn *pgx.Conn, schemaName string) ([]Proc, error) { + rows, err := conn.Query(ctx, catalogFuncs, schemaName) + if err != nil { + return nil, err + } + + return scanProcs(rows) +} diff --git a/internal/tools/sqlc-pg-gen/relation.go b/internal/tools/sqlc-pg-gen/relation.go index a2aa515675..3b61489392 100644 --- a/internal/tools/sqlc-pg-gen/relation.go +++ b/internal/tools/sqlc-pg-gen/relation.go @@ -26,7 +26,7 @@ from relations inner join pg_catalog.pg_class on pg_class.relname = relations.name left join pg_catalog.pg_attribute on pg_attribute.attrelid = pg_class.oid inner join pg_catalog.pg_type column_type on pg_attribute.atttypid = column_type.oid -where relations.schemaname = 'pg_catalog' +where relations.schemaname = $1 -- Make sure these columns are always generated in the same order -- so that the output is stable order by @@ -101,8 +101,8 @@ func scanRelations(rows pgx.Rows) ([]Relation, error) { return relations, rows.Err() } -func readRelations(ctx context.Context, conn *pgx.Conn) ([]Relation, error) { - rows, err := conn.Query(ctx, relationQuery) +func readRelations(ctx context.Context, conn *pgx.Conn, schemaName string) ([]Relation, error) { + rows, err := conn.Query(ctx, relationQuery, schemaName) if err != nil { return nil, err }