From afb0f1fa2d9577a3dc24e5cf0b45dda1941c0cef Mon Sep 17 00:00:00 2001 From: mnovelodou Date: Thu, 30 Sep 2021 15:42:39 -0500 Subject: [PATCH 1/2] sql: refactored diff tool structures to remove JSON complexity Previously, diff tool shared the same structures for table metadata and diffs This was inadequate because they have different concerns To address this, this patch refactored the code so every concern or process have their own data types Release note: None --- pkg/cmd/generate-metadata-tables/main.go | 28 +- pkg/sql/pg_metadata_diff.go | 188 +- pkg/sql/pg_metadata_test.go | 298 +- .../information_schema_tables_from_mysql.json | 1920 ++----- ...formation_schema_tables_from_postgres.json | 2528 +++------ ..._expected_diffs_on_information_schema.json | 10 +- .../pg_catalog_tables_from_postgres.json | 4784 +++++------------ ..._expected_diffs_on_information_schema.json | 8 +- ...res_test_expected_diffs_on_pg_catalog.json | 8 +- 9 files changed, 2655 insertions(+), 7117 deletions(-) diff --git a/pkg/cmd/generate-metadata-tables/main.go b/pkg/cmd/generate-metadata-tables/main.go index 1fa46c7a942f..d8e760472fd9 100644 --- a/pkg/cmd/generate-metadata-tables/main.go +++ b/pkg/cmd/generate-metadata-tables/main.go @@ -15,11 +15,15 @@ // // This accepts the following arguments: // -// -user: to change default pg username of `postgres` -// -addr: to change default pg address of `localhost:5432` +// --user: to change default pg username of `postgres` +// --addr: to change default pg address of `localhost:5432` +// --catalog: can be pg_catalog or information_schema. Default is pg_catalog +// --rdbms: can be postgres or mysql. Default is postgres +// --stdout: for testing purposes, use this flag to send the output to the +// console // -// Output of this file should generate: -// pkg/sql/testdata/pg_catalog_tables +// Output of this file should generate (If not using --stout): +// pkg/sql/testdata/_tables_from_.json package main import ( @@ -59,7 +63,7 @@ func main() { panic(err) } pgCatalogFile := &sql.PGMetadataFile{ - PGVersion: dbVersion, + Version: dbVersion, PGMetadata: sql.PGMetadataTables{}, } @@ -70,16 +74,13 @@ func main() { rows.ForEachRow(func(tableName, columnName, dataTypeName string, dataTypeOid uint32) { pgCatalogFile.PGMetadata.AddColumnMetadata(tableName, columnName, dataTypeName, dataTypeOid) - columnType := pgCatalogFile.PGMetadata[tableName][columnName] - if dataTypeOid != 0 && !columnType.IsImplemented() { - pgCatalogFile.AddUnimplementedType(columnType) - } }) - writer, err := getWriter() + writer, closeFn, err := getWriter() if err != nil { panic(err) } + defer closeFn() pgCatalogFile.Save(writer) } @@ -102,11 +103,12 @@ func testdata() string { return testdataDir } -func getWriter() (io.Writer, error) { +func getWriter() (io.Writer, func(), error) { if *flagStdout { - return os.Stdout, nil + return os.Stdout, func() {}, nil } filename := sql.TablesMetadataFilename(testdata(), *flagRDBMS, *flagSchema) - return os.OpenFile(filename, os.O_CREATE|os.O_WRONLY|os.O_TRUNC, 0644) + file, err := os.OpenFile(filename, os.O_CREATE|os.O_WRONLY|os.O_TRUNC, 0644) + return file, func() { file.Close() }, err } diff --git a/pkg/sql/pg_metadata_diff.go b/pkg/sql/pg_metadata_diff.go index ff598a2f734b..23d1c91953dc 100644 --- a/pkg/sql/pg_metadata_diff.go +++ b/pkg/sql/pg_metadata_diff.go @@ -57,37 +57,63 @@ type Summary struct { DatatypeMismatches int } -// PGMetadataColumnType is a structure which contains a small description about the datatype of a column, but this can also be -// used as a diff information if populating ExpectedOid. Fields are exported for Marshaling purposes. +// PGMetadataColumnDiff describes diffs information for a column type. Fields are exported for marshaling purposes. +type PGMetadataColumnDiff struct { + Oid uint32 `json:"oid"` + DataType string `json:"dataType"` + ExpectedOid uint32 `json:"expectedOid"` + ExpectedDataType string `json:"expectedDataType"` +} + +// PGMetadataColumnDiffs maps column names to datatype diffs. +type PGMetadataColumnDiffs map[string]*PGMetadataColumnDiff + +// PGMetadataTableDiffs is used to store and load expected diffs: +// - A table name pointing to a zero length PGMetadataColumnDiffs means that we expect this table to be missing +// in cockroach db. +// - If PGMetadataColumnDiffs is not empty but columnName points to null, we expect that column to be missing in that table in +// cockroach db. +// - If column Name points to a not null PGMetadataColumnDiff, the test column describes how we expect that data type to be +// different between cockroach db and postgres. +type PGMetadataTableDiffs map[string]PGMetadataColumnDiffs + +// PGMetadataColumnType represents a column type from postgres/mysql. type PGMetadataColumnType struct { - Oid uint32 `json:"oid"` - DataType string `json:"dataType"` - ExpectedOid *uint32 `json:"expectedOid"` - ExpectedDataType *string `json:"expectedDataType"` + Oid uint32 `json:"oid"` + DataType string `json:"dataType"` } -// PGMetadataColumns maps column names to datatype description +// PGMetadataColumns maps columns names to datatypes. type PGMetadataColumns map[string]*PGMetadataColumnType -// PGMetadataTables have 2 use cases: -// First: This is used to model pg_schema for postgres and cockroach db for comparison purposes by mapping tableNames -// to columns. -// Second: This is used to store and load expected diffs: -// - Using it this way, a table name pointing to a zero length PGMetadataColumns means that we expect this table to be missing -// in cockroach db -// - If PGMetadataColumns is not empty but columnName points to null, we expect that column to be missing in that table in -// cockroach db -// - If column Name points to a not null PGMetadataColumnType, the test column describes how we expect that data type to be -// different between cockroach db and postgres +// PGMetadataTables maps tables with columns. type PGMetadataTables map[string]PGMetadataColumns -// PGMetadataFile is used to export pg_catalog from postgres and store the representation of this structure as a -// json file +// PGMetadataFile stores the schema gotten from postgres/mysql. type PGMetadataFile struct { - PGVersion string `json:"pgVersion"` - DiffSummary Summary `json:"diffSummary"` - PGMetadata PGMetadataTables `json:"pgMetadata"` - UnimplementedTypes map[oid.Oid]string `json:"unimplementedTypes"` + Version string `json:"version"` + PGMetadata PGMetadataTables `json:"tables"` +} + +// PGMetadataDiffFile is used to store expected diffs or by the diff tool to validate a diff is an expected diff. +type PGMetadataDiffFile struct { + Version string `json:"version"` + DiffSummary Summary `json:"diffSummary"` + Diffs PGMetadataTableDiffs `json:"diffs"` + UnimplementedTypes map[oid.Oid]string `json:"unimplementedTypes"` +} + +func (d PGMetadataTableDiffs) addColumn( + tableName, columnName string, column *PGMetadataColumnDiff, +) { + columns, ok := d[tableName] + + if !ok { + columns = make(PGMetadataColumnDiffs) + d[tableName] = columns + } + + columns[columnName] = column } func (p PGMetadataTables) addColumn(tableName, columnName string, column *PGMetadataColumnType) { @@ -108,20 +134,18 @@ func (p PGMetadataTables) AddColumnMetadata( p.addColumn(tableName, columnName, &PGMetadataColumnType{ dataTypeOid, dataType, - nil, - nil, }) } // addDiff is for the second use case for pgTables which objective is create a datatype diff -func (p PGMetadataTables) addDiff( +func (d PGMetadataTableDiffs) addDiff( tableName string, columnName string, expected *PGMetadataColumnType, actual *PGMetadataColumnType, ) { - p.addColumn(tableName, columnName, &PGMetadataColumnType{ + d.addColumn(tableName, columnName, &PGMetadataColumnDiff{ actual.Oid, actual.DataType, - &expected.Oid, - &expected.DataType, + expected.Oid, + expected.DataType, }) } @@ -135,7 +159,7 @@ const ( ) // compareColumns verifies if there is a datatype mismatch or if the diff is an expected diff -func (p PGMetadataTables) compareColumns( +func (d PGMetadataTableDiffs) compareColumns( tableName string, columnName string, expected *PGMetadataColumnType, actual *PGMetadataColumnType, ) compareResult { // MySQL don't have oid as they are in postgres so we can't compare oids. @@ -143,7 +167,7 @@ func (p PGMetadataTables) compareColumns( return 0 } - expectedDiff := p.getExpectedDiff(tableName, columnName) + expectedDiff := d.getExpectedDiff(tableName, columnName) if actual.Oid == expected.Oid { if expectedDiff != nil { @@ -151,7 +175,7 @@ func (p PGMetadataTables) compareColumns( return expectedDiffError } } else if expectedDiff == nil || expectedDiff.Oid != actual.Oid || - *expectedDiff.ExpectedOid != expected.Oid { + expectedDiff.ExpectedOid != expected.Oid { // This diff is not expected return diffError } @@ -160,8 +184,8 @@ func (p PGMetadataTables) compareColumns( } // If there is an expected diff for a table.column it will return it -func (p PGMetadataTables) getExpectedDiff(tableName, columnName string) *PGMetadataColumnType { - columns, ok := p[tableName] +func (d PGMetadataTableDiffs) getExpectedDiff(tableName, columnName string) *PGMetadataColumnDiff { + columns, ok := d[tableName] if !ok { return nil } @@ -169,10 +193,10 @@ func (p PGMetadataTables) getExpectedDiff(tableName, columnName string) *PGMetad return columns[columnName] } -// isExpectedMissingTable is used by the diff PGMetadataTables to verify whether missing a table in cockroach is expected +// isExpectedMissingTable is used by the diff PGMetadataTableDiffs to verify whether missing a table in cockroach is expected // or not -func (p PGMetadataTables) isExpectedMissingTable(tableName string) bool { - if columns, ok := p[tableName]; !ok || len(columns) > 0 { +func (d PGMetadataTableDiffs) isExpectedMissingTable(tableName string) bool { + if columns, ok := d[tableName]; !ok || len(columns) > 0 { return false } @@ -180,8 +204,8 @@ func (p PGMetadataTables) isExpectedMissingTable(tableName string) bool { } // isExpectedMissingColumn is similar to isExpectedMissingTable to verify column expected misses -func (p PGMetadataTables) isExpectedMissingColumn(tableName string, columnName string) bool { - columns, ok := p[tableName] +func (d PGMetadataTableDiffs) isExpectedMissingColumn(tableName string, columnName string) bool { + columns, ok := d[tableName] if !ok { return false } @@ -195,69 +219,77 @@ func (p PGMetadataTables) isExpectedMissingColumn(tableName string, columnName s } // addMissingTable adds a tablename when it is not found in cockroach db -func (p PGMetadataTables) addMissingTable(tableName string) { - p[tableName] = make(PGMetadataColumns) +func (d PGMetadataTableDiffs) addMissingTable(tableName string) { + d[tableName] = make(PGMetadataColumnDiffs) } // addMissingColumn adds a column when it is not found in cockroach db -func (p PGMetadataTables) addMissingColumn(tableName string, columnName string) { - columns, ok := p[tableName] +func (d PGMetadataTableDiffs) addMissingColumn(tableName string, columnName string) { + columns, ok := d[tableName] if !ok { - columns = make(PGMetadataColumns) - p[tableName] = columns + columns = make(PGMetadataColumnDiffs) + d[tableName] = columns } columns[columnName] = nil } // rewriteDiffs creates pg_catalog_test-diffs.json -func (p PGMetadataTables) rewriteDiffs(source PGMetadataFile, sum Summary, diffFile string) error { +func (d PGMetadataTableDiffs) rewriteDiffs( + source PGMetadataFile, sum Summary, diffFile string, +) error { f, err := os.OpenFile(diffFile, os.O_CREATE|os.O_WRONLY|os.O_TRUNC, 0644) if err != nil { return err } defer f.Close() - mf := &PGMetadataFile{ - PGVersion: source.PGVersion, - PGMetadata: p, + mf := &PGMetadataDiffFile{ + Version: source.Version, + Diffs: d, DiffSummary: sum, - UnimplementedTypes: source.UnimplementedTypes, + UnimplementedTypes: source.PGMetadata.getUnimplementedTypes(), } mf.Save(f) return nil } -// Save have the purpose of storing all the data retrieved from postgres and -// useful information as postgres version. +// Save stores the diff file in a JSON format. +func (df *PGMetadataDiffFile) Save(writer io.Writer) { + Save(writer, df) +} + +// Save stores the table metadata in a JSON format. func (f *PGMetadataFile) Save(writer io.Writer) { - byteArray, err := json.MarshalIndent(f, "", " ") - if err != nil { - panic(err) - } + Save(writer, f) +} - if _, err = writer.Write(byteArray); err != nil { +// Save stores any file into the writer in JSON format +func Save(writer io.Writer, file interface{}) { + encoder := json.NewEncoder(writer) + encoder.SetIndent("", " ") + if err := encoder.Encode(file); err != nil { panic(err) } } //getUnimplementedTables retrieves the tables that are not yet part of CRDB. -func (p PGMetadataTables) getUnimplementedTables(source PGMetadataTables) PGMetadataTables { - notImplemented := make(PGMetadataTables) - for tableName := range p { - if len(p[tableName]) == 0 && len(source[tableName].getUnimplementedTypes()) == 0 { - notImplemented[tableName] = source[tableName] +func (d PGMetadataTableDiffs) getUnimplementedTables(source PGMetadataTables) PGMetadataTables { + unimplementedTables := make(PGMetadataTables) + for tableName := range d { + if len(d[tableName]) == 0 && len(source[tableName].getUnimplementedTypes()) == 0 { + unimplementedTables[tableName] = source[tableName] } } - return notImplemented + return unimplementedTables } // getUnimplementedColumns is used by diffs as it might not be in sync with // already implemented columns. -func (p PGMetadataTables) getUnimplementedColumns(target PGMetadataTables) PGMetadataTables { +func (d PGMetadataTableDiffs) getUnimplementedColumns(target PGMetadataTables) PGMetadataTables { unimplementedColumns := make(PGMetadataTables) - for tableName, columns := range p { + for tableName, columns := range d { for columnName, columnType := range columns { if columnType != nil { // dataType mismatch (Not a new column). @@ -280,9 +312,9 @@ func (p PGMetadataTables) getUnimplementedColumns(target PGMetadataTables) PGMet // removeImplementedColumns removes diff columns that are marked as expected // diff (or unimplemented column) but is already implemented in CRDB. -func (p PGMetadataTables) removeImplementedColumns(source PGMetadataTables) { +func (d PGMetadataTableDiffs) removeImplementedColumns(source PGMetadataTables) { for tableName, columns := range source { - pColumns, exists := p[tableName] + pColumns, exists := d[tableName] if !exists { continue } @@ -313,23 +345,15 @@ func (c PGMetadataColumns) getUnimplementedTypes() map[oid.Oid]string { return unimplemented } -// AddUnimplementedType reports a type that is not implemented in cockroachdb. -func (f *PGMetadataFile) AddUnimplementedType(columnType *PGMetadataColumnType) { - typeOid := oid.Oid(columnType.Oid) - if f.UnimplementedTypes == nil { - f.UnimplementedTypes = make(map[oid.Oid]string) +func (p PGMetadataTables) getUnimplementedTypes() map[oid.Oid]string { + unimplemented := make(map[oid.Oid]string) + for _, column := range p { + for typeOid, dataType := range column.getUnimplementedTypes() { + unimplemented[typeOid] = dataType + } } - f.UnimplementedTypes[typeOid] = columnType.DataType -} - -// IsImplemented determines whether the type is implemented or not in -// cockroachdb. -func (t *PGMetadataColumnType) IsImplemented() bool { - typeOid := oid.Oid(t.Oid) - _, ok := types.OidToType[typeOid] - // Cannot use type oid.T_anyarray in CREATE TABLE - return ok && typeOid != oid.T_anyarray + return unimplemented } // TablesMetadataFilename give the appropriate name where to store or read diff --git a/pkg/sql/pg_metadata_test.go b/pkg/sql/pg_metadata_test.go index c0a8ff6af0b4..3c418f24af37 100644 --- a/pkg/sql/pg_metadata_test.go +++ b/pkg/sql/pg_metadata_test.go @@ -9,22 +9,90 @@ // licenses/APL.txt. // This test compares a dump generated from PostgreSQL with the pg_catalog -// and compares it with the current pg_catalog at cockroach db skipping -// all the known diffs: +// or information_schema database and compares the differences at cockroach +// db skipping all the known diffs. To Run: // +// SCENARIO 1. Using defaults, will test using defaults: +// rdbms=postgres, catalog=pg_catalog, no rewrite diffs, no adding missing tables. // cd pkg/sql -// go test -run TestPGCatalog +// go test -run TestDiffTool // // If you want to re-create the known (expected) diffs with the current differences // add -rewrite-diffs flag when running this test: // +// SCENARIO 2: Updating known diffs, will use same defaults as SCENARIO 1, +// Except that it will rewrite known diffs +// +// cd pkg/sql +// go test -run TestDiffTool --rewrite-diffs +// +// SCENARIO 3: Need to add missing tables/columns, this also have same defaults as +// SCENARIO 1, except for adding missing tables/columns. +// NOTE: This options only works for pg_catalog and information_schema from postgres +// information_schema can't add missing columns, only missing tables. +// +// cd pkg/sql +// go test -run TestDiffTool --add-missing-tables +// +// SCENARIO 4: Want to check differences on information_schema from postgres. +// NOTE: This can be combined with --add-missing-tables or --rewrite-diffs +// +// cd pkg/sql +// go test -run TestDiffTool --catalog information_schema +// +// or +// +// cd pkg/sql +// go test -run TestInformationSchemaPostgres +// +// SCENARIO 5: Want to check differences on information_schema from mysql. +// NOTE: --add-missing-tables is not allowed when using rdbms != postgres. +// --rewrite-diffs is allowed. +// +// cd pkg/sql +// go test -run TestDiffTool --catalog information_schema --rdbms mysql +// +// or +// // cd pkg/sql -// go test -run TestPGCatalog -rewrite-diffs +// got test -run TestInformationSchemaMySQL // -// To create the postgres dump file see pkg/cmd/generate-pg-catalog/main.go: +// To create/update dump files from postgres/mysql see: +// pkg/cmd/generate-metadata-tables/main.go +// +// Most common use case is Updating/Adding missing columns: +// +// 1. Run pkg/cmd/generate-metadata-tables/main.go with flags to connect +// postgres. +// 2. Run SCENARIO 3 to add missing tables/columns. +// 3. Run SCENARIO 2 to update expected diffs. +// 4. Validate SCENARIO 1 passes. +// 5. Rewrite logic tests, the most probable logic tests that might fail +// after adding missing tables are: +// - pg_catalog +// - information_schema +// - create_statements +// - create_statements +// - grant_table +// - table +// +// NOTE: Even if you updated pg_catalog, It is recommended that you rewrite +// information_schema logic tests. +// +// How to debug using Goland: +// 1. Go to Run/Debug configurations +// 2. Select "Go Test" +// 3. Click Add configuration or edit an existing configuration +// 4. Give it a Name, set directory to pkg/sql and set the program arguments with the +// scenario that you want to test: example of program arguments: +// -run TestDiffTool --add-missing-tables +// NOTE: In the program arguments you can use another flag called test-data-filename +// If you want to use a different JSON source (Like a testing JSON just for +// debugging purposes). +// +// Where to start when debugging? +// -> func TestDiffTool // -// cd pkg/cmd/generate-pg-catalog/ -// go run main.go > ../../sql/testdata/pg_catalog_tables.json. package sql import ( @@ -37,7 +105,6 @@ import ( goParser "go/parser" "go/token" "io" - "io/ioutil" "os" "path/filepath" "reflect" @@ -97,7 +164,7 @@ const ( ) // This message will appear when there is an expected diff but the diff haven't found. -const updateExpectedDiffsJSON = `Diff EXPECTED. To fix this, please run: cd pkg/sql; go test -run TestPGCatalog --rewrite-diffs` +const updateExpectedDiffsJSON = `Diff EXPECTED. To fix this, please run: cd pkg/sql; go test -run TestDiffTool --rewrite-diffs` // virtualTableTemplate is used to create new virtualSchemaTable objects when // adding new tables. @@ -197,64 +264,85 @@ var codeFixers = map[string]schemaCodeFixer{ }, } +type VirtualSchemaDiffTool struct { + rewrite bool + catalogName string + rdbmsName string + addMissingTables bool + t *testing.T +} + +func NewDiffTool(t *testing.T) *VirtualSchemaDiffTool { + flag.Parse() + return &VirtualSchemaDiffTool{ + rewrite: *rewriteFlag, + catalogName: *catalogName, + rdbmsName: *rdbmsName, + addMissingTables: *addMissingTables, + t: t, + } +} + +func (d *VirtualSchemaDiffTool) Catalog(catalogName string) *VirtualSchemaDiffTool { + d.catalogName = catalogName + return d +} + +func (d *VirtualSchemaDiffTool) RDBMS(rdbms string) *VirtualSchemaDiffTool { + d.rdbmsName = rdbms + return d +} + // expectedDiffsFilename returns where to find the diffs that will not cause // diff tool tests to fail -func expectedDiffsFilename() string { +func (d *VirtualSchemaDiffTool) expectedDiffsFilename() string { return filepath.Join( testdata, - fmt.Sprintf("%s_test_expected_diffs_on_%s.json", *rdbmsName, *catalogName), + fmt.Sprintf("%s_test_expected_diffs_on_%s.json", d.rdbmsName, d.catalogName), ) } // loadTestData retrieves the pg_catalog from the dumpfile generated from Postgres. -func loadTestData(t testing.TB, testdataFile string, isDiffFile bool) PGMetadataFile { - var pgCatalogFile PGMetadataFile +func (d *VirtualSchemaDiffTool) loadTestData(testdataFile string, file interface{}) { + _, isDiffFile := file.(*PGMetadataDiffFile) // Expected diffs will not be loaded if rewriteFlag is enabled. - if isDiffFile && *rewriteFlag { - return pgCatalogFile + if isDiffFile && d.rewrite { + return } f, err := os.Open(testdataFile) if err != nil { if isDiffFile && oserror.IsNotExist(err) { // File does not exists it means diffs are not expected. - return pgCatalogFile + return } - t.Fatal(err) - } - - defer f.Close() - bytes, err := ioutil.ReadAll(f) - if err != nil { - t.Fatal(err) + d.t.Fatal(err) } - if err = json.Unmarshal(bytes, &pgCatalogFile); err != nil { - if !isDiffFile { - t.Fatal(err) - } + defer dClose(f) + decoder := json.NewDecoder(f) + if err = decoder.Decode(file); err != nil && !isDiffFile { + d.t.Fatal(err) } - - return pgCatalogFile } // loadCockroachPgCatalog retrieves pg_catalog schema from cockroach db. -func loadCockroachPgCatalog(t testing.TB) PGMetadataTables { +func (d *VirtualSchemaDiffTool) loadCockroachPgCatalog() PGMetadataTables { crdbTables := make(PGMetadataTables) ctx := context.Background() - s, db, _ := serverutils.StartServer(t, base.TestServerArgs{}) + s, db, _ := serverutils.StartServer(d.t, base.TestServerArgs{}) defer s.Stopper().Stop(ctx) sqlRunner := sqlutils.MakeSQLRunner(db) - rows := sqlRunner.Query(t, GetPGMetadataSQL, *catalogName) - defer rows.Close() + rows := sqlRunner.Query(d.t, GetPGMetadataSQL, d.catalogName) + defer dClose(rows) for rows.Next() { var tableName, columnName, dataType string var dataTypeOid uint32 if err := rows.Scan(&tableName, &columnName, &dataType, &dataTypeOid); err != nil { - t.Fatal(err) + d.t.Fatal(err) } crdbTables.AddColumnMetadata(tableName, columnName, dataType, dataTypeOid) } @@ -262,28 +350,30 @@ func loadCockroachPgCatalog(t testing.TB) PGMetadataTables { } // errorf wraps *testing.T Errorf to report fails only when the test doesn't run in rewrite mode. -func errorf(t *testing.T, format string, args ...interface{}) { - if !*rewriteFlag { - t.Errorf(format, args...) +func (d *VirtualSchemaDiffTool) errorf(format string, args ...interface{}) { + if !d.rewrite { + d.t.Errorf(format, args...) } } -func rewriteDiffs(t *testing.T, diffs PGMetadataTables, source PGMetadataFile, sum Summary) { - if !*rewriteFlag { +func (d *VirtualSchemaDiffTool) rewriteDiffs( + diffs PGMetadataTableDiffs, source PGMetadataFile, sum Summary, +) { + if !d.rewrite { return } - if err := diffs.rewriteDiffs(source, sum, expectedDiffsFilename()); err != nil { - t.Fatal(err) + if err := diffs.rewriteDiffs(source, sum, d.expectedDiffsFilename()); err != nil { + d.t.Fatal(err) } } // fixConstants updates catconstants that are needed for pgCatalog. -func (scf schemaCodeFixer) fixConstants(t *testing.T, notImplemented PGMetadataTables) { +func (scf schemaCodeFixer) fixConstants(t *testing.T, unimplementedTables PGMetadataTables) { constantsFileName := filepath.Join(".", catalogPkg, catconstantsPkg, constantsGo) // pgConstants will contains all the pgCatalog tableID constant adding the // new tables and preventing duplicates. - pgConstants := scf.getCatalogConstants(t, constantsFileName, notImplemented) + pgConstants := scf.getCatalogConstants(t, constantsFileName, unimplementedTables) sort.Strings(pgConstants) // Rewrite will place all the pgConstants in alphabetical order after @@ -317,7 +407,7 @@ func (scf schemaCodeFixer) fixConstants(t *testing.T, notImplemented PGMetadataT // fixVtable adds missing table's create table constants. func (scf schemaCodeFixer) fixVtable( t *testing.T, - unimplemented PGMetadataTables, + unimplementedTables PGMetadataTables, unimplementedColumns PGMetadataTables, pgCode *pgCatalogCode, ) { @@ -372,7 +462,7 @@ func (scf schemaCodeFixer) fixVtable( } first := true - for tableName, columns := range unimplemented { + for tableName, columns := range unimplementedTables { if _, ok := existingTables[tableName]; ok { // Table already implemented. continue @@ -436,12 +526,12 @@ func getMissingColumnsText( // fixCatalogGo will update pgCatalog.undefinedTables, pgCatalog.tableDefs and // will add needed virtualSchemas. -func (scf schemaCodeFixer) fixCatalogGo(t *testing.T, notImplemented PGMetadataTables) { - undefinedTablesText, err := getUndefinedTablesText(notImplemented, scf.schema) +func (scf schemaCodeFixer) fixCatalogGo(t *testing.T, unimplementedTables PGMetadataTables) { + undefinedTablesText, err := getUndefinedTablesText(unimplementedTables, scf.schema) if err != nil { t.Fatal(err) } - tableDefinitionText := scf.getTableDefinitionsText(scf.catalogGoFilename, notImplemented) + tableDefinitionText := scf.getTableDefinitionsText(unimplementedTables) rewriteFile(scf.catalogGoFilename, func(input *os.File, output outputFile) { reader := bufio.NewScanner(input) @@ -451,7 +541,7 @@ func (scf schemaCodeFixer) fixCatalogGo(t *testing.T, notImplemented PGMetadataT if trimText == scf.textForNewTableInsertion { //VirtualSchemas doesn't have a particular place to start we just print // it before virtualTablePosition. - output.appendString(scf.printVirtualSchemas(notImplemented)) + output.appendString(scf.printVirtualSchemas(unimplementedTables)) } output.appendString(text) output.appendString("\n") @@ -550,7 +640,7 @@ func printBeforeTerminalString( // getCatalogConstants reads catconstant and retrieves all the constant with // `PgCatalog` prefix. func (scf schemaCodeFixer) getCatalogConstants( - t *testing.T, inputFileName string, notImplemented PGMetadataTables, + t *testing.T, inputFileName string, unimplementedTables PGMetadataTables, ) []string { pgConstantSet := make(map[string]struct{}) f, err := os.Open(inputFileName) @@ -569,7 +659,7 @@ func (scf schemaCodeFixer) getCatalogConstants( pgConstantSet[text] = none } } - for tableName := range notImplemented { + for tableName := range unimplementedTables { pgConstantSet[scf.constantName(tableName, tableIDSuffix)] = none } pgConstants := make([]string, 0, len(pgConstantSet)) @@ -799,9 +889,8 @@ func formatUndefinedTablesText(newTableNameList []string) string { // getTableDefinitionsText creates the text that will replace current // definition of pgCatalog.tableDefs (at pg_catalog.go), by adding the new // table definitions. -func (scf schemaCodeFixer) getTableDefinitionsText( - fileName string, notImplemented PGMetadataTables, -) string { +func (scf schemaCodeFixer) getTableDefinitionsText(unimplementedTables PGMetadataTables) string { + fileName := scf.catalogGoFilename tableDefs := make(map[string]string) maxLength := 0 f, err := os.Open(fileName) @@ -831,11 +920,11 @@ func (scf schemaCodeFixer) getTableDefinitionsText( } } - for tableName := range notImplemented { + for tableName := range unimplementedTables { defName := "catconstants." + scf.constantName(tableName, tableIDSuffix) if _, ok := tableDefs[defName]; ok { // Not overriding existing tableDefinitions - delete(notImplemented, tableName) + delete(unimplementedTables, tableName) continue } defValue := scf.constantName(tableName, "Table") @@ -1318,40 +1407,47 @@ func readSourcePortion(srcFile *os.File, start, end token.Pos) (string, error) { return string(bytes), nil } -// TestPGCatalog is the pg_catalog diff tool test which compares pg_catalog -// with postgres and cockroach. -func TestPGCatalog(t *testing.T) { - defer leaktest.AfterTest(t)() - defer log.Scope(t).Close(t) +func (d *VirtualSchemaDiffTool) TestTable(tableName string, fn func(t *testing.T)) { + d.t.Run(fmt.Sprintf("Table=%s", tableName), func(t *testing.T) { + oldT := d.t + defer func() { d.t = oldT }() + d.t = t + fn(t) + }) +} - if _, codeFixerExists := codeFixers[*catalogName]; *addMissingTables && (*rdbmsName != Postgres || !codeFixerExists) { - t.Fatal("--add-missing-tables only work for pg_catalog on postgres rdbms") +// Run will execute the diff tool with all the configurations that are in VirtualSchemaDiffTool structure. +func (d *VirtualSchemaDiffTool) Run() { + if _, codeFixerExists := codeFixers[d.catalogName]; d.addMissingTables && (d.rdbmsName != Postgres || !codeFixerExists) { + d.t.Fatal("--add-missing-tables only work for pg_catalog on postgres rdbms") } var sum Summary - source := loadTestData(t, getTestDataFileName(), false) - diffFile := loadTestData(t, expectedDiffsFilename(), true) + source := PGMetadataFile{} + diffFile := PGMetadataDiffFile{} + d.loadTestData(d.getTestDataFileName(), &source) + d.loadTestData(d.expectedDiffsFilename(), &diffFile) pgTables := source.PGMetadata - diffs := diffFile.PGMetadata - crdbTables := loadCockroachPgCatalog(t) + diffs := diffFile.Diffs + crdbTables := d.loadCockroachPgCatalog() if diffs == nil { - diffs = make(PGMetadataTables) + diffs = make(PGMetadataTableDiffs) } for pgTable, pgColumns := range pgTables { sum.TotalTables++ - t.Run(fmt.Sprintf("Table=%s", pgTable), func(t *testing.T) { + d.TestTable(pgTable, func(t *testing.T) { crdbColumns, ok := crdbTables[pgTable] expectedMissingTable := diffs.isExpectedMissingTable(pgTable) if !ok { if !expectedMissingTable { - errorf(t, "Missing table `%s`", pgTable) + d.errorf("Missing table `%s`", pgTable) diffs.addMissingTable(pgTable) sum.MissingTables++ } return } else if expectedMissingTable { - errorf(t, updateExpectedDiffsJSON) + d.errorf(updateExpectedDiffsJSON) return } @@ -1361,23 +1457,23 @@ func TestPGCatalog(t *testing.T) { expectedMissingColumn := diffs.isExpectedMissingColumn(pgTable, expColumnName) if !ok { if !expectedMissingColumn { - errorf(t, "Missing column `%s`", expColumnName) + d.errorf("Missing column `%s`", expColumnName) diffs.addMissingColumn(pgTable, expColumnName) sum.MissingColumns++ } continue } else if expectedMissingColumn { - errorf(t, updateExpectedDiffsJSON) + d.errorf(updateExpectedDiffsJSON) continue } result := diffs.compareColumns(pgTable, expColumnName, expColumn, gotColumn) switch result { case expectedDiffError: - errorf(t, updateExpectedDiffsJSON) + d.errorf(updateExpectedDiffsJSON) case diffError: sum.DatatypeMismatches++ - errorf(t, "Column `%s` expected data type oid `%d` (%s) but found `%d` (%s)", + d.errorf("Column `%s` expected data type oid `%d` (%s) but found `%d` (%s)", expColumnName, expColumn.Oid, expColumn.DataType, @@ -1391,24 +1487,54 @@ func TestPGCatalog(t *testing.T) { } diffs.removeImplementedColumns(crdbTables) - rewriteDiffs(t, diffs, source, sum) + d.rewriteDiffs(diffs, source, sum) - if *addMissingTables { - scf := codeFixers[*catalogName] - validateUndefinedTablesField(t) - unimplemented := diffs.getUnimplementedTables(pgTables) + if d.addMissingTables { + scf := codeFixers[d.catalogName] + validateUndefinedTablesField(d.t) + unimplementedTables := diffs.getUnimplementedTables(pgTables) unimplementedColumns := diffs.getUnimplementedColumns(pgTables) - pgCode := scf.goParsePgCatalogGo(t) - scf.fixConstants(t, unimplemented) - scf.fixVtable(t, unimplemented, unimplementedColumns, pgCode) + pgCode := scf.goParsePgCatalogGo(d.t) + scf.fixConstants(d.t, unimplementedTables) + scf.fixVtable(d.t, unimplementedTables, unimplementedColumns, pgCode) fixPgCatalogGoColumns(pgCode) - scf.fixCatalogGo(t, unimplemented) + scf.fixCatalogGo(d.t, unimplementedTables) } } -func getTestDataFileName() string { +// TestDiffTool will the diff tool, by default it will use pg_catalog on postgres and +// will not modify any missing table or expected diffs file. But if wanted, you may change +// the flags. See the flags at the beginning of the file +func TestDiffTool(t *testing.T) { + defer leaktest.AfterTest(t)() + defer log.Scope(t).Close(t) + + NewDiffTool(t).Run() +} + +// TestInformationSchemaPostgres will change the defaults from TestDiffTool to check +// information_schema on postgres. +// NOTE: --catalog or --rdbms flags won't take effect on this test. +func TestInformationSchemaPostgres(t *testing.T) { + defer leaktest.AfterTest(t)() + defer log.Scope(t).Close(t) + + NewDiffTool(t).Catalog("information_schema").RDBMS(Postgres).Run() +} + +// TestInformationSchemaPostgres will change the defaults from TestDiffTool to check +// information_schema on mysql. +// NOTE: --catalog or --rdbms flags won't take effect on this test. +func TestInformationSchemaMySQL(t *testing.T) { + defer leaktest.AfterTest(t)() + defer log.Scope(t).Close(t) + + NewDiffTool(t).Catalog("information_schema").RDBMS(MySQL).Run() +} + +func (d *VirtualSchemaDiffTool) getTestDataFileName() string { if testDataFileName == nil || *testDataFileName == "" { - return TablesMetadataFilename(testdata, *rdbmsName, *catalogName) + return TablesMetadataFilename(testdata, d.rdbmsName, d.catalogName) } return *testDataFileName } diff --git a/pkg/sql/testdata/information_schema_tables_from_mysql.json b/pkg/sql/testdata/information_schema_tables_from_mysql.json index ec74b68c1fcb..ff68bd7404de 100644 --- a/pkg/sql/testdata/information_schema_tables_from_mysql.json +++ b/pkg/sql/testdata/information_schema_tables_from_mysql.json @@ -1,2965 +1,2005 @@ { - "pgVersion": "8.0.25", - "diffSummary": { - "TotalTables": 0, - "TotalColumns": 0, - "MissingTables": 0, - "MissingColumns": 0, - "DatatypeMismatches": 0 - }, - "pgMetadata": { + "version": "8.0.25", + "tables": { "administrable_role_authorizations": { "grantee": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "grantee_host": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "host": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "is_default": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "is_grantable": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "is_mandatory": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "role_host": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "role_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "user": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" } }, "applicable_roles": { "grantee": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "grantee_host": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "host": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "is_default": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "is_grantable": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "is_mandatory": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "role_host": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "role_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "user": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" } }, "character_sets": { "character_set_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "default_collate_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "description": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "maxlen": { "oid": 0, - "dataType": "int", - "expectedOid": null, - "expectedDataType": null + "dataType": "int" } }, "check_constraints": { "check_clause": { "oid": 0, - "dataType": "longtext", - "expectedOid": null, - "expectedDataType": null + "dataType": "longtext" }, "constraint_catalog": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "constraint_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "constraint_schema": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" } }, "collation_character_set_applicability": { "character_set_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "collation_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" } }, "collations": { "character_set_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "collation_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "id": { "oid": 0, - "dataType": "bigint", - "expectedOid": null, - "expectedDataType": null + "dataType": "bigint" }, "is_compiled": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "is_default": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "pad_attribute": { "oid": 0, - "dataType": "enum", - "expectedOid": null, - "expectedDataType": null + "dataType": "enum" }, "sortlen": { "oid": 0, - "dataType": "int", - "expectedOid": null, - "expectedDataType": null + "dataType": "int" } }, "column_privileges": { "column_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "grantee": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "is_grantable": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "privilege_type": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "table_catalog": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "table_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "table_schema": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" } }, "column_statistics": { "column_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "histogram": { "oid": 0, - "dataType": "json", - "expectedOid": null, - "expectedDataType": null + "dataType": "json" }, "schema_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "table_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" } }, "columns": { "character_maximum_length": { "oid": 0, - "dataType": "bigint", - "expectedOid": null, - "expectedDataType": null + "dataType": "bigint" }, "character_octet_length": { "oid": 0, - "dataType": "bigint", - "expectedOid": null, - "expectedDataType": null + "dataType": "bigint" }, "character_set_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "collation_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "column_comment": { "oid": 0, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "column_default": { "oid": 0, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "column_key": { "oid": 0, - "dataType": "enum", - "expectedOid": null, - "expectedDataType": null + "dataType": "enum" }, "column_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "column_type": { "oid": 0, - "dataType": "mediumtext", - "expectedOid": null, - "expectedDataType": null + "dataType": "mediumtext" }, "data_type": { "oid": 0, - "dataType": "longtext", - "expectedOid": null, - "expectedDataType": null + "dataType": "longtext" }, "datetime_precision": { "oid": 0, - "dataType": "int", - "expectedOid": null, - "expectedDataType": null + "dataType": "int" }, "extra": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "generation_expression": { "oid": 0, - "dataType": "longtext", - "expectedOid": null, - "expectedDataType": null + "dataType": "longtext" }, "is_nullable": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "numeric_precision": { "oid": 0, - "dataType": "bigint", - "expectedOid": null, - "expectedDataType": null + "dataType": "bigint" }, "numeric_scale": { "oid": 0, - "dataType": "bigint", - "expectedOid": null, - "expectedDataType": null + "dataType": "bigint" }, "ordinal_position": { "oid": 0, - "dataType": "int", - "expectedOid": null, - "expectedDataType": null + "dataType": "int" }, "privileges": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "srs_id": { "oid": 0, - "dataType": "int", - "expectedOid": null, - "expectedDataType": null + "dataType": "int" }, "table_catalog": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "table_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "table_schema": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" } }, "columns_extensions": { "column_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "engine_attribute": { "oid": 0, - "dataType": "json", - "expectedOid": null, - "expectedDataType": null + "dataType": "json" }, "secondary_engine_attribute": { "oid": 0, - "dataType": "json", - "expectedOid": null, - "expectedDataType": null + "dataType": "json" }, "table_catalog": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "table_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "table_schema": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" } }, "enabled_roles": { "is_default": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "is_mandatory": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "role_host": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "role_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" } }, "engines": { "comment": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "engine": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "savepoints": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "support": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "transactions": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "xa": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" } }, "events": { "character_set_client": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "collation_connection": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "created": { "oid": 0, - "dataType": "timestamp", - "expectedOid": null, - "expectedDataType": null + "dataType": "timestamp" }, "database_collation": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "definer": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "ends": { "oid": 0, - "dataType": "datetime", - "expectedOid": null, - "expectedDataType": null + "dataType": "datetime" }, "event_body": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "event_catalog": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "event_comment": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "event_definition": { "oid": 0, - "dataType": "longtext", - "expectedOid": null, - "expectedDataType": null + "dataType": "longtext" }, "event_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "event_schema": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "event_type": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "execute_at": { "oid": 0, - "dataType": "datetime", - "expectedOid": null, - "expectedDataType": null + "dataType": "datetime" }, "interval_field": { "oid": 0, - "dataType": "enum", - "expectedOid": null, - "expectedDataType": null + "dataType": "enum" }, "interval_value": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "last_altered": { "oid": 0, - "dataType": "timestamp", - "expectedOid": null, - "expectedDataType": null + "dataType": "timestamp" }, "last_executed": { "oid": 0, - "dataType": "datetime", - "expectedOid": null, - "expectedDataType": null + "dataType": "datetime" }, "on_completion": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "originator": { "oid": 0, - "dataType": "int", - "expectedOid": null, - "expectedDataType": null + "dataType": "int" }, "sql_mode": { "oid": 0, - "dataType": "set", - "expectedOid": null, - "expectedDataType": null + "dataType": "set" }, "starts": { "oid": 0, - "dataType": "datetime", - "expectedOid": null, - "expectedDataType": null + "dataType": "datetime" }, "status": { "oid": 0, - "dataType": "enum", - "expectedOid": null, - "expectedDataType": null + "dataType": "enum" }, "time_zone": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" } }, "files": { "autoextend_size": { "oid": 0, - "dataType": "bigint", - "expectedOid": null, - "expectedDataType": null + "dataType": "bigint" }, "avg_row_length": { "oid": 0, - "dataType": "binary", - "expectedOid": null, - "expectedDataType": null + "dataType": "binary" }, "check_time": { "oid": 0, - "dataType": "binary", - "expectedOid": null, - "expectedDataType": null + "dataType": "binary" }, "checksum": { "oid": 0, - "dataType": "binary", - "expectedOid": null, - "expectedDataType": null + "dataType": "binary" }, "create_time": { "oid": 0, - "dataType": "binary", - "expectedOid": null, - "expectedDataType": null + "dataType": "binary" }, "creation_time": { "oid": 0, - "dataType": "binary", - "expectedOid": null, - "expectedDataType": null + "dataType": "binary" }, "data_free": { "oid": 0, - "dataType": "bigint", - "expectedOid": null, - "expectedDataType": null + "dataType": "bigint" }, "data_length": { "oid": 0, - "dataType": "binary", - "expectedOid": null, - "expectedDataType": null + "dataType": "binary" }, "deleted_rows": { "oid": 0, - "dataType": "binary", - "expectedOid": null, - "expectedDataType": null + "dataType": "binary" }, "engine": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "extent_size": { "oid": 0, - "dataType": "bigint", - "expectedOid": null, - "expectedDataType": null + "dataType": "bigint" }, "extra": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "file_id": { "oid": 0, - "dataType": "bigint", - "expectedOid": null, - "expectedDataType": null + "dataType": "bigint" }, "file_name": { "oid": 0, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "file_type": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "free_extents": { "oid": 0, - "dataType": "bigint", - "expectedOid": null, - "expectedDataType": null + "dataType": "bigint" }, "fulltext_keys": { "oid": 0, - "dataType": "binary", - "expectedOid": null, - "expectedDataType": null + "dataType": "binary" }, "index_length": { "oid": 0, - "dataType": "binary", - "expectedOid": null, - "expectedDataType": null + "dataType": "binary" }, "initial_size": { "oid": 0, - "dataType": "bigint", - "expectedOid": null, - "expectedDataType": null + "dataType": "bigint" }, "last_access_time": { "oid": 0, - "dataType": "binary", - "expectedOid": null, - "expectedDataType": null + "dataType": "binary" }, "last_update_time": { "oid": 0, - "dataType": "binary", - "expectedOid": null, - "expectedDataType": null + "dataType": "binary" }, "logfile_group_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "logfile_group_number": { "oid": 0, - "dataType": "bigint", - "expectedOid": null, - "expectedDataType": null + "dataType": "bigint" }, "max_data_length": { "oid": 0, - "dataType": "binary", - "expectedOid": null, - "expectedDataType": null + "dataType": "binary" }, "maximum_size": { "oid": 0, - "dataType": "bigint", - "expectedOid": null, - "expectedDataType": null + "dataType": "bigint" }, "recover_time": { "oid": 0, - "dataType": "binary", - "expectedOid": null, - "expectedDataType": null + "dataType": "binary" }, "row_format": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "status": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "table_catalog": { "oid": 0, - "dataType": "char", - "expectedOid": null, - "expectedDataType": null + "dataType": "char" }, "table_name": { "oid": 0, - "dataType": "binary", - "expectedOid": null, - "expectedDataType": null + "dataType": "binary" }, "table_rows": { "oid": 0, - "dataType": "binary", - "expectedOid": null, - "expectedDataType": null + "dataType": "binary" }, "table_schema": { "oid": 0, - "dataType": "binary", - "expectedOid": null, - "expectedDataType": null + "dataType": "binary" }, "tablespace_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "total_extents": { "oid": 0, - "dataType": "bigint", - "expectedOid": null, - "expectedDataType": null + "dataType": "bigint" }, "transaction_counter": { "oid": 0, - "dataType": "binary", - "expectedOid": null, - "expectedDataType": null + "dataType": "binary" }, "update_count": { "oid": 0, - "dataType": "binary", - "expectedOid": null, - "expectedDataType": null + "dataType": "binary" }, "update_time": { "oid": 0, - "dataType": "binary", - "expectedOid": null, - "expectedDataType": null + "dataType": "binary" }, "version": { "oid": 0, - "dataType": "bigint", - "expectedOid": null, - "expectedDataType": null + "dataType": "bigint" } }, "key_column_usage": { "column_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "constraint_catalog": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "constraint_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "constraint_schema": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "ordinal_position": { "oid": 0, - "dataType": "int", - "expectedOid": null, - "expectedDataType": null + "dataType": "int" }, "position_in_unique_constraint": { "oid": 0, - "dataType": "int", - "expectedOid": null, - "expectedDataType": null + "dataType": "int" }, "referenced_column_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "referenced_table_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "referenced_table_schema": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "table_catalog": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "table_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "table_schema": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" } }, "keywords": { "reserved": { "oid": 0, - "dataType": "int", - "expectedOid": null, - "expectedDataType": null + "dataType": "int" }, "word": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" } }, "optimizer_trace": { "insufficient_privileges": { "oid": 0, - "dataType": "tinyint", - "expectedOid": null, - "expectedDataType": null + "dataType": "tinyint" }, "missing_bytes_beyond_max_mem_size": { "oid": 0, - "dataType": "int", - "expectedOid": null, - "expectedDataType": null + "dataType": "int" }, "query": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "trace": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" } }, "parameters": { "character_maximum_length": { "oid": 0, - "dataType": "bigint", - "expectedOid": null, - "expectedDataType": null + "dataType": "bigint" }, "character_octet_length": { "oid": 0, - "dataType": "bigint", - "expectedOid": null, - "expectedDataType": null + "dataType": "bigint" }, "character_set_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "collation_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "data_type": { "oid": 0, - "dataType": "longtext", - "expectedOid": null, - "expectedDataType": null + "dataType": "longtext" }, "datetime_precision": { "oid": 0, - "dataType": "int", - "expectedOid": null, - "expectedDataType": null + "dataType": "int" }, "dtd_identifier": { "oid": 0, - "dataType": "mediumtext", - "expectedOid": null, - "expectedDataType": null + "dataType": "mediumtext" }, "numeric_precision": { "oid": 0, - "dataType": "int", - "expectedOid": null, - "expectedDataType": null + "dataType": "int" }, "numeric_scale": { "oid": 0, - "dataType": "bigint", - "expectedOid": null, - "expectedDataType": null + "dataType": "bigint" }, "ordinal_position": { "oid": 0, - "dataType": "bigint", - "expectedOid": null, - "expectedDataType": null + "dataType": "bigint" }, "parameter_mode": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "parameter_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "routine_type": { "oid": 0, - "dataType": "enum", - "expectedOid": null, - "expectedDataType": null + "dataType": "enum" }, "specific_catalog": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "specific_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "specific_schema": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" } }, "partitions": { "avg_row_length": { "oid": 0, - "dataType": "bigint", - "expectedOid": null, - "expectedDataType": null + "dataType": "bigint" }, "check_time": { "oid": 0, - "dataType": "datetime", - "expectedOid": null, - "expectedDataType": null + "dataType": "datetime" }, "checksum": { "oid": 0, - "dataType": "bigint", - "expectedOid": null, - "expectedDataType": null + "dataType": "bigint" }, "create_time": { "oid": 0, - "dataType": "timestamp", - "expectedOid": null, - "expectedDataType": null + "dataType": "timestamp" }, "data_free": { "oid": 0, - "dataType": "bigint", - "expectedOid": null, - "expectedDataType": null + "dataType": "bigint" }, "data_length": { "oid": 0, - "dataType": "bigint", - "expectedOid": null, - "expectedDataType": null + "dataType": "bigint" }, "index_length": { "oid": 0, - "dataType": "bigint", - "expectedOid": null, - "expectedDataType": null + "dataType": "bigint" }, "max_data_length": { "oid": 0, - "dataType": "bigint", - "expectedOid": null, - "expectedDataType": null + "dataType": "bigint" }, "nodegroup": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "partition_comment": { "oid": 0, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "partition_description": { "oid": 0, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "partition_expression": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "partition_method": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "partition_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "partition_ordinal_position": { "oid": 0, - "dataType": "int", - "expectedOid": null, - "expectedDataType": null + "dataType": "int" }, "subpartition_expression": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "subpartition_method": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "subpartition_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "subpartition_ordinal_position": { "oid": 0, - "dataType": "int", - "expectedOid": null, - "expectedDataType": null + "dataType": "int" }, "table_catalog": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "table_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "table_rows": { "oid": 0, - "dataType": "bigint", - "expectedOid": null, - "expectedDataType": null + "dataType": "bigint" }, "table_schema": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "tablespace_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "update_time": { "oid": 0, - "dataType": "datetime", - "expectedOid": null, - "expectedDataType": null + "dataType": "datetime" } }, "plugins": { "load_option": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "plugin_author": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "plugin_description": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "plugin_library": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "plugin_library_version": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "plugin_license": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "plugin_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "plugin_status": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "plugin_type": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "plugin_type_version": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "plugin_version": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" } }, "processlist": { "command": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "db": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "host": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "id": { "oid": 0, - "dataType": "bigint", - "expectedOid": null, - "expectedDataType": null + "dataType": "bigint" }, "info": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "state": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "time": { "oid": 0, - "dataType": "int", - "expectedOid": null, - "expectedDataType": null + "dataType": "int" }, "user": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" } }, "profiling": { "block_ops_in": { "oid": 0, - "dataType": "int", - "expectedOid": null, - "expectedDataType": null + "dataType": "int" }, "block_ops_out": { "oid": 0, - "dataType": "int", - "expectedOid": null, - "expectedDataType": null + "dataType": "int" }, "context_involuntary": { "oid": 0, - "dataType": "int", - "expectedOid": null, - "expectedDataType": null + "dataType": "int" }, "context_voluntary": { "oid": 0, - "dataType": "int", - "expectedOid": null, - "expectedDataType": null + "dataType": "int" }, "cpu_system": { "oid": 0, - "dataType": "decimal", - "expectedOid": null, - "expectedDataType": null + "dataType": "decimal" }, "cpu_user": { "oid": 0, - "dataType": "decimal", - "expectedOid": null, - "expectedDataType": null + "dataType": "decimal" }, "duration": { "oid": 0, - "dataType": "decimal", - "expectedOid": null, - "expectedDataType": null + "dataType": "decimal" }, "messages_received": { "oid": 0, - "dataType": "int", - "expectedOid": null, - "expectedDataType": null + "dataType": "int" }, "messages_sent": { "oid": 0, - "dataType": "int", - "expectedOid": null, - "expectedDataType": null + "dataType": "int" }, "page_faults_major": { "oid": 0, - "dataType": "int", - "expectedOid": null, - "expectedDataType": null + "dataType": "int" }, "page_faults_minor": { "oid": 0, - "dataType": "int", - "expectedOid": null, - "expectedDataType": null + "dataType": "int" }, "query_id": { "oid": 0, - "dataType": "int", - "expectedOid": null, - "expectedDataType": null + "dataType": "int" }, "seq": { "oid": 0, - "dataType": "int", - "expectedOid": null, - "expectedDataType": null + "dataType": "int" }, "source_file": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "source_function": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "source_line": { "oid": 0, - "dataType": "int", - "expectedOid": null, - "expectedDataType": null + "dataType": "int" }, "state": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "swaps": { "oid": 0, - "dataType": "int", - "expectedOid": null, - "expectedDataType": null + "dataType": "int" } }, "referential_constraints": { "constraint_catalog": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "constraint_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "constraint_schema": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "delete_rule": { "oid": 0, - "dataType": "enum", - "expectedOid": null, - "expectedDataType": null + "dataType": "enum" }, "match_option": { "oid": 0, - "dataType": "enum", - "expectedOid": null, - "expectedDataType": null + "dataType": "enum" }, "referenced_table_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "table_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "unique_constraint_catalog": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "unique_constraint_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "unique_constraint_schema": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "update_rule": { "oid": 0, - "dataType": "enum", - "expectedOid": null, - "expectedDataType": null + "dataType": "enum" } }, "resource_groups": { "resource_group_enabled": { "oid": 0, - "dataType": "tinyint", - "expectedOid": null, - "expectedDataType": null + "dataType": "tinyint" }, "resource_group_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "resource_group_type": { "oid": 0, - "dataType": "enum", - "expectedOid": null, - "expectedDataType": null + "dataType": "enum" }, "thread_priority": { "oid": 0, - "dataType": "int", - "expectedOid": null, - "expectedDataType": null + "dataType": "int" }, "vcpu_ids": { "oid": 0, - "dataType": "blob", - "expectedOid": null, - "expectedDataType": null + "dataType": "blob" } }, "role_column_grants": { "column_name": { "oid": 0, - "dataType": "char", - "expectedOid": null, - "expectedDataType": null + "dataType": "char" }, "grantee": { "oid": 0, - "dataType": "char", - "expectedOid": null, - "expectedDataType": null + "dataType": "char" }, "grantee_host": { "oid": 0, - "dataType": "char", - "expectedOid": null, - "expectedDataType": null + "dataType": "char" }, "grantor": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "grantor_host": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "is_grantable": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "privilege_type": { "oid": 0, - "dataType": "set", - "expectedOid": null, - "expectedDataType": null + "dataType": "set" }, "table_catalog": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "table_name": { "oid": 0, - "dataType": "char", - "expectedOid": null, - "expectedDataType": null + "dataType": "char" }, "table_schema": { "oid": 0, - "dataType": "char", - "expectedOid": null, - "expectedDataType": null + "dataType": "char" } }, "role_routine_grants": { "grantee": { "oid": 0, - "dataType": "char", - "expectedOid": null, - "expectedDataType": null + "dataType": "char" }, "grantee_host": { "oid": 0, - "dataType": "char", - "expectedOid": null, - "expectedDataType": null + "dataType": "char" }, "grantor": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "grantor_host": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "is_grantable": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "privilege_type": { "oid": 0, - "dataType": "set", - "expectedOid": null, - "expectedDataType": null + "dataType": "set" }, "routine_catalog": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "routine_name": { "oid": 0, - "dataType": "char", - "expectedOid": null, - "expectedDataType": null + "dataType": "char" }, "routine_schema": { "oid": 0, - "dataType": "char", - "expectedOid": null, - "expectedDataType": null + "dataType": "char" }, "specific_catalog": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "specific_name": { "oid": 0, - "dataType": "char", - "expectedOid": null, - "expectedDataType": null + "dataType": "char" }, "specific_schema": { "oid": 0, - "dataType": "char", - "expectedOid": null, - "expectedDataType": null + "dataType": "char" } }, "role_table_grants": { "grantee": { "oid": 0, - "dataType": "char", - "expectedOid": null, - "expectedDataType": null + "dataType": "char" }, "grantee_host": { "oid": 0, - "dataType": "char", - "expectedOid": null, - "expectedDataType": null + "dataType": "char" }, "grantor": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "grantor_host": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "is_grantable": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "privilege_type": { "oid": 0, - "dataType": "set", - "expectedOid": null, - "expectedDataType": null + "dataType": "set" }, "table_catalog": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "table_name": { "oid": 0, - "dataType": "char", - "expectedOid": null, - "expectedDataType": null + "dataType": "char" }, "table_schema": { "oid": 0, - "dataType": "char", - "expectedOid": null, - "expectedDataType": null + "dataType": "char" } }, "routines": { "character_maximum_length": { "oid": 0, - "dataType": "bigint", - "expectedOid": null, - "expectedDataType": null + "dataType": "bigint" }, "character_octet_length": { "oid": 0, - "dataType": "bigint", - "expectedOid": null, - "expectedDataType": null + "dataType": "bigint" }, "character_set_client": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "character_set_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "collation_connection": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "collation_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "created": { "oid": 0, - "dataType": "timestamp", - "expectedOid": null, - "expectedDataType": null + "dataType": "timestamp" }, "data_type": { "oid": 0, - "dataType": "longtext", - "expectedOid": null, - "expectedDataType": null + "dataType": "longtext" }, "database_collation": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "datetime_precision": { "oid": 0, - "dataType": "int", - "expectedOid": null, - "expectedDataType": null + "dataType": "int" }, "definer": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "dtd_identifier": { "oid": 0, - "dataType": "longtext", - "expectedOid": null, - "expectedDataType": null + "dataType": "longtext" }, "external_language": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "external_name": { "oid": 0, - "dataType": "binary", - "expectedOid": null, - "expectedDataType": null + "dataType": "binary" }, "is_deterministic": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "last_altered": { "oid": 0, - "dataType": "timestamp", - "expectedOid": null, - "expectedDataType": null + "dataType": "timestamp" }, "numeric_precision": { "oid": 0, - "dataType": "int", - "expectedOid": null, - "expectedDataType": null + "dataType": "int" }, "numeric_scale": { "oid": 0, - "dataType": "int", - "expectedOid": null, - "expectedDataType": null + "dataType": "int" }, "parameter_style": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "routine_body": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "routine_catalog": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "routine_comment": { "oid": 0, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "routine_definition": { "oid": 0, - "dataType": "longtext", - "expectedOid": null, - "expectedDataType": null + "dataType": "longtext" }, "routine_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "routine_schema": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "routine_type": { "oid": 0, - "dataType": "enum", - "expectedOid": null, - "expectedDataType": null + "dataType": "enum" }, "security_type": { "oid": 0, - "dataType": "enum", - "expectedOid": null, - "expectedDataType": null + "dataType": "enum" }, "specific_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "sql_data_access": { "oid": 0, - "dataType": "enum", - "expectedOid": null, - "expectedDataType": null + "dataType": "enum" }, "sql_mode": { "oid": 0, - "dataType": "set", - "expectedOid": null, - "expectedDataType": null + "dataType": "set" }, "sql_path": { "oid": 0, - "dataType": "binary", - "expectedOid": null, - "expectedDataType": null + "dataType": "binary" } }, "schema_privileges": { "grantee": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "is_grantable": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "privilege_type": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "table_catalog": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "table_schema": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" } }, "schemata": { "catalog_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "default_character_set_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "default_collation_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "default_encryption": { "oid": 0, - "dataType": "enum", - "expectedOid": null, - "expectedDataType": null + "dataType": "enum" }, "schema_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "sql_path": { "oid": 0, - "dataType": "binary", - "expectedOid": null, - "expectedDataType": null + "dataType": "binary" } }, "schemata_extensions": { "catalog_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "options": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "schema_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" } }, "st_geometry_columns": { "column_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "geometry_type_name": { "oid": 0, - "dataType": "longtext", - "expectedOid": null, - "expectedDataType": null + "dataType": "longtext" }, "srs_id": { "oid": 0, - "dataType": "int", - "expectedOid": null, - "expectedDataType": null + "dataType": "int" }, "srs_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "table_catalog": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "table_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "table_schema": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" } }, "st_spatial_reference_systems": { "definition": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "description": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "organization": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "organization_coordsys_id": { "oid": 0, - "dataType": "int", - "expectedOid": null, - "expectedDataType": null + "dataType": "int" }, "srs_id": { "oid": 0, - "dataType": "int", - "expectedOid": null, - "expectedDataType": null + "dataType": "int" }, "srs_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" } }, "st_units_of_measure": { "conversion_factor": { "oid": 0, - "dataType": "double", - "expectedOid": null, - "expectedDataType": null + "dataType": "double" }, "description": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "unit_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "unit_type": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" } }, "statistics": { "cardinality": { "oid": 0, - "dataType": "bigint", - "expectedOid": null, - "expectedDataType": null + "dataType": "bigint" }, "collation": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "column_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "comment": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "expression": { "oid": 0, - "dataType": "longtext", - "expectedOid": null, - "expectedDataType": null + "dataType": "longtext" }, "index_comment": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "index_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "index_schema": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "index_type": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "is_visible": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "non_unique": { "oid": 0, - "dataType": "int", - "expectedOid": null, - "expectedDataType": null + "dataType": "int" }, "nullable": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "packed": { "oid": 0, - "dataType": "binary", - "expectedOid": null, - "expectedDataType": null + "dataType": "binary" }, "seq_in_index": { "oid": 0, - "dataType": "int", - "expectedOid": null, - "expectedDataType": null + "dataType": "int" }, "sub_part": { "oid": 0, - "dataType": "bigint", - "expectedOid": null, - "expectedDataType": null + "dataType": "bigint" }, "table_catalog": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "table_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "table_schema": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" } }, "table_constraints": { "constraint_catalog": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "constraint_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "constraint_schema": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "constraint_type": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "enforced": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "table_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "table_schema": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" } }, "table_constraints_extensions": { "constraint_catalog": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "constraint_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "constraint_schema": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "engine_attribute": { "oid": 0, - "dataType": "json", - "expectedOid": null, - "expectedDataType": null + "dataType": "json" }, "secondary_engine_attribute": { "oid": 0, - "dataType": "json", - "expectedOid": null, - "expectedDataType": null + "dataType": "json" }, "table_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" } }, "table_privileges": { "grantee": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "is_grantable": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "privilege_type": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "table_catalog": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "table_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "table_schema": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" } }, "tables": { "auto_increment": { "oid": 0, - "dataType": "bigint", - "expectedOid": null, - "expectedDataType": null + "dataType": "bigint" }, "avg_row_length": { "oid": 0, - "dataType": "bigint", - "expectedOid": null, - "expectedDataType": null + "dataType": "bigint" }, "check_time": { "oid": 0, - "dataType": "datetime", - "expectedOid": null, - "expectedDataType": null + "dataType": "datetime" }, "checksum": { "oid": 0, - "dataType": "bigint", - "expectedOid": null, - "expectedDataType": null + "dataType": "bigint" }, "create_options": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "create_time": { "oid": 0, - "dataType": "timestamp", - "expectedOid": null, - "expectedDataType": null + "dataType": "timestamp" }, "data_free": { "oid": 0, - "dataType": "bigint", - "expectedOid": null, - "expectedDataType": null + "dataType": "bigint" }, "data_length": { "oid": 0, - "dataType": "bigint", - "expectedOid": null, - "expectedDataType": null + "dataType": "bigint" }, "engine": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "index_length": { "oid": 0, - "dataType": "bigint", - "expectedOid": null, - "expectedDataType": null + "dataType": "bigint" }, "max_data_length": { "oid": 0, - "dataType": "bigint", - "expectedOid": null, - "expectedDataType": null + "dataType": "bigint" }, "row_format": { "oid": 0, - "dataType": "enum", - "expectedOid": null, - "expectedDataType": null + "dataType": "enum" }, "table_catalog": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "table_collation": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "table_comment": { "oid": 0, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "table_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "table_rows": { "oid": 0, - "dataType": "bigint", - "expectedOid": null, - "expectedDataType": null + "dataType": "bigint" }, "table_schema": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "table_type": { "oid": 0, - "dataType": "enum", - "expectedOid": null, - "expectedDataType": null + "dataType": "enum" }, "update_time": { "oid": 0, - "dataType": "datetime", - "expectedOid": null, - "expectedDataType": null + "dataType": "datetime" }, "version": { "oid": 0, - "dataType": "int", - "expectedOid": null, - "expectedDataType": null + "dataType": "int" } }, "tables_extensions": { "engine_attribute": { "oid": 0, - "dataType": "json", - "expectedOid": null, - "expectedDataType": null + "dataType": "json" }, "secondary_engine_attribute": { "oid": 0, - "dataType": "json", - "expectedOid": null, - "expectedDataType": null + "dataType": "json" }, "table_catalog": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "table_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "table_schema": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" } }, "tablespaces": { "autoextend_size": { "oid": 0, - "dataType": "bigint", - "expectedOid": null, - "expectedDataType": null + "dataType": "bigint" }, "engine": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "extent_size": { "oid": 0, - "dataType": "bigint", - "expectedOid": null, - "expectedDataType": null + "dataType": "bigint" }, "logfile_group_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "maximum_size": { "oid": 0, - "dataType": "bigint", - "expectedOid": null, - "expectedDataType": null + "dataType": "bigint" }, "nodegroup_id": { "oid": 0, - "dataType": "bigint", - "expectedOid": null, - "expectedDataType": null + "dataType": "bigint" }, "tablespace_comment": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "tablespace_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "tablespace_type": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" } }, "tablespaces_extensions": { "engine_attribute": { "oid": 0, - "dataType": "json", - "expectedOid": null, - "expectedDataType": null + "dataType": "json" }, "tablespace_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" } }, "triggers": { "action_condition": { "oid": 0, - "dataType": "binary", - "expectedOid": null, - "expectedDataType": null + "dataType": "binary" }, "action_order": { "oid": 0, - "dataType": "int", - "expectedOid": null, - "expectedDataType": null + "dataType": "int" }, "action_orientation": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "action_reference_new_row": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "action_reference_new_table": { "oid": 0, - "dataType": "binary", - "expectedOid": null, - "expectedDataType": null + "dataType": "binary" }, "action_reference_old_row": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "action_reference_old_table": { "oid": 0, - "dataType": "binary", - "expectedOid": null, - "expectedDataType": null + "dataType": "binary" }, "action_statement": { "oid": 0, - "dataType": "longtext", - "expectedOid": null, - "expectedDataType": null + "dataType": "longtext" }, "action_timing": { "oid": 0, - "dataType": "enum", - "expectedOid": null, - "expectedDataType": null + "dataType": "enum" }, "character_set_client": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "collation_connection": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "created": { "oid": 0, - "dataType": "timestamp", - "expectedOid": null, - "expectedDataType": null + "dataType": "timestamp" }, "database_collation": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "definer": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "event_manipulation": { "oid": 0, - "dataType": "enum", - "expectedOid": null, - "expectedDataType": null + "dataType": "enum" }, "event_object_catalog": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "event_object_schema": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "event_object_table": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "sql_mode": { "oid": 0, - "dataType": "set", - "expectedOid": null, - "expectedDataType": null + "dataType": "set" }, "trigger_catalog": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "trigger_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "trigger_schema": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" } }, "user_attributes": { "attribute": { "oid": 0, - "dataType": "longtext", - "expectedOid": null, - "expectedDataType": null + "dataType": "longtext" }, "host": { "oid": 0, - "dataType": "char", - "expectedOid": null, - "expectedDataType": null + "dataType": "char" }, "user": { "oid": 0, - "dataType": "char", - "expectedOid": null, - "expectedDataType": null + "dataType": "char" } }, "user_privileges": { "grantee": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "is_grantable": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "privilege_type": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "table_catalog": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" } }, "view_routine_usage": { "specific_catalog": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "specific_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "specific_schema": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "table_catalog": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "table_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "table_schema": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" } }, "view_table_usage": { "table_catalog": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "table_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "table_schema": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "view_catalog": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "view_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "view_schema": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" } }, "views": { "character_set_client": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "check_option": { "oid": 0, - "dataType": "enum", - "expectedOid": null, - "expectedDataType": null + "dataType": "enum" }, "collation_connection": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "definer": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "is_updatable": { "oid": 0, - "dataType": "enum", - "expectedOid": null, - "expectedDataType": null + "dataType": "enum" }, "security_type": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "table_catalog": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "table_name": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "table_schema": { "oid": 0, - "dataType": "varchar", - "expectedOid": null, - "expectedDataType": null + "dataType": "varchar" }, "view_definition": { "oid": 0, - "dataType": "longtext", - "expectedOid": null, - "expectedDataType": null + "dataType": "longtext" } } - }, - "unimplementedTypes": null -} \ No newline at end of file + } +} diff --git a/pkg/sql/testdata/information_schema_tables_from_postgres.json b/pkg/sql/testdata/information_schema_tables_from_postgres.json index 96d365b8c8f0..8cecae2d78a1 100644 --- a/pkg/sql/testdata/information_schema_tables_from_postgres.json +++ b/pkg/sql/testdata/information_schema_tables_from_postgres.json @@ -1,3901 +1,2637 @@ { - "pgVersion": "13.3", - "diffSummary": { - "TotalTables": 0, - "TotalColumns": 0, - "MissingTables": 0, - "MissingColumns": 0, - "DatatypeMismatches": 0 - }, - "pgMetadata": { + "version": "13.3", + "tables": { "administrable_role_authorizations": { "grantee": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "is_grantable": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "role_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "applicable_roles": { "grantee": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "is_grantable": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "role_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "attributes": { "attribute_default": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "attribute_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "attribute_udt_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "attribute_udt_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "attribute_udt_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "character_maximum_length": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "character_octet_length": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "character_set_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "character_set_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "character_set_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "collation_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "collation_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "collation_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "data_type": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "datetime_precision": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "dtd_identifier": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "interval_precision": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "interval_type": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "is_derived_reference_attribute": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "is_nullable": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "maximum_cardinality": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "numeric_precision": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "numeric_precision_radix": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "numeric_scale": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "ordinal_position": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "scope_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "scope_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "scope_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "udt_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "udt_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "udt_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "character_sets": { "character_repertoire": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "character_set_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "character_set_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "character_set_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "default_collate_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "default_collate_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "default_collate_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "form_of_use": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "check_constraint_routine_usage": { "constraint_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "constraint_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "constraint_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "specific_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "specific_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "specific_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "check_constraints": { "check_clause": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "constraint_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "constraint_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "constraint_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "collation_character_set_applicability": { "character_set_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "character_set_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "character_set_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "collation_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "collation_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "collation_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "collations": { "collation_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "collation_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "collation_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "pad_attribute": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "column_column_usage": { "column_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "dependent_column": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "table_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "table_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "table_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "column_domain_usage": { "column_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "domain_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "domain_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "domain_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "table_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "table_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "table_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "column_options": { "column_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "option_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "option_value": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "table_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "table_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "table_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "column_privileges": { "column_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "grantee": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "grantor": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "is_grantable": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "privilege_type": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "table_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "table_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "table_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "column_udt_usage": { "column_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "table_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "table_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "table_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "udt_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "udt_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "udt_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "columns": { "character_maximum_length": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "character_octet_length": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "character_set_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "character_set_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "character_set_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "collation_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "collation_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "collation_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "column_default": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "column_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "data_type": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "datetime_precision": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "domain_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "domain_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "domain_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "dtd_identifier": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "generation_expression": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "identity_cycle": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "identity_generation": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "identity_increment": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "identity_maximum": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "identity_minimum": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "identity_start": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "interval_precision": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "interval_type": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "is_generated": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "is_identity": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "is_nullable": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "is_self_referencing": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "is_updatable": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "maximum_cardinality": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "numeric_precision": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "numeric_precision_radix": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "numeric_scale": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "ordinal_position": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "scope_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "scope_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "scope_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "table_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "table_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "table_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "udt_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "udt_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "udt_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "constraint_column_usage": { "column_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "constraint_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "constraint_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "constraint_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "table_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "table_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "table_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "constraint_table_usage": { "constraint_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "constraint_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "constraint_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "table_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "table_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "table_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "data_type_privileges": { "dtd_identifier": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "object_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "object_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "object_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "object_type": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "domain_constraints": { "constraint_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "constraint_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "constraint_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "domain_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "domain_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "domain_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "initially_deferred": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "is_deferrable": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "domain_udt_usage": { "domain_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "domain_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "domain_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "udt_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "udt_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "udt_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "domains": { "character_maximum_length": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "character_octet_length": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "character_set_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "character_set_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "character_set_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "collation_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "collation_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "collation_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "data_type": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "datetime_precision": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "domain_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "domain_default": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "domain_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "domain_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "dtd_identifier": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "interval_precision": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "interval_type": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "maximum_cardinality": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "numeric_precision": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "numeric_precision_radix": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "numeric_scale": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "scope_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "scope_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "scope_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "udt_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "udt_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "udt_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "element_types": { "character_maximum_length": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "character_octet_length": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "character_set_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "character_set_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "character_set_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "collation_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "collation_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "collation_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "collection_type_identifier": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "data_type": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "datetime_precision": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "domain_default": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "dtd_identifier": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "interval_precision": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "interval_type": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "maximum_cardinality": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "numeric_precision": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "numeric_precision_radix": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "numeric_scale": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "object_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "object_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "object_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "object_type": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "scope_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "scope_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "scope_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "udt_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "udt_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "udt_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "enabled_roles": { "role_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "foreign_data_wrapper_options": { "foreign_data_wrapper_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "foreign_data_wrapper_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "option_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "option_value": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "foreign_data_wrappers": { "authorization_identifier": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "foreign_data_wrapper_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "foreign_data_wrapper_language": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "foreign_data_wrapper_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "library_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "foreign_server_options": { "foreign_server_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "foreign_server_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "option_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "option_value": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "foreign_servers": { "authorization_identifier": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "foreign_data_wrapper_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "foreign_data_wrapper_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "foreign_server_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "foreign_server_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "foreign_server_type": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "foreign_server_version": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "foreign_table_options": { "foreign_table_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "foreign_table_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "foreign_table_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "option_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "option_value": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "foreign_tables": { "foreign_server_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "foreign_server_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "foreign_table_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "foreign_table_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "foreign_table_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "information_schema_catalog_name": { "catalog_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "key_column_usage": { "column_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "constraint_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "constraint_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "constraint_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "ordinal_position": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "position_in_unique_constraint": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "table_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "table_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "table_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "parameters": { "as_locator": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "character_maximum_length": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "character_octet_length": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "character_set_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "character_set_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "character_set_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "collation_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "collation_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "collation_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "data_type": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "datetime_precision": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "dtd_identifier": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "interval_precision": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "interval_type": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "is_result": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "maximum_cardinality": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "numeric_precision": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "numeric_precision_radix": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "numeric_scale": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "ordinal_position": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "parameter_default": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "parameter_mode": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "parameter_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "scope_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "scope_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "scope_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "specific_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "specific_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "specific_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "udt_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "udt_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "udt_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "referential_constraints": { "constraint_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "constraint_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "constraint_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "delete_rule": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "match_option": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "unique_constraint_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "unique_constraint_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "unique_constraint_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "update_rule": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "role_column_grants": { "column_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "grantee": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "grantor": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "is_grantable": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "privilege_type": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "table_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "table_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "table_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "role_routine_grants": { "grantee": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "grantor": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "is_grantable": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "privilege_type": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "routine_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "routine_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "routine_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "specific_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "specific_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "specific_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "role_table_grants": { "grantee": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "grantor": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "is_grantable": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "privilege_type": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "table_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "table_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "table_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "with_hierarchy": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "role_udt_grants": { "grantee": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "grantor": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "is_grantable": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "privilege_type": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "udt_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "udt_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "udt_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "role_usage_grants": { "grantee": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "grantor": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "is_grantable": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "object_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "object_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "object_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "object_type": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "privilege_type": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "routine_privileges": { "grantee": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "grantor": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "is_grantable": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "privilege_type": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "routine_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "routine_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "routine_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "specific_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "specific_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "specific_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "routines": { "as_locator": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "character_maximum_length": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "character_octet_length": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "character_set_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "character_set_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "character_set_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "collation_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "collation_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "collation_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "created": { "oid": 1184, - "dataType": "TIMESTAMPTZ", - "expectedOid": null, - "expectedDataType": null + "dataType": "TIMESTAMPTZ" }, "data_type": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "datetime_precision": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "dtd_identifier": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "external_language": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "external_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "interval_precision": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "interval_type": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "is_deterministic": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "is_implicitly_invocable": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "is_null_call": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "is_udt_dependent": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "is_user_defined_cast": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "last_altered": { "oid": 1184, - "dataType": "TIMESTAMPTZ", - "expectedOid": null, - "expectedDataType": null + "dataType": "TIMESTAMPTZ" }, "max_dynamic_result_sets": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "maximum_cardinality": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "module_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "module_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "module_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "new_savepoint_level": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "numeric_precision": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "numeric_precision_radix": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "numeric_scale": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "parameter_style": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "result_cast_as_locator": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "result_cast_char_max_length": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "result_cast_char_octet_length": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "result_cast_char_set_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "result_cast_char_set_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "result_cast_char_set_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "result_cast_collation_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "result_cast_collation_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "result_cast_collation_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "result_cast_datetime_precision": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "result_cast_dtd_identifier": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "result_cast_from_data_type": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "result_cast_interval_precision": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "result_cast_interval_type": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "result_cast_maximum_cardinality": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "result_cast_numeric_precision": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "result_cast_numeric_precision_radix": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "result_cast_numeric_scale": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "result_cast_scope_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "result_cast_scope_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "result_cast_scope_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "result_cast_type_udt_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "result_cast_type_udt_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "result_cast_type_udt_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "routine_body": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "routine_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "routine_definition": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "routine_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "routine_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "routine_type": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "schema_level_routine": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "scope_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "scope_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "scope_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "security_type": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "specific_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "specific_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "specific_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "sql_data_access": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "sql_path": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "to_sql_specific_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "to_sql_specific_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "to_sql_specific_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "type_udt_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "type_udt_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "type_udt_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "udt_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "udt_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "udt_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "schemata": { "catalog_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "default_character_set_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "default_character_set_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "default_character_set_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "schema_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "schema_owner": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "sql_path": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "sequences": { "cycle_option": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "data_type": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "increment": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "maximum_value": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "minimum_value": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "numeric_precision": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "numeric_precision_radix": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "numeric_scale": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "sequence_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "sequence_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "sequence_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "start_value": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "sql_features": { "comments": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "feature_id": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "feature_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "is_supported": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "is_verified_by": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "sub_feature_id": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "sub_feature_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "sql_implementation_info": { "character_value": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "comments": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "implementation_info_id": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "implementation_info_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "integer_value": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" } }, "sql_parts": { "comments": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "feature_id": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "feature_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "is_supported": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "is_verified_by": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "sql_sizing": { "comments": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "sizing_id": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "sizing_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "supported_value": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" } }, "table_constraints": { "constraint_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "constraint_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "constraint_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "constraint_type": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "enforced": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "initially_deferred": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "is_deferrable": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "table_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "table_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "table_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "table_privileges": { "grantee": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "grantor": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "is_grantable": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "privilege_type": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "table_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "table_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "table_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "with_hierarchy": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "tables": { "commit_action": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "is_insertable_into": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "is_typed": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "reference_generation": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "self_referencing_column_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "table_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "table_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "table_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "table_type": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "user_defined_type_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "user_defined_type_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "user_defined_type_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "transforms": { "group_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "specific_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "specific_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "specific_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "transform_type": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "udt_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "udt_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "udt_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "triggered_update_columns": { "event_object_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "event_object_column": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "event_object_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "event_object_table": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "trigger_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "trigger_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "trigger_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "triggers": { "action_condition": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "action_order": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "action_orientation": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "action_reference_new_row": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "action_reference_new_table": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "action_reference_old_row": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "action_reference_old_table": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "action_statement": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "action_timing": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "created": { "oid": 1184, - "dataType": "TIMESTAMPTZ", - "expectedOid": null, - "expectedDataType": null + "dataType": "TIMESTAMPTZ" }, "event_manipulation": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "event_object_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "event_object_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "event_object_table": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "trigger_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "trigger_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "trigger_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "udt_privileges": { "grantee": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "grantor": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "is_grantable": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "privilege_type": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "udt_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "udt_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "udt_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "usage_privileges": { "grantee": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "grantor": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "is_grantable": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "object_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "object_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "object_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "object_type": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "privilege_type": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "user_defined_types": { "character_maximum_length": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "character_octet_length": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "character_set_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "character_set_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "character_set_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "collation_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "collation_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "collation_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "data_type": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "datetime_precision": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "interval_precision": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "interval_type": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "is_final": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "is_instantiable": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "numeric_precision": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "numeric_precision_radix": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "numeric_scale": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "ordering_category": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "ordering_form": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "ordering_routine_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "ordering_routine_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "ordering_routine_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "ref_dtd_identifier": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "reference_type": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "source_dtd_identifier": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "user_defined_type_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "user_defined_type_category": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "user_defined_type_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "user_defined_type_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "user_mapping_options": { "authorization_identifier": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "foreign_server_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "foreign_server_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "option_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "option_value": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "user_mappings": { "authorization_identifier": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "foreign_server_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "foreign_server_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "view_column_usage": { "column_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "table_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "table_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "table_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "view_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "view_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "view_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "view_routine_usage": { "specific_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "specific_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "specific_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "table_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "table_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "table_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "view_table_usage": { "table_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "table_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "table_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "view_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "view_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "view_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "views": { "check_option": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "is_insertable_into": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "is_trigger_deletable": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "is_trigger_insertable_into": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "is_trigger_updatable": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "is_updatable": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "table_catalog": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "table_name": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "table_schema": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "view_definition": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } } - }, - "unimplementedTypes": null -} \ No newline at end of file + } +} diff --git a/pkg/sql/testdata/mysql_test_expected_diffs_on_information_schema.json b/pkg/sql/testdata/mysql_test_expected_diffs_on_information_schema.json index d2bb58c926c0..bc37b11de64c 100644 --- a/pkg/sql/testdata/mysql_test_expected_diffs_on_information_schema.json +++ b/pkg/sql/testdata/mysql_test_expected_diffs_on_information_schema.json @@ -1,5 +1,5 @@ { - "pgVersion": "8.0.25", + "version": "8.0.25", "diffSummary": { "TotalTables": 48, "TotalColumns": 476, @@ -7,7 +7,7 @@ "MissingColumns": 80, "DatatypeMismatches": 0 }, - "pgMetadata": { + "diffs": { "administrable_role_authorizations": { "grantee_host": null, "host": null, @@ -125,5 +125,7 @@ "security_type": null } }, - "unimplementedTypes": null -} \ No newline at end of file + "unimplementedTypes": { + "0": "varchar" + } +} diff --git a/pkg/sql/testdata/pg_catalog_tables_from_postgres.json b/pkg/sql/testdata/pg_catalog_tables_from_postgres.json index 02a645e30c45..2f9a9e64294d 100644 --- a/pkg/sql/testdata/pg_catalog_tables_from_postgres.json +++ b/pkg/sql/testdata/pg_catalog_tables_from_postgres.json @@ -1,7423 +1,5031 @@ { - "pgVersion": "13.3", - "diffSummary": { - "TotalTables": 0, - "TotalColumns": 0, - "MissingTables": 0, - "MissingColumns": 0, - "DatatypeMismatches": 0 - }, - "pgMetadata": { + "version": "13.3", + "tables": { "pg_aggregate": { "aggcombinefn": { "oid": 24, - "dataType": "regproc", - "expectedOid": null, - "expectedDataType": null + "dataType": "regproc" }, "aggdeserialfn": { "oid": 24, - "dataType": "regproc", - "expectedOid": null, - "expectedDataType": null + "dataType": "regproc" }, "aggfinalextra": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "aggfinalfn": { "oid": 24, - "dataType": "regproc", - "expectedOid": null, - "expectedDataType": null + "dataType": "regproc" }, "aggfinalmodify": { "oid": 18, - "dataType": "char", - "expectedOid": null, - "expectedDataType": null + "dataType": "char" }, "aggfnoid": { "oid": 24, - "dataType": "regproc", - "expectedOid": null, - "expectedDataType": null + "dataType": "regproc" }, "agginitval": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "aggkind": { "oid": 18, - "dataType": "char", - "expectedOid": null, - "expectedDataType": null + "dataType": "char" }, "aggmfinalextra": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "aggmfinalfn": { "oid": 24, - "dataType": "regproc", - "expectedOid": null, - "expectedDataType": null + "dataType": "regproc" }, "aggmfinalmodify": { "oid": 18, - "dataType": "char", - "expectedOid": null, - "expectedDataType": null + "dataType": "char" }, "aggminitval": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "aggminvtransfn": { "oid": 24, - "dataType": "regproc", - "expectedOid": null, - "expectedDataType": null + "dataType": "regproc" }, "aggmtransfn": { "oid": 24, - "dataType": "regproc", - "expectedOid": null, - "expectedDataType": null + "dataType": "regproc" }, "aggmtransspace": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" }, "aggmtranstype": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "aggnumdirectargs": { "oid": 21, - "dataType": "int2", - "expectedOid": null, - "expectedDataType": null + "dataType": "int2" }, "aggserialfn": { "oid": 24, - "dataType": "regproc", - "expectedOid": null, - "expectedDataType": null + "dataType": "regproc" }, "aggsortop": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "aggtransfn": { "oid": 24, - "dataType": "regproc", - "expectedOid": null, - "expectedDataType": null + "dataType": "regproc" }, "aggtransspace": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" }, "aggtranstype": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" } }, "pg_am": { "amhandler": { "oid": 24, - "dataType": "regproc", - "expectedOid": null, - "expectedDataType": null + "dataType": "regproc" }, "amname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "amtype": { "oid": 18, - "dataType": "char", - "expectedOid": null, - "expectedDataType": null + "dataType": "char" }, "oid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" } }, "pg_amop": { "amopfamily": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "amoplefttype": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "amopmethod": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "amopopr": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "amoppurpose": { "oid": 18, - "dataType": "char", - "expectedOid": null, - "expectedDataType": null + "dataType": "char" }, "amoprighttype": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "amopsortfamily": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "amopstrategy": { "oid": 21, - "dataType": "int2", - "expectedOid": null, - "expectedDataType": null + "dataType": "int2" }, "oid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" } }, "pg_amproc": { "amproc": { "oid": 24, - "dataType": "regproc", - "expectedOid": null, - "expectedDataType": null + "dataType": "regproc" }, "amprocfamily": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "amproclefttype": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "amprocnum": { "oid": 21, - "dataType": "int2", - "expectedOid": null, - "expectedDataType": null + "dataType": "int2" }, "amprocrighttype": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "oid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" } }, "pg_attrdef": { "adbin": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "adnum": { "oid": 21, - "dataType": "int2", - "expectedOid": null, - "expectedDataType": null + "dataType": "int2" }, "adrelid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "oid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" } }, "pg_attribute": { "attacl": { "oid": 1009, - "dataType": "_TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "_TEXT" }, "attalign": { "oid": 18, - "dataType": "char", - "expectedOid": null, - "expectedDataType": null + "dataType": "char" }, "attbyval": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "attcacheoff": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" }, "attcollation": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "attfdwoptions": { "oid": 1009, - "dataType": "_text", - "expectedOid": null, - "expectedDataType": null + "dataType": "_text" }, "attgenerated": { "oid": 18, - "dataType": "char", - "expectedOid": null, - "expectedDataType": null + "dataType": "char" }, "atthasdef": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "atthasmissing": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "attidentity": { "oid": 18, - "dataType": "char", - "expectedOid": null, - "expectedDataType": null + "dataType": "char" }, "attinhcount": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" }, "attisdropped": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "attislocal": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "attlen": { "oid": 21, - "dataType": "int2", - "expectedOid": null, - "expectedDataType": null + "dataType": "int2" }, "attmissingval": { "oid": 1009, - "dataType": "_TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "_TEXT" }, "attname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "attndims": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" }, "attnotnull": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "attnum": { "oid": 21, - "dataType": "int2", - "expectedOid": null, - "expectedDataType": null + "dataType": "int2" }, "attoptions": { "oid": 1009, - "dataType": "_text", - "expectedOid": null, - "expectedDataType": null + "dataType": "_text" }, "attrelid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "attstattarget": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" }, "attstorage": { "oid": 18, - "dataType": "char", - "expectedOid": null, - "expectedDataType": null + "dataType": "char" }, "atttypid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "atttypmod": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" } }, "pg_auth_members": { "admin_option": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "grantor": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "member": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "roleid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" } }, "pg_authid": { "oid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "rolbypassrls": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "rolcanlogin": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "rolconnlimit": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" }, "rolcreatedb": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "rolcreaterole": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "rolinherit": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "rolname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "rolpassword": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "rolreplication": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "rolsuper": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "rolvaliduntil": { "oid": 1184, - "dataType": "timestamptz", - "expectedOid": null, - "expectedDataType": null + "dataType": "timestamptz" } }, "pg_available_extension_versions": { "comment": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "installed": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "name": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "relocatable": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "requires": { "oid": 1003, - "dataType": "_name", - "expectedOid": null, - "expectedDataType": null + "dataType": "_name" }, "schema": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "superuser": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "trusted": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "version": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" } }, "pg_available_extensions": { "comment": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "default_version": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "installed_version": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "name": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" } }, "pg_cast": { "castcontext": { "oid": 18, - "dataType": "char", - "expectedOid": null, - "expectedDataType": null + "dataType": "char" }, "castfunc": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "castmethod": { "oid": 18, - "dataType": "char", - "expectedOid": null, - "expectedDataType": null + "dataType": "char" }, "castsource": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "casttarget": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "oid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" } }, "pg_class": { "oid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "relacl": { "oid": 1009, - "dataType": "_TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "_TEXT" }, "relallvisible": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" }, "relam": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "relchecks": { "oid": 21, - "dataType": "int2", - "expectedOid": null, - "expectedDataType": null + "dataType": "int2" }, "relfilenode": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "relforcerowsecurity": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "relfrozenxid": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "relhasindex": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "relhasrules": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "relhassubclass": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "relhastriggers": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "relispartition": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "relispopulated": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "relisshared": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "relkind": { "oid": 18, - "dataType": "char", - "expectedOid": null, - "expectedDataType": null + "dataType": "char" }, "relminmxid": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "relname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "relnamespace": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "relnatts": { "oid": 21, - "dataType": "int2", - "expectedOid": null, - "expectedDataType": null + "dataType": "int2" }, "reloftype": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "reloptions": { "oid": 1009, - "dataType": "_text", - "expectedOid": null, - "expectedDataType": null + "dataType": "_text" }, "relowner": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "relpages": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" }, "relpartbound": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "relpersistence": { "oid": 18, - "dataType": "char", - "expectedOid": null, - "expectedDataType": null + "dataType": "char" }, "relreplident": { "oid": 18, - "dataType": "char", - "expectedOid": null, - "expectedDataType": null + "dataType": "char" }, "relrewrite": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "relrowsecurity": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "reltablespace": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "reltoastrelid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "reltuples": { "oid": 700, - "dataType": "float4", - "expectedOid": null, - "expectedDataType": null + "dataType": "float4" }, "reltype": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" } }, "pg_collation": { "collcollate": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "collctype": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "collencoding": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" }, "collisdeterministic": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "collname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "collnamespace": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "collowner": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "collprovider": { "oid": 18, - "dataType": "char", - "expectedOid": null, - "expectedDataType": null + "dataType": "char" }, "collversion": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "oid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" } }, "pg_config": { "name": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "setting": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" } }, "pg_constraint": { "conbin": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "condeferrable": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "condeferred": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "conexclop": { "oid": 1028, - "dataType": "_oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "_oid" }, "confdeltype": { "oid": 18, - "dataType": "char", - "expectedOid": null, - "expectedDataType": null + "dataType": "char" }, "conffeqop": { "oid": 1028, - "dataType": "_oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "_oid" }, "confkey": { "oid": 1005, - "dataType": "_int2", - "expectedOid": null, - "expectedDataType": null + "dataType": "_int2" }, "confmatchtype": { "oid": 18, - "dataType": "char", - "expectedOid": null, - "expectedDataType": null + "dataType": "char" }, "confrelid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "confupdtype": { "oid": 18, - "dataType": "char", - "expectedOid": null, - "expectedDataType": null + "dataType": "char" }, "conindid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "coninhcount": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" }, "conislocal": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "conkey": { "oid": 1005, - "dataType": "_int2", - "expectedOid": null, - "expectedDataType": null + "dataType": "_int2" }, "conname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "connamespace": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "connoinherit": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "conparentid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "conpfeqop": { "oid": 1028, - "dataType": "_oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "_oid" }, "conppeqop": { "oid": 1028, - "dataType": "_oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "_oid" }, "conrelid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "contype": { "oid": 18, - "dataType": "char", - "expectedOid": null, - "expectedDataType": null + "dataType": "char" }, "contypid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "convalidated": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "oid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" } }, "pg_conversion": { "condefault": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "conforencoding": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" }, "conname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "connamespace": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "conowner": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "conproc": { "oid": 24, - "dataType": "regproc", - "expectedOid": null, - "expectedDataType": null + "dataType": "regproc" }, "contoencoding": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" }, "oid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" } }, "pg_cursors": { "creation_time": { "oid": 1184, - "dataType": "timestamptz", - "expectedOid": null, - "expectedDataType": null + "dataType": "timestamptz" }, "is_binary": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "is_holdable": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "is_scrollable": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "name": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "statement": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" } }, "pg_database": { "datacl": { "oid": 1009, - "dataType": "_TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "_TEXT" }, "datallowconn": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "datcollate": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "datconnlimit": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" }, "datctype": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "datdba": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "datfrozenxid": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "datistemplate": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "datlastsysoid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "datminmxid": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "datname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "dattablespace": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "encoding": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" }, "oid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" } }, "pg_db_role_setting": { "setconfig": { "oid": 1009, - "dataType": "_text", - "expectedOid": null, - "expectedDataType": null + "dataType": "_text" }, "setdatabase": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "setrole": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" } }, "pg_default_acl": { "defaclacl": { "oid": 1009, - "dataType": "_TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "_TEXT" }, "defaclnamespace": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "defaclobjtype": { "oid": 18, - "dataType": "char", - "expectedOid": null, - "expectedDataType": null + "dataType": "char" }, "defaclrole": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "oid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" } }, "pg_depend": { "classid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "deptype": { "oid": 18, - "dataType": "char", - "expectedOid": null, - "expectedDataType": null + "dataType": "char" }, "objid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "objsubid": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" }, "refclassid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "refobjid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "refobjsubid": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" } }, "pg_description": { "classoid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "description": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "objoid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "objsubid": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" } }, "pg_enum": { "enumlabel": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "enumsortorder": { "oid": 700, - "dataType": "float4", - "expectedOid": null, - "expectedDataType": null + "dataType": "float4" }, "enumtypid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "oid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" } }, "pg_event_trigger": { "evtenabled": { "oid": 18, - "dataType": "char", - "expectedOid": null, - "expectedDataType": null + "dataType": "char" }, "evtevent": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "evtfoid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "evtname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "evtowner": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "evttags": { "oid": 1009, - "dataType": "_text", - "expectedOid": null, - "expectedDataType": null + "dataType": "_text" }, "oid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" } }, "pg_extension": { "extcondition": { "oid": 1009, - "dataType": "_text", - "expectedOid": null, - "expectedDataType": null + "dataType": "_text" }, "extconfig": { "oid": 1028, - "dataType": "_oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "_oid" }, "extname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "extnamespace": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "extowner": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "extrelocatable": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "extversion": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "oid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" } }, "pg_file_settings": { "applied": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "error": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "name": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "seqno": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" }, "setting": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "sourcefile": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "sourceline": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" } }, "pg_foreign_data_wrapper": { "fdwacl": { "oid": 1009, - "dataType": "_TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "_TEXT" }, "fdwhandler": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "fdwname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "fdwoptions": { "oid": 1009, - "dataType": "_text", - "expectedOid": null, - "expectedDataType": null + "dataType": "_text" }, "fdwowner": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "fdwvalidator": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "oid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" } }, "pg_foreign_server": { "oid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "srvacl": { "oid": 1009, - "dataType": "_TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "_TEXT" }, "srvfdw": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "srvname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "srvoptions": { "oid": 1009, - "dataType": "_text", - "expectedOid": null, - "expectedDataType": null + "dataType": "_text" }, "srvowner": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "srvtype": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "srvversion": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" } }, "pg_foreign_table": { "ftoptions": { "oid": 1009, - "dataType": "_text", - "expectedOid": null, - "expectedDataType": null + "dataType": "_text" }, "ftrelid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "ftserver": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" } }, "pg_group": { "grolist": { "oid": 1028, - "dataType": "_oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "_oid" }, "groname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "grosysid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" } }, "pg_hba_file_rules": { "address": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "auth_method": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "database": { "oid": 1009, - "dataType": "_text", - "expectedOid": null, - "expectedDataType": null + "dataType": "_text" }, "error": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "line_number": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" }, "netmask": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "options": { "oid": 1009, - "dataType": "_text", - "expectedOid": null, - "expectedDataType": null + "dataType": "_text" }, "type": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "user_name": { "oid": 1009, - "dataType": "_text", - "expectedOid": null, - "expectedDataType": null + "dataType": "_text" } }, "pg_index": { "indcheckxmin": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "indclass": { "oid": 30, - "dataType": "oidvector", - "expectedOid": null, - "expectedDataType": null + "dataType": "oidvector" }, "indcollation": { "oid": 30, - "dataType": "oidvector", - "expectedOid": null, - "expectedDataType": null + "dataType": "oidvector" }, "indexprs": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "indexrelid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "indimmediate": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "indisclustered": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "indisexclusion": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "indislive": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "indisprimary": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "indisready": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "indisreplident": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "indisunique": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "indisvalid": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "indkey": { "oid": 22, - "dataType": "int2vector", - "expectedOid": null, - "expectedDataType": null + "dataType": "int2vector" }, "indnatts": { "oid": 21, - "dataType": "int2", - "expectedOid": null, - "expectedDataType": null + "dataType": "int2" }, "indnkeyatts": { "oid": 21, - "dataType": "int2", - "expectedOid": null, - "expectedDataType": null + "dataType": "int2" }, "indoption": { "oid": 22, - "dataType": "int2vector", - "expectedOid": null, - "expectedDataType": null + "dataType": "int2vector" }, "indpred": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "indrelid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" } }, "pg_indexes": { "indexdef": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "indexname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "schemaname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "tablename": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "tablespace": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" } }, "pg_inherits": { "inhparent": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "inhrelid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "inhseqno": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" } }, "pg_init_privs": { "classoid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "initprivs": { "oid": 1009, - "dataType": "_TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "_TEXT" }, "objoid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "objsubid": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" }, "privtype": { "oid": 18, - "dataType": "char", - "expectedOid": null, - "expectedDataType": null + "dataType": "char" } }, "pg_language": { "lanacl": { "oid": 1009, - "dataType": "_TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "_TEXT" }, "laninline": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "lanispl": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "lanname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "lanowner": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "lanplcallfoid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "lanpltrusted": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "lanvalidator": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "oid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" } }, "pg_largeobject": { "data": { "oid": 17, - "dataType": "bytea", - "expectedOid": null, - "expectedDataType": null + "dataType": "bytea" }, "loid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "pageno": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" } }, "pg_largeobject_metadata": { "lomacl": { "oid": 1009, - "dataType": "_TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "_TEXT" }, "lomowner": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "oid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" } }, "pg_locks": { "classid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "database": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "fastpath": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "granted": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "locktype": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "mode": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "objid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "objsubid": { "oid": 21, - "dataType": "int2", - "expectedOid": null, - "expectedDataType": null + "dataType": "int2" }, "page": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" }, "pid": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" }, "relation": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "transactionid": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "tuple": { "oid": 21, - "dataType": "int2", - "expectedOid": null, - "expectedDataType": null + "dataType": "int2" }, "virtualtransaction": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "virtualxid": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" } }, "pg_matviews": { "definition": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "hasindexes": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "ispopulated": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "matviewname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "matviewowner": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "schemaname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "tablespace": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" } }, "pg_namespace": { "nspacl": { "oid": 1009, - "dataType": "_TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "_TEXT" }, "nspname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "nspowner": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "oid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" } }, "pg_opclass": { "oid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "opcdefault": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "opcfamily": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "opcintype": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "opckeytype": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "opcmethod": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "opcname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "opcnamespace": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "opcowner": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" } }, "pg_operator": { "oid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "oprcanhash": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "oprcanmerge": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "oprcode": { "oid": 24, - "dataType": "regproc", - "expectedOid": null, - "expectedDataType": null + "dataType": "regproc" }, "oprcom": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "oprjoin": { "oid": 24, - "dataType": "regproc", - "expectedOid": null, - "expectedDataType": null + "dataType": "regproc" }, "oprkind": { "oid": 18, - "dataType": "char", - "expectedOid": null, - "expectedDataType": null + "dataType": "char" }, "oprleft": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "oprname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "oprnamespace": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "oprnegate": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "oprowner": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "oprrest": { "oid": 24, - "dataType": "regproc", - "expectedOid": null, - "expectedDataType": null + "dataType": "regproc" }, "oprresult": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "oprright": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" } }, "pg_opfamily": { "oid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "opfmethod": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "opfname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "opfnamespace": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "opfowner": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" } }, "pg_partitioned_table": { "partattrs": { "oid": 22, - "dataType": "int2vector", - "expectedOid": null, - "expectedDataType": null + "dataType": "int2vector" }, "partclass": { "oid": 30, - "dataType": "oidvector", - "expectedOid": null, - "expectedDataType": null + "dataType": "oidvector" }, "partcollation": { "oid": 30, - "dataType": "oidvector", - "expectedOid": null, - "expectedDataType": null + "dataType": "oidvector" }, "partdefid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "partexprs": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "partnatts": { "oid": 21, - "dataType": "int2", - "expectedOid": null, - "expectedDataType": null + "dataType": "int2" }, "partrelid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "partstrat": { "oid": 18, - "dataType": "char", - "expectedOid": null, - "expectedDataType": null + "dataType": "char" } }, "pg_policies": { "cmd": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "permissive": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "policyname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "qual": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "roles": { "oid": 1003, - "dataType": "_name", - "expectedOid": null, - "expectedDataType": null + "dataType": "_name" }, "schemaname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "tablename": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "with_check": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" } }, "pg_policy": { "oid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "polcmd": { "oid": 18, - "dataType": "char", - "expectedOid": null, - "expectedDataType": null + "dataType": "char" }, "polname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "polpermissive": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "polqual": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "polrelid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "polroles": { "oid": 1028, - "dataType": "_oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "_oid" }, "polwithcheck": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "pg_prepared_statements": { "from_sql": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "name": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "parameter_types": { "oid": 2211, - "dataType": "_regtype", - "expectedOid": null, - "expectedDataType": null + "dataType": "_regtype" }, "prepare_time": { "oid": 1184, - "dataType": "timestamptz", - "expectedOid": null, - "expectedDataType": null + "dataType": "timestamptz" }, "statement": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" } }, "pg_prepared_xacts": { "database": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "gid": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "owner": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "prepared": { "oid": 1184, - "dataType": "timestamptz", - "expectedOid": null, - "expectedDataType": null + "dataType": "timestamptz" }, "transaction": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" } }, "pg_proc": { "oid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "proacl": { "oid": 1009, - "dataType": "_TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "_TEXT" }, "proallargtypes": { "oid": 1028, - "dataType": "_oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "_oid" }, "proargdefaults": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "proargmodes": { "oid": 1002, - "dataType": "_char", - "expectedOid": null, - "expectedDataType": null + "dataType": "_char" }, "proargnames": { "oid": 1009, - "dataType": "_text", - "expectedOid": null, - "expectedDataType": null + "dataType": "_text" }, "proargtypes": { "oid": 30, - "dataType": "oidvector", - "expectedOid": null, - "expectedDataType": null + "dataType": "oidvector" }, "probin": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "proconfig": { "oid": 1009, - "dataType": "_text", - "expectedOid": null, - "expectedDataType": null + "dataType": "_text" }, "procost": { "oid": 700, - "dataType": "float4", - "expectedOid": null, - "expectedDataType": null + "dataType": "float4" }, "proisstrict": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "prokind": { "oid": 18, - "dataType": "char", - "expectedOid": null, - "expectedDataType": null + "dataType": "char" }, "prolang": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "proleakproof": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "proname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "pronamespace": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "pronargdefaults": { "oid": 21, - "dataType": "int2", - "expectedOid": null, - "expectedDataType": null + "dataType": "int2" }, "pronargs": { "oid": 21, - "dataType": "int2", - "expectedOid": null, - "expectedDataType": null + "dataType": "int2" }, "proowner": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "proparallel": { "oid": 18, - "dataType": "char", - "expectedOid": null, - "expectedDataType": null + "dataType": "char" }, "proretset": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "prorettype": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "prorows": { "oid": 700, - "dataType": "float4", - "expectedOid": null, - "expectedDataType": null + "dataType": "float4" }, "prosecdef": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "prosrc": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "prosupport": { "oid": 24, - "dataType": "regproc", - "expectedOid": null, - "expectedDataType": null + "dataType": "regproc" }, "protrftypes": { "oid": 1028, - "dataType": "_oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "_oid" }, "provariadic": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "provolatile": { "oid": 18, - "dataType": "char", - "expectedOid": null, - "expectedDataType": null + "dataType": "char" } }, "pg_publication": { "oid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "puballtables": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "pubdelete": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "pubinsert": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "pubname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "pubowner": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "pubtruncate": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "pubupdate": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "pubviaroot": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" } }, "pg_publication_rel": { "oid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "prpubid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "prrelid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" } }, "pg_publication_tables": { "pubname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "schemaname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "tablename": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" } }, "pg_range": { "rngcanonical": { "oid": 24, - "dataType": "regproc", - "expectedOid": null, - "expectedDataType": null + "dataType": "regproc" }, "rngcollation": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "rngsubdiff": { "oid": 24, - "dataType": "regproc", - "expectedOid": null, - "expectedDataType": null + "dataType": "regproc" }, "rngsubopc": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "rngsubtype": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "rngtypid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" } }, "pg_replication_origin": { "roident": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "roname": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" } }, "pg_replication_origin_status": { "external_id": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "local_id": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "local_lsn": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "remote_lsn": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "pg_replication_slots": { "active": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "active_pid": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" }, "catalog_xmin": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "confirmed_flush_lsn": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "database": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "datoid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "plugin": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "restart_lsn": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "safe_wal_size": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "slot_name": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "slot_type": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "temporary": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "wal_status": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "xmin": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" } }, "pg_rewrite": { "ev_action": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "ev_class": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "ev_enabled": { "oid": 18, - "dataType": "char", - "expectedOid": null, - "expectedDataType": null + "dataType": "char" }, "ev_qual": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "ev_type": { "oid": 18, - "dataType": "char", - "expectedOid": null, - "expectedDataType": null + "dataType": "char" }, "is_instead": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "oid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "rulename": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" } }, "pg_roles": { "oid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "rolbypassrls": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "rolcanlogin": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "rolconfig": { "oid": 1009, - "dataType": "_text", - "expectedOid": null, - "expectedDataType": null + "dataType": "_text" }, "rolconnlimit": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" }, "rolcreatedb": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "rolcreaterole": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "rolinherit": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "rolname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "rolpassword": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "rolreplication": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "rolsuper": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "rolvaliduntil": { "oid": 1184, - "dataType": "timestamptz", - "expectedOid": null, - "expectedDataType": null + "dataType": "timestamptz" } }, "pg_rules": { "definition": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "rulename": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "schemaname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "tablename": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" } }, "pg_seclabel": { "classoid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "label": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "objoid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "objsubid": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" }, "provider": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" } }, "pg_seclabels": { "classoid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "label": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "objname": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "objnamespace": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "objoid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "objsubid": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" }, "objtype": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "provider": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" } }, "pg_sequence": { "seqcache": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "seqcycle": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "seqincrement": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "seqmax": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "seqmin": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "seqrelid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "seqstart": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "seqtypid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" } }, "pg_sequences": { "cache_size": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "cycle": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "data_type": { "oid": 2206, - "dataType": "regtype", - "expectedOid": null, - "expectedDataType": null + "dataType": "regtype" }, "increment_by": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "last_value": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "max_value": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "min_value": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "schemaname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "sequencename": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "sequenceowner": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "start_value": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" } }, "pg_settings": { "boot_val": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "category": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "context": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "enumvals": { "oid": 1009, - "dataType": "_text", - "expectedOid": null, - "expectedDataType": null + "dataType": "_text" }, "extra_desc": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "max_val": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "min_val": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "name": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "pending_restart": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "reset_val": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "setting": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "short_desc": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "source": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "sourcefile": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "sourceline": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" }, "unit": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "vartype": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" } }, "pg_shadow": { "passwd": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "usebypassrls": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "useconfig": { "oid": 1009, - "dataType": "_text", - "expectedOid": null, - "expectedDataType": null + "dataType": "_text" }, "usecreatedb": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "usename": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "userepl": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "usesuper": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "usesysid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "valuntil": { "oid": 1184, - "dataType": "timestamptz", - "expectedOid": null, - "expectedDataType": null + "dataType": "timestamptz" } }, "pg_shdepend": { "classid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "dbid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "deptype": { "oid": 18, - "dataType": "char", - "expectedOid": null, - "expectedDataType": null + "dataType": "char" }, "objid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "objsubid": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" }, "refclassid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "refobjid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" } }, "pg_shdescription": { "classoid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "description": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "objoid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" } }, "pg_shmem_allocations": { "allocated_size": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "name": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "off": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "size": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" } }, "pg_shseclabel": { "classoid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "label": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "objoid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "provider": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" } }, "pg_stat_activity": { "application_name": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "backend_start": { "oid": 1184, - "dataType": "timestamptz", - "expectedOid": null, - "expectedDataType": null + "dataType": "timestamptz" }, "backend_type": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "backend_xid": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "backend_xmin": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "client_addr": { "oid": 869, - "dataType": "inet", - "expectedOid": null, - "expectedDataType": null + "dataType": "inet" }, "client_hostname": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "client_port": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" }, "datid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "datname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "leader_pid": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" }, "pid": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" }, "query": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "query_start": { "oid": 1184, - "dataType": "timestamptz", - "expectedOid": null, - "expectedDataType": null + "dataType": "timestamptz" }, "state": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "state_change": { "oid": 1184, - "dataType": "timestamptz", - "expectedOid": null, - "expectedDataType": null + "dataType": "timestamptz" }, "usename": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "usesysid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "wait_event": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "wait_event_type": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "xact_start": { "oid": 1184, - "dataType": "timestamptz", - "expectedOid": null, - "expectedDataType": null + "dataType": "timestamptz" } }, "pg_stat_all_indexes": { "idx_scan": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "idx_tup_fetch": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "idx_tup_read": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "indexrelid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "indexrelname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "relid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "relname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "schemaname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" } }, "pg_stat_all_tables": { "analyze_count": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "autoanalyze_count": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "autovacuum_count": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "idx_scan": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "idx_tup_fetch": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "last_analyze": { "oid": 1184, - "dataType": "timestamptz", - "expectedOid": null, - "expectedDataType": null + "dataType": "timestamptz" }, "last_autoanalyze": { "oid": 1184, - "dataType": "timestamptz", - "expectedOid": null, - "expectedDataType": null + "dataType": "timestamptz" }, "last_autovacuum": { "oid": 1184, - "dataType": "timestamptz", - "expectedOid": null, - "expectedDataType": null + "dataType": "timestamptz" }, "last_vacuum": { "oid": 1184, - "dataType": "timestamptz", - "expectedOid": null, - "expectedDataType": null + "dataType": "timestamptz" }, "n_dead_tup": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "n_ins_since_vacuum": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "n_live_tup": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "n_mod_since_analyze": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "n_tup_del": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "n_tup_hot_upd": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "n_tup_ins": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "n_tup_upd": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "relid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "relname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "schemaname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "seq_scan": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "seq_tup_read": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "vacuum_count": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" } }, "pg_stat_archiver": { "archived_count": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "failed_count": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "last_archived_time": { "oid": 1184, - "dataType": "timestamptz", - "expectedOid": null, - "expectedDataType": null + "dataType": "timestamptz" }, "last_archived_wal": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "last_failed_time": { "oid": 1184, - "dataType": "timestamptz", - "expectedOid": null, - "expectedDataType": null + "dataType": "timestamptz" }, "last_failed_wal": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "stats_reset": { "oid": 1184, - "dataType": "timestamptz", - "expectedOid": null, - "expectedDataType": null + "dataType": "timestamptz" } }, "pg_stat_bgwriter": { "buffers_alloc": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "buffers_backend": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "buffers_backend_fsync": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "buffers_checkpoint": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "buffers_clean": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "checkpoint_sync_time": { "oid": 701, - "dataType": "float8", - "expectedOid": null, - "expectedDataType": null + "dataType": "float8" }, "checkpoint_write_time": { "oid": 701, - "dataType": "float8", - "expectedOid": null, - "expectedDataType": null + "dataType": "float8" }, "checkpoints_req": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "checkpoints_timed": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "maxwritten_clean": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "stats_reset": { "oid": 1184, - "dataType": "timestamptz", - "expectedOid": null, - "expectedDataType": null + "dataType": "timestamptz" } }, "pg_stat_database": { "blk_read_time": { "oid": 701, - "dataType": "float8", - "expectedOid": null, - "expectedDataType": null + "dataType": "float8" }, "blk_write_time": { "oid": 701, - "dataType": "float8", - "expectedOid": null, - "expectedDataType": null + "dataType": "float8" }, "blks_hit": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "blks_read": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "checksum_failures": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "checksum_last_failure": { "oid": 1184, - "dataType": "timestamptz", - "expectedOid": null, - "expectedDataType": null + "dataType": "timestamptz" }, "conflicts": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "datid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "datname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "deadlocks": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "numbackends": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" }, "stats_reset": { "oid": 1184, - "dataType": "timestamptz", - "expectedOid": null, - "expectedDataType": null + "dataType": "timestamptz" }, "temp_bytes": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "temp_files": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "tup_deleted": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "tup_fetched": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "tup_inserted": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "tup_returned": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "tup_updated": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "xact_commit": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "xact_rollback": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" } }, "pg_stat_database_conflicts": { "confl_bufferpin": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "confl_deadlock": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "confl_lock": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "confl_snapshot": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "confl_tablespace": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "datid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "datname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" } }, "pg_stat_gssapi": { "encrypted": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "gss_authenticated": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "pid": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" }, "principal": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" } }, "pg_stat_progress_analyze": { "child_tables_done": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "child_tables_total": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "current_child_table_relid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "datid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "datname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "ext_stats_computed": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "ext_stats_total": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "phase": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "pid": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" }, "relid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "sample_blks_scanned": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "sample_blks_total": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" } }, "pg_stat_progress_basebackup": { "backup_streamed": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "backup_total": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "phase": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "pid": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" }, "tablespaces_streamed": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "tablespaces_total": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" } }, "pg_stat_progress_cluster": { "cluster_index_relid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "command": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "datid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "datname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "heap_blks_scanned": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "heap_blks_total": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "heap_tuples_scanned": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "heap_tuples_written": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "index_rebuild_count": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "phase": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "pid": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" }, "relid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" } }, "pg_stat_progress_create_index": { "blocks_done": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "blocks_total": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "command": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "current_locker_pid": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "datid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "datname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "index_relid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "lockers_done": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "lockers_total": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "partitions_done": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "partitions_total": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "phase": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "pid": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" }, "relid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "tuples_done": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "tuples_total": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" } }, "pg_stat_progress_vacuum": { "datid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "datname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "heap_blks_scanned": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "heap_blks_total": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "heap_blks_vacuumed": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "index_vacuum_count": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "max_dead_tuples": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "num_dead_tuples": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "phase": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "pid": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" }, "relid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" } }, "pg_stat_replication": { "application_name": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "backend_start": { "oid": 1184, - "dataType": "timestamptz", - "expectedOid": null, - "expectedDataType": null + "dataType": "timestamptz" }, "backend_xmin": { "oid": 20, - "dataType": "INT8", - "expectedOid": null, - "expectedDataType": null + "dataType": "INT8" }, "client_addr": { "oid": 869, - "dataType": "inet", - "expectedOid": null, - "expectedDataType": null + "dataType": "inet" }, "client_hostname": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "client_port": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" }, "flush_lag": { "oid": 1186, - "dataType": "interval", - "expectedOid": null, - "expectedDataType": null + "dataType": "interval" }, "flush_lsn": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "pid": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" }, "replay_lag": { "oid": 1186, - "dataType": "interval", - "expectedOid": null, - "expectedDataType": null + "dataType": "interval" }, "replay_lsn": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "reply_time": { "oid": 1184, - "dataType": "timestamptz", - "expectedOid": null, - "expectedDataType": null + "dataType": "timestamptz" }, "sent_lsn": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "state": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "sync_priority": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" }, "sync_state": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "usename": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "usesysid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "write_lag": { "oid": 1186, - "dataType": "interval", - "expectedOid": null, - "expectedDataType": null + "dataType": "interval" }, "write_lsn": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "pg_stat_slru": { "blks_exists": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "blks_hit": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "blks_read": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "blks_written": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "blks_zeroed": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "flushes": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "name": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "stats_reset": { "oid": 1184, - "dataType": "timestamptz", - "expectedOid": null, - "expectedDataType": null + "dataType": "timestamptz" }, "truncates": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" } }, "pg_stat_ssl": { "bits": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" }, "cipher": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "client_dn": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "client_serial": { "oid": 1700, - "dataType": "numeric", - "expectedOid": null, - "expectedDataType": null + "dataType": "numeric" }, "compression": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "issuer_dn": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "pid": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" }, "ssl": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "version": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" } }, "pg_stat_subscription": { "last_msg_receipt_time": { "oid": 1184, - "dataType": "timestamptz", - "expectedOid": null, - "expectedDataType": null + "dataType": "timestamptz" }, "last_msg_send_time": { "oid": 1184, - "dataType": "timestamptz", - "expectedOid": null, - "expectedDataType": null + "dataType": "timestamptz" }, "latest_end_lsn": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "latest_end_time": { "oid": 1184, - "dataType": "timestamptz", - "expectedOid": null, - "expectedDataType": null + "dataType": "timestamptz" }, "pid": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" }, "received_lsn": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "relid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "subid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "subname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" } }, "pg_stat_sys_indexes": { "idx_scan": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "idx_tup_fetch": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "idx_tup_read": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "indexrelid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "indexrelname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "relid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "relname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "schemaname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" } }, "pg_stat_sys_tables": { "analyze_count": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "autoanalyze_count": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "autovacuum_count": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "idx_scan": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "idx_tup_fetch": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "last_analyze": { "oid": 1184, - "dataType": "timestamptz", - "expectedOid": null, - "expectedDataType": null + "dataType": "timestamptz" }, "last_autoanalyze": { "oid": 1184, - "dataType": "timestamptz", - "expectedOid": null, - "expectedDataType": null + "dataType": "timestamptz" }, "last_autovacuum": { "oid": 1184, - "dataType": "timestamptz", - "expectedOid": null, - "expectedDataType": null + "dataType": "timestamptz" }, "last_vacuum": { "oid": 1184, - "dataType": "timestamptz", - "expectedOid": null, - "expectedDataType": null + "dataType": "timestamptz" }, "n_dead_tup": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "n_ins_since_vacuum": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "n_live_tup": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "n_mod_since_analyze": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "n_tup_del": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "n_tup_hot_upd": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "n_tup_ins": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "n_tup_upd": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "relid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "relname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "schemaname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "seq_scan": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "seq_tup_read": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "vacuum_count": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" } }, "pg_stat_user_functions": { "calls": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "funcid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "funcname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "schemaname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "self_time": { "oid": 701, - "dataType": "float8", - "expectedOid": null, - "expectedDataType": null + "dataType": "float8" }, "total_time": { "oid": 701, - "dataType": "float8", - "expectedOid": null, - "expectedDataType": null + "dataType": "float8" } }, "pg_stat_user_indexes": { "idx_scan": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "idx_tup_fetch": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "idx_tup_read": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "indexrelid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "indexrelname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "relid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "relname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "schemaname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" } }, "pg_stat_user_tables": { "analyze_count": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "autoanalyze_count": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "autovacuum_count": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "idx_scan": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "idx_tup_fetch": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "last_analyze": { "oid": 1184, - "dataType": "timestamptz", - "expectedOid": null, - "expectedDataType": null + "dataType": "timestamptz" }, "last_autoanalyze": { "oid": 1184, - "dataType": "timestamptz", - "expectedOid": null, - "expectedDataType": null + "dataType": "timestamptz" }, "last_autovacuum": { "oid": 1184, - "dataType": "timestamptz", - "expectedOid": null, - "expectedDataType": null + "dataType": "timestamptz" }, "last_vacuum": { "oid": 1184, - "dataType": "timestamptz", - "expectedOid": null, - "expectedDataType": null + "dataType": "timestamptz" }, "n_dead_tup": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "n_ins_since_vacuum": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "n_live_tup": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "n_mod_since_analyze": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "n_tup_del": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "n_tup_hot_upd": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "n_tup_ins": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "n_tup_upd": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "relid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "relname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "schemaname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "seq_scan": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "seq_tup_read": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "vacuum_count": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" } }, "pg_stat_wal_receiver": { "conninfo": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "flushed_lsn": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "last_msg_receipt_time": { "oid": 1184, - "dataType": "timestamptz", - "expectedOid": null, - "expectedDataType": null + "dataType": "timestamptz" }, "last_msg_send_time": { "oid": 1184, - "dataType": "timestamptz", - "expectedOid": null, - "expectedDataType": null + "dataType": "timestamptz" }, "latest_end_lsn": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "latest_end_time": { "oid": 1184, - "dataType": "timestamptz", - "expectedOid": null, - "expectedDataType": null + "dataType": "timestamptz" }, "pid": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" }, "receive_start_lsn": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "receive_start_tli": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" }, "received_tli": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" }, "sender_host": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "sender_port": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" }, "slot_name": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "status": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "written_lsn": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" } }, "pg_stat_xact_all_tables": { "idx_scan": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "idx_tup_fetch": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "n_tup_del": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "n_tup_hot_upd": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "n_tup_ins": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "n_tup_upd": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "relid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "relname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "schemaname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "seq_scan": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "seq_tup_read": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" } }, "pg_stat_xact_sys_tables": { "idx_scan": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "idx_tup_fetch": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "n_tup_del": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "n_tup_hot_upd": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "n_tup_ins": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "n_tup_upd": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "relid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "relname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "schemaname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "seq_scan": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "seq_tup_read": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" } }, "pg_stat_xact_user_functions": { "calls": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "funcid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "funcname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "schemaname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "self_time": { "oid": 701, - "dataType": "float8", - "expectedOid": null, - "expectedDataType": null + "dataType": "float8" }, "total_time": { "oid": 701, - "dataType": "float8", - "expectedOid": null, - "expectedDataType": null + "dataType": "float8" } }, "pg_stat_xact_user_tables": { "idx_scan": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "idx_tup_fetch": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "n_tup_del": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "n_tup_hot_upd": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "n_tup_ins": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "n_tup_upd": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "relid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "relname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "schemaname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "seq_scan": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "seq_tup_read": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" } }, "pg_statio_all_indexes": { "idx_blks_hit": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "idx_blks_read": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "indexrelid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "indexrelname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "relid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "relname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "schemaname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" } }, "pg_statio_all_sequences": { "blks_hit": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "blks_read": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "relid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "relname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "schemaname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" } }, "pg_statio_all_tables": { "heap_blks_hit": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "heap_blks_read": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "idx_blks_hit": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "idx_blks_read": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "relid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "relname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "schemaname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "tidx_blks_hit": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "tidx_blks_read": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "toast_blks_hit": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "toast_blks_read": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" } }, "pg_statio_sys_indexes": { "idx_blks_hit": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "idx_blks_read": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "indexrelid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "indexrelname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "relid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "relname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "schemaname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" } }, "pg_statio_sys_sequences": { "blks_hit": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "blks_read": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "relid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "relname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "schemaname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" } }, "pg_statio_sys_tables": { "heap_blks_hit": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "heap_blks_read": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "idx_blks_hit": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "idx_blks_read": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "relid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "relname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "schemaname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "tidx_blks_hit": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "tidx_blks_read": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "toast_blks_hit": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "toast_blks_read": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" } }, "pg_statio_user_indexes": { "idx_blks_hit": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "idx_blks_read": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "indexrelid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "indexrelname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "relid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "relname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "schemaname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" } }, "pg_statio_user_sequences": { "blks_hit": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "blks_read": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "relid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "relname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "schemaname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" } }, "pg_statio_user_tables": { "heap_blks_hit": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "heap_blks_read": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "idx_blks_hit": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "idx_blks_read": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "relid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "relname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "schemaname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "tidx_blks_hit": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "tidx_blks_read": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "toast_blks_hit": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" }, "toast_blks_read": { "oid": 20, - "dataType": "int8", - "expectedOid": null, - "expectedDataType": null + "dataType": "int8" } }, "pg_statistic": { "staattnum": { "oid": 21, - "dataType": "int2", - "expectedOid": null, - "expectedDataType": null + "dataType": "int2" }, "stacoll1": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "stacoll2": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "stacoll3": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "stacoll4": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "stacoll5": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "stadistinct": { "oid": 700, - "dataType": "float4", - "expectedOid": null, - "expectedDataType": null + "dataType": "float4" }, "stainherit": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "stakind1": { "oid": 21, - "dataType": "int2", - "expectedOid": null, - "expectedDataType": null + "dataType": "int2" }, "stakind2": { "oid": 21, - "dataType": "int2", - "expectedOid": null, - "expectedDataType": null + "dataType": "int2" }, "stakind3": { "oid": 21, - "dataType": "int2", - "expectedOid": null, - "expectedDataType": null + "dataType": "int2" }, "stakind4": { "oid": 21, - "dataType": "int2", - "expectedOid": null, - "expectedDataType": null + "dataType": "int2" }, "stakind5": { "oid": 21, - "dataType": "int2", - "expectedOid": null, - "expectedDataType": null + "dataType": "int2" }, "stanullfrac": { "oid": 700, - "dataType": "float4", - "expectedOid": null, - "expectedDataType": null + "dataType": "float4" }, "stanumbers1": { "oid": 1021, - "dataType": "_float4", - "expectedOid": null, - "expectedDataType": null + "dataType": "_float4" }, "stanumbers2": { "oid": 1021, - "dataType": "_float4", - "expectedOid": null, - "expectedDataType": null + "dataType": "_float4" }, "stanumbers3": { "oid": 1021, - "dataType": "_float4", - "expectedOid": null, - "expectedDataType": null + "dataType": "_float4" }, "stanumbers4": { "oid": 1021, - "dataType": "_float4", - "expectedOid": null, - "expectedDataType": null + "dataType": "_float4" }, "stanumbers5": { "oid": 1021, - "dataType": "_float4", - "expectedOid": null, - "expectedDataType": null + "dataType": "_float4" }, "staop1": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "staop2": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "staop3": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "staop4": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "staop5": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "starelid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "stavalues1": { "oid": 1009, - "dataType": "_TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "_TEXT" }, "stavalues2": { "oid": 1009, - "dataType": "_TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "_TEXT" }, "stavalues3": { "oid": 1009, - "dataType": "_TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "_TEXT" }, "stavalues4": { "oid": 1009, - "dataType": "_TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "_TEXT" }, "stavalues5": { "oid": 1009, - "dataType": "_TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "_TEXT" }, "stawidth": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" } }, "pg_statistic_ext": { "oid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "stxkeys": { "oid": 22, - "dataType": "int2vector", - "expectedOid": null, - "expectedDataType": null + "dataType": "int2vector" }, "stxkind": { "oid": 1002, - "dataType": "_char", - "expectedOid": null, - "expectedDataType": null + "dataType": "_char" }, "stxname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "stxnamespace": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "stxowner": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "stxrelid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "stxstattarget": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" } }, "pg_statistic_ext_data": { "stxddependencies": { "oid": 17, - "dataType": "BYTEA", - "expectedOid": null, - "expectedDataType": null + "dataType": "BYTEA" }, "stxdmcv": { "oid": 17, - "dataType": "BYTEA", - "expectedOid": null, - "expectedDataType": null + "dataType": "BYTEA" }, "stxdndistinct": { "oid": 17, - "dataType": "BYTEA", - "expectedOid": null, - "expectedDataType": null + "dataType": "BYTEA" }, "stxoid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" } }, "pg_stats": { "attname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "avg_width": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" }, "correlation": { "oid": 700, - "dataType": "float4", - "expectedOid": null, - "expectedDataType": null + "dataType": "float4" }, "elem_count_histogram": { "oid": 1021, - "dataType": "_float4", - "expectedOid": null, - "expectedDataType": null + "dataType": "_float4" }, "histogram_bounds": { "oid": 1009, - "dataType": "_TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "_TEXT" }, "inherited": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "most_common_elem_freqs": { "oid": 1021, - "dataType": "_float4", - "expectedOid": null, - "expectedDataType": null + "dataType": "_float4" }, "most_common_elems": { "oid": 1009, - "dataType": "_TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "_TEXT" }, "most_common_freqs": { "oid": 1021, - "dataType": "_float4", - "expectedOid": null, - "expectedDataType": null + "dataType": "_float4" }, "most_common_vals": { "oid": 1009, - "dataType": "_TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "_TEXT" }, "n_distinct": { "oid": 700, - "dataType": "float4", - "expectedOid": null, - "expectedDataType": null + "dataType": "float4" }, "null_frac": { "oid": 700, - "dataType": "float4", - "expectedOid": null, - "expectedDataType": null + "dataType": "float4" }, "schemaname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "tablename": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" } }, "pg_stats_ext": { "attnames": { "oid": 1003, - "dataType": "_name", - "expectedOid": null, - "expectedDataType": null + "dataType": "_name" }, "dependencies": { "oid": 17, - "dataType": "BYTEA", - "expectedOid": null, - "expectedDataType": null + "dataType": "BYTEA" }, "kinds": { "oid": 1002, - "dataType": "_char", - "expectedOid": null, - "expectedDataType": null + "dataType": "_char" }, "most_common_base_freqs": { "oid": 1022, - "dataType": "_float8", - "expectedOid": null, - "expectedDataType": null + "dataType": "_float8" }, "most_common_freqs": { "oid": 1022, - "dataType": "_float8", - "expectedOid": null, - "expectedDataType": null + "dataType": "_float8" }, "most_common_val_nulls": { "oid": 1000, - "dataType": "_bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "_bool" }, "most_common_vals": { "oid": 1009, - "dataType": "_text", - "expectedOid": null, - "expectedDataType": null + "dataType": "_text" }, "n_distinct": { "oid": 17, - "dataType": "BYTEA", - "expectedOid": null, - "expectedDataType": null + "dataType": "BYTEA" }, "schemaname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "statistics_name": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "statistics_owner": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "statistics_schemaname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "tablename": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" } }, "pg_subscription": { "oid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "subconninfo": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "subdbid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "subenabled": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "subname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "subowner": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "subpublications": { "oid": 1009, - "dataType": "_text", - "expectedOid": null, - "expectedDataType": null + "dataType": "_text" }, "subslotname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "subsynccommit": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" } }, "pg_subscription_rel": { "srrelid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "srsubid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "srsublsn": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "srsubstate": { "oid": 18, - "dataType": "char", - "expectedOid": null, - "expectedDataType": null + "dataType": "char" } }, "pg_tables": { "hasindexes": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "hasrules": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "hastriggers": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "rowsecurity": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "schemaname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "tablename": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "tableowner": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "tablespace": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" } }, "pg_tablespace": { "oid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "spcacl": { "oid": 1009, - "dataType": "_TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "_TEXT" }, "spcname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "spcoptions": { "oid": 1009, - "dataType": "_text", - "expectedOid": null, - "expectedDataType": null + "dataType": "_text" }, "spcowner": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" } }, "pg_timezone_abbrevs": { "abbrev": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "is_dst": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "utc_offset": { "oid": 1186, - "dataType": "interval", - "expectedOid": null, - "expectedDataType": null + "dataType": "interval" } }, "pg_timezone_names": { "abbrev": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "is_dst": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "name": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "utc_offset": { "oid": 1186, - "dataType": "interval", - "expectedOid": null, - "expectedDataType": null + "dataType": "interval" } }, "pg_transform": { "oid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "trffromsql": { "oid": 24, - "dataType": "regproc", - "expectedOid": null, - "expectedDataType": null + "dataType": "regproc" }, "trflang": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "trftosql": { "oid": 24, - "dataType": "regproc", - "expectedOid": null, - "expectedDataType": null + "dataType": "regproc" }, "trftype": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" } }, "pg_trigger": { "oid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "tgargs": { "oid": 17, - "dataType": "bytea", - "expectedOid": null, - "expectedDataType": null + "dataType": "bytea" }, "tgattr": { "oid": 22, - "dataType": "int2vector", - "expectedOid": null, - "expectedDataType": null + "dataType": "int2vector" }, "tgconstraint": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "tgconstrindid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "tgconstrrelid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "tgdeferrable": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "tgenabled": { "oid": 18, - "dataType": "char", - "expectedOid": null, - "expectedDataType": null + "dataType": "char" }, "tgfoid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "tginitdeferred": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "tgisinternal": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "tgname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "tgnargs": { "oid": 21, - "dataType": "int2", - "expectedOid": null, - "expectedDataType": null + "dataType": "int2" }, "tgnewtable": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "tgoldtable": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "tgparentid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "tgqual": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "tgrelid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "tgtype": { "oid": 21, - "dataType": "int2", - "expectedOid": null, - "expectedDataType": null + "dataType": "int2" } }, "pg_ts_config": { "cfgname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "cfgnamespace": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "cfgowner": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "cfgparser": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "oid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" } }, "pg_ts_config_map": { "mapcfg": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "mapdict": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "mapseqno": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" }, "maptokentype": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" } }, "pg_ts_dict": { "dictinitoption": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "dictname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "dictnamespace": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "dictowner": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "dicttemplate": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "oid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" } }, "pg_ts_parser": { "oid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "prsend": { "oid": 24, - "dataType": "regproc", - "expectedOid": null, - "expectedDataType": null + "dataType": "regproc" }, "prsheadline": { "oid": 24, - "dataType": "regproc", - "expectedOid": null, - "expectedDataType": null + "dataType": "regproc" }, "prslextype": { "oid": 24, - "dataType": "regproc", - "expectedOid": null, - "expectedDataType": null + "dataType": "regproc" }, "prsname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "prsnamespace": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "prsstart": { "oid": 24, - "dataType": "regproc", - "expectedOid": null, - "expectedDataType": null + "dataType": "regproc" }, "prstoken": { "oid": 24, - "dataType": "regproc", - "expectedOid": null, - "expectedDataType": null + "dataType": "regproc" } }, "pg_ts_template": { "oid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "tmplinit": { "oid": 24, - "dataType": "regproc", - "expectedOid": null, - "expectedDataType": null + "dataType": "regproc" }, "tmpllexize": { "oid": 24, - "dataType": "regproc", - "expectedOid": null, - "expectedDataType": null + "dataType": "regproc" }, "tmplname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "tmplnamespace": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" } }, "pg_type": { "oid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "typacl": { "oid": 1009, - "dataType": "_TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "_TEXT" }, "typalign": { "oid": 18, - "dataType": "char", - "expectedOid": null, - "expectedDataType": null + "dataType": "char" }, "typanalyze": { "oid": 24, - "dataType": "regproc", - "expectedOid": null, - "expectedDataType": null + "dataType": "regproc" }, "typarray": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "typbasetype": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "typbyval": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "typcategory": { "oid": 18, - "dataType": "char", - "expectedOid": null, - "expectedDataType": null + "dataType": "char" }, "typcollation": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "typdefault": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "typdefaultbin": { "oid": 25, - "dataType": "TEXT", - "expectedOid": null, - "expectedDataType": null + "dataType": "TEXT" }, "typdelim": { "oid": 18, - "dataType": "char", - "expectedOid": null, - "expectedDataType": null + "dataType": "char" }, "typelem": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "typinput": { "oid": 24, - "dataType": "regproc", - "expectedOid": null, - "expectedDataType": null + "dataType": "regproc" }, "typisdefined": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "typispreferred": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "typlen": { "oid": 21, - "dataType": "int2", - "expectedOid": null, - "expectedDataType": null + "dataType": "int2" }, "typmodin": { "oid": 24, - "dataType": "regproc", - "expectedOid": null, - "expectedDataType": null + "dataType": "regproc" }, "typmodout": { "oid": 24, - "dataType": "regproc", - "expectedOid": null, - "expectedDataType": null + "dataType": "regproc" }, "typname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "typnamespace": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "typndims": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" }, "typnotnull": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "typoutput": { "oid": 24, - "dataType": "regproc", - "expectedOid": null, - "expectedDataType": null + "dataType": "regproc" }, "typowner": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "typreceive": { "oid": 24, - "dataType": "regproc", - "expectedOid": null, - "expectedDataType": null + "dataType": "regproc" }, "typrelid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "typsend": { "oid": 24, - "dataType": "regproc", - "expectedOid": null, - "expectedDataType": null + "dataType": "regproc" }, "typstorage": { "oid": 18, - "dataType": "char", - "expectedOid": null, - "expectedDataType": null + "dataType": "char" }, "typtype": { "oid": 18, - "dataType": "char", - "expectedOid": null, - "expectedDataType": null + "dataType": "char" }, "typtypmod": { "oid": 23, - "dataType": "int4", - "expectedOid": null, - "expectedDataType": null + "dataType": "int4" } }, "pg_user": { "passwd": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "usebypassrls": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "useconfig": { "oid": 1009, - "dataType": "_text", - "expectedOid": null, - "expectedDataType": null + "dataType": "_text" }, "usecreatedb": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "usename": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "userepl": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "usesuper": { "oid": 16, - "dataType": "bool", - "expectedOid": null, - "expectedDataType": null + "dataType": "bool" }, "usesysid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "valuntil": { "oid": 1184, - "dataType": "timestamptz", - "expectedOid": null, - "expectedDataType": null + "dataType": "timestamptz" } }, "pg_user_mapping": { "oid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "umoptions": { "oid": 1009, - "dataType": "_text", - "expectedOid": null, - "expectedDataType": null + "dataType": "_text" }, "umserver": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "umuser": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" } }, "pg_user_mappings": { "srvid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "srvname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "umid": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "umoptions": { "oid": 1009, - "dataType": "_text", - "expectedOid": null, - "expectedDataType": null + "dataType": "_text" }, "umuser": { "oid": 26, - "dataType": "oid", - "expectedOid": null, - "expectedDataType": null + "dataType": "oid" }, "usename": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" } }, "pg_views": { "definition": { "oid": 25, - "dataType": "text", - "expectedOid": null, - "expectedDataType": null + "dataType": "text" }, "schemaname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "viewname": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" }, "viewowner": { "oid": 19, - "dataType": "name", - "expectedOid": null, - "expectedDataType": null + "dataType": "name" } } - }, - "unimplementedTypes": null -} \ No newline at end of file + } +} diff --git a/pkg/sql/testdata/postgres_test_expected_diffs_on_information_schema.json b/pkg/sql/testdata/postgres_test_expected_diffs_on_information_schema.json index 5d1c40046183..3c892f98c008 100644 --- a/pkg/sql/testdata/postgres_test_expected_diffs_on_information_schema.json +++ b/pkg/sql/testdata/postgres_test_expected_diffs_on_information_schema.json @@ -1,5 +1,5 @@ { - "pgVersion": "13.3", + "version": "13.3", "diffSummary": { "TotalTables": 60, "TotalColumns": 628, @@ -7,7 +7,7 @@ "MissingColumns": 12, "DatatypeMismatches": 0 }, - "pgMetadata": { + "diffs": { "routines": { "scope_schema": null }, @@ -29,5 +29,5 @@ "user_defined_type_schema": null } }, - "unimplementedTypes": null -} \ No newline at end of file + "unimplementedTypes": {} +} diff --git a/pkg/sql/testdata/postgres_test_expected_diffs_on_pg_catalog.json b/pkg/sql/testdata/postgres_test_expected_diffs_on_pg_catalog.json index c285113d223b..ec494e9e247e 100644 --- a/pkg/sql/testdata/postgres_test_expected_diffs_on_pg_catalog.json +++ b/pkg/sql/testdata/postgres_test_expected_diffs_on_pg_catalog.json @@ -1,5 +1,5 @@ { - "pgVersion": "13.3", + "version": "13.3", "diffSummary": { "TotalTables": 129, "TotalColumns": 1192, @@ -7,7 +7,7 @@ "MissingColumns": 0, "DatatypeMismatches": 19 }, - "pgMetadata": { + "diffs": { "pg_am": { "amhandler": { "oid": 26, @@ -145,5 +145,5 @@ } } }, - "unimplementedTypes": null -} \ No newline at end of file + "unimplementedTypes": {} +} From fbb6e56a75d1712448b4c816f62d06fd540284ed Mon Sep 17 00:00:00 2001 From: Jackson Owens Date: Thu, 7 Oct 2021 18:42:58 -0400 Subject: [PATCH 2/2] storage: always close iterators, batches in unit tests This fixes a handful of instances where iterators and batches either weren't closed, or weren't closed if the test failed because the Close wasn't deferred. There are more in the codebase, but I wanted to break this up a bit since some of them are trickier to track down. Release note: None --- .../rangefeed/catchup_scan_bench_test.go | 39 ++++++++++--------- pkg/storage/intent_interleaving_iter_test.go | 27 ++++++++----- pkg/storage/mvcc_incremental_iterator_test.go | 8 ++++ pkg/storage/mvcc_test.go | 27 ++++++++----- pkg/storage/pebble_mvcc_scanner_test.go | 17 ++++---- pkg/storage/pebble_test.go | 22 +++++++---- 6 files changed, 89 insertions(+), 51 deletions(-) diff --git a/pkg/kv/kvserver/rangefeed/catchup_scan_bench_test.go b/pkg/kv/kvserver/rangefeed/catchup_scan_bench_test.go index 467fc6395675..6be0506fa262 100644 --- a/pkg/kv/kvserver/rangefeed/catchup_scan_bench_test.go +++ b/pkg/kv/kvserver/rangefeed/catchup_scan_bench_test.go @@ -44,24 +44,27 @@ func runCatchUpBenchmark(b *testing.B, emk engineMaker, opts benchOptions) { b.ResetTimer() for i := 0; i < b.N; i++ { - iter := rangefeed.NewCatchUpIterator(eng, &roachpb.RangeFeedRequest{ - Header: roachpb.Header{ - Timestamp: opts.ts, - }, - WithDiff: opts.withDiff, - Span: span, - }, opts.useTBI, func() {}) - counter := 0 - err := iter.CatchUpScan(storage.MakeMVCCMetadataKey(startKey), storage.MakeMVCCMetadataKey(endKey), opts.ts, opts.withDiff, func(*roachpb.RangeFeedEvent) error { - counter++ - return nil - }) - if err != nil { - b.Fatalf("failed catchUp scan: %+v", err) - } - if counter < 1 { - b.Fatalf("didn't emit any events!") - } + func() { + iter := rangefeed.NewCatchUpIterator(eng, &roachpb.RangeFeedRequest{ + Header: roachpb.Header{ + Timestamp: opts.ts, + }, + WithDiff: opts.withDiff, + Span: span, + }, opts.useTBI, func() {}) + defer iter.Close() + counter := 0 + err := iter.CatchUpScan(storage.MakeMVCCMetadataKey(startKey), storage.MakeMVCCMetadataKey(endKey), opts.ts, opts.withDiff, func(*roachpb.RangeFeedEvent) error { + counter++ + return nil + }) + if err != nil { + b.Fatalf("failed catchUp scan: %+v", err) + } + if counter < 1 { + b.Fatalf("didn't emit any events!") + } + }() } } diff --git a/pkg/storage/intent_interleaving_iter_test.go b/pkg/storage/intent_interleaving_iter_test.go index 41a9b037efa5..421f286b0ae5 100644 --- a/pkg/storage/intent_interleaving_iter_test.go +++ b/pkg/storage/intent_interleaving_iter_test.go @@ -388,74 +388,75 @@ func TestIntentInterleavingIterBoundaries(t *testing.T) { func() { opts := IterOptions{LowerBound: keys.MinKey} iter := newIntentInterleavingIterator(eng, opts).(*intentInterleavingIter) + defer iter.Close() require.Equal(t, constrainedToLocal, iter.constraint) iter.SetUpperBound(keys.LocalMax) require.Equal(t, constrainedToLocal, iter.constraint) iter.SeekLT(MVCCKey{Key: keys.LocalMax}) - iter.Close() }() func() { opts := IterOptions{UpperBound: keys.LocalMax} iter := newIntentInterleavingIterator(eng, opts).(*intentInterleavingIter) + defer iter.Close() require.Equal(t, constrainedToLocal, iter.constraint) iter.SetUpperBound(keys.LocalMax) require.Equal(t, constrainedToLocal, iter.constraint) - iter.Close() }() require.Panics(t, func() { opts := IterOptions{UpperBound: keys.LocalMax} iter := newIntentInterleavingIterator(eng, opts).(*intentInterleavingIter) + defer iter.Close() iter.SeekLT(MVCCKey{Key: keys.MaxKey}) }) // Boundary cases for constrainedToGlobal func() { opts := IterOptions{LowerBound: keys.LocalMax} iter := newIntentInterleavingIterator(eng, opts).(*intentInterleavingIter) + defer iter.Close() require.Equal(t, constrainedToGlobal, iter.constraint) - iter.Close() }() require.Panics(t, func() { opts := IterOptions{LowerBound: keys.LocalMax} iter := newIntentInterleavingIterator(eng, opts).(*intentInterleavingIter) + defer iter.Close() require.Equal(t, constrainedToGlobal, iter.constraint) iter.SetUpperBound(keys.LocalMax) - iter.Close() }) require.Panics(t, func() { opts := IterOptions{LowerBound: keys.LocalMax} iter := newIntentInterleavingIterator(eng, opts).(*intentInterleavingIter) + defer iter.Close() require.Equal(t, constrainedToGlobal, iter.constraint) iter.SeekLT(MVCCKey{Key: keys.LocalMax}) - iter.Close() }) // Panics for using a local key that is above the lock table. require.Panics(t, func() { opts := IterOptions{UpperBound: keys.LocalMax} iter := newIntentInterleavingIterator(eng, opts).(*intentInterleavingIter) + defer iter.Close() require.Equal(t, constrainedToLocal, iter.constraint) iter.SeekLT(MVCCKey{Key: keys.LocalRangeLockTablePrefix.PrefixEnd()}) - iter.Close() }) require.Panics(t, func() { opts := IterOptions{UpperBound: keys.LocalMax} iter := newIntentInterleavingIterator(eng, opts).(*intentInterleavingIter) + defer iter.Close() require.Equal(t, constrainedToLocal, iter.constraint) iter.SeekGE(MVCCKey{Key: keys.LocalRangeLockTablePrefix.PrefixEnd()}) - iter.Close() }) // Prefix iteration does not affect the constraint if bounds are // specified. func() { opts := IterOptions{Prefix: true, LowerBound: keys.LocalMax} iter := newIntentInterleavingIterator(eng, opts).(*intentInterleavingIter) + defer iter.Close() require.Equal(t, constrainedToGlobal, iter.constraint) - iter.Close() }() // Prefix iteration with no bounds. func() { iter := newIntentInterleavingIterator(eng, IterOptions{Prefix: true}).(*intentInterleavingIter) + defer iter.Close() require.Equal(t, notConstrained, iter.constraint) - iter.Close() }() } @@ -643,6 +644,13 @@ func generateIterOps(rng *rand.Rand, mvcckv []MVCCKeyValue, isLocal bool) []stri func doOps(t *testing.T, ops []string, eng Engine, interleave bool, out *strings.Builder) { var iter MVCCIterator + closeIter := func() { + if iter != nil { + iter.Close() + iter = nil + } + } + defer closeIter() var d datadriven.TestData var err error for _, op := range ops { @@ -650,6 +658,7 @@ func doOps(t *testing.T, ops []string, eng Engine, interleave bool, out *strings require.NoError(t, err) switch d.Cmd { case "iter": + closeIter() var opts IterOptions if d.HasArg("lower") { opts.LowerBound = scanRoachKey(t, &d, "lower") diff --git a/pkg/storage/mvcc_incremental_iterator_test.go b/pkg/storage/mvcc_incremental_iterator_test.go index f9125e2d3d20..d928a31cbefb 100644 --- a/pkg/storage/mvcc_incremental_iterator_test.go +++ b/pkg/storage/mvcc_incremental_iterator_test.go @@ -595,6 +595,7 @@ func TestMVCCIncrementalIteratorInlinePolicy(t *testing.T) { EndTime: tsMax, InlinePolicy: MVCCIncrementalIterInlinePolicyError, }) + defer iter.Close() iter.SeekGE(MakeMVCCMetadataKey(testKey1)) _, err := iter.Valid() assert.EqualError(t, err, "unexpected inline value found: \"/db1\"") @@ -606,6 +607,7 @@ func TestMVCCIncrementalIteratorInlinePolicy(t *testing.T) { EndTime: tsMax, InlinePolicy: MVCCIncrementalIterInlinePolicyEmit, }) + defer iter.Close() iter.SeekGE(MakeMVCCMetadataKey(testKey1)) expectInlineKeyValue(t, iter, inline1_1_1) iter.Next() @@ -686,6 +688,7 @@ func TestMVCCIncrementalIteratorIntentPolicy(t *testing.T) { EndTime: tsMax, IntentPolicy: MVCCIncrementalIterIntentPolicyError, }) + defer iter.Close() iter.SeekGE(MakeMVCCMetadataKey(testKey1)) for ; ; iter.Next() { if ok, _ := iter.Valid(); !ok || iter.UnsafeKey().Key.Compare(keyMax) >= 0 { @@ -702,6 +705,7 @@ func TestMVCCIncrementalIteratorIntentPolicy(t *testing.T) { EndTime: tsMax, IntentPolicy: MVCCIncrementalIterIntentPolicyError, }) + defer iter.Close() iter.SeekGE(MakeMVCCMetadataKey(testKey1)) expectKeyValue(t, iter, kv1_3_3) iter.Next() @@ -716,6 +720,7 @@ func TestMVCCIncrementalIteratorIntentPolicy(t *testing.T) { EndTime: tsMax, IntentPolicy: MVCCIncrementalIterIntentPolicyEmit, }) + defer iter.Close() iter.SeekGE(MakeMVCCMetadataKey(testKey1)) for _, kv := range []MVCCKeyValue{kv1_3_3, kv1_2_2, kv1_1_1} { expectKeyValue(t, iter, kv) @@ -735,6 +740,7 @@ func TestMVCCIncrementalIteratorIntentPolicy(t *testing.T) { EndTime: tsMax, IntentPolicy: MVCCIncrementalIterIntentPolicyEmit, }) + defer iter.Close() iter.SeekGE(MakeMVCCMetadataKey(testKey1)) expectKeyValue(t, iter, kv1_3_3) iter.Next() @@ -1039,6 +1045,7 @@ func TestMVCCIncrementalIteratorIntentRewrittenConcurrently(t *testing.T) { // goroutine. A non-atomic Put can cause the strict invariant checking // in intentInterleavingIter to be violated. b := e.NewBatch() + defer b.Close() if err := MVCCPut(ctx, b, nil, kA, ts1, vA2, txn); err != nil { return err } @@ -1404,6 +1411,7 @@ func runIncrementalBenchmark( StartTime: ts, EndTime: hlc.MaxTimestamp, }) + defer it.Close() it.SeekGE(MVCCKey{Key: startKey}) for { if ok, err := it.Valid(); err != nil { diff --git a/pkg/storage/mvcc_test.go b/pkg/storage/mvcc_test.go index 9d04f6abe0e0..ad3b6669cbbd 100644 --- a/pkg/storage/mvcc_test.go +++ b/pkg/storage/mvcc_test.go @@ -3972,6 +3972,7 @@ func TestMVCCResolveTxnRangeResume(t *testing.T) { } rw := engine.NewBatch() + defer rw.Close() // Resolve up to 6 intents: the keys are 000, 033, 066, 099, 1212, 1515. num, resumeSpan, err := MVCCResolveWriteIntentRange(ctx, rw, nil, @@ -4103,6 +4104,8 @@ func checkEngineEquality( return iter } iter1, iter2 := makeIter(eng1), makeIter(eng2) + defer iter1.Close() + defer iter2.Close() count := 0 for { valid1, err1 := iter1.Valid() @@ -4241,11 +4244,13 @@ func TestRandomizedMVCCResolveWriteIntentRange(t *testing.T) { log.Infof(ctx, "LockUpdate: %s, %s", status.String(), lu.String()) } for i := range engs { - batch := engs[i].eng.NewBatch() - _, _, err := MVCCResolveWriteIntentRange(ctx, batch, &engs[i].stats, lu, 0, i == 0) - require.NoError(t, err) - require.NoError(t, batch.Commit(false)) - batch.Close() + func() { + batch := engs[i].eng.NewBatch() + defer batch.Close() + _, _, err := MVCCResolveWriteIntentRange(ctx, batch, &engs[i].stats, lu, 0, i == 0) + require.NoError(t, err) + require.NoError(t, batch.Commit(false)) + }() } require.Equal(t, engs[0].stats, engs[1].stats) // TODO(sumeer): mvccResolveWriteIntent has a bug when the txn is being @@ -4257,11 +4262,13 @@ func TestRandomizedMVCCResolveWriteIntentRange(t *testing.T) { checkEngineEquality(t, lu.Span, engs[0].eng, engs[1].eng, false, debug) if status == roachpb.ABORTED { for i := range engs { - batch := engs[i].eng.NewBatch() - _, _, err := MVCCResolveWriteIntentRange(ctx, batch, &engs[i].stats, lu, 0, i == 0) - require.NoError(t, err) - require.NoError(t, batch.Commit(false)) - batch.Close() + func() { + batch := engs[i].eng.NewBatch() + defer batch.Close() + _, _, err := MVCCResolveWriteIntentRange(ctx, batch, &engs[i].stats, lu, 0, i == 0) + require.NoError(t, err) + require.NoError(t, batch.Commit(false)) + }() } checkEngineEquality(t, lu.Span, engs[0].eng, engs[1].eng, true, debug) } diff --git a/pkg/storage/pebble_mvcc_scanner_test.go b/pkg/storage/pebble_mvcc_scanner_test.go index 50636caf255c..f159cf93581f 100644 --- a/pkg/storage/pebble_mvcc_scanner_test.go +++ b/pkg/storage/pebble_mvcc_scanner_test.go @@ -205,17 +205,20 @@ func TestMVCCScanWithMemoryAccounting(t *testing.T) { GlobalUncertaintyLimit: ts1, } val := roachpb.Value{RawBytes: bytes.Repeat([]byte("v"), 1000)} - batch := eng.NewBatch() - for i := 0; i < 10; i++ { - key := makeKey(nil, i) - require.NoError(t, MVCCPut(context.Background(), batch, nil, key, ts1, val, &txn1)) - } - require.NoError(t, batch.Commit(true)) - batch.Close() + func() { + batch := eng.NewBatch() + defer batch.Close() + for i := 0; i < 10; i++ { + key := makeKey(nil, i) + require.NoError(t, MVCCPut(context.Background(), batch, nil, key, ts1, val, &txn1)) + } + require.NoError(t, batch.Commit(true)) + }() // iterator that can span over all the written keys. iter := eng.NewMVCCIterator(MVCCKeyAndIntentsIterKind, IterOptions{LowerBound: makeKey(nil, 0), UpperBound: makeKey(nil, 11)}) + defer iter.Close() // Narrow scan succeeds with a budget of 6000. scanner := &pebbleMVCCScanner{ diff --git a/pkg/storage/pebble_test.go b/pkg/storage/pebble_test.go index ba8e8b7cdc01..335da5e8a775 100644 --- a/pkg/storage/pebble_test.go +++ b/pkg/storage/pebble_test.go @@ -127,6 +127,7 @@ func TestPebbleIterReuse(t *testing.T) { defer eng.Close() batch := eng.NewBatch() + defer batch.Close() for i := 0; i < 100; i++ { key := MVCCKey{[]byte{byte(i)}, hlc.Timestamp{WallTime: 100}} if err := batch.PutMVCC(key, []byte("foo")); err != nil { @@ -461,10 +462,16 @@ func TestPebbleIterConsistency(t *testing.T) { k1 := MVCCKey{[]byte("a"), ts1} require.NoError(t, eng.PutMVCC(k1, []byte("a1"))) - roEngine := eng.NewReadOnly() - batch := eng.NewBatch() - roEngine2 := eng.NewReadOnly() - batch2 := eng.NewBatch() + var ( + roEngine = eng.NewReadOnly() + batch = eng.NewBatch() + roEngine2 = eng.NewReadOnly() + batch2 = eng.NewBatch() + ) + defer roEngine.Close() + defer batch.Close() + defer roEngine2.Close() + defer batch2.Close() require.False(t, eng.ConsistentIterators()) require.True(t, roEngine.ConsistentIterators()) @@ -486,6 +493,7 @@ func TestPebbleIterConsistency(t *testing.T) { require.NoError(t, eng.PutMVCC(MVCCKey{[]byte("a"), ts2}, []byte("a2"))) checkMVCCIter := func(iter MVCCIterator) { + defer iter.Close() iter.SeekGE(MVCCKey{Key: []byte("a")}) valid, err := iter.Valid() require.Equal(t, true, valid) @@ -496,9 +504,9 @@ func TestPebbleIterConsistency(t *testing.T) { valid, err = iter.Valid() require.False(t, valid) require.NoError(t, err) - iter.Close() } checkEngineIter := func(iter EngineIterator) { + defer iter.Close() valid, err := iter.SeekEngineKeyGE(EngineKey{Key: []byte("a")}) require.Equal(t, true, valid) require.NoError(t, err) @@ -512,7 +520,6 @@ func TestPebbleIterConsistency(t *testing.T) { valid, err = iter.NextEngineKey() require.False(t, valid) require.NoError(t, err) - iter.Close() } checkMVCCIter(roEngine.NewMVCCIterator(MVCCKeyIterKind, IterOptions{UpperBound: []byte("b")})) @@ -534,6 +541,7 @@ func TestPebbleIterConsistency(t *testing.T) { checkEngineIter(batch2.NewEngineIterator(IterOptions{Prefix: true})) checkIterSeesBothValues := func(iter MVCCIterator) { + defer iter.Close() iter.SeekGE(MVCCKey{Key: []byte("a")}) count := 0 for ; ; iter.Next() { @@ -545,7 +553,6 @@ func TestPebbleIterConsistency(t *testing.T) { count++ } require.Equal(t, 2, count) - iter.Close() } // The eng iterator will see both values. checkIterSeesBothValues(eng.NewMVCCIterator(MVCCKeyIterKind, IterOptions{UpperBound: []byte("b")})) @@ -602,6 +609,7 @@ func value(key roachpb.Key, val string, ts hlc.Timestamp) testValue { func fillInData(ctx context.Context, engine Engine, data []testValue) error { batch := engine.NewBatch() + defer batch.Close() for _, val := range data { if err := MVCCPut(ctx, batch, nil, val.key, val.timestamp, val.value, val.txn); err != nil { return err