From 8a2671373bf882b397af8b8753a90cde08f589f8 Mon Sep 17 00:00:00 2001 From: Kyle Gray Date: Fri, 9 Oct 2026 08:14:30 -0700 Subject: [PATCH 01/16] Go codegen for ClickHouse, DuckDB, Spanner and SQL Server under database/sql (#4621) * plugin: carry the analysis core's type expression on Column The core analyzer types every column and parameter as an expression: a name, whether a value may be null, and nested arguments, so decimal(10, 2), array(array(integer)) and struct(x: integer) survive intact. The plugin request flattened that to a single type name plus not_null, is_array, array_dims, length and unsigned, which is not enough for a type mapper to tell nvarchar(max) from nvarchar(50) or to see the element of an array or the fields of a struct. Add a recursive TypeExpr message to the plugin proto and a type_expr field on Column, populated from the core's tree in the shim. It is only set when the analysis core typed the column; the legacy path leaves it unset and the flat fields stay as they were, so existing plugins keep working. When a database analyzer overrides a column's flat type in combineAnalysis, the tree no longer describes the column and is dropped. A DuckDB codegen_json case pins the shape with decimal arguments, nested arrays, a labeled struct, a map and a sized array. The existing JSON request goldens gain the new field, unset, on every column. Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_015rfiHyC4iRLyRWc3UmYEtT * codegen/golang: map ClickHouse, DuckDB, Spanner and SQL Server types The Go generator ran for the four engines the analysis core handles but knew none of their types, so every field came out as any. Add a mapper per engine that reads the column's type expression rather than the flat name, which is what lets it see the element of an array, the key and value of a map, the fields of a struct, and the type LowCardinality or SimpleAggregateFunction wraps. Each maps to the Go types the engine's database/sql driver hands back: shopspring decimals, orb geometries and pointer-typed nullable elements for clickhouse-go; duckdb.Composite, duckdb.Decimal, duckdb.Interval and duckdb.Map for duckdb-go, with a list parameter typed as the slice itself since a Composite is not accepted as an argument; the spanner package's Null types for go-sql-spanner, whose arrays decode into them; and mssql.UniqueIdentifier for go-mssqldb. The tree-reading mappers render the whole type, arrays included, so goType leaves the dimensions to them. Model columns come from the catalog, which the core path flattened, so catalog.Column now carries the expression too and the shim forwards it. The queries for these engines pass slices straight to the driver, so pq.Array wrapping is limited to PostgreSQL under database/sql, where lib/pq needs it. Import detection follows a package qualifier into map keys and values and through any number of slice and pointer prefixes. A core_types case per engine generates the analyze_types schema and queries with database/sql and pins the output; the end-to-end module gains the drivers so the generated code compiles. Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_015rfiHyC4iRLyRWc3UmYEtT * codegen/golang: bind named placeholders with sql.Named, and run the new engines' examples SQL Server and Spanner name a parameter @name in the query text and ClickHouse's server-side placeholder is {name:Type}; their drivers take such an argument as sql.Named rather than by position. When every parameter of a query is named that way, pass each as sql.Named with the name the query uses. A query written with ? keeps positional arguments. Add an authors example for ClickHouse, SQL Server and Spanner beside the existing ones, and one for DuckDB in a module of its own, since its driver is cgo and the main module's builds keep cgo off. Test helpers create a database per test on the server CLICKHOUSE_SERVER_URI, MSSQL_SERVER_URI or SPANNER_SERVER_URI names and skip when none is; the DuckDB example opens a database in memory. CI runs ClickHouse and SQL Server as services, builds the end-to-end module with cgo for the DuckDB driver, and tests the DuckDB module; docker-compose gains a ClickHouse service beside the SQL Server and Spanner Omni ones for local runs. Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_015rfiHyC4iRLyRWc3UmYEtT * ci: give the ClickHouse service a password so the example can reach it The ClickHouse image restricts the default user to connections from localhost unless a password is configured, and the test job reaches the service through a port mapping, so the ClickHouse example failed to authenticate. Set a password on the service and in the URI, in docker-compose too. Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_015rfiHyC4iRLyRWc3UmYEtT * examples: make the examples a module of their own, and run Spanner Omni in CI The examples' drivers were becoming dependencies of sqlc itself, and the DuckDB driver, being cgo, had to live in a module apart. Move every example into one module under examples/, which requires sqlc through a replace, so the drivers are its dependencies alone and cgo can stay on for all of it; sqlc's own go.mod loses them, and lib/pq with them, since only the examples imported it. The DuckDB example rejoins the authors example beside the others, and the test helpers for ClickHouse, SQL Server and Spanner move into the examples module, since the drivers they need are what kept them out of sqlc. The end-to-end suite skips the directory under examples that holds those helpers rather than treating it as an example. sqlc-test-setup now installs Spanner Omni from its standalone server release, checked against a pinned SHA-256, and starts a single server in the background on port 15000, so CI runs the Spanner example against it alongside the ClickHouse and SQL Server services. The Makefile and CI run the examples from their module. Drop the clearing of a column's type expression in combineAnalysis: the compiler builds a live-database analyzer only on the legacy path and returns before doing so on the core path, so the two never meet and the expression is never set where the analyzer runs. Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_015rfiHyC4iRLyRWc3UmYEtT * docs: say N/A rather than Not implemented in the language support table Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_015rfiHyC4iRLyRWc3UmYEtT * ci: run the examples in a job of their own The examples need every database sqlc supports, while sqlc's own tests need only PostgreSQL and MySQL. Split the test job in two, and let sqlc-test-setup take the databases to install and start as arguments so each job sets up what it uses. Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_015rfiHyC4iRLyRWc3UmYEtT * ci: build the end-to-end module with cgo off again The DuckDB golden imports the DuckDB driver, which is cgo, so it is left out of that build and checked by the replay suite alone. Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_015rfiHyC4iRLyRWc3UmYEtT * codegen/json: leave out an unset type_expr; test-setup: install ClickHouse and SQL Server A column's type_expr is only set when the analysis core typed it, and the JSON plugin wrote every other column with an explicit null, which put a line on every column of every request the legacy path produced. Drop the member when it is unset instead, so those requests read as they did before the member existed; the goldens on the legacy path are back to what they were. sqlc-test-setup now installs and starts ClickHouse and SQL Server as well, so the examples need no service containers from CI's host. ClickHouse comes from the release tarball goldeneye pins, checked against its SHA-512 and cached where goldeneye caches it, and runs from a configuration the tool writes that gives the default user the password the tests use. SQL Server comes from Microsoft's apt repository for Ubuntu 22.04 and 24.04, set up non-interactively with the EULA accepted, and starts through systemd where there is one and in the background otherwise. The examples job in CI installs and starts every database through the tool. Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_015rfiHyC4iRLyRWc3UmYEtT * codegen/golang: name the engines with constants; ci: build the end-to-end module with cgo The end-to-end module is one of its own, so cgo there is no concern of sqlc's builds, and the DuckDB golden compiles with the rest again. Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_015rfiHyC4iRLyRWc3UmYEtT * test-setup: keep the SQL Server it starts off the tool's own output A detached server holding the tool's stderr open kept anything reading the tool's output waiting after the tool had finished. Its output goes to a file of its own, the way the ClickHouse and Spanner Omni servers' does. Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_015rfiHyC4iRLyRWc3UmYEtT * sqlc-test-setup: accept a successful mssql-conf setup without stat-ing its conf On a GitHub runner the tool runs as an unprivileged user, and /var/opt/mssql is readable by the mssql user only, so stat-ing /var/opt/mssql/mssql.conf failed with permission denied even though setup had completed. Treat a successful setup as installed, and when setup fails check for the configuration through sudo before deciding whether the failure was only the service start. Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_015rfiHyC4iRLyRWc3UmYEtT * codegen/json: write an unset type_expr as null again The regex that stripped the member from protojson's output was a hack around EmitUnpopulated, which has no per-field form. A column the legacy path typed now carries "type_expr": null like every other unset message field, and the goldens are regenerated. Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_015rfiHyC4iRLyRWc3UmYEtT * Bind named placeholders from the compiler, scan DuckDB lists and ClickHouse nullables correctly A parameter whose placeholder names it, SQL Server's and Spanner's @name and ClickHouse's {name:Type}, is now marked by the compiler: the mssql and googlesql converters carry the name on the ParamRef as the ClickHouse one already did, the analyzer keeps it whichever use of the parameter it sees first, and the plugin Parameter gains a named field. The Go codegen reads that instead of searching the query text for "@name", which bound a CAST-wrapped @a positionally, because the analyzer had named it after the column it was compared with, and matched "@id" inside "@identity_no". A row struct is scanned into and a params struct is passed as arguments, and DuckDB wants different types for the two: a list is duckdb.Composite when scanned and a plain slice when passed. Row structs used the params form. The imports for the element of a generic type such as duckdb.Composite[[]time.Time] were also missing, and sql.Named's database/sql import reached the querier interface, which does not use it. clickhouse-go dereferences a Nullable value only when Nullable is the column's outermost type, so LowCardinality(Nullable(T)) and SimpleAggregateFunction(f, Nullable(T)) come through as pointers that a sql.Null wrapper cannot scan; they take the pointer form now. sqlc-test-setup start skips SQL Server wherever install did, rather than failing on an Ubuntu release the packages are not published for. Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_015rfiHyC4iRLyRWc3UmYEtT * plugin: pass the placeholder's name on Parameter rather than a flag The name a placeholder carries, @name or {name:Type}, is what the driver binds by, so the plugin Parameter carries it as name, collected from the query's ParamRef nodes by the compiler rather than taken from the analyzer, which also names a parameter after the function it is compared with. The Go codegen passes it to sql.Named instead of the column's name. Co-Authored-By: Claude Fable 5.1 Claude-Session: https://claude.ai/code/session_015rfiHyC4iRLyRWc3UmYEtT * codegen/golang: bind parameters the new engines' drivers accept, and keep driver imports to those engines - The driver packages the ClickHouse, DuckDB, Spanner and SQL Server mappers draw on are imported only for those engines, and not when an override's type carries the same qualifier. A PostgreSQL numeric overridden to another package's decimal.Decimal imported shopspring's as well and did not compile. - ClickHouse parameters are typed for what clickhouse-go sends: the std driver never calls Value, and a {name:Type} placeholder is sent as text formatted from the value, so a sql.Null wrapper went out as its struct fields and a decimal, UUID, address or wide integer quoted. A nullable parameter is a pointer, and those types are strings. - DuckDB BIT scans into duckdb.Bit. A DECIMAL parameter is passed as its text and a STRUCT parameter as a map, or any when nullable, since the driver binds neither a Decimal nor a pointer to a map, and binds a nil map as a struct of nulls. - Repeated {name:Type} placeholders share one parameter, and SQL Server compares @name without regard to case, so @Name and @name are one. - A query that mixes named placeholders with positional ones, such as the ? sqlc.arg becomes, is an error: it cannot be bound either way. - The four engines reject a sql_package other than database/sql. - A catalog column's type_expr says whether it is nullable, as a result column's does. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01KRHPAjUHm5bE8noT5ut2C5 * sqlc-test-setup: wait for SQL Server and Spanner Omni to serve, and keep interrupted installs from looking done - start waits for SQL Server's log to say it is ready even when the service is already listening, as it is once mssql-conf setup starts it through systemd, rather than returning while it recovers its databases. A server this machine does not run, such as docker-compose's, still counts once it listens. - A failed mssql-conf setup is tolerated only where there is no systemd, the one failure that leaves a usable configuration behind, and an install that stopped before setup finished reruns it rather than reporting SQL Server installed. The setup command line, which carries the sa password, is no longer logged. - Spanner Omni counts as ready once ListDatabases on its default instance succeeds, not once its port accepts a connection, which it does before the instance exists. The request is encoded by hand, so the Spanner client libraries stay out of the module. - The Omni release is unpacked in process into a directory beside where it goes and moved into place whole, so an interrupted unpack no longer leaves a launcher that looks installed. - Downloads time out after 15 minutes, and the examples job after 45; its Go cache covers the examples module's go.sum as well. - docs: say which of the new engines' types still come out as any, and how DuckDB's JSON columns are read. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01KRHPAjUHm5bE8noT5ut2C5 * examples: regenerate the ClickHouse authors example for pointer parameters Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01KRHPAjUHm5bE8noT5ut2C5 * duckdb: make JSON a type of its own DuckDB's catalog lists JSON as a spelling of VARCHAR, so the seed made it an alias and a JSON column came out as string. But DuckDB keeps JSON apart: typeof() reports it as JSON, and duckdb-go decodes a JSON value into whatever the document holds, which only any can receive. goldeneye now asks typeof() for each alias, and seeds a spelling that DuckDB reports by its own name as a type that stands on the logical type. For JSON that is the base varchar. The DuckDB Go mapper scans JSON into any and binds a JSON parameter from its text as a string. A new duckdb_json case covers columns, parameters and json_extract, and its generated code was run against DuckDB. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01KRHPAjUHm5bE8noT5ut2C5 --------- Co-authored-by: Claude --- .github/workflows/ci.yml | 43 +- CLAUDE.md | 30 +- Makefile | 2 + cmd/sqlc-test-setup/clickhouse.go | 295 + cmd/sqlc-test-setup/detach_other.go | 9 + cmd/sqlc-test-setup/detach_unix.go | 11 + cmd/sqlc-test-setup/main.go | 456 +- cmd/sqlc-test-setup/mssql.go | 276 + docker-compose.yml | 9 + docs/guides/development.md | 4 +- docs/reference/language-support.md | 25 +- examples/authors/clickhouse/db.go | 31 + examples/authors/clickhouse/db_test.go | 58 + examples/authors/clickhouse/models.go | 15 + examples/authors/clickhouse/query.sql | 18 + examples/authors/clickhouse/query.sql.go | 79 + examples/authors/clickhouse/schema.sql | 5 + examples/authors/duckdb/db.go | 31 + examples/authors/duckdb/db_test.go | 66 + examples/authors/duckdb/models.go | 15 + examples/authors/duckdb/query.sql | 19 + examples/authors/duckdb/query.sql.go | 82 + examples/authors/duckdb/schema.sql | 7 + examples/authors/googlesql/db.go | 31 + examples/authors/googlesql/db_test.go | 58 + examples/authors/googlesql/models.go | 15 + examples/authors/googlesql/query.sql | 18 + examples/authors/googlesql/query.sql.go | 82 + examples/authors/googlesql/schema.sql | 5 + examples/authors/mssql/db.go | 31 + examples/authors/mssql/db_test.go | 57 + examples/authors/mssql/models.go | 15 + examples/authors/mssql/query.sql | 19 + examples/authors/mssql/query.sql.go | 82 + examples/authors/mssql/schema.sql | 5 + examples/authors/sqlc.yaml | 32 + examples/go.mod | 108 + examples/go.sum | 329 + examples/internal/local/clickhouse.go | 101 + examples/internal/local/local.go | 20 + examples/internal/local/mssql.go | 90 + examples/internal/local/spanner.go | 73 + go.mod | 12 +- go.sum | 28 +- internal/cmd/shim.go | 39 + internal/codegen/golang/clickhouse_type.go | 180 + internal/codegen/golang/driver.go | 54 +- internal/codegen/golang/duckdb_type.go | 157 + internal/codegen/golang/field.go | 15 +- internal/codegen/golang/gen.go | 4 + internal/codegen/golang/go_type.go | 47 +- internal/codegen/golang/googlesql_type.go | 102 + internal/codegen/golang/imports.go | 143 +- internal/codegen/golang/mssql_type.go | 65 + internal/codegen/golang/query.go | 36 +- internal/codegen/golang/result.go | 53 +- internal/codegen/golang/type_expr.go | 72 + internal/compiler/catalog_core.go | 4 + internal/compiler/parse_core.go | 42 +- internal/compiler/query.go | 4 + internal/core/analyzer/analyzer.go | 2 +- internal/core/analyzer/dml.go | 2 +- internal/core/analyzer/expr.go | 35 +- internal/endtoend/endtoend_test.go | 15 + .../testdata/analyze_dml/mssql/stdout.json | 2 +- .../analyze_types/bigquery/stdout.json | 10 +- .../testdata/analyze_types/duckdb/stdout.json | 2 +- .../analyze_types/googlesql/stdout.json | 8 +- .../testdata/analyze_types/mssql/stdout.json | 14 +- .../clickhouse/exec.json | 1 + .../clickhouse/query.sql | 2 + .../clickhouse/schema.sql | 9 + .../clickhouse/sqlc.yaml | 10 + .../clickhouse/stderr.txt | 2 + .../clickhouse/exec.json | 1 + .../clickhouse/go/db.go | 31 + .../clickhouse/go/models.go | 24 + .../clickhouse/go/query.sql.go | 100 + .../clickhouse/query.sql | 11 + .../clickhouse/schema.sql | 9 + .../clickhouse/sqlc.yaml | 10 + .../testdata/codegen_json/gen/codegen.json | 7449 +++++++++++------ .../codegen_json_type_expr/duckdb/query.sql | 2 + .../codegen_json_type_expr/duckdb/schema.sql | 10 + .../testdata/codegen_json_type_expr/exec.json | 3 + .../codegen_json_type_expr/gen/codegen.json | 810 ++ .../testdata/codegen_json_type_expr/sqlc.json | 17 + .../testdata/core_types/clickhouse/exec.json | 3 + .../testdata/core_types/clickhouse/go/db.go | 31 + .../core_types/clickhouse/go/models.go | 44 + .../core_types/clickhouse/go/query.sql.go | 200 + .../testdata/core_types/clickhouse/query.sql | 19 + .../testdata/core_types/clickhouse/schema.sql | 28 + .../testdata/core_types/clickhouse/sqlc.yaml | 10 + .../testdata/core_types/duckdb/exec.json | 3 + .../testdata/core_types/duckdb/go/db.go | 31 + .../testdata/core_types/duckdb/go/models.go | 43 + .../core_types/duckdb/go/query.sql.go | 156 + .../testdata/core_types/duckdb/query.sql | 18 + .../testdata/core_types/duckdb/schema.sql | 31 + .../testdata/core_types/duckdb/sqlc.yaml | 10 + .../testdata/core_types/googlesql/exec.json | 3 + .../testdata/core_types/googlesql/go/db.go | 31 + .../core_types/googlesql/go/models.go | 28 + .../core_types/googlesql/go/query.sql.go | 120 + .../testdata/core_types/googlesql/query.sql | 14 + .../testdata/core_types/googlesql/schema.sql | 16 + .../testdata/core_types/googlesql/sqlc.yaml | 10 + .../testdata/core_types/mssql/exec.json | 3 + .../testdata/core_types/mssql/go/db.go | 31 + .../testdata/core_types/mssql/go/models.go | 46 + .../testdata/core_types/mssql/go/querier.go | 17 + .../testdata/core_types/mssql/go/query.sql.go | 158 + .../testdata/core_types/mssql/query.sql | 24 + .../testdata/core_types/mssql/schema.sql | 37 + .../testdata/core_types/mssql/sqlc.yaml | 11 + .../testdata/duckdb_json/duckdb/exec.json | 3 + .../testdata/duckdb_json/duckdb/go/db.go | 31 + .../testdata/duckdb_json/duckdb/go/models.go | 11 + .../duckdb_json/duckdb/go/query.sql.go | 92 + .../testdata/duckdb_json/duckdb/query.sql | 15 + .../testdata/duckdb_json/duckdb/schema.sql | 5 + .../testdata/duckdb_json/duckdb/sqlc.yaml | 10 + internal/endtoend/testdata/go.mod | 80 +- internal/endtoend/testdata/go.sum | 340 +- .../mssql_named_param_case/mssql/exec.json | 1 + .../mssql_named_param_case/mssql/go/db.go | 31 + .../mssql_named_param_case/mssql/go/models.go | 15 + .../mssql/go/query.sql.go | 38 + .../mssql_named_param_case/mssql/query.sql | 2 + .../mssql_named_param_case/mssql/schema.sql | 5 + .../mssql_named_param_case/mssql/sqlc.yaml | 10 + .../mssql_sql_package_pgx/mssql/exec.json | 1 + .../mssql_sql_package_pgx/mssql/query.sql | 2 + .../mssql_sql_package_pgx/mssql/schema.sql | 5 + .../mssql_sql_package_pgx/mssql/sqlc.yaml | 10 + .../mssql_sql_package_pgx/mssql/stderr.txt | 2 + .../decimal/decimal.go | 6 + .../postgresql/go/db.go | 31 + .../postgresql/go/models.go | 14 + .../postgresql/go/query.sql.go | 21 + .../postgresql/query.sql | 2 + .../postgresql/schema.sql | 4 + .../postgresql/sqlc.yaml | 12 + .../gen/codegen.json | 7449 +++++++++++------ internal/endtoend/vet_test.go | 3 + internal/engine/clickhouse/convert.go | 17 +- internal/engine/duckdb/dialect/types.jsonl | 3 +- internal/engine/googlesql/convert.go | 1 + internal/engine/mssql/convert.go | 29 +- internal/goldeneye/dialect/dialect.go | 4 +- internal/goldeneye/duckdb/duckdb.go | 58 +- internal/plugin/codegen.pb.go | 528 +- internal/sql/ast/param_ref.go | 3 +- internal/sql/catalog/table.go | 6 + protos/plugin/codegen.proto | 30 + 156 files changed, 17215 insertions(+), 5296 deletions(-) create mode 100644 cmd/sqlc-test-setup/clickhouse.go create mode 100644 cmd/sqlc-test-setup/detach_other.go create mode 100644 cmd/sqlc-test-setup/detach_unix.go create mode 100644 cmd/sqlc-test-setup/mssql.go create mode 100644 examples/authors/clickhouse/db.go create mode 100644 examples/authors/clickhouse/db_test.go create mode 100644 examples/authors/clickhouse/models.go create mode 100644 examples/authors/clickhouse/query.sql create mode 100644 examples/authors/clickhouse/query.sql.go create mode 100644 examples/authors/clickhouse/schema.sql create mode 100644 examples/authors/duckdb/db.go create mode 100644 examples/authors/duckdb/db_test.go create mode 100644 examples/authors/duckdb/models.go create mode 100644 examples/authors/duckdb/query.sql create mode 100644 examples/authors/duckdb/query.sql.go create mode 100644 examples/authors/duckdb/schema.sql create mode 100644 examples/authors/googlesql/db.go create mode 100644 examples/authors/googlesql/db_test.go create mode 100644 examples/authors/googlesql/models.go create mode 100644 examples/authors/googlesql/query.sql create mode 100644 examples/authors/googlesql/query.sql.go create mode 100644 examples/authors/googlesql/schema.sql create mode 100644 examples/authors/mssql/db.go create mode 100644 examples/authors/mssql/db_test.go create mode 100644 examples/authors/mssql/models.go create mode 100644 examples/authors/mssql/query.sql create mode 100644 examples/authors/mssql/query.sql.go create mode 100644 examples/authors/mssql/schema.sql create mode 100644 examples/go.mod create mode 100644 examples/go.sum create mode 100644 examples/internal/local/clickhouse.go create mode 100644 examples/internal/local/local.go create mode 100644 examples/internal/local/mssql.go create mode 100644 examples/internal/local/spanner.go create mode 100644 internal/codegen/golang/clickhouse_type.go create mode 100644 internal/codegen/golang/duckdb_type.go create mode 100644 internal/codegen/golang/googlesql_type.go create mode 100644 internal/codegen/golang/mssql_type.go create mode 100644 internal/codegen/golang/type_expr.go create mode 100644 internal/endtoend/testdata/clickhouse_mixed_placeholders/clickhouse/exec.json create mode 100644 internal/endtoend/testdata/clickhouse_mixed_placeholders/clickhouse/query.sql create mode 100644 internal/endtoend/testdata/clickhouse_mixed_placeholders/clickhouse/schema.sql create mode 100644 internal/endtoend/testdata/clickhouse_mixed_placeholders/clickhouse/sqlc.yaml create mode 100644 internal/endtoend/testdata/clickhouse_mixed_placeholders/clickhouse/stderr.txt create mode 100644 internal/endtoend/testdata/clickhouse_named_placeholders/clickhouse/exec.json create mode 100644 internal/endtoend/testdata/clickhouse_named_placeholders/clickhouse/go/db.go create mode 100644 internal/endtoend/testdata/clickhouse_named_placeholders/clickhouse/go/models.go create mode 100644 internal/endtoend/testdata/clickhouse_named_placeholders/clickhouse/go/query.sql.go create mode 100644 internal/endtoend/testdata/clickhouse_named_placeholders/clickhouse/query.sql create mode 100644 internal/endtoend/testdata/clickhouse_named_placeholders/clickhouse/schema.sql create mode 100644 internal/endtoend/testdata/clickhouse_named_placeholders/clickhouse/sqlc.yaml create mode 100644 internal/endtoend/testdata/codegen_json_type_expr/duckdb/query.sql create mode 100644 internal/endtoend/testdata/codegen_json_type_expr/duckdb/schema.sql create mode 100644 internal/endtoend/testdata/codegen_json_type_expr/exec.json create mode 100644 internal/endtoend/testdata/codegen_json_type_expr/gen/codegen.json create mode 100644 internal/endtoend/testdata/codegen_json_type_expr/sqlc.json create mode 100644 internal/endtoend/testdata/core_types/clickhouse/exec.json create mode 100644 internal/endtoend/testdata/core_types/clickhouse/go/db.go create mode 100644 internal/endtoend/testdata/core_types/clickhouse/go/models.go create mode 100644 internal/endtoend/testdata/core_types/clickhouse/go/query.sql.go create mode 100644 internal/endtoend/testdata/core_types/clickhouse/query.sql create mode 100644 internal/endtoend/testdata/core_types/clickhouse/schema.sql create mode 100644 internal/endtoend/testdata/core_types/clickhouse/sqlc.yaml create mode 100644 internal/endtoend/testdata/core_types/duckdb/exec.json create mode 100644 internal/endtoend/testdata/core_types/duckdb/go/db.go create mode 100644 internal/endtoend/testdata/core_types/duckdb/go/models.go create mode 100644 internal/endtoend/testdata/core_types/duckdb/go/query.sql.go create mode 100644 internal/endtoend/testdata/core_types/duckdb/query.sql create mode 100644 internal/endtoend/testdata/core_types/duckdb/schema.sql create mode 100644 internal/endtoend/testdata/core_types/duckdb/sqlc.yaml create mode 100644 internal/endtoend/testdata/core_types/googlesql/exec.json create mode 100644 internal/endtoend/testdata/core_types/googlesql/go/db.go create mode 100644 internal/endtoend/testdata/core_types/googlesql/go/models.go create mode 100644 internal/endtoend/testdata/core_types/googlesql/go/query.sql.go create mode 100644 internal/endtoend/testdata/core_types/googlesql/query.sql create mode 100644 internal/endtoend/testdata/core_types/googlesql/schema.sql create mode 100644 internal/endtoend/testdata/core_types/googlesql/sqlc.yaml create mode 100644 internal/endtoend/testdata/core_types/mssql/exec.json create mode 100644 internal/endtoend/testdata/core_types/mssql/go/db.go create mode 100644 internal/endtoend/testdata/core_types/mssql/go/models.go create mode 100644 internal/endtoend/testdata/core_types/mssql/go/querier.go create mode 100644 internal/endtoend/testdata/core_types/mssql/go/query.sql.go create mode 100644 internal/endtoend/testdata/core_types/mssql/query.sql create mode 100644 internal/endtoend/testdata/core_types/mssql/schema.sql create mode 100644 internal/endtoend/testdata/core_types/mssql/sqlc.yaml create mode 100644 internal/endtoend/testdata/duckdb_json/duckdb/exec.json create mode 100644 internal/endtoend/testdata/duckdb_json/duckdb/go/db.go create mode 100644 internal/endtoend/testdata/duckdb_json/duckdb/go/models.go create mode 100644 internal/endtoend/testdata/duckdb_json/duckdb/go/query.sql.go create mode 100644 internal/endtoend/testdata/duckdb_json/duckdb/query.sql create mode 100644 internal/endtoend/testdata/duckdb_json/duckdb/schema.sql create mode 100644 internal/endtoend/testdata/duckdb_json/duckdb/sqlc.yaml create mode 100644 internal/endtoend/testdata/mssql_named_param_case/mssql/exec.json create mode 100644 internal/endtoend/testdata/mssql_named_param_case/mssql/go/db.go create mode 100644 internal/endtoend/testdata/mssql_named_param_case/mssql/go/models.go create mode 100644 internal/endtoend/testdata/mssql_named_param_case/mssql/go/query.sql.go create mode 100644 internal/endtoend/testdata/mssql_named_param_case/mssql/query.sql create mode 100644 internal/endtoend/testdata/mssql_named_param_case/mssql/schema.sql create mode 100644 internal/endtoend/testdata/mssql_named_param_case/mssql/sqlc.yaml create mode 100644 internal/endtoend/testdata/mssql_sql_package_pgx/mssql/exec.json create mode 100644 internal/endtoend/testdata/mssql_sql_package_pgx/mssql/query.sql create mode 100644 internal/endtoend/testdata/mssql_sql_package_pgx/mssql/schema.sql create mode 100644 internal/endtoend/testdata/mssql_sql_package_pgx/mssql/sqlc.yaml create mode 100644 internal/endtoend/testdata/mssql_sql_package_pgx/mssql/stderr.txt create mode 100644 internal/endtoend/testdata/overrides_decimal_package/decimal/decimal.go create mode 100644 internal/endtoend/testdata/overrides_decimal_package/postgresql/go/db.go create mode 100644 internal/endtoend/testdata/overrides_decimal_package/postgresql/go/models.go create mode 100644 internal/endtoend/testdata/overrides_decimal_package/postgresql/go/query.sql.go create mode 100644 internal/endtoend/testdata/overrides_decimal_package/postgresql/query.sql create mode 100644 internal/endtoend/testdata/overrides_decimal_package/postgresql/schema.sql create mode 100644 internal/endtoend/testdata/overrides_decimal_package/postgresql/sqlc.yaml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b002f97c6c..289cdf4cb6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,6 +22,9 @@ jobs: CGO_ENABLED: "0" GOOS: ${{ matrix.goos }} GOARCH: ${{ matrix.goarch }} + + # sqlc's own tests: the end-to-end suite needs PostgreSQL and MySQL, which + # sqlc-test-setup installs on the runner. test: runs-on: ubuntu-24.04 steps: @@ -44,17 +47,17 @@ jobs: env: CGO_ENABLED: "0" + # A module of its own, so cgo stays on for the DuckDB driver the + # DuckDB golden imports. - name: build internal/endtoend run: go build ./... working-directory: internal/endtoend/testdata - env: - CGO_ENABLED: "0" - name: install databases - run: go run ./cmd/sqlc-test-setup install + run: go run ./cmd/sqlc-test-setup install postgresql mysql - name: start databases - run: go run ./cmd/sqlc-test-setup start + run: go run ./cmd/sqlc-test-setup start postgresql mysql - name: test ./... run: gotestsum --junitfile junit.xml -- --tags=examples -timeout 20m -failfast ./... @@ -66,6 +69,38 @@ jobs: MYSQL_SERVER_URI: "root:mysecretpassword@tcp(127.0.0.1:3306)/mysql?multiStatements=true&parseTime=true" CGO_ENABLED: "0" + # The examples run generated code against every database sqlc supports. + # They are a module of their own, so their drivers are not dependencies + # of sqlc, and cgo stays on for the DuckDB driver. sqlc-test-setup + # installs and starts every database on the runner. + examples: + runs-on: ubuntu-24.04 + timeout-minutes: 45 + steps: + - uses: actions/checkout@v7 + - uses: actions/setup-go@v7 + with: + go-version: '1.26.5' + cache-dependency-path: | + go.sum + examples/go.sum + + - name: install databases + run: go run ./cmd/sqlc-test-setup install + + - name: start databases + run: go run ./cmd/sqlc-test-setup start + + - name: test examples + run: go test --tags=examples -timeout 20m ./... + working-directory: examples + env: + POSTGRESQL_SERVER_URI: "postgres://postgres:postgres@127.0.0.1:5432/postgres?sslmode=disable" + MYSQL_SERVER_URI: "root:mysecretpassword@tcp(127.0.0.1:3306)/mysql?multiStatements=true&parseTime=true" + CLICKHOUSE_SERVER_URI: "clickhouse://default:mysecretpassword@127.0.0.1:9000" + MSSQL_SERVER_URI: "sqlserver://sa:Mysecretpassword1!@127.0.0.1:1433?encrypt=disable" + SPANNER_SERVER_URI: "localhost:15000" + vuln_check: runs-on: ubuntu-24.04 timeout-minutes: 5 diff --git a/CLAUDE.md b/CLAUDE.md index fb53dbb230..e0ac33cb9e 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -12,7 +12,7 @@ This document provides essential information for working with the sqlc codebase, ## Database Setup with sqlc-test-setup -The `sqlc-test-setup` tool (`cmd/sqlc-test-setup/`) automates installing and starting PostgreSQL and MySQL for tests. Both commands are idempotent and safe to re-run. +The `sqlc-test-setup` tool (`cmd/sqlc-test-setup/`) automates installing and starting PostgreSQL, MySQL, ClickHouse, SQL Server and Spanner Omni for tests. Both commands are idempotent and safe to re-run, and take the databases to act on as arguments (`postgresql`, `mysql`, `clickhouse`, `mssql`, `spanner`); with none named they act on all five. ### Install databases @@ -24,6 +24,9 @@ This will: - Configure the apt proxy (if `http_proxy` is set, e.g. in Claude Code remote environments) - Install PostgreSQL via apt - Download and install MySQL 26.7 from Oracle's deb bundle +- Download the ClickHouse 25.8 release into the user cache, where goldeneye caches it too +- Install SQL Server 2025 from Microsoft's apt repository and run its setup, accepting the EULA on your behalf (Ubuntu 22.04 and 24.04 only) +- Download the Spanner Omni standalone server release into the user cache (linux/amd64 only) - Resolve all dependencies automatically - Skip anything already installed @@ -36,12 +39,20 @@ go run ./cmd/sqlc-test-setup start This will: - Start PostgreSQL and configure password auth (`postgres`/`postgres`) - Start MySQL via `mysqld_safe` and set root password (`mysecretpassword`) -- Verify both connections +- Start a ClickHouse server in the background on localhost, with the default user's password `mysecretpassword` +- Start SQL Server through systemd, or in the background where there is no systemd, with the sa password `Mysecretpassword1!` +- Start a Spanner Omni single server in the background, serving plaintext gRPC on port 15000 +- Verify the connections - Skip steps that are already done (running services, existing config) Connection URIs after start: - PostgreSQL: `postgres://postgres:postgres@127.0.0.1:5432/postgres?sslmode=disable` - MySQL: `root:mysecretpassword@tcp(127.0.0.1:3306)/mysql` +- ClickHouse: `clickhouse://default:mysecretpassword@127.0.0.1:9000` (`CLICKHOUSE_SERVER_URI`) +- SQL Server: `sqlserver://sa:Mysecretpassword1!@127.0.0.1:1433?encrypt=disable` (`MSSQL_SERVER_URI`) +- Spanner Omni: `localhost:15000` (`SPANNER_SERVER_URI`) + +The examples' tests for ClickHouse, SQL Server and Spanner read those variables and skip when unset. `docker-compose.yml` runs the same databases for anyone who prefers containers. ### Run tests @@ -172,9 +183,13 @@ them as an artifact. ### Example Tests -- **Location:** `/examples/` directory -- **Requirements:** Tagged with "examples", requires live databases -- **Databases:** PostgreSQL, MySQL, SQLite examples +- **Location:** `/examples/` directory, a Go module of its own so the + drivers the examples run against are not dependencies of sqlc, and so + cgo stays on for the DuckDB driver +- **Requirements:** Tagged with "examples", requires live databases; run + with `cd examples && go test --tags=examples ./...` +- **Databases:** PostgreSQL, MySQL, SQLite, ClickHouse, DuckDB, Spanner and + SQL Server examples; each skips when its server is not named ## Database Services @@ -207,8 +222,9 @@ make start # Start database containers - **File:** `.github/workflows/ci.yml` - **Go Version:** 1.26.4 -- **Database Setup:** Uses `sqlc-test-setup` (not Docker) to install and start PostgreSQL and MySQL directly on the runner -- **Test Command:** `gotestsum --junitfile junit.xml -- --tags=examples -timeout 20m ./...` +- **Jobs:** `build` cross-compiles sqlc with cgo off; `test` runs sqlc's own tests; `examples` runs the examples module against every database; `vuln_check` runs `govulncheck` +- **Database Setup:** `sqlc-test-setup` (not Docker) installs and starts the databases directly on the runner: PostgreSQL and MySQL for `test`, and all five for `examples` +- **Test Command:** `gotestsum --junitfile junit.xml -- --tags=examples -timeout 20m ./...` in `test`, and `go test --tags=examples ./...` under `examples/` in `examples` - **Additional Checks:** `govulncheck` for vulnerability scanning ## Development Workflow diff --git a/Makefile b/Makefile index 52416e1f2a..b3f9874d36 100644 --- a/Makefile +++ b/Makefile @@ -14,9 +14,11 @@ test-managed: vet: go vet ./... + cd ./examples && go vet --tags=examples ./... test-examples: go test --tags=examples ./... + cd ./examples && go test --tags=examples ./... build-endtoend: cd ./internal/endtoend/testdata && go build ./... diff --git a/cmd/sqlc-test-setup/clickhouse.go b/cmd/sqlc-test-setup/clickhouse.go new file mode 100644 index 0000000000..8fc86b0ccc --- /dev/null +++ b/cmd/sqlc-test-setup/clickhouse.go @@ -0,0 +1,295 @@ +package main + +import ( + "archive/tar" + "compress/gzip" + "crypto/sha512" + "encoding/hex" + "errors" + "fmt" + "io" + "log" + "net" + "os" + "os/exec" + "path/filepath" + "runtime" + "strings" + "time" +) + +const ( + // clickhouseVersion is the ClickHouse release to install. It is the + // release internal/goldeneye generates the dialect from, and the binary + // is cached where goldeneye caches it, so the two share one download. + clickhouseVersion = "25.8.2.29" + + // clickhousePassword is the password the default user is given: the + // one docker-compose.yml and CI use. + clickhousePassword = "mysecretpassword" + + clickhouseTCPPort = "9000" + clickhouseHTTPPort = "8123" +) + +// clickhouseAsset is one downloadable build of ClickHouse: a +// clickhouse-common-static tarball holding the binary at usr/bin/clickhouse, +// with the SHA-512 ClickHouse publishes next to it. +type clickhouseAsset struct { + URL string + SHA512 string +} + +var clickhouseAssets = map[string]clickhouseAsset{ + "linux/amd64": { + URL: "https://github.com/ClickHouse/ClickHouse/releases/download/v" + clickhouseVersion + "-lts/clickhouse-common-static-" + clickhouseVersion + "-amd64.tgz", + SHA512: "6ff0aa1ffac6e564970174422ecde0d645cdb96812247a6e544d39cad6d78a514265f90a2bc7b4bad49903cea96eddd16a415a45b2aeaf9164461be76331bdee", + }, + "linux/arm64": { + URL: "https://github.com/ClickHouse/ClickHouse/releases/download/v" + clickhouseVersion + "-lts/clickhouse-common-static-" + clickhouseVersion + "-arm64.tgz", + SHA512: "68204ca4d4e472790f808ee376251fae82e58066a31f35a40d15d442ce5988d697f18a1208d28b8bb8e2dfad4b20b7fcb5107e2178472abcd97251b8de7f058e", + }, +} + +// clickhouseDir is where the release is cached, and the server's +// configuration and data are kept under it. +func clickhouseDir() (string, error) { + cache, err := os.UserCacheDir() + if err != nil { + return "", err + } + return filepath.Join(cache, "sqlc-clickhouse", clickhouseVersion), nil +} + +func clickhouseBinary(dir string) string { + return filepath.Join(dir, "clickhouse") +} + +// installClickHouse downloads the ClickHouse release for this platform and +// unpacks its binary into the cache, checking the download against the +// pinned SHA-512. It is a no-op when the binary is already there, and +// skips platforms the release is not published for. +func installClickHouse() error { + log.Printf("--- Installing ClickHouse %s ---", clickhouseVersion) + + platform := runtime.GOOS + "/" + runtime.GOARCH + asset, ok := clickhouseAssets[platform] + if !ok { + log.Printf("clickhouse is not published for %s, skipping", platform) + return nil + } + + dir, err := clickhouseDir() + if err != nil { + return err + } + binary := clickhouseBinary(dir) + if _, err := os.Stat(binary); err == nil { + log.Printf("clickhouse %s is already installed at %s", clickhouseVersion, binary) + return nil + } + if err := os.MkdirAll(dir, 0o755); err != nil { + return err + } + + archive := filepath.Join(dir, "clickhouse.tgz") + log.Printf("downloading %s", asset.URL) + if err := downloadFile(archive, asset.URL); err != nil { + return fmt.Errorf("downloading clickhouse: %w", err) + } + defer os.Remove(archive) + + sum, err := sha512File(archive) + if err != nil { + return err + } + if sum != asset.SHA512 { + return fmt.Errorf("clickhouse download has SHA-512 %s, want %s", sum, asset.SHA512) + } + + log.Printf("unpacking the binary into %s", binary) + if err := extractClickHouse(archive, binary); err != nil { + return fmt.Errorf("unpacking clickhouse: %w", err) + } + return nil +} + +// extractClickHouse copies usr/bin/clickhouse out of the release tarball. +func extractClickHouse(archive, binary string) error { + f, err := os.Open(archive) + if err != nil { + return err + } + defer f.Close() + gz, err := gzip.NewReader(f) + if err != nil { + return err + } + tr := tar.NewReader(gz) + for { + hdr, err := tr.Next() + if errors.Is(err, io.EOF) { + return errors.New("tarball does not contain usr/bin/clickhouse") + } + if err != nil { + return err + } + if hdr.Typeflag != tar.TypeReg || !strings.HasSuffix(hdr.Name, "/usr/bin/clickhouse") { + continue + } + tmp, err := os.CreateTemp(filepath.Dir(binary), "clickhouse-*.partial") + if err != nil { + return err + } + if _, err := io.Copy(tmp, tr); err != nil { + tmp.Close() + os.Remove(tmp.Name()) + return err + } + if err := tmp.Close(); err != nil { + os.Remove(tmp.Name()) + return err + } + if err := os.Chmod(tmp.Name(), 0o755); err != nil { + os.Remove(tmp.Name()) + return err + } + return os.Rename(tmp.Name(), binary) + } +} + +// sha512File computes the SHA-512 hash of a file and returns the hex string. +func sha512File(path string) (string, error) { + f, err := os.Open(path) + if err != nil { + return "", err + } + defer f.Close() + h := sha512.New() + if _, err := io.Copy(h, f); err != nil { + return "", err + } + return hex.EncodeToString(h.Sum(nil)), nil +} + +// clickhouseConfig is the server's configuration: it listens on localhost +// only, keeps its data next to the configuration, and takes its users from +// users.xml beside it. +const clickhouseConfig = ` + + warning + 1 + + ./data/ + ` + clickhouseTCPPort + ` + ` + clickhouseHTTPPort + ` + 127.0.0.1 + users.xml + + + users.xml + + + +` + +// clickhouseUsers gives the default user a password. Without one the +// server restricts the user to localhost, which is fine here, but the +// tests, docker-compose.yml and CI all connect with the same password. +const clickhouseUsers = ` + + + + + + + + + ` + clickhousePassword + ` + + ::/0 + + default + default + + + +` + +// startClickHouse starts a ClickHouse server in the background, serving +// on localhost, and waits until it answers a query. It is a no-op when a +// server already does, and skips platforms the release is not installed +// on. +func startClickHouse() error { + log.Println("--- Starting ClickHouse ---") + + dir, err := clickhouseDir() + if err != nil { + return err + } + binary := clickhouseBinary(dir) + if _, err := os.Stat(binary); err != nil { + if _, ok := clickhouseAssets[runtime.GOOS+"/"+runtime.GOARCH]; !ok { + log.Printf("clickhouse is not published for %s/%s, skipping", runtime.GOOS, runtime.GOARCH) + return nil + } + return fmt.Errorf("clickhouse is not installed: run `sqlc-test-setup install clickhouse` first") + } + + if clickhouseReady(binary) { + log.Println("clickhouse is already running and accepting connections") + return nil + } + + server := filepath.Join(dir, "server") + if err := os.MkdirAll(filepath.Join(server, "data"), 0o755); err != nil { + return err + } + if err := os.WriteFile(filepath.Join(server, "config.xml"), []byte(clickhouseConfig), 0o644); err != nil { + return err + } + if err := os.WriteFile(filepath.Join(server, "users.xml"), []byte(clickhouseUsers), 0o644); err != nil { + return err + } + logFile, err := os.Create(filepath.Join(server, "server.log")) + if err != nil { + return err + } + defer logFile.Close() + + cmd := exec.Command(binary, "server", "--config-file="+filepath.Join(server, "config.xml")) + cmd.Dir = server + cmd.Stdout = logFile + cmd.Stderr = logFile + cmd.SysProcAttr = detachedProcess() + log.Printf("starting %s server in %s", binary, server) + if err := cmd.Start(); err != nil { + return fmt.Errorf("starting clickhouse: %w", err) + } + if err := cmd.Process.Release(); err != nil { + return err + } + + log.Println("waiting for clickhouse to accept connections") + deadline := time.Now().Add(2 * time.Minute) + for time.Now().Before(deadline) { + if clickhouseReady(binary) { + log.Println("clickhouse is accepting connections") + return nil + } + time.Sleep(time.Second) + } + return fmt.Errorf("clickhouse did not start in time (see %s)", logFile.Name()) +} + +// clickhouseReady reports whether a server answers on the TCP port with +// the expected password. +func clickhouseReady(binary string) bool { + conn, err := net.DialTimeout("tcp", "127.0.0.1:"+clickhouseTCPPort, time.Second) + if err != nil { + return false + } + conn.Close() + return exec.Command(binary, "client", "--host", "127.0.0.1", "--port", clickhouseTCPPort, + "--password", clickhousePassword, "-q", "SELECT 1").Run() == nil +} diff --git a/cmd/sqlc-test-setup/detach_other.go b/cmd/sqlc-test-setup/detach_other.go new file mode 100644 index 0000000000..f2cf139d88 --- /dev/null +++ b/cmd/sqlc-test-setup/detach_other.go @@ -0,0 +1,9 @@ +//go:build !unix + +package main + +import "syscall" + +func detachedProcess() *syscall.SysProcAttr { + return nil +} diff --git a/cmd/sqlc-test-setup/detach_unix.go b/cmd/sqlc-test-setup/detach_unix.go new file mode 100644 index 0000000000..3fd7943f19 --- /dev/null +++ b/cmd/sqlc-test-setup/detach_unix.go @@ -0,0 +1,11 @@ +//go:build unix + +package main + +import "syscall" + +// detachedProcess puts a child in a session of its own, so it outlives +// this process and is not stopped by the signals this process gets. +func detachedProcess() *syscall.SysProcAttr { + return &syscall.SysProcAttr{Setsid: true} +} diff --git a/cmd/sqlc-test-setup/main.go b/cmd/sqlc-test-setup/main.go index 2aef6fd5f8..befe938930 100644 --- a/cmd/sqlc-test-setup/main.go +++ b/cmd/sqlc-test-setup/main.go @@ -1,6 +1,9 @@ package main import ( + "archive/tar" + "compress/gzip" + "context" "crypto/sha256" "encoding/hex" "fmt" @@ -14,13 +17,44 @@ import ( "strconv" "strings" "time" + + "google.golang.org/grpc" + "google.golang.org/grpc/credentials/insecure" + "google.golang.org/protobuf/encoding/protowire" ) const ( // pgVersion is the PostgreSQL version to install. pgVersion = "18.2.0" + + // omniVersion is the Spanner Omni release to install, from its + // standalone server binaries. + omniVersion = "2026.r2.1-beta" + + // omniPort is the gRPC port a Spanner Omni single server listens on. + omniPort = "15000" + + // omniInstance is the instance a Spanner Omni single server provides. + omniInstance = "projects/default/instances/default" ) +// omniBinary contains the download information for a Spanner Omni server +// release, published at https://storage.googleapis.com/spanner-omni/ and +// documented at https://docs.cloud.google.com/spanner-omni/download. +type omniBinary struct { + URL string + SHA256 string +} + +// omniBinaries maps "/" to the server download. Only linux +// x86_64 is published; the other platforms skip Spanner Omni. +var omniBinaries = map[string]omniBinary{ + "linux/amd64": { + URL: "https://storage.googleapis.com/spanner-omni/" + omniVersion + "/spanner-omni-server-" + omniVersion + "-linux-x86_64.tar.gz", + SHA256: "792ffc772d5fff8ade56a8f336993d671d22794fe9f7e88e38a6609c65e16d90", + }, +} + // pgBinary contains the download information for a PostgreSQL binary release. type pgBinary struct { URL string @@ -44,25 +78,62 @@ func main() { log.SetPrefix("[sqlc-test-setup] ") if len(os.Args) < 2 { - fmt.Fprintln(os.Stderr, "usage: sqlc-test-setup ") + fmt.Fprintln(os.Stderr, usage) + os.Exit(1) + } + + services, err := selectServices(os.Args[2:]) + if err != nil { + fmt.Fprintf(os.Stderr, "%s\n%s\n", err, usage) os.Exit(1) } switch os.Args[1] { case "install": - if err := runInstall(); err != nil { + if err := runInstall(services); err != nil { log.Fatalf("install failed: %s", err) } case "start": - if err := runStart(); err != nil { + if err := runStart(services); err != nil { log.Fatalf("start failed: %s", err) } default: - fmt.Fprintf(os.Stderr, "unknown command: %s\nusage: sqlc-test-setup \n", os.Args[1]) + fmt.Fprintf(os.Stderr, "unknown command: %s\n%s\n", os.Args[1], usage) os.Exit(1) } } +const usage = "usage: sqlc-test-setup [postgresql|mysql|clickhouse|mssql|spanner ...]" + +// allServices is every database the tool knows, in the order they are +// installed and started. +var allServices = []string{"postgresql", "mysql", "clickhouse", "mssql", "spanner"} + +// selectServices reads the databases named on the command line, or every +// database when none is named. +func selectServices(args []string) (map[string]bool, error) { + selected := map[string]bool{} + if len(args) == 0 { + for _, name := range allServices { + selected[name] = true + } + return selected, nil + } + for _, arg := range args { + known := false + for _, name := range allServices { + if arg == name { + known = true + } + } + if !known { + return nil, fmt.Errorf("unknown database: %s", arg) + } + selected[arg] = true + } + return selected, nil +} + // run executes a command with verbose logging, streaming output to stderr. func run(name string, args ...string) error { log.Printf("exec: %s %s", name, strings.Join(args, " ")) @@ -143,19 +214,43 @@ func pgBin(name string) string { // ---- install ---- -func runInstall() error { - log.Println("=== Installing PostgreSQL and MySQL for test setup ===") +func runInstall(services map[string]bool) error { + log.Println("=== Installing databases for test setup ===") + + if services["postgresql"] || services["mysql"] || services["mssql"] { + if err := installAptProxy(); err != nil { + return fmt.Errorf("configuring apt proxy: %w", err) + } + } + + if services["postgresql"] { + if err := installPostgreSQL(); err != nil { + return fmt.Errorf("installing postgresql: %w", err) + } + } + + if services["mysql"] { + if err := installMySQL(); err != nil { + return fmt.Errorf("installing mysql: %w", err) + } + } - if err := installAptProxy(); err != nil { - return fmt.Errorf("configuring apt proxy: %w", err) + if services["clickhouse"] { + if err := installClickHouse(); err != nil { + return fmt.Errorf("installing clickhouse: %w", err) + } } - if err := installPostgreSQL(); err != nil { - return fmt.Errorf("installing postgresql: %w", err) + if services["mssql"] { + if err := installMSSQL(); err != nil { + return fmt.Errorf("installing sql server: %w", err) + } } - if err := installMySQL(); err != nil { - return fmt.Errorf("installing mysql: %w", err) + if services["spanner"] { + if err := installSpannerOmni(); err != nil { + return fmt.Errorf("installing spanner omni: %w", err) + } } log.Println("=== Install complete ===") @@ -274,9 +369,13 @@ func supportedPlatforms() string { return strings.Join(platforms, ", ") } +// downloadClient fetches the releases. Its timeout covers the whole +// download, so a stalled one fails rather than hanging the run. +var downloadClient = &http.Client{Timeout: 15 * time.Minute} + // downloadFile downloads a URL to a local file path. func downloadFile(filepath string, url string) error { - resp, err := http.Get(url) + resp, err := downloadClient.Get(url) if err != nil { return err } @@ -396,20 +495,333 @@ func installMySQL() error { // ---- start ---- -func runStart() error { - log.Println("=== Starting PostgreSQL and MySQL ===") +func runStart(services map[string]bool) error { + log.Println("=== Starting databases ===") + + if services["postgresql"] { + if err := startPostgreSQL(); err != nil { + return fmt.Errorf("starting postgresql: %w", err) + } + } + + if services["mysql"] { + if err := startMySQL(); err != nil { + return fmt.Errorf("starting mysql: %w", err) + } + } + + if services["clickhouse"] { + if err := startClickHouse(); err != nil { + return fmt.Errorf("starting clickhouse: %w", err) + } + } + + if services["mssql"] { + if err := startMSSQL(); err != nil { + return fmt.Errorf("starting sql server: %w", err) + } + } + + if services["spanner"] { + if err := startSpannerOmni(); err != nil { + return fmt.Errorf("starting spanner omni: %w", err) + } + } + + log.Println("=== Databases are running and configured ===") + if services["postgresql"] { + log.Println("PostgreSQL: postgres://postgres:postgres@127.0.0.1:5432/postgres?sslmode=disable") + } + if services["mysql"] { + log.Println("MySQL: root:mysecretpassword@tcp(127.0.0.1:3306)/mysql") + } + if services["clickhouse"] { + log.Println("ClickHouse: clickhouse://default:" + clickhousePassword + "@127.0.0.1:" + clickhouseTCPPort) + } + if services["mssql"] { + log.Println("SQL Server: sqlserver://sa:" + mssqlSAPassword + "@127.0.0.1:" + mssqlPort + "?encrypt=disable") + } + if services["spanner"] { + log.Println("Spanner Omni: localhost:" + omniPort) + } + return nil +} + +// omniDir is where the Spanner Omni release is unpacked: the bin directory +// holds the spanner launcher and spanner_server, and data holds what a +// started server writes. +func omniDir() (string, error) { + cache, err := os.UserCacheDir() + if err != nil { + return "", err + } + return filepath.Join(cache, "sqlc-spanner-omni", omniVersion), nil +} + +// omniRelease is the directory the release is unpacked into. It is moved +// into place whole once unpacked, so it holds the whole release or is +// missing. +func omniRelease(dir string) string { + return filepath.Join(dir, "release") +} + +func omniLauncher(dir string) string { + return filepath.Join(omniRelease(dir), "google", "spanner", "bin", "spanner") +} + +// installSpannerOmni downloads the Spanner Omni server release into the +// cache and unpacks it, checking the download against the pinned SHA-256. +// It is a no-op when the release is already unpacked, and skips platforms +// the server is not published for. +func installSpannerOmni() error { + log.Printf("--- Installing Spanner Omni %s ---", omniVersion) + + platform := runtime.GOOS + "/" + runtime.GOARCH + bin, ok := omniBinaries[platform] + if !ok { + log.Printf("spanner omni is not published for %s, skipping", platform) + return nil + } + + dir, err := omniDir() + if err != nil { + return err + } + if _, err := os.Stat(omniLauncher(dir)); err == nil { + log.Printf("spanner omni %s is already installed in %s", omniVersion, dir) + return nil + } + if err := os.MkdirAll(dir, 0o755); err != nil { + return err + } - if err := startPostgreSQL(); err != nil { - return fmt.Errorf("starting postgresql: %w", err) + archive := filepath.Join(dir, "server.tar.gz") + log.Printf("downloading %s", bin.URL) + if err := downloadFile(archive, bin.URL); err != nil { + return fmt.Errorf("downloading spanner omni: %w", err) } + defer os.Remove(archive) - if err := startMySQL(); err != nil { - return fmt.Errorf("starting mysql: %w", err) + sum, err := sha256File(archive) + if err != nil { + return err + } + if sum != bin.SHA256 { + return fmt.Errorf("spanner omni download has SHA-256 %s, want %s", sum, bin.SHA256) } - log.Println("=== Both databases are running and configured ===") - log.Println("PostgreSQL: postgres://postgres:postgres@127.0.0.1:5432/postgres?sslmode=disable") - log.Println("MySQL: root:mysecretpassword@tcp(127.0.0.1:3306)/mysql") + // The release is unpacked beside where it goes and moved into place + // once whole, so an interrupted unpack leaves nothing that looks + // installed. + tmp, err := os.MkdirTemp(dir, "release-") + if err != nil { + return err + } + defer os.RemoveAll(tmp) + if err := os.Chmod(tmp, 0o755); err != nil { + return err + } + log.Printf("unpacking into %s", omniRelease(dir)) + if err := extractTarGz(archive, tmp); err != nil { + return fmt.Errorf("unpacking spanner omni: %w", err) + } + if _, err := os.Stat(filepath.Join(tmp, "google", "spanner", "bin", "spanner")); err != nil { + return fmt.Errorf("spanner omni release does not hold google/spanner/bin/spanner") + } + if err := os.RemoveAll(omniRelease(dir)); err != nil { + return err + } + return os.Rename(tmp, omniRelease(dir)) +} + +// extractTarGz unpacks a gzipped tar archive into dir, refusing entries +// that would land outside it. +func extractTarGz(archive, dir string) error { + f, err := os.Open(archive) + if err != nil { + return err + } + defer f.Close() + gz, err := gzip.NewReader(f) + if err != nil { + return err + } + defer gz.Close() + + root, err := os.OpenRoot(dir) + if err != nil { + return err + } + defer root.Close() + + tr := tar.NewReader(gz) + for { + hdr, err := tr.Next() + if err == io.EOF { + return nil + } + if err != nil { + return err + } + name := filepath.Clean(hdr.Name) + if !filepath.IsLocal(name) { + return fmt.Errorf("archive entry %q is outside the release", hdr.Name) + } + mode := hdr.FileInfo().Mode().Perm() + switch hdr.Typeflag { + case tar.TypeDir: + if err := root.MkdirAll(name, 0o755); err != nil { + return err + } + case tar.TypeReg: + if err := root.MkdirAll(filepath.Dir(name), 0o755); err != nil { + return err + } + out, err := root.OpenFile(name, os.O_CREATE|os.O_WRONLY|os.O_TRUNC, mode) + if err != nil { + return err + } + _, err = io.Copy(out, tr) + if cerr := out.Close(); err == nil { + err = cerr + } + if err != nil { + return err + } + case tar.TypeSymlink: + target := filepath.Join(filepath.Dir(name), hdr.Linkname) + if filepath.IsAbs(hdr.Linkname) || !filepath.IsLocal(target) { + return fmt.Errorf("archive link %q points outside the release", hdr.Name) + } + if err := root.MkdirAll(filepath.Dir(name), 0o755); err != nil { + return err + } + if err := root.Symlink(hdr.Linkname, name); err != nil { + return err + } + default: + return fmt.Errorf("archive entry %q has unsupported type %q", hdr.Name, hdr.Typeflag) + } + } +} + +// startSpannerOmni starts a Spanner Omni single server in the background, +// serving plaintext gRPC on omniPort, and waits until it serves its +// default instance. It is a no-op when a server already does, and skips +// platforms the server is not installed on. +func startSpannerOmni() error { + log.Println("--- Starting Spanner Omni ---") + + if omniReady() { + log.Println("spanner omni is already running and serving its default instance") + return nil + } + + dir, err := omniDir() + if err != nil { + return err + } + launcher := omniLauncher(dir) + if _, err := os.Stat(launcher); err != nil { + if _, ok := omniBinaries[runtime.GOOS+"/"+runtime.GOARCH]; !ok { + log.Printf("spanner omni is not published for %s/%s, skipping", runtime.GOOS, runtime.GOARCH) + return nil + } + return fmt.Errorf("spanner omni is not installed: run `sqlc-test-setup install` first") + } + + data := filepath.Join(dir, "data") + if err := os.MkdirAll(data, 0o755); err != nil { + return err + } + logFile, err := os.Create(filepath.Join(dir, "server.log")) + if err != nil { + return err + } + defer logFile.Close() + + // The launcher supervises the server processes for as long as it runs, + // so it is detached from this process and left running. + cmd := exec.Command(launcher, "start-single-server", "--base-dir", data) + cmd.Stdout = logFile + cmd.Stderr = logFile + cmd.SysProcAttr = detachedProcess() + log.Printf("starting %s start-single-server --base-dir %s", launcher, data) + if err := cmd.Start(); err != nil { + return fmt.Errorf("starting spanner omni: %w", err) + } + if err := cmd.Process.Release(); err != nil { + return err + } + + log.Println("waiting for spanner omni to serve its default instance") + if err := waitForSpannerOmni(3 * time.Minute); err != nil { + return fmt.Errorf("spanner omni did not start in time (see %s): %w", logFile.Name(), err) + } + log.Println("spanner omni is serving its default instance") + return nil +} + +// omniReady reports whether a Spanner Omni server on omniPort serves its +// default instance, the one the examples create their databases in. A +// port that accepts connections is not enough: the server opens it before +// the instance exists, and something else could hold it. +func omniReady() bool { + return omniListDatabases() == nil +} + +// omniListDatabases calls the database admin service's ListDatabases on +// the default instance. The request is a single string field, so it is +// encoded by hand and the response is not decoded, which keeps the Spanner +// client libraries out of this module. +func omniListDatabases() error { + ctx, cancel := context.WithTimeout(context.Background(), 5*time.Second) + defer cancel() + conn, err := grpc.NewClient("127.0.0.1:"+omniPort, grpc.WithTransportCredentials(insecure.NewCredentials())) + if err != nil { + return err + } + defer conn.Close() + // ListDatabasesRequest{parent: omniInstance}: field 1, a string. + req := protowire.AppendString(protowire.AppendTag(nil, 1, protowire.BytesType), omniInstance) + var resp []byte + return conn.Invoke(ctx, "/google.spanner.admin.database.v1.DatabaseAdmin/ListDatabases", &req, &resp, grpc.ForceCodec(rawCodec{})) +} + +// rawCodec passes messages to and from gRPC as the bytes they encode to. +type rawCodec struct{} + +func (rawCodec) Marshal(v any) ([]byte, error) { + b, ok := v.(*[]byte) + if !ok { + return nil, fmt.Errorf("rawCodec: cannot marshal %T", v) + } + return *b, nil +} + +func (rawCodec) Unmarshal(data []byte, v any) error { + b, ok := v.(*[]byte) + if !ok { + return fmt.Errorf("rawCodec: cannot unmarshal into %T", v) + } + *b = append((*b)[:0], data...) + return nil +} + +func (rawCodec) Name() string { return "raw" } + +// waitForSpannerOmni polls until the server serves its default instance or +// the timeout expires. +func waitForSpannerOmni(timeout time.Duration) error { + deadline := time.Now().Add(timeout) + err := omniListDatabases() + for err != nil && time.Now().Before(deadline) { + time.Sleep(time.Second) + err = omniListDatabases() + } + if err != nil { + return fmt.Errorf("timed out after %s waiting for spanner omni: %w", timeout, err) + } return nil } diff --git a/cmd/sqlc-test-setup/mssql.go b/cmd/sqlc-test-setup/mssql.go new file mode 100644 index 0000000000..132aa5461d --- /dev/null +++ b/cmd/sqlc-test-setup/mssql.go @@ -0,0 +1,276 @@ +package main + +import ( + "fmt" + "log" + "net" + "os" + "os/exec" + "path/filepath" + "runtime" + "strings" + "time" +) + +const ( + // mssqlRelease is the SQL Server release installed from Microsoft's + // apt repository, the one internal/goldeneye generates the dialect + // from. + mssqlRelease = "2025" + + // mssqlSAPassword is the sa password the server is set up with: the + // one docker-compose.yml and CI use. + mssqlSAPassword = "Mysecretpassword1!" + + mssqlPort = "1433" + mssqlServer = "/opt/mssql/bin/sqlservr" + mssqlConf = "/opt/mssql/bin/mssql-conf" + mssqlLog = "/var/opt/mssql/log/errorlog" +) + +// mssqlUbuntuReleases lists the Ubuntu releases Microsoft publishes SQL +// Server packages for. +var mssqlUbuntuReleases = map[string]bool{"22.04": true, "24.04": true} + +// installMSSQL installs SQL Server from Microsoft's apt repository and +// runs its setup non-interactively, accepting the EULA on the user's +// behalf. It is a no-op when the server is already installed and set up, +// reruns only the setup when an earlier install stopped before it +// finished, and skips platforms the packages are not published for: +// Ubuntu 22.04 and 24.04 on amd64 and arm64. +func installMSSQL() error { + log.Printf("--- Installing SQL Server %s ---", mssqlRelease) + + if _, err := os.Stat(mssqlServer); err == nil { + if mssqlConfigured() { + log.Printf("sql server is already installed at %s", mssqlServer) + return nil + } + log.Printf("sql server is installed at %s but not set up", mssqlServer) + return setupMSSQL() + } + + ubuntu, err := mssqlSupported() + if err != nil { + log.Printf("skipping: %s", err) + return nil + } + + tmp, err := os.MkdirTemp("", "sqlc-mssql-") + if err != nil { + return err + } + defer os.RemoveAll(tmp) + + key := filepath.Join(tmp, "microsoft.asc") + log.Println("adding microsoft's package signing key") + if err := downloadFile(key, "https://packages.microsoft.com/keys/microsoft.asc"); err != nil { + return fmt.Errorf("downloading the signing key: %w", err) + } + if err := run("sudo", "gpg", "--dearmor", "--yes", "-o", "/usr/share/keyrings/microsoft-prod.gpg", key); err != nil { + return fmt.Errorf("installing the signing key: %w", err) + } + + list := filepath.Join(tmp, "mssql-server.list") + listURL := "https://packages.microsoft.com/config/ubuntu/" + ubuntu + "/mssql-server-" + mssqlRelease + ".list" + log.Printf("adding the apt repository from %s", listURL) + if err := downloadFile(list, listURL); err != nil { + return fmt.Errorf("downloading the repository list: %w", err) + } + if err := run("sudo", "cp", list, "/etc/apt/sources.list.d/mssql-server-"+mssqlRelease+".list"); err != nil { + return err + } + + if err := run("sudo", "apt-get", "update"); err != nil { + return fmt.Errorf("apt-get update: %w", err) + } + log.Println("installing mssql-server") + if err := run("sudo", "env", "DEBIAN_FRONTEND=noninteractive", "apt-get", "install", "-y", "mssql-server"); err != nil { + return fmt.Errorf("apt-get install mssql-server: %w", err) + } + + return setupMSSQL() +} + +// setupMSSQL runs mssql-conf setup, which accepts the EULA, sets the sa +// password and writes the server's configuration, then starts the service +// through systemd. Where there is no systemd that last step fails, and the +// configuration it wrote is what install needs, since start brings the +// server up. Anywhere else a failure is setup's own. +func setupMSSQL() error { + log.Println("running mssql-conf setup") + cmd := exec.Command("sudo", "env", "ACCEPT_EULA=Y", "MSSQL_PID=Developer", "MSSQL_SA_PASSWORD="+mssqlSAPassword, + mssqlConf, "-n", "setup", "accept-eula") + cmd.Stdout = os.Stderr + cmd.Stderr = os.Stderr + cmd.Stdin = os.Stdin + // The command line carries the sa password, so it is not logged the + // way run logs one. + log.Printf("exec: sudo env ACCEPT_EULA=Y MSSQL_PID=Developer MSSQL_SA_PASSWORD=... %s -n setup accept-eula", mssqlConf) + err := cmd.Run() + if err == nil { + return nil + } + if systemdRunning() || !mssqlConfigured() { + return fmt.Errorf("mssql-conf setup: %w", err) + } + log.Printf("mssql-conf setup wrote the configuration but could not start the service without systemd (%s); start will", err) + return nil +} + +// mssqlConfigured reports whether mssql-conf setup has written the +// server's configuration. /var/opt/mssql is readable by the mssql user +// only, so the check goes through sudo rather than a stat as this user. +func mssqlConfigured() bool { + return exec.Command("sudo", "test", "-f", "/var/opt/mssql/mssql.conf").Run() == nil +} + +// mssqlSupported reports whether Microsoft publishes SQL Server packages +// for this machine, returning its Ubuntu release, and otherwise why not. +func mssqlSupported() (string, error) { + ubuntu, err := ubuntuRelease() + if err != nil { + return "", fmt.Errorf("sql server packages are published for Ubuntu only: %w", err) + } + if runtime.GOOS != "linux" || (runtime.GOARCH != "amd64" && runtime.GOARCH != "arm64") || !mssqlUbuntuReleases[ubuntu] { + return "", fmt.Errorf("sql server packages are not published for Ubuntu %s on %s/%s", ubuntu, runtime.GOOS, runtime.GOARCH) + } + return ubuntu, nil +} + +// ubuntuRelease reads the Ubuntu release from /etc/os-release. +func ubuntuRelease() (string, error) { + data, err := os.ReadFile("/etc/os-release") + if err != nil { + return "", err + } + var id, version string + for _, line := range strings.Split(string(data), "\n") { + key, value, ok := strings.Cut(line, "=") + if !ok { + continue + } + value = strings.Trim(value, `"`) + switch key { + case "ID": + id = value + case "VERSION_ID": + version = value + } + } + if id != "ubuntu" { + return "", fmt.Errorf("this is %s, not ubuntu", id) + } + return version, nil +} + +// startMSSQL starts SQL Server and waits until it is ready for client +// connections: through systemd where it runs, otherwise by running the +// server in the background as its own user. When the server is already +// listening it only waits for it to be ready, and it skips machines the +// server is not installed on. +func startMSSQL() error { + log.Println("--- Starting SQL Server ---") + + if mssqlListening() { + // A server this machine does not run, such as the one + // docker-compose.yml starts, has no log here to wait on. + if _, err := os.Stat(mssqlServer); err != nil { + log.Println("sql server is already running and accepting connections") + return nil + } + // mssql-conf setup starts the service through systemd, so the + // server can be listening while it still recovers its databases. + log.Println("sql server is already running") + return waitForMSSQL() + } + if _, err := os.Stat(mssqlServer); err != nil { + if _, err := mssqlSupported(); err != nil { + log.Printf("sql server is not installed here, skipping: %s", err) + return nil + } + return fmt.Errorf("sql server is not installed: run `sqlc-test-setup install mssql` first") + } + + if systemdRunning() { + log.Println("starting mssql-server through systemd") + if err := run("sudo", "systemctl", "start", "mssql-server"); err != nil { + return fmt.Errorf("systemctl start mssql-server: %w", err) + } + } else { + // The server's own log is mssqlLog; what it prints goes to a file + // of its own rather than this process's output, which a detached + // process would otherwise hold open. + cache, err := os.UserCacheDir() + if err != nil { + return err + } + dir := filepath.Join(cache, "sqlc-mssql") + if err := os.MkdirAll(dir, 0o755); err != nil { + return err + } + logFile, err := os.Create(filepath.Join(dir, "sqlservr.log")) + if err != nil { + return err + } + defer logFile.Close() + + log.Printf("starting %s in the background", mssqlServer) + cmd := exec.Command("sudo", "-u", "mssql", "env", "ACCEPT_EULA=Y", "MSSQL_SA_PASSWORD="+mssqlSAPassword, mssqlServer) + cmd.Stdout = logFile + cmd.Stderr = logFile + cmd.SysProcAttr = detachedProcess() + if err := cmd.Start(); err != nil { + return fmt.Errorf("starting sqlservr: %w", err) + } + if err := cmd.Process.Release(); err != nil { + return err + } + } + + return waitForMSSQL() +} + +// waitForMSSQL polls until the server listens and its log says it is ready +// for client connections, or three minutes pass. +func waitForMSSQL() error { + log.Println("waiting for sql server to accept connections") + deadline := time.Now().Add(3 * time.Minute) + for time.Now().Before(deadline) { + if mssqlListening() && mssqlReadyForClients() { + log.Println("sql server is accepting connections") + return nil + } + time.Sleep(2 * time.Second) + } + return fmt.Errorf("sql server did not start in time (see %s)", mssqlLog) +} + +// systemdRunning reports whether systemd is the init system here, so a +// service can be started through it. +func systemdRunning() bool { + out, err := exec.Command("systemctl", "is-system-running").Output() + state := strings.TrimSpace(string(out)) + if err != nil && state == "" { + return false + } + return state != "offline" && state != "unknown" +} + +// mssqlListening reports whether something accepts connections on the SQL +// Server port. +func mssqlListening() bool { + conn, err := net.DialTimeout("tcp", "127.0.0.1:"+mssqlPort, time.Second) + if err != nil { + return false + } + conn.Close() + return true +} + +// mssqlReadyForClients reports whether the server's log says it is ready +// for client connections, which comes a moment after it starts listening. +// The log is readable by the mssql user only, so it is read through sudo. +func mssqlReadyForClients() bool { + return exec.Command("sudo", "grep", "-q", "ready for client connections", mssqlLog).Run() == nil +} diff --git a/docker-compose.yml b/docker-compose.yml index 2af58e1958..787efcd8b6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -20,6 +20,15 @@ services: POSTGRES_PASSWORD: mysecretpassword POSTGRES_USER: postgres + clickhouse: + image: "clickhouse/clickhouse-server:25.8" + ports: + - "8123:8123" + - "9000:9000" + restart: always + environment: + CLICKHOUSE_PASSWORD: mysecretpassword + mssql: image: "mcr.microsoft.com/mssql/server:2025-latest" ports: diff --git a/docs/guides/development.md b/docs/guides/development.md index f8196572be..ae5ece2fa6 100644 --- a/docs/guides/development.md +++ b/docs/guides/development.md @@ -20,10 +20,10 @@ go build -o ~/go/bin/sqlc-gen-json ./cmd/sqlc-gen-json go test ./... ``` -To run the tests in the examples folder, use the `examples` tag. +To run the tests in the examples folder, which is a module of its own, use the `examples` tag from inside it. ``` -go test --tags=examples ./... +cd examples && go test --tags=examples ./... ``` These tests require locally-running database instances. Run these databases diff --git a/docs/reference/language-support.md b/docs/reference/language-support.md index 0f7a6f3004..02670ef54e 100644 --- a/docs/reference/language-support.md +++ b/docs/reference/language-support.md @@ -1,12 +1,23 @@ # Database and language support -| Language | Plugin | MySQL | PostgreSQL | SQLite | -| ---------- | ---------------------------------------------------------------------- | ------ | ---------- | --------------- | -| Go | (built-in) | Stable | Stable | Beta | -| Go | [sqlc-gen-go](https://github.com/sqlc-dev/sqlc-gen-go) | Stable | Stable | Beta | -| Kotlin | [sqlc-gen-kotlin](https://github.com/sqlc-dev/sqlc-gen-kotlin) | Beta | Beta | Not implemented | -| Python | [sqlc-gen-python](https://github.com/sqlc-dev/sqlc-gen-python) | Beta | Beta | Not implemented | -| TypeScript | [sqlc-gen-typescript](https://github.com/sqlc-dev/sqlc-gen-typescript) | Beta | Beta | Not implemented | +| Language | Plugin | MySQL | PostgreSQL | SQLite | ClickHouse | DuckDB | Spanner | SQL Server | +| ---------- | ---------------------------------------------------------------------- | ------ | ---------- | ------ | ---------- | ------ | ------- | ---------- | +| Go | (built-in) | Stable | Stable | Beta | Beta | Beta | Beta | Beta | +| Go | [sqlc-gen-go](https://github.com/sqlc-dev/sqlc-gen-go) | Stable | Stable | Beta | N/A | N/A | N/A | N/A | +| Kotlin | [sqlc-gen-kotlin](https://github.com/sqlc-dev/sqlc-gen-kotlin) | Beta | Beta | N/A | N/A | N/A | N/A | N/A | +| Python | [sqlc-gen-python](https://github.com/sqlc-dev/sqlc-gen-python) | Beta | Beta | N/A | N/A | N/A | N/A | N/A | +| TypeScript | [sqlc-gen-typescript](https://github.com/sqlc-dev/sqlc-gen-typescript) | Beta | Beta | N/A | N/A | N/A | N/A | N/A | + +The built-in Go generator targets `database/sql` for ClickHouse, DuckDB, +Spanner and SQL Server, with the types their drivers hand back: +[clickhouse-go](https://github.com/ClickHouse/clickhouse-go), +[duckdb-go](https://github.com/duckdb/duckdb-go), +[go-sql-spanner](https://github.com/googleapis/go-sql-spanner) and +[go-mssqldb](https://github.com/microsoft/go-mssqldb). DuckDB enums and SQL +Server alias types are not yet resolved and come out as `any`; ClickHouse +enums are strings. A DuckDB JSON column comes out as `any`, holding the value +the driver decodes the document into, and a JSON parameter is passed as its +text. ## Community language support diff --git a/examples/authors/clickhouse/db.go b/examples/authors/clickhouse/db.go new file mode 100644 index 0000000000..32f660cdd7 --- /dev/null +++ b/examples/authors/clickhouse/db.go @@ -0,0 +1,31 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 + +package authors + +import ( + "context" + "database/sql" +) + +type DBTX interface { + ExecContext(context.Context, string, ...any) (sql.Result, error) + PrepareContext(context.Context, string) (*sql.Stmt, error) + QueryContext(context.Context, string, ...any) (*sql.Rows, error) + QueryRowContext(context.Context, string, ...any) *sql.Row +} + +func New(db DBTX) *Queries { + return &Queries{db: db} +} + +type Queries struct { + db DBTX +} + +func (q *Queries) WithTx(tx *sql.Tx) *Queries { + return &Queries{ + db: tx, + } +} diff --git a/examples/authors/clickhouse/db_test.go b/examples/authors/clickhouse/db_test.go new file mode 100644 index 0000000000..81130a1a57 --- /dev/null +++ b/examples/authors/clickhouse/db_test.go @@ -0,0 +1,58 @@ +//go:build examples + +package authors + +import ( + "context" + "database/sql" + "testing" + + _ "github.com/ClickHouse/clickhouse-go/v2" + + "github.com/sqlc-dev/sqlc/examples/internal/local" +) + +func TestAuthors(t *testing.T) { + ctx := context.Background() + uri := local.ClickHouse(t, []string{"schema.sql"}) + sdb, err := sql.Open("clickhouse", uri) + if err != nil { + t.Fatal(err) + } + defer sdb.Close() + + db := New(sdb) + + // list all authors + authors, err := db.ListAuthors(ctx) + if err != nil { + t.Fatal(err) + } + t.Log(authors) + + // create an author + bio := "Co-author of The C Programming Language and The Go Programming Language" + err = db.CreateAuthor(ctx, CreateAuthorParams{ + ID: 1, + Name: "Brian Kernighan", + Bio: &bio, + }) + if err != nil { + t.Fatal(err) + } + + // get the author we just inserted + fetchedAuthor, err := db.GetAuthor(ctx, 1) + if err != nil { + t.Fatal(err) + } + if fetchedAuthor.Name != "Brian Kernighan" || !fetchedAuthor.Bio.Valid { + t.Fatalf("unexpected author: %+v", fetchedAuthor) + } + t.Log(fetchedAuthor) + + // delete the author + if err := db.DeleteAuthor(ctx, 1); err != nil { + t.Fatal(err) + } +} diff --git a/examples/authors/clickhouse/models.go b/examples/authors/clickhouse/models.go new file mode 100644 index 0000000000..be87e6a8c9 --- /dev/null +++ b/examples/authors/clickhouse/models.go @@ -0,0 +1,15 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 + +package authors + +import ( + "database/sql" +) + +type Author struct { + ID uint64 + Name string + Bio sql.NullString +} diff --git a/examples/authors/clickhouse/query.sql b/examples/authors/clickhouse/query.sql new file mode 100644 index 0000000000..9a46a78320 --- /dev/null +++ b/examples/authors/clickhouse/query.sql @@ -0,0 +1,18 @@ +-- name: GetAuthor :one +SELECT * FROM authors +WHERE id = ? LIMIT 1; + +-- name: ListAuthors :many +SELECT * FROM authors +ORDER BY name; + +-- name: CreateAuthor :exec +INSERT INTO authors ( + id, name, bio +) VALUES ( + ?, ?, ? +); + +-- name: DeleteAuthor :exec +DELETE FROM authors +WHERE id = ?; diff --git a/examples/authors/clickhouse/query.sql.go b/examples/authors/clickhouse/query.sql.go new file mode 100644 index 0000000000..0dc7338b7e --- /dev/null +++ b/examples/authors/clickhouse/query.sql.go @@ -0,0 +1,79 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 +// source: query.sql + +package authors + +import ( + "context" +) + +const createAuthor = `-- name: CreateAuthor :exec +INSERT INTO authors ( + id, name, bio +) VALUES ( + ?, ?, ? +); +` + +type CreateAuthorParams struct { + ID uint64 + Name string + Bio *string +} + +func (q *Queries) CreateAuthor(ctx context.Context, arg CreateAuthorParams) error { + _, err := q.db.ExecContext(ctx, createAuthor, arg.ID, arg.Name, arg.Bio) + return err +} + +const deleteAuthor = `-- name: DeleteAuthor :exec +DELETE FROM authors +WHERE id = ?; +` + +func (q *Queries) DeleteAuthor(ctx context.Context, id uint64) error { + _, err := q.db.ExecContext(ctx, deleteAuthor, id) + return err +} + +const getAuthor = `-- name: GetAuthor :one +SELECT id, name, bio FROM authors +WHERE id = ? LIMIT 1; +` + +func (q *Queries) GetAuthor(ctx context.Context, id uint64) (Author, error) { + row := q.db.QueryRowContext(ctx, getAuthor, id) + var i Author + err := row.Scan(&i.ID, &i.Name, &i.Bio) + return i, err +} + +const listAuthors = `-- name: ListAuthors :many +SELECT id, name, bio FROM authors +ORDER BY name; +` + +func (q *Queries) ListAuthors(ctx context.Context) ([]Author, error) { + rows, err := q.db.QueryContext(ctx, listAuthors) + if err != nil { + return nil, err + } + defer rows.Close() + var items []Author + for rows.Next() { + var i Author + if err := rows.Scan(&i.ID, &i.Name, &i.Bio); err != nil { + return nil, err + } + items = append(items, i) + } + if err := rows.Close(); err != nil { + return nil, err + } + if err := rows.Err(); err != nil { + return nil, err + } + return items, nil +} diff --git a/examples/authors/clickhouse/schema.sql b/examples/authors/clickhouse/schema.sql new file mode 100644 index 0000000000..548abb06aa --- /dev/null +++ b/examples/authors/clickhouse/schema.sql @@ -0,0 +1,5 @@ +CREATE TABLE authors ( + id UInt64, + name String, + bio Nullable(String) +) ENGINE = MergeTree ORDER BY id; diff --git a/examples/authors/duckdb/db.go b/examples/authors/duckdb/db.go new file mode 100644 index 0000000000..32f660cdd7 --- /dev/null +++ b/examples/authors/duckdb/db.go @@ -0,0 +1,31 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 + +package authors + +import ( + "context" + "database/sql" +) + +type DBTX interface { + ExecContext(context.Context, string, ...any) (sql.Result, error) + PrepareContext(context.Context, string) (*sql.Stmt, error) + QueryContext(context.Context, string, ...any) (*sql.Rows, error) + QueryRowContext(context.Context, string, ...any) *sql.Row +} + +func New(db DBTX) *Queries { + return &Queries{db: db} +} + +type Queries struct { + db DBTX +} + +func (q *Queries) WithTx(tx *sql.Tx) *Queries { + return &Queries{ + db: tx, + } +} diff --git a/examples/authors/duckdb/db_test.go b/examples/authors/duckdb/db_test.go new file mode 100644 index 0000000000..c413f9c1c7 --- /dev/null +++ b/examples/authors/duckdb/db_test.go @@ -0,0 +1,66 @@ +//go:build examples + +package authors + +import ( + "context" + "database/sql" + "os" + "testing" + + _ "github.com/duckdb/duckdb-go/v2" +) + +func TestAuthors(t *testing.T) { + ctx := context.Background() + + // DuckDB runs in the process: an empty data source is a database in + // memory that lives as long as the connection. + sdb, err := sql.Open("duckdb", "") + if err != nil { + t.Fatal(err) + } + defer sdb.Close() + + schema, err := os.ReadFile("schema.sql") + if err != nil { + t.Fatal(err) + } + if _, err := sdb.ExecContext(ctx, string(schema)); err != nil { + t.Fatal(err) + } + + db := New(sdb) + + // list all authors + authors, err := db.ListAuthors(ctx) + if err != nil { + t.Fatal(err) + } + t.Log(authors) + + // create an author + insertedAuthor, err := db.CreateAuthor(ctx, CreateAuthorParams{ + Name: "Brian Kernighan", + Bio: sql.NullString{String: "Co-author of The C Programming Language and The Go Programming Language", Valid: true}, + }) + if err != nil { + t.Fatal(err) + } + t.Log(insertedAuthor) + + // get the author we just inserted + fetchedAuthor, err := db.GetAuthor(ctx, insertedAuthor.ID) + if err != nil { + t.Fatal(err) + } + if fetchedAuthor.Name != "Brian Kernighan" || !fetchedAuthor.Bio.Valid { + t.Fatalf("unexpected author: %+v", fetchedAuthor) + } + t.Log(fetchedAuthor) + + // delete the author + if err := db.DeleteAuthor(ctx, insertedAuthor.ID); err != nil { + t.Fatal(err) + } +} diff --git a/examples/authors/duckdb/models.go b/examples/authors/duckdb/models.go new file mode 100644 index 0000000000..62bacd80ae --- /dev/null +++ b/examples/authors/duckdb/models.go @@ -0,0 +1,15 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 + +package authors + +import ( + "database/sql" +) + +type Author struct { + ID int64 + Name string + Bio sql.NullString +} diff --git a/examples/authors/duckdb/query.sql b/examples/authors/duckdb/query.sql new file mode 100644 index 0000000000..971b8f902d --- /dev/null +++ b/examples/authors/duckdb/query.sql @@ -0,0 +1,19 @@ +-- name: GetAuthor :one +SELECT * FROM authors +WHERE id = $1 LIMIT 1; + +-- name: ListAuthors :many +SELECT * FROM authors +ORDER BY name; + +-- name: CreateAuthor :one +INSERT INTO authors ( + name, bio +) VALUES ( + $1, $2 +) +RETURNING *; + +-- name: DeleteAuthor :exec +DELETE FROM authors +WHERE id = $1; diff --git a/examples/authors/duckdb/query.sql.go b/examples/authors/duckdb/query.sql.go new file mode 100644 index 0000000000..56776cfb04 --- /dev/null +++ b/examples/authors/duckdb/query.sql.go @@ -0,0 +1,82 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 +// source: query.sql + +package authors + +import ( + "context" + "database/sql" +) + +const createAuthor = `-- name: CreateAuthor :one +INSERT INTO authors ( + name, bio +) VALUES ( + $1, $2 +) +RETURNING id, name, bio; +` + +type CreateAuthorParams struct { + Name string + Bio sql.NullString +} + +func (q *Queries) CreateAuthor(ctx context.Context, arg CreateAuthorParams) (Author, error) { + row := q.db.QueryRowContext(ctx, createAuthor, arg.Name, arg.Bio) + var i Author + err := row.Scan(&i.ID, &i.Name, &i.Bio) + return i, err +} + +const deleteAuthor = `-- name: DeleteAuthor :exec +DELETE FROM authors +WHERE id = $1; +` + +func (q *Queries) DeleteAuthor(ctx context.Context, id int64) error { + _, err := q.db.ExecContext(ctx, deleteAuthor, id) + return err +} + +const getAuthor = `-- name: GetAuthor :one +SELECT id, name, bio FROM authors +WHERE id = $1 LIMIT 1; +` + +func (q *Queries) GetAuthor(ctx context.Context, id int64) (Author, error) { + row := q.db.QueryRowContext(ctx, getAuthor, id) + var i Author + err := row.Scan(&i.ID, &i.Name, &i.Bio) + return i, err +} + +const listAuthors = `-- name: ListAuthors :many +SELECT id, name, bio FROM authors +ORDER BY name; +` + +func (q *Queries) ListAuthors(ctx context.Context) ([]Author, error) { + rows, err := q.db.QueryContext(ctx, listAuthors) + if err != nil { + return nil, err + } + defer rows.Close() + var items []Author + for rows.Next() { + var i Author + if err := rows.Scan(&i.ID, &i.Name, &i.Bio); err != nil { + return nil, err + } + items = append(items, i) + } + if err := rows.Close(); err != nil { + return nil, err + } + if err := rows.Err(); err != nil { + return nil, err + } + return items, nil +} diff --git a/examples/authors/duckdb/schema.sql b/examples/authors/duckdb/schema.sql new file mode 100644 index 0000000000..2aaf41db32 --- /dev/null +++ b/examples/authors/duckdb/schema.sql @@ -0,0 +1,7 @@ +CREATE SEQUENCE authors_id_seq; + +CREATE TABLE authors ( + id BIGINT PRIMARY KEY DEFAULT nextval('authors_id_seq'), + name TEXT NOT NULL, + bio TEXT +); diff --git a/examples/authors/googlesql/db.go b/examples/authors/googlesql/db.go new file mode 100644 index 0000000000..32f660cdd7 --- /dev/null +++ b/examples/authors/googlesql/db.go @@ -0,0 +1,31 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 + +package authors + +import ( + "context" + "database/sql" +) + +type DBTX interface { + ExecContext(context.Context, string, ...any) (sql.Result, error) + PrepareContext(context.Context, string) (*sql.Stmt, error) + QueryContext(context.Context, string, ...any) (*sql.Rows, error) + QueryRowContext(context.Context, string, ...any) *sql.Row +} + +func New(db DBTX) *Queries { + return &Queries{db: db} +} + +type Queries struct { + db DBTX +} + +func (q *Queries) WithTx(tx *sql.Tx) *Queries { + return &Queries{ + db: tx, + } +} diff --git a/examples/authors/googlesql/db_test.go b/examples/authors/googlesql/db_test.go new file mode 100644 index 0000000000..571ab7a274 --- /dev/null +++ b/examples/authors/googlesql/db_test.go @@ -0,0 +1,58 @@ +//go:build examples + +package authors + +import ( + "context" + "database/sql" + "testing" + + _ "github.com/googleapis/go-sql-spanner" + + "github.com/sqlc-dev/sqlc/examples/internal/local" +) + +func TestAuthors(t *testing.T) { + ctx := context.Background() + dsn := local.Spanner(t, []string{"schema.sql"}) + sdb, err := sql.Open("spanner", dsn) + if err != nil { + t.Fatal(err) + } + defer sdb.Close() + + db := New(sdb) + + // list all authors + authors, err := db.ListAuthors(ctx) + if err != nil { + t.Fatal(err) + } + t.Log(authors) + + // create an author + insertedAuthor, err := db.CreateAuthor(ctx, CreateAuthorParams{ + ID: 1, + Name: "Brian Kernighan", + Bio: sql.NullString{String: "Co-author of The C Programming Language and The Go Programming Language", Valid: true}, + }) + if err != nil { + t.Fatal(err) + } + t.Log(insertedAuthor) + + // get the author we just inserted + fetchedAuthor, err := db.GetAuthor(ctx, insertedAuthor.ID) + if err != nil { + t.Fatal(err) + } + if fetchedAuthor.Name != "Brian Kernighan" || !fetchedAuthor.Bio.Valid { + t.Fatalf("unexpected author: %+v", fetchedAuthor) + } + t.Log(fetchedAuthor) + + // delete the author + if err := db.DeleteAuthor(ctx, insertedAuthor.ID); err != nil { + t.Fatal(err) + } +} diff --git a/examples/authors/googlesql/models.go b/examples/authors/googlesql/models.go new file mode 100644 index 0000000000..62bacd80ae --- /dev/null +++ b/examples/authors/googlesql/models.go @@ -0,0 +1,15 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 + +package authors + +import ( + "database/sql" +) + +type Author struct { + ID int64 + Name string + Bio sql.NullString +} diff --git a/examples/authors/googlesql/query.sql b/examples/authors/googlesql/query.sql new file mode 100644 index 0000000000..f135f66557 --- /dev/null +++ b/examples/authors/googlesql/query.sql @@ -0,0 +1,18 @@ +-- name: GetAuthor :one +SELECT * FROM authors +WHERE id = @id; + +-- name: ListAuthors :many +SELECT * FROM authors +ORDER BY name; + +-- name: CreateAuthor :one +INSERT INTO authors ( + id, name, bio +) VALUES ( + @id, @name, @bio +) THEN RETURN id, name, bio; + +-- name: DeleteAuthor :exec +DELETE FROM authors +WHERE id = @id; diff --git a/examples/authors/googlesql/query.sql.go b/examples/authors/googlesql/query.sql.go new file mode 100644 index 0000000000..146182516b --- /dev/null +++ b/examples/authors/googlesql/query.sql.go @@ -0,0 +1,82 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 +// source: query.sql + +package authors + +import ( + "context" + "database/sql" +) + +const createAuthor = `-- name: CreateAuthor :one +INSERT INTO authors ( + id, name, bio +) VALUES ( + @id, @name, @bio +) THEN RETURN id, name, bio +` + +type CreateAuthorParams struct { + ID int64 + Name string + Bio sql.NullString +} + +func (q *Queries) CreateAuthor(ctx context.Context, arg CreateAuthorParams) (Author, error) { + row := q.db.QueryRowContext(ctx, createAuthor, sql.Named("id", arg.ID), sql.Named("name", arg.Name), sql.Named("bio", arg.Bio)) + var i Author + err := row.Scan(&i.ID, &i.Name, &i.Bio) + return i, err +} + +const deleteAuthor = `-- name: DeleteAuthor :exec +DELETE FROM authors +WHERE id = @id +` + +func (q *Queries) DeleteAuthor(ctx context.Context, id int64) error { + _, err := q.db.ExecContext(ctx, deleteAuthor, sql.Named("id", id)) + return err +} + +const getAuthor = `-- name: GetAuthor :one +SELECT id, name, bio FROM authors +WHERE id = @id +` + +func (q *Queries) GetAuthor(ctx context.Context, id int64) (Author, error) { + row := q.db.QueryRowContext(ctx, getAuthor, sql.Named("id", id)) + var i Author + err := row.Scan(&i.ID, &i.Name, &i.Bio) + return i, err +} + +const listAuthors = `-- name: ListAuthors :many +SELECT id, name, bio FROM authors +ORDER BY name +` + +func (q *Queries) ListAuthors(ctx context.Context) ([]Author, error) { + rows, err := q.db.QueryContext(ctx, listAuthors) + if err != nil { + return nil, err + } + defer rows.Close() + var items []Author + for rows.Next() { + var i Author + if err := rows.Scan(&i.ID, &i.Name, &i.Bio); err != nil { + return nil, err + } + items = append(items, i) + } + if err := rows.Close(); err != nil { + return nil, err + } + if err := rows.Err(); err != nil { + return nil, err + } + return items, nil +} diff --git a/examples/authors/googlesql/schema.sql b/examples/authors/googlesql/schema.sql new file mode 100644 index 0000000000..d044b8e4b7 --- /dev/null +++ b/examples/authors/googlesql/schema.sql @@ -0,0 +1,5 @@ +CREATE TABLE authors ( + id INT64 NOT NULL, + name STRING(MAX) NOT NULL, + bio STRING(MAX), +) PRIMARY KEY (id); diff --git a/examples/authors/mssql/db.go b/examples/authors/mssql/db.go new file mode 100644 index 0000000000..32f660cdd7 --- /dev/null +++ b/examples/authors/mssql/db.go @@ -0,0 +1,31 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 + +package authors + +import ( + "context" + "database/sql" +) + +type DBTX interface { + ExecContext(context.Context, string, ...any) (sql.Result, error) + PrepareContext(context.Context, string) (*sql.Stmt, error) + QueryContext(context.Context, string, ...any) (*sql.Rows, error) + QueryRowContext(context.Context, string, ...any) *sql.Row +} + +func New(db DBTX) *Queries { + return &Queries{db: db} +} + +type Queries struct { + db DBTX +} + +func (q *Queries) WithTx(tx *sql.Tx) *Queries { + return &Queries{ + db: tx, + } +} diff --git a/examples/authors/mssql/db_test.go b/examples/authors/mssql/db_test.go new file mode 100644 index 0000000000..ee04932205 --- /dev/null +++ b/examples/authors/mssql/db_test.go @@ -0,0 +1,57 @@ +//go:build examples + +package authors + +import ( + "context" + "database/sql" + "testing" + + _ "github.com/microsoft/go-mssqldb" + + "github.com/sqlc-dev/sqlc/examples/internal/local" +) + +func TestAuthors(t *testing.T) { + ctx := context.Background() + uri := local.MSSQL(t, []string{"schema.sql"}) + sdb, err := sql.Open("sqlserver", uri) + if err != nil { + t.Fatal(err) + } + defer sdb.Close() + + db := New(sdb) + + // list all authors + authors, err := db.ListAuthors(ctx) + if err != nil { + t.Fatal(err) + } + t.Log(authors) + + // create an author + insertedAuthor, err := db.CreateAuthor(ctx, CreateAuthorParams{ + Name: "Brian Kernighan", + Bio: sql.NullString{String: "Co-author of The C Programming Language and The Go Programming Language", Valid: true}, + }) + if err != nil { + t.Fatal(err) + } + t.Log(insertedAuthor) + + // get the author we just inserted + fetchedAuthor, err := db.GetAuthor(ctx, insertedAuthor.ID) + if err != nil { + t.Fatal(err) + } + if fetchedAuthor.Name != "Brian Kernighan" || !fetchedAuthor.Bio.Valid { + t.Fatalf("unexpected author: %+v", fetchedAuthor) + } + t.Log(fetchedAuthor) + + // delete the author + if err := db.DeleteAuthor(ctx, insertedAuthor.ID); err != nil { + t.Fatal(err) + } +} diff --git a/examples/authors/mssql/models.go b/examples/authors/mssql/models.go new file mode 100644 index 0000000000..62bacd80ae --- /dev/null +++ b/examples/authors/mssql/models.go @@ -0,0 +1,15 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 + +package authors + +import ( + "database/sql" +) + +type Author struct { + ID int64 + Name string + Bio sql.NullString +} diff --git a/examples/authors/mssql/query.sql b/examples/authors/mssql/query.sql new file mode 100644 index 0000000000..f7ef34d4ad --- /dev/null +++ b/examples/authors/mssql/query.sql @@ -0,0 +1,19 @@ +-- name: GetAuthor :one +SELECT * FROM authors +WHERE id = @id; + +-- name: ListAuthors :many +SELECT * FROM authors +ORDER BY name; + +-- name: CreateAuthor :one +INSERT INTO authors ( + name, bio +) OUTPUT INSERTED.id, INSERTED.name, INSERTED.bio +VALUES ( + @name, @bio +); + +-- name: DeleteAuthor :exec +DELETE FROM authors +WHERE id = @id; diff --git a/examples/authors/mssql/query.sql.go b/examples/authors/mssql/query.sql.go new file mode 100644 index 0000000000..beed275eba --- /dev/null +++ b/examples/authors/mssql/query.sql.go @@ -0,0 +1,82 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 +// source: query.sql + +package authors + +import ( + "context" + "database/sql" +) + +const createAuthor = `-- name: CreateAuthor :one +INSERT INTO authors ( + name, bio +) OUTPUT INSERTED.id, INSERTED.name, INSERTED.bio +VALUES ( + @name, @bio +); +` + +type CreateAuthorParams struct { + Name string + Bio sql.NullString +} + +func (q *Queries) CreateAuthor(ctx context.Context, arg CreateAuthorParams) (Author, error) { + row := q.db.QueryRowContext(ctx, createAuthor, sql.Named("name", arg.Name), sql.Named("bio", arg.Bio)) + var i Author + err := row.Scan(&i.ID, &i.Name, &i.Bio) + return i, err +} + +const deleteAuthor = `-- name: DeleteAuthor :exec +DELETE FROM authors +WHERE id = @id; +` + +func (q *Queries) DeleteAuthor(ctx context.Context, id int64) error { + _, err := q.db.ExecContext(ctx, deleteAuthor, sql.Named("id", id)) + return err +} + +const getAuthor = `-- name: GetAuthor :one +SELECT id, name, bio FROM authors +WHERE id = @id; +` + +func (q *Queries) GetAuthor(ctx context.Context, id int64) (Author, error) { + row := q.db.QueryRowContext(ctx, getAuthor, sql.Named("id", id)) + var i Author + err := row.Scan(&i.ID, &i.Name, &i.Bio) + return i, err +} + +const listAuthors = `-- name: ListAuthors :many +SELECT id, name, bio FROM authors +ORDER BY name; +` + +func (q *Queries) ListAuthors(ctx context.Context) ([]Author, error) { + rows, err := q.db.QueryContext(ctx, listAuthors) + if err != nil { + return nil, err + } + defer rows.Close() + var items []Author + for rows.Next() { + var i Author + if err := rows.Scan(&i.ID, &i.Name, &i.Bio); err != nil { + return nil, err + } + items = append(items, i) + } + if err := rows.Close(); err != nil { + return nil, err + } + if err := rows.Err(); err != nil { + return nil, err + } + return items, nil +} diff --git a/examples/authors/mssql/schema.sql b/examples/authors/mssql/schema.sql new file mode 100644 index 0000000000..f26604843e --- /dev/null +++ b/examples/authors/mssql/schema.sql @@ -0,0 +1,5 @@ +CREATE TABLE authors ( + id BIGINT IDENTITY(1,1) PRIMARY KEY, + name NVARCHAR(100) NOT NULL, + bio NVARCHAR(MAX) +); diff --git a/examples/authors/sqlc.yaml b/examples/authors/sqlc.yaml index 57f2319ea1..eac0ec2ca5 100644 --- a/examples/authors/sqlc.yaml +++ b/examples/authors/sqlc.yaml @@ -43,6 +43,38 @@ sql: go: package: authors out: sqlite +- name: duckdb + schema: duckdb/schema.sql + queries: duckdb/query.sql + engine: duckdb + gen: + go: + package: authors + out: duckdb +- name: clickhouse + schema: clickhouse/schema.sql + queries: clickhouse/query.sql + engine: clickhouse + gen: + go: + package: authors + out: clickhouse +- name: mssql + schema: mssql/schema.sql + queries: mssql/query.sql + engine: mssql + gen: + go: + package: authors + out: mssql +- name: googlesql + schema: googlesql/schema.sql + queries: googlesql/query.sql + engine: googlesql + gen: + go: + package: authors + out: googlesql rules: - name: postgresql-query-too-costly message: "Too costly" diff --git a/examples/go.mod b/examples/go.mod new file mode 100644 index 0000000000..4a2db9c438 --- /dev/null +++ b/examples/go.mod @@ -0,0 +1,108 @@ +// The examples are a module of their own so that the drivers they run +// against are not dependencies of sqlc itself, and so that the DuckDB +// driver, which is cgo, does not keep sqlc's own builds from turning cgo +// off. +module github.com/sqlc-dev/sqlc/examples + +go 1.26.0 + +require ( + cloud.google.com/go/spanner v1.95.1 + github.com/ClickHouse/clickhouse-go/v2 v2.48.0 + github.com/duckdb/duckdb-go/v2 v2.10505.0 + github.com/go-sql-driver/mysql v1.10.1 + github.com/google/go-cmp v0.7.0 + github.com/googleapis/go-sql-spanner v1.26.0 + github.com/jackc/pgx/v5 v5.11.0 + github.com/lib/pq v1.12.3 + github.com/microsoft/go-mssqldb v1.11.0 + github.com/sqlc-dev/sqlc v0.0.0 + google.golang.org/api v0.298.0 + google.golang.org/grpc v1.83.2 +) + +require ( + cel.dev/expr v0.25.2 // indirect + cloud.google.com/go v0.123.0 // indirect + cloud.google.com/go/auth v0.23.2 // indirect + cloud.google.com/go/auth/oauth2adapt v0.2.8 // indirect + cloud.google.com/go/compute/metadata v0.9.0 // indirect + cloud.google.com/go/iam v1.12.0 // indirect + cloud.google.com/go/longrunning v1.2.0 // indirect + cloud.google.com/go/monitoring v1.30.0 // indirect + filippo.io/edwards25519 v1.2.0 // indirect + github.com/ClickHouse/ch-go v0.74.0 // indirect + github.com/GoogleCloudPlatform/grpc-gcp-go/grpcgcp v1.6.0 // indirect + github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.33.0 // indirect + github.com/andybalholm/brotli v1.2.2 // indirect + github.com/apache/arrow-go/v18 v18.5.1 // indirect + github.com/cespare/xxhash/v2 v2.3.0 // indirect + github.com/cncf/xds/go v0.0.0-20260202195803-dba9d589def2 // indirect + github.com/duckdb/duckdb-go-bindings v0.10505.0 // indirect + github.com/duckdb/duckdb-go-bindings/lib/darwin-amd64 v0.10505.0 // indirect + github.com/duckdb/duckdb-go-bindings/lib/darwin-arm64 v0.10505.0 // indirect + github.com/duckdb/duckdb-go-bindings/lib/linux-amd64 v0.10505.0 // indirect + github.com/duckdb/duckdb-go-bindings/lib/linux-arm64 v0.10505.0 // indirect + github.com/duckdb/duckdb-go-bindings/lib/windows-amd64 v0.10505.0 // indirect + github.com/envoyproxy/go-control-plane/envoy v1.37.0 // indirect + github.com/envoyproxy/protoc-gen-validate v1.3.3 // indirect + github.com/felixge/httpsnoop v1.0.4 // indirect + github.com/go-faster/city v1.0.1 // indirect + github.com/go-faster/errors v0.7.1 // indirect + github.com/go-jose/go-jose/v4 v4.1.4 // indirect + github.com/go-logr/logr v1.4.3 // indirect + github.com/go-logr/stdr v1.2.2 // indirect + github.com/go-viper/mapstructure/v2 v2.5.0 // indirect + github.com/goccy/go-json v0.10.5 // indirect + github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9 // indirect + github.com/golang-sql/sqlexp v0.1.0 // indirect + github.com/google/flatbuffers v25.12.19+incompatible // indirect + github.com/google/s2a-go v0.1.9 // indirect + github.com/google/uuid v1.6.0 // indirect + github.com/googleapis/enterprise-certificate-proxy v0.3.20 // indirect + github.com/googleapis/gax-go/v2 v2.24.0 // indirect + github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect + github.com/jackc/pgpassfile v1.0.0 // indirect + github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect + github.com/jackc/puddle/v2 v2.2.2 // indirect + github.com/klauspost/compress v1.19.1 // indirect + github.com/klauspost/cpuid/v2 v2.3.0 // indirect + github.com/ncruces/go-sqlite3 v0.35.4 // indirect + github.com/ncruces/go-sqlite3-wasm/v5 v5.0.35304 // indirect + github.com/ncruces/julianday v1.0.0 // indirect + github.com/paulmach/orb v0.13.0 // indirect + github.com/pierrec/lz4/v4 v4.1.27 // indirect + github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 // indirect + github.com/segmentio/asm v1.2.1 // indirect + github.com/shopspring/decimal v1.4.0 // indirect + github.com/spiffe/go-spiffe/v2 v2.7.0 // indirect + github.com/zeebo/xxh3 v1.1.0 // indirect + go.opencensus.io v0.24.0 // indirect + go.opentelemetry.io/auto/sdk v1.2.1 // indirect + go.opentelemetry.io/contrib/detectors/gcp v1.44.0 // indirect + go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.67.0 // indirect + go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.69.0 // indirect + go.opentelemetry.io/otel v1.44.0 // indirect + go.opentelemetry.io/otel/metric v1.44.0 // indirect + go.opentelemetry.io/otel/sdk v1.44.0 // indirect + go.opentelemetry.io/otel/sdk/metric v1.44.0 // indirect + go.opentelemetry.io/otel/trace v1.44.0 // indirect + golang.org/x/crypto v0.55.0 // indirect + golang.org/x/exp v0.0.0-20260112195511-716be5621a96 // indirect + golang.org/x/mod v0.38.0 // indirect + golang.org/x/net v0.58.0 // indirect + golang.org/x/oauth2 v0.36.0 // indirect + golang.org/x/sync v0.23.0 // indirect + golang.org/x/sys v0.47.0 // indirect + golang.org/x/telemetry v0.0.0-20260708182218-49f421fb7959 // indirect + golang.org/x/text v0.41.0 // indirect + golang.org/x/time v0.15.0 // indirect + golang.org/x/tools v0.48.0 // indirect + golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da // indirect + google.golang.org/genproto v0.0.0-20260715232425-e75dac1f907d // indirect + google.golang.org/genproto/googleapis/api v0.0.0-20260715232425-e75dac1f907d // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20260819154853-08b0e4226688 // indirect + google.golang.org/protobuf v1.36.12 // indirect +) + +replace github.com/sqlc-dev/sqlc => ../ diff --git a/examples/go.sum b/examples/go.sum new file mode 100644 index 0000000000..ba447cb5db --- /dev/null +++ b/examples/go.sum @@ -0,0 +1,329 @@ +cel.dev/expr v0.25.2 h1:K6j46C81hXtZQfuX60cVWQFBJahKSE2gfRbNuvr5bFs= +cel.dev/expr v0.25.2/go.mod h1:hrXvqGP6G6gyx8UAHSHJ5RGk//1Oj5nXQ2NI02Nrsg4= +cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +cloud.google.com/go v0.123.0 h1:2NAUJwPR47q+E35uaJeYoNhuNEM9kM8SjgRgdeOJUSE= +cloud.google.com/go v0.123.0/go.mod h1:xBoMV08QcqUGuPW65Qfm1o9Y4zKZBpGS+7bImXLTAZU= +cloud.google.com/go/auth v0.23.2 h1:pxSCpfiji41hpzpPdMCftEUCezpgpqmmDdYiAjCKXxo= +cloud.google.com/go/auth v0.23.2/go.mod h1:4DhBRcqvtljQN3dJ57qtqbib5ZGCYE5f2crfiiC2EM0= +cloud.google.com/go/auth/oauth2adapt v0.2.8 h1:keo8NaayQZ6wimpNSmW5OPc283g65QNIiLpZnkHRbnc= +cloud.google.com/go/auth/oauth2adapt v0.2.8/go.mod h1:XQ9y31RkqZCcwJWNSx2Xvric3RrU88hAYYbjDWYDL+c= +cloud.google.com/go/compute/metadata v0.9.0 h1:pDUj4QMoPejqq20dK0Pg2N4yG9zIkYGdBtwLoEkH9Zs= +cloud.google.com/go/compute/metadata v0.9.0/go.mod h1:E0bWwX5wTnLPedCKqk3pJmVgCBSM6qQI1yTBdEb3C10= +cloud.google.com/go/iam v1.12.0 h1:Aki3bX9aHUDKPHfnRJfDcTdVedvy6quGBQcTqx3DRXk= +cloud.google.com/go/iam v1.12.0/go.mod h1:FEZ4lXpADAC2AIpQY7LANNjjwyQ2jK439CI2VaD+sLY= +cloud.google.com/go/longrunning v1.2.0 h1:WjYH3YHBGCxGJP9M4dWGHBfXr/cFIjMkNgWcJj7/iMM= +cloud.google.com/go/longrunning v1.2.0/go.mod h1:5KMQALFGOCtFoi2xSOA1u3H7WKlhmckgiyFw7+LGQp0= +cloud.google.com/go/monitoring v1.30.0 h1:r/d+JUbyKmJ8b07iznuKfzVzrIXTWxHQ3lBRm3x2LlY= +cloud.google.com/go/monitoring v1.30.0/go.mod h1:htlUR0QWVMrjFzZmN4LGnMAve9xB/eduwjmINxVZ8RM= +cloud.google.com/go/spanner v1.95.1 h1:9HYr+AAeAOubn0NZAYv34dFHQ3NbIUcWHZmgJvufPzk= +cloud.google.com/go/spanner v1.95.1/go.mod h1:Z2+83J5oVDmd1n5ntVMmjEuiNoXOpAyNeG7y1tuEHk0= +filippo.io/edwards25519 v1.2.0 h1:crnVqOiS4jqYleHd9vaKZ+HKtHfllngJIiOpNpoJsjo= +filippo.io/edwards25519 v1.2.0/go.mod h1:xzAOLCNug/yB62zG1bQ8uziwrIqIuxhctzJT18Q77mc= +github.com/Azure/azure-sdk-for-go/sdk/azcore v1.23.0 h1:4gRPBpN1f6xt88yi4WR26m7XaD9OlWtVT6bWPdGUIok= +github.com/Azure/azure-sdk-for-go/sdk/azcore v1.23.0/go.mod h1:G7QVLxw1j1JVyrO1MA95S8m8HStaaleDZYTcfGgjB2o= +github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.14.0 h1:CU4+EJeJi3TKYWEcYuSdWsjzw0nVsK/H0MSQOiPcymU= +github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.14.0/go.mod h1:q0+UTSRvShwUCrR/s5HtyInYphN7Wvxb7snFM3u+SLA= +github.com/Azure/azure-sdk-for-go/sdk/internal v1.12.0 h1:fhqpLE3UEXi9lPaBRpQ6XuRW0nU7hgg4zlmZZa+a9q4= +github.com/Azure/azure-sdk-for-go/sdk/internal v1.12.0/go.mod h1:7dCRMLwisfRH3dBupKeNCioWYUZ4SS09Z14H+7i8ZoY= +github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azkeys v1.5.0 h1:MaKvxE6D0KkjOg6Wd9M00iqP5PR0kUxCfiezes4JweM= +github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azkeys v1.5.0/go.mod h1:i2h9fsTFKZorh8RdV2IcSUf/Qj98GlTkrTvUbX/s8as= +github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/internal v1.2.0 h1:nCYfgcSyHZXJI8J0IWE5MsCGlb2xp9fJiXyxWgmOFg4= +github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/internal v1.2.0/go.mod h1:ucUjca2JtSZboY8IoUqyQyuuXvwbMBVwFOm0vdQPNhA= +github.com/AzureAD/microsoft-authentication-library-for-go v1.7.2 h1:RHK7bS+HQMslb1sZpAokUt+zTVmue0hKSs2C791hhzU= +github.com/AzureAD/microsoft-authentication-library-for-go v1.7.2/go.mod h1:HKpQxkWaGLJ+D/5H8QRpyQXA1eKjxkFlOMwck5+33Jk= +github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= +github.com/ClickHouse/ch-go v0.74.0 h1:uYs2m4wIt0ZHSM1E72rg0maCfzhR2V3xWb/vZEgpeWE= +github.com/ClickHouse/ch-go v0.74.0/go.mod h1:sZ/r+8ttZMjyrP9PuFbgoVbth1ywIu2LIQNA2vgko6M= +github.com/ClickHouse/clickhouse-go/v2 v2.48.0 h1:auzd4VkapQYhQF8F2Gog7s3x78Bi1JZmByxGbrw3C+4= +github.com/ClickHouse/clickhouse-go/v2 v2.48.0/go.mod h1:lBjUCPRG6RpRQdMbkXq+JV8rY0/O5lw+Z7jShgReFjM= +github.com/GoogleCloudPlatform/grpc-gcp-go/grpcgcp v1.6.0 h1:BzsL0qE7LvtTEtXG7Dt5NS1EP0CQwI21HZfj9aGghhw= +github.com/GoogleCloudPlatform/grpc-gcp-go/grpcgcp v1.6.0/go.mod h1:I7kE2kM3qCr9QPT4cU4cCFYkEpVyVr16YOGUHzy+nR0= +github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.33.0 h1:l7+6kwRMJNwdCvYdDl7Eax+wzEYHSnNY7zrrfbhDdTA= +github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.33.0/go.mod h1:pJTkW8hEUIIi3Pf65lPZOnn4Y81yCllX6IWk2jNXdkM= +github.com/andybalholm/brotli v1.2.2 h1:HzTuoo2ErYQqf5qvcJInB8uvqSVxRttzkFexPWtnceM= +github.com/andybalholm/brotli v1.2.2/go.mod h1:rzTDkvFWvIrjDXZHkuS16NPggd91W3kUSvPlQ1pLaKY= +github.com/apache/arrow-go/v18 v18.5.1 h1:yaQ6zxMGgf9YCYw4/oaeOU3AULySDlAYDOcnr4LdHdI= +github.com/apache/arrow-go/v18 v18.5.1/go.mod h1:OCCJsmdq8AsRm8FkBSSmYTwL/s4zHW9CqxeBxEytkNE= +github.com/apache/thrift v0.22.0 h1:r7mTJdj51TMDe6RtcmNdQxgn9XcyfGDOzegMDRg47uc= +github.com/apache/thrift v0.22.0/go.mod h1:1e7J/O1Ae6ZQMTYdy9xa3w9k+XHWPfRvdPyJeynQ+/g= +github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= +github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs= +github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= +github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= +github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= +github.com/cncf/xds/go v0.0.0-20260202195803-dba9d589def2 h1:aBangftG7EVZoUb69Os8IaYg++6uMOdKK83QtkkvJik= +github.com/cncf/xds/go v0.0.0-20260202195803-dba9d589def2/go.mod h1:qwXFYgsP6T7XnJtbKlf1HP8AjxZZyzxMmc+Lq5GjlU4= +github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/duckdb/duckdb-go-bindings v0.10505.0 h1:/0pPsTLrcCsTGxT0VrHgJWnOcPe1tQL1vrki1v3jbAI= +github.com/duckdb/duckdb-go-bindings v0.10505.0/go.mod h1:HoD5xePkDj3VZbBnVVfxVVYIljZ9khCprWA7FgwIiC4= +github.com/duckdb/duckdb-go-bindings/lib/darwin-amd64 v0.10505.0 h1:FrMqquFBQlMsi34h2KZgCku54rqA8xEbXZ0NLVDKwYs= +github.com/duckdb/duckdb-go-bindings/lib/darwin-amd64 v0.10505.0/go.mod h1:EnAvZh1kNJHp5yF+M1ZHNEvapnmt6anq1xXHVrAGqMo= +github.com/duckdb/duckdb-go-bindings/lib/darwin-arm64 v0.10505.0 h1:lbRbpQwT1MmUhh/VTwukV9K8bxKByV3UghAP3MvsbBo= +github.com/duckdb/duckdb-go-bindings/lib/darwin-arm64 v0.10505.0/go.mod h1:IGLSeEcFhNeZF16aVjQCULD7TsFZKG5G7SyKJAXKp5c= +github.com/duckdb/duckdb-go-bindings/lib/linux-amd64 v0.10505.0 h1:nrsaVYj3XYCRbS2FpdOMD/KHE7egRMr+/NR1IHmjT84= +github.com/duckdb/duckdb-go-bindings/lib/linux-amd64 v0.10505.0/go.mod h1:KAIynZ0GHCS7X5fRyuFnQMg/SZBPK/bS9OCOVojClxw= +github.com/duckdb/duckdb-go-bindings/lib/linux-arm64 v0.10505.0 h1:qM6oGDgwXBILJGbTY4fCy6QOczLpucUA6yn6g3ORjh4= +github.com/duckdb/duckdb-go-bindings/lib/linux-arm64 v0.10505.0/go.mod h1:81SGOYoEUs8qaAfSk1wRfM5oobrIJ5KI7AzYhK6/bvQ= +github.com/duckdb/duckdb-go-bindings/lib/windows-amd64 v0.10505.0 h1:DjqZl9rYreHkSOqnqLmkrqH5T8UdQNcxZLJVZzGmXXA= +github.com/duckdb/duckdb-go-bindings/lib/windows-amd64 v0.10505.0/go.mod h1:K25pJL26ARblGDeuAkrdblFvUen92+CwksLtPEHRqqQ= +github.com/duckdb/duckdb-go/v2 v2.10505.0 h1:SWwvLn2Qx/RQSnQNupwgIF8VbnJ5A6OQU9lYb/mDETI= +github.com/duckdb/duckdb-go/v2 v2.10505.0/go.mod h1:m0PW4J4FG9hlFlVdXi6Ds9owpyIDaBdE2jyce00fGcE= +github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= +github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= +github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= +github.com/envoyproxy/go-control-plane v0.14.0 h1:hbG2kr4RuFj222B6+7T83thSPqLjwBIfQawTkC++2HA= +github.com/envoyproxy/go-control-plane v0.14.0/go.mod h1:NcS5X47pLl/hfqxU70yPwL9ZMkUlwlKxtAohpi2wBEU= +github.com/envoyproxy/go-control-plane/envoy v1.37.0 h1:u3riX6BoYRfF4Dr7dwSOroNfdSbEPe9Yyl09/B6wBrQ= +github.com/envoyproxy/go-control-plane/envoy v1.37.0/go.mod h1:DReE9MMrmecPy+YvQOAOHNYMALuowAnbjjEMkkWOi6A= +github.com/envoyproxy/go-control-plane/ratelimit v0.1.0 h1:/G9QYbddjL25KvtKTv3an9lx6VBE2cnb8wp1vEGNYGI= +github.com/envoyproxy/go-control-plane/ratelimit v0.1.0/go.mod h1:Wk+tMFAFbCXaJPzVVHnPgRKdUdwW/KdbRt94AzgRee4= +github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= +github.com/envoyproxy/protoc-gen-validate v1.3.3 h1:MVQghNeW+LZcmXe7SY1V36Z+WFMDjpqGAGacLe2T0ds= +github.com/envoyproxy/protoc-gen-validate v1.3.3/go.mod h1:TsndJ/ngyIdQRhMcVVGDDHINPLWB7C82oDArY51KfB0= +github.com/felixge/httpsnoop v1.0.4 h1:NFTV2Zj1bL4mc9sqWACXbQFVBBg2W3GPvqp8/ESS2Wg= +github.com/felixge/httpsnoop v1.0.4/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= +github.com/go-faster/city v1.0.1 h1:4WAxSZ3V2Ws4QRDrscLEDcibJY8uf41H6AhXDrNDcGw= +github.com/go-faster/city v1.0.1/go.mod h1:jKcUJId49qdW3L1qKHH/3wPeUstCVpVSXTM6vO3VcTw= +github.com/go-faster/errors v0.7.1 h1:MkJTnDoEdi9pDabt1dpWf7AA8/BaSYZqibYyhZ20AYg= +github.com/go-faster/errors v0.7.1/go.mod h1:5ySTjWFiphBs07IKuiL69nxdfd5+fzh1u7FPGZP2quo= +github.com/go-jose/go-jose/v4 v4.1.4 h1:moDMcTHmvE6Groj34emNPLs/qtYXRVcd6S7NHbHz3kA= +github.com/go-jose/go-jose/v4 v4.1.4/go.mod h1:x4oUasVrzR7071A4TnHLGSPpNOm2a21K9Kf04k1rs08= +github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/go-logr/logr v1.4.3 h1:CjnDlHq8ikf6E492q6eKboGOC0T8CDaOvkHCIg8idEI= +github.com/go-logr/logr v1.4.3/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= +github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= +github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= +github.com/go-sql-driver/mysql v1.10.1 h1:arlSnNLq6a5yxGxV7qg9lF4j0C+KwD6NbQyKr9QL6ME= +github.com/go-sql-driver/mysql v1.10.1/go.mod h1:M+cqaI7+xxXGG9swrdeUIoPG3Y3KCkF0pZej+SK+nWk= +github.com/go-viper/mapstructure/v2 v2.5.0 h1:vM5IJoUAy3d7zRSVtIwQgBj7BiWtMPfmPEgAXnvj1Ro= +github.com/go-viper/mapstructure/v2 v2.5.0/go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM= +github.com/goccy/go-json v0.10.5 h1:Fq85nIqj+gXn/S5ahsiTlK3TmC85qgirsdTP/+DeaC4= +github.com/goccy/go-json v0.10.5/go.mod h1:oq7eo15ShAhp70Anwd5lgX2pLfOS3QCiwU/PULtXL6M= +github.com/golang-jwt/jwt/v5 v5.3.1 h1:kYf81DTWFe7t+1VvL7eS+jKFVWaUnK9cB1qbwn63YCY= +github.com/golang-jwt/jwt/v5 v5.3.1/go.mod h1:fxCRLWMO43lRc8nhHWY6LGqRcf+1gQWArsqaEUEa5bE= +github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9 h1:au07oEsX2xN0ktxqI+Sida1w446QrXBRJ0nee3SNZlA= +github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9/go.mod h1:8vg3r2VgvsThLBIFL93Qb5yWzgyZWhEmBwUJWevAkK0= +github.com/golang-sql/sqlexp v0.1.0 h1:ZCD6MBpcuOVfGVqsEmY5/4FtYiKz6tSyUv9LPEDei6A= +github.com/golang-sql/sqlexp v0.1.0/go.mod h1:J4ad9Vo8ZCWQ2GMrC4UCQy1JpCbwU9m3EOqtpKwwwHI= +github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= +github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 h1:f+oWsMOmNPc8JmEHVZIycC7hBoQxHH9pNKQORJNozsQ= +github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8/go.mod h1:wcDNUvekVysuuOpQKo3191zZyTpiI6se1N1ULghS0sw= +github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= +github.com/golang/mock v1.7.0-rc.1 h1:YojYx61/OLFsiv6Rw1Z96LpldJIy31o+UHmwAUMJ6/U= +github.com/golang/mock v1.7.0-rc.1/go.mod h1:s42URUywIqd+OcERslBJvOjepvNymP31m3q8d/GkuRs= +github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= +github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= +github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= +github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= +github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= +github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= +github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= +github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek= +github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps= +github.com/golang/snappy v1.0.0 h1:Oy607GVXHs7RtbggtPBnr2RmDArIsAefDwvrdWvRhGs= +github.com/golang/snappy v1.0.0/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= +github.com/google/flatbuffers v25.12.19+incompatible h1:haMV2JRRJCe1998HeW/p0X9UaMTK6SDo0ffLn2+DbLs= +github.com/google/flatbuffers v25.12.19+incompatible/go.mod h1:1AeVuKshWv4vARoZatz6mlQ0JxURH0Kv5+zNeJKJCa8= +github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= +github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= +github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= +github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8= +github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU= +github.com/google/s2a-go v0.1.9 h1:LGD7gtMgezd8a/Xak7mEWL0PjoTQFvpRudN895yqKW0= +github.com/google/s2a-go v0.1.9/go.mod h1:YA0Ei2ZQL3acow2O62kdp9UlnvMmU7kA6Eutn0dXayM= +github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= +github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/googleapis/enterprise-certificate-proxy v0.3.20 h1:t/xL64VUoN69MuMRQuJETqYGOw4Z9mSRJK9epIEtwFk= +github.com/googleapis/enterprise-certificate-proxy v0.3.20/go.mod h1:L3D/IQExI6LqEjBdXcZQ1WluSgigQmSwBboFstVPM4w= +github.com/googleapis/gax-go/v2 v2.24.0 h1:myMaPYyF9MecEmvQqMqomIwn9t/4KCZN9qnwsS76wlg= +github.com/googleapis/gax-go/v2 v2.24.0/go.mod h1:IaTHBDd7NHxSCiu0vEs8pQZu4dGZrWwuSoxCnk16OFM= +github.com/googleapis/go-sql-spanner v1.26.0 h1:kJ82/XRqWYLNGW7GLfABG4j0HuP7POvklUDCYHSFATk= +github.com/googleapis/go-sql-spanner v1.26.0/go.mod h1:QqG0NfeQbM5HOkKYti3YavRLDO1gQ8fke48IN3cnMfI= +github.com/hashicorp/golang-lru/v2 v2.0.7 h1:a+bsQ5rvGLjzHuww6tVxozPZFVghXaHOwFs4luLUK2k= +github.com/hashicorp/golang-lru/v2 v2.0.7/go.mod h1:QeFd9opnmA6QUJc5vARoKUSoFhyfM2/ZepoAG6RGpeM= +github.com/jackc/pgpassfile v1.0.0 h1:/6Hmqy13Ss2zCq62VdNG8tM1wchn8zjSGOBJ6icpsIM= +github.com/jackc/pgpassfile v1.0.0/go.mod h1:CEx0iS5ambNFdcRtxPj5JhEz+xB6uRky5eyVu/W2HEg= +github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 h1:iCEnooe7UlwOQYpKFhBabPMi4aNAfoODPEFNiAnClxo= +github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761/go.mod h1:5TJZWKEWniPve33vlWYSoGYefn3gLQRzjfDlhSJ9ZKM= +github.com/jackc/pgx/v5 v5.11.0 h1:IzBBtyK9AHqf98cctWFifYSci2hgQR/cd56wB4p+ogg= +github.com/jackc/pgx/v5 v5.11.0/go.mod h1:mal1tBGAFfLHvZzaYh77YS/eC6IX9OWbRV1QIIM0Jn4= +github.com/jackc/puddle/v2 v2.2.2 h1:PR8nw+E/1w0GLuRFSmiioY6UooMp6KJv0/61nB7icHo= +github.com/jackc/puddle/v2 v2.2.2/go.mod h1:vriiEXHvEE654aYKXXjOvZM39qJ0q+azkZFrfEOc3H4= +github.com/klauspost/asmfmt v1.3.2 h1:4Ri7ox3EwapiOjCki+hw14RyKk201CN4rzyCJRFLpK4= +github.com/klauspost/asmfmt v1.3.2/go.mod h1:AG8TuvYojzulgDAMCnYn50l/5QV3Bs/tp6j0HLHbNSE= +github.com/klauspost/compress v1.19.1 h1:VsB4HPswih7mmZ8WleSFQ75c/Ui1M4trX5oAsJnhSlk= +github.com/klauspost/compress v1.19.1/go.mod h1:cwPg85FWrGar70rWktvGQj8/hthj3wpl0PGDogxkrSQ= +github.com/klauspost/cpuid/v2 v2.3.0 h1:S4CRMLnYUhGeDFDqkGriYKdfoFlDnMtqTiI/sFzhA9Y= +github.com/klauspost/cpuid/v2 v2.3.0/go.mod h1:hqwkgyIinND0mEev00jJYCxPNVRVXFQeu1XKlok6oO0= +github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc= +github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw= +github.com/lib/pq v1.12.3 h1:tTWxr2YLKwIvK90ZXEw8GP7UFHtcbTtty8zsI+YjrfQ= +github.com/lib/pq v1.12.3/go.mod h1:/p+8NSbOcwzAEI7wiMXFlgydTwcgTr3OSKMsD2BitpA= +github.com/microsoft/go-mssqldb v1.11.0 h1:YbDqolEjGH9hBfvKzONTf5/dbl9RKXmizMJE93lVxNs= +github.com/microsoft/go-mssqldb v1.11.0/go.mod h1:goQLDOPlMN/l1REhnNPElMoY/yX+fUWn1+7UoFJPH9Y= +github.com/minio/asm2plan9s v0.0.0-20200509001527-cdd76441f9d8 h1:AMFGa4R4MiIpspGNG7Z948v4n35fFGB3RR3G/ry4FWs= +github.com/minio/asm2plan9s v0.0.0-20200509001527-cdd76441f9d8/go.mod h1:mC1jAcsrzbxHt8iiaC+zU4b1ylILSosueou12R++wfY= +github.com/minio/c2goasm v0.0.0-20190812172519-36a3d3bbc4f3 h1:+n/aFZefKZp7spd8DFdX7uMikMLXX4oubIzJF4kv/wI= +github.com/minio/c2goasm v0.0.0-20190812172519-36a3d3bbc4f3/go.mod h1:RagcQ7I8IeTMnF8JTXieKnO4Z6JCsikNEzj0DwauVzE= +github.com/ncruces/go-sqlite3 v0.35.4 h1:unjCk+lVaxMpD9hbVaZyDJviS5Unw1P03+HF0ROLlHo= +github.com/ncruces/go-sqlite3 v0.35.4/go.mod h1:dfbnrzPOLEIpCNZ1yDRkIG60pGxjDCwiEKj9A0lGWYE= +github.com/ncruces/go-sqlite3-wasm/v5 v5.0.35304 h1:Ck3GB9h+0n3hJqdhAeehOef3k5V+llGio1c2Dyk/W6w= +github.com/ncruces/go-sqlite3-wasm/v5 v5.0.35304/go.mod h1:gJyN6U50iis7mDt+rzRv8u9vUNr08NTD2p4fVonKn/Q= +github.com/ncruces/julianday v1.0.0 h1:fH0OKwa7NWvniGQtxdJRxAgkBMolni2BjDHaWTxqt7M= +github.com/ncruces/julianday v1.0.0/go.mod h1:Dusn2KvZrrovOMJuOt0TNXL6tB7U2E8kvza5fFc9G7g= +github.com/paulmach/orb v0.13.0 h1:r7n7mQGGF+cj/CbcivEj9J3HGK+XR+yXnvzRdq9saIw= +github.com/paulmach/orb v0.13.0/go.mod h1:6scRWINywA2Jf05dcjOfLfxrUIMECvTSG2MVbRLxu/k= +github.com/pierrec/lz4/v4 v4.1.27 h1:+PhzhWDrjRj89TH2sw43nE3+4+W8lSxIuQadEHZyjUk= +github.com/pierrec/lz4/v4 v4.1.27/go.mod h1:EoQMVJgeeEOMsCqCzqFm2O0cJvljX2nGZjcRIPL34O4= +github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c h1:+mdjkGKdHQG3305AYmdv1U2eRNDiU2ErMBj1gwrq8eQ= +github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c/go.mod h1:7rwL4CYBLnjLxUqIJNnCWiEdr3bn6IUYi15bNlnbCCU= +github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 h1:GFCKgmp0tecUJ0sJuv4pzYCqS9+RGSn52M3FUwPs+uo= +github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10/go.mod h1:t/avpk3KcrXxUnYOhZhMXJlSEyie6gQbtLq5NM3loB8= +github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= +github.com/segmentio/asm v1.2.1 h1:DTNbBqs57ioxAD4PrArqftgypG4/qNpXoJx8TVXxPR0= +github.com/segmentio/asm v1.2.1/go.mod h1:BqMnlJP91P8d+4ibuonYZw9mfnzI9HfxselHZr5aAcs= +github.com/shopspring/decimal v1.4.0 h1:bxl37RwXBklmTi0C79JfXCEBD1cqqHt0bbgBAGFp81k= +github.com/shopspring/decimal v1.4.0/go.mod h1:gawqmDU56v4yIKSwfBSFip1HdCCXN8/+DMd9qYNcwME= +github.com/spiffe/go-spiffe/v2 v2.7.0 h1:uXe1MflJoHw58wAUvxVlcM7WpKtijWG7I1UidcGh6g4= +github.com/spiffe/go-spiffe/v2 v2.7.0/go.mod h1:47Q0Q9/AqGha8QLHp+kxpH4Wca7X7EnOtlIJy3mxZ3U= +github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= +github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= +github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= +github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= +github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= +github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= +github.com/stretchr/testify v1.12.1 h1:EuwCh5fleGS7H32xRwO3wRGT7DxrDhLAT6FF8MpWDWE= +github.com/stretchr/testify v1.12.1/go.mod h1:MDEgiDPPsNp5cuIrHPPCyornHKgEVbtFUmoNlxoYthg= +github.com/xyproto/randomstring v1.0.5 h1:YtlWPoRdgMu3NZtP45drfy1GKoojuR7hmRcnhZqKjWU= +github.com/xyproto/randomstring v1.0.5/go.mod h1:rgmS5DeNXLivK7YprL0pY+lTuhNQW3iGxZ18UQApw/E= +github.com/zeebo/assert v1.3.0 h1:g7C04CbJuIDKNPFHmsk4hwZDO5O+kntRxzaUoNXj+IQ= +github.com/zeebo/assert v1.3.0/go.mod h1:Pq9JiuJQpG8JLJdtkwrJESF0Foym2/D9XMU5ciN/wJ0= +github.com/zeebo/xxh3 v1.1.0 h1:s7DLGDK45Dyfg7++yxI0khrfwq9661w9EN78eP/UZVs= +github.com/zeebo/xxh3 v1.1.0/go.mod h1:IisAie1LELR4xhVinxWS5+zf1lA4p0MW4T+w+W07F5s= +go.opencensus.io v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0= +go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo= +go.opentelemetry.io/auto/sdk v1.2.1 h1:jXsnJ4Lmnqd11kwkBV2LgLoFMZKizbCi5fNZ/ipaZ64= +go.opentelemetry.io/auto/sdk v1.2.1/go.mod h1:KRTj+aOaElaLi+wW1kO/DZRXwkF4C5xPbEe3ZiIhN7Y= +go.opentelemetry.io/contrib/detectors/gcp v1.44.0 h1:NmLfL734pJhM0JKaYd2Y28+nY9dPRWYAAbxhRCrKXPw= +go.opentelemetry.io/contrib/detectors/gcp v1.44.0/go.mod h1:tNAsgd8avTGke1+MndXlU5Cru4PQ9Ai/cCNWQv/ZJ/s= +go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.67.0 h1:yI1/OhfEPy7J9eoa6Sj051C7n5dvpj0QX8g4sRchg04= +go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.67.0/go.mod h1:NoUCKYWK+3ecatC4HjkRktREheMeEtrXoQxrqYFeHSc= +go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.69.0 h1:8tvICD4vSTOOsNrsI4Ljf6C+6UKvpTEH5XY3JMoyPoo= +go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.69.0/go.mod h1:z9+yiacE0IHRqM4qFfkbt/JYlmYXgss8GY/jXoNuPJI= +go.opentelemetry.io/otel v1.44.0 h1:JjwHmHpA4iZ3wBxluu2fbbE7j4kqlE8jXyAyPXH7HqU= +go.opentelemetry.io/otel v1.44.0/go.mod h1:BMgjTHL9WPRlRjL2oZCBTL4whCGtXch2H4BhOPIAyYc= +go.opentelemetry.io/otel/metric v1.44.0 h1:1w0gILTcHdr3YI+ixLyjemwrVnsMURbTZFrSYCdDdmc= +go.opentelemetry.io/otel/metric v1.44.0/go.mod h1:8O7hanEPBNgEMmybD3s2VBKcgWOCsA6tzHBPODAiquo= +go.opentelemetry.io/otel/metric/x v0.66.0 h1:YkCrx1zLOChi9ZcZ6euupOcsgzbVlec7D/xoEU1+cTA= +go.opentelemetry.io/otel/metric/x v0.66.0/go.mod h1:d1+BDj9t96do0/1LoU1ayfCv79ZgNE41qbhBvnMOBZk= +go.opentelemetry.io/otel/sdk v1.44.0 h1:nHYwb9lK+fJPU/dnT6s7W7Z8itMWyqrnVfbheVYrZ58= +go.opentelemetry.io/otel/sdk v1.44.0/go.mod h1:Osuydd3Se74nqjAKxid74N5eC+jfEqfTegHRnq58oK0= +go.opentelemetry.io/otel/sdk/metric v1.44.0 h1:3LlKgI+VjbVsjNRFZJZAJ30WjXC5VkNRks6si09iEfI= +go.opentelemetry.io/otel/sdk/metric v1.44.0/go.mod h1:5B5pMARnXxKhltooO4xUuCBorl65a4EpnTalObqOigA= +go.opentelemetry.io/otel/trace v1.44.0 h1:jxF5CsGYCe74MCRx2X4g7WsY/VBKRqqpNvXlX/6gtIk= +go.opentelemetry.io/otel/trace v1.44.0/go.mod h1:oLl1jrMQAVo6v3GAggN+1VH9VIz9iUSvW53sW1Q8PIE= +go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto= +go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE= +go.yaml.in/yaml/v3 v3.0.5 h1:N6y/pJk8buWs9NY5ERU2HSMfm+IuD/OtfdAnq6kESPw= +go.yaml.in/yaml/v3 v3.0.5/go.mod h1:HVTZu1O7/Vkt2N+BFy8Zza+lnLsABggaTM2ZpNIGuKg= +golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= +golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.55.0 h1:+KWHjbgOaAQ66dh/YlkZKHlz9ZUlq61AFirAR9ntP8M= +golang.org/x/crypto v0.55.0/go.mod h1:uq0V9dE/fzQuJtbnL+2EhWOE63vo164FY8xqEnV9xis= +golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/exp v0.0.0-20260112195511-716be5621a96 h1:Z/6YuSHTLOHfNFdb8zVZomZr7cqNgTJvA8+Qz75D8gU= +golang.org/x/exp v0.0.0-20260112195511-716be5621a96/go.mod h1:nzimsREAkjBCIEFtHiYkrJyT+2uy9YZJB7H1k68CXZU= +golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= +golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= +golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= +golang.org/x/mod v0.38.0 h1:MECBjubtXD7yj4HrhIUcywNaGeNVUdfVnxmPajOk4yk= +golang.org/x/mod v0.38.0/go.mod h1:V6Xz0pq8TQ3dGqVQ1FVHuelZpAL0uNhSkk9ogYP3c40= +golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= +golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= +golang.org/x/net v0.58.0 h1:ynWG7rqYi4ccpTEuPZ2QGWHktVEM9DMCj9yzDE0Q7To= +golang.org/x/net v0.58.0/go.mod h1:YwCddHnFlT7eLQqVprV19OnhLGtc5xOKgE0RyqgfWAU= +golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= +golang.org/x/oauth2 v0.36.0 h1:peZ/1z27fi9hUOFCAZaHyrpWG5lwe0RJEEEeH0ThlIs= +golang.org/x/oauth2 v0.36.0/go.mod h1:YDBUJMTkDnJS+A4BP4eZBjCqtokkg1hODuPjwiGPO7Q= +golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.23.0 h1:KameEIfc1IkluZyXWLn39Wd4tURc6GbCiISGiZm2bQk= +golang.org/x/sync v0.23.0/go.mod h1:sUUOizhqBxiL6pEWpqNLUiaJn1ShEbZ6BBqskPbjZm0= +golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= +golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.47.0 h1:o7XGOvZQCADBQQ4Y7VNq2dRWQR7JmOUW8Kxx4ZsNgWs= +golang.org/x/sys v0.47.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw= +golang.org/x/telemetry v0.0.0-20260708182218-49f421fb7959 h1:RJhm5l6Fo4rmEIcndxDllNhhf/fAx8qIm4t6A7vpm2A= +golang.org/x/telemetry v0.0.0-20260708182218-49f421fb7959/go.mod h1:LV7u5Oco+Z/g6XI7PqN+EUUUGGkEcmB1uj2ceI0fOVg= +golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= +golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.41.0 h1:vz/seA0lnX87Othu2f/0L24RcgrXD9/YFTSuGjj3rH8= +golang.org/x/text v0.41.0/go.mod h1:jvf1O8ajNzZqhSrQBPbutR/EB83Cc0CFrezNQIwbb5M= +golang.org/x/time v0.15.0 h1:bbrp8t3bGUeFOx08pvsMYRTCVSMk89u4tKbNOZbp88U= +golang.org/x/time v0.15.0/go.mod h1:Y4YMaQmXwGQZoFaVFk4YpCt4FLQMYKZe9oeV/f4MSno= +golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= +golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= +golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.48.0 h1:3+hClM1aLL5mjMKm5ovokw9epgRXPuu2tILgismM6RE= +golang.org/x/tools v0.48.0/go.mod h1:08xX0orndb/F7jJxGDicx061tyd5pcMto75YMAXr6lk= +golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da h1:noIWHXmPHxILtqtCOPIhSt0ABwskkZKjD3bXGnZGpNY= +golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da/go.mod h1:NDW/Ps6MPRej6fsCIbMTohpP40sJ/P/vI1MoTEGwX90= +gonum.org/v1/gonum v0.17.0 h1:VbpOemQlsSMrYmn7T2OUvQ4dqxQXU+ouZFQsZOx50z4= +gonum.org/v1/gonum v0.17.0/go.mod h1:El3tOrEuMpv2UdMrbNlKEh9vd86bmQ6vqIcDwxEOc1E= +google.golang.org/api v0.298.0 h1:YW18RkHBMZBA1ergX0m4biagzgbiPTb2uTsRsDPWNRY= +google.golang.org/api v0.298.0/go.mod h1:02qB8+Ox1ZFzcaKFMguy1nQLJmSIyvV6Ff4txJEXtl4= +google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= +google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= +google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= +google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= +google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= +google.golang.org/genproto v0.0.0-20260715232425-e75dac1f907d h1:C9v1o0/4quuhOAfmRXA2j+we0PqZIp8traLdeogF3Ms= +google.golang.org/genproto v0.0.0-20260715232425-e75dac1f907d/go.mod h1:Wz2wFJntZFmLGo7pLDXZ3wYk5hyc0Mb+SkHhDDXT+lU= +google.golang.org/genproto/googleapis/api v0.0.0-20260715232425-e75dac1f907d h1:QwnJwPte4XXAkhPu26LTDIahnsMSUV0kK8HkxbC+Pc4= +google.golang.org/genproto/googleapis/api v0.0.0-20260715232425-e75dac1f907d/go.mod h1:WRrQ7/7N19PypuT0fxLOL5Lq0waoiRri4FbtHDEKrGE= +google.golang.org/genproto/googleapis/rpc v0.0.0-20260819154853-08b0e4226688 h1:cYNAzI2sUwhmCcoj9TxvihSrqsxt6uIkj3rDRhSDmW4= +google.golang.org/genproto/googleapis/rpc v0.0.0-20260819154853-08b0e4226688/go.mod h1:DjtHYE8FKJLivXcBEjGwndXfIC23G0VpXiXKqG179uA= +google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= +google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= +google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= +google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= +google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc= +google.golang.org/grpc v1.83.2 h1:EManeRomTObA0BU7I8vXgg/78uE5MJ9M8B39EX2WscU= +google.golang.org/grpc v1.83.2/go.mod h1:YPI1hK3kDked6iHvgX3tR0y+nX/qpMFKhPgFsokw1S8= +google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= +google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= +google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= +google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= +google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= +google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= +google.golang.org/protobuf v1.36.12 h1:pJOKDDOyeXErUroCihFAd5LQuwXBSpVnKGrj5o/fwxc= +google.golang.org/protobuf v1.36.12/go.mod h1:HTf+CrKn2C3g5S8VImy6tdcUvCska2kB7j23XfzDpco= +gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= +gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= diff --git a/examples/internal/local/clickhouse.go b/examples/internal/local/clickhouse.go new file mode 100644 index 0000000000..b29d33e94f --- /dev/null +++ b/examples/internal/local/clickhouse.go @@ -0,0 +1,101 @@ +package local + +import ( + "context" + "database/sql" + "fmt" + "net/url" + "os" + "strings" + "sync" + "testing" + + _ "github.com/ClickHouse/clickhouse-go/v2" + + "github.com/sqlc-dev/sqlc/internal/sql/sqlpath" +) + +var clickhouseSync sync.Once +var clickhousePool *sql.DB + +// ClickHouse creates a database on the server CLICKHOUSE_SERVER_URI names, +// such as clickhouse://default:mysecretpassword@127.0.0.1:9000, runs the +// migrations in it +// and returns a URI that connects to it. The test is skipped when no +// server is named. +func ClickHouse(t *testing.T, migrations []string) string { + ctx := context.Background() + t.Helper() + + dburi := os.Getenv("CLICKHOUSE_SERVER_URI") + if dburi == "" { + t.Skip("CLICKHOUSE_SERVER_URI is empty") + } + + clickhouseSync.Do(func() { + db, err := sql.Open("clickhouse", dburi) + if err != nil { + t.Fatal(err) + } + clickhousePool = db + }) + if clickhousePool == nil { + t.Fatalf("ClickHouse pool creation failed") + } + + seed, err := statements(migrations) + if err != nil { + t.Fatal(err) + } + + name := fmt.Sprintf("sqlc_test_%s", id()) + if _, err := clickhousePool.ExecContext(ctx, fmt.Sprintf("CREATE DATABASE `%s`", name)); err != nil { + t.Fatal(err) + } + t.Cleanup(func() { + if _, err := clickhousePool.ExecContext(ctx, fmt.Sprintf("DROP DATABASE `%s`", name)); err != nil { + t.Fatalf("failed cleaning up: %s", err) + } + }) + + uri, err := url.Parse(dburi) + if err != nil { + t.Fatal(err) + } + uri.Path = name + + db, err := sql.Open("clickhouse", uri.String()) + if err != nil { + t.Fatal(err) + } + defer db.Close() + for _, q := range seed { + if _, err := db.ExecContext(ctx, q); err != nil { + t.Fatalf("%s: %s", q, err) + } + } + return uri.String() +} + +// statements reads the migrations and splits them into the statements +// they hold, for a driver that runs one statement per call. +func statements(migrations []string) ([]string, error) { + files, err := sqlpath.Glob(migrations) + if err != nil { + return nil, err + } + var out []string + for _, f := range files { + blob, err := os.ReadFile(f) + if err != nil { + return nil, err + } + for _, q := range strings.Split(string(blob), ";") { + if strings.TrimSpace(q) == "" { + continue + } + out = append(out, q) + } + } + return out, nil +} diff --git a/examples/internal/local/local.go b/examples/internal/local/local.go new file mode 100644 index 0000000000..67d454da0e --- /dev/null +++ b/examples/internal/local/local.go @@ -0,0 +1,20 @@ +// Package local creates a database per test on the servers the examples +// for ClickHouse, SQL Server and Spanner run against, named by environment +// variable, and skips the test when none is named. The helpers for +// PostgreSQL, MySQL and SQLite live in the main module's +// internal/sqltest, which the rest of sqlc's tests share; these live with +// the examples so the drivers they need are dependencies of the examples +// module alone. +package local + +import "math/rand" + +var letterRunes = []rune("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ") + +func id() string { + b := make([]rune, 10) + for i := range b { + b[i] = letterRunes[rand.Intn(len(letterRunes))] + } + return string(b) +} diff --git a/examples/internal/local/mssql.go b/examples/internal/local/mssql.go new file mode 100644 index 0000000000..a826a4977f --- /dev/null +++ b/examples/internal/local/mssql.go @@ -0,0 +1,90 @@ +package local + +import ( + "context" + "database/sql" + "fmt" + "net/url" + "os" + "sync" + "testing" + + _ "github.com/microsoft/go-mssqldb" + + migrate "github.com/sqlc-dev/sqlc/internal/migrations" + "github.com/sqlc-dev/sqlc/internal/sql/sqlpath" +) + +var mssqlSync sync.Once +var mssqlPool *sql.DB + +// MSSQL creates a database on the server MSSQL_SERVER_URI names, such as +// sqlserver://sa:Mysecretpassword1!@127.0.0.1:1433?encrypt=disable, runs +// the migrations in it and returns a URI that connects to it. The test is +// skipped when no server is named. +func MSSQL(t *testing.T, migrations []string) string { + ctx := context.Background() + t.Helper() + + dburi := os.Getenv("MSSQL_SERVER_URI") + if dburi == "" { + t.Skip("MSSQL_SERVER_URI is empty") + } + + mssqlSync.Do(func() { + db, err := sql.Open("sqlserver", dburi) + if err != nil { + t.Fatal(err) + } + mssqlPool = db + }) + if mssqlPool == nil { + t.Fatalf("SQL Server pool creation failed") + } + + var seed []string + files, err := sqlpath.Glob(migrations) + if err != nil { + t.Fatal(err) + } + for _, f := range files { + blob, err := os.ReadFile(f) + if err != nil { + t.Fatal(err) + } + seed = append(seed, migrate.RemoveRollbackStatements(string(blob))) + } + + name := fmt.Sprintf("sqlc_test_%s", id()) + if _, err := mssqlPool.ExecContext(ctx, fmt.Sprintf("CREATE DATABASE [%s]", name)); err != nil { + t.Fatal(err) + } + t.Cleanup(func() { + // Sessions still in the database, the test's own included, keep + // it from being dropped until they are rolled back. + drop := fmt.Sprintf("ALTER DATABASE [%s] SET SINGLE_USER WITH ROLLBACK IMMEDIATE; DROP DATABASE [%s]", name, name) + if _, err := mssqlPool.ExecContext(ctx, drop); err != nil { + t.Fatalf("failed cleaning up: %s", err) + } + }) + + uri, err := url.Parse(dburi) + if err != nil { + t.Fatal(err) + } + query := uri.Query() + query.Set("database", name) + uri.RawQuery = query.Encode() + + db, err := sql.Open("sqlserver", uri.String()) + if err != nil { + t.Fatal(err) + } + defer db.Close() + for _, q := range seed { + if _, err := db.ExecContext(ctx, q); err != nil { + t.Fatalf("%s: %s", q, err) + } + } + return uri.String() +} diff --git a/examples/internal/local/spanner.go b/examples/internal/local/spanner.go new file mode 100644 index 0000000000..c2dcf80f4d --- /dev/null +++ b/examples/internal/local/spanner.go @@ -0,0 +1,73 @@ +package local + +import ( + "context" + "fmt" + "os" + "strings" + "testing" + + database "cloud.google.com/go/spanner/admin/database/apiv1" + "cloud.google.com/go/spanner/admin/database/apiv1/databasepb" + "google.golang.org/api/option" + "google.golang.org/grpc" + "google.golang.org/grpc/credentials/insecure" +) + +// spannerInstance is the instance a Spanner Omni single server provides, +// which every database is created in. +const spannerInstance = "projects/default/instances/default" + +// Spanner creates a database on the Spanner Omni server SPANNER_SERVER_URI +// names by its gRPC endpoint, such as localhost:15000, runs the migrations +// as its DDL and returns a data source name for the go-sql-spanner driver +// that connects to it without TLS or credentials, as Omni is reached. The +// test is skipped when no server is named. +func Spanner(t *testing.T, migrations []string) string { + ctx := context.Background() + t.Helper() + + endpoint := os.Getenv("SPANNER_SERVER_URI") + if endpoint == "" { + t.Skip("SPANNER_SERVER_URI is empty") + } + if strings.Contains(endpoint, "://") { + t.Fatalf("SPANNER_SERVER_URI: %q should be a host:port, the gRPC endpoint of a Spanner Omni server", endpoint) + } + + ddl, err := statements(migrations) + if err != nil { + t.Fatal(err) + } + + admin, err := database.NewDatabaseAdminClient(ctx, + option.WithEndpoint(endpoint), + option.WithoutAuthentication(), + option.WithGRPCDialOption(grpc.WithTransportCredentials(insecure.NewCredentials())), + ) + if err != nil { + t.Fatal(err) + } + t.Cleanup(func() { admin.Close() }) + + name := fmt.Sprintf("sqlc_test_%s", strings.ToLower(id())) + op, err := admin.CreateDatabase(ctx, &databasepb.CreateDatabaseRequest{ + Parent: spannerInstance, + CreateStatement: "CREATE DATABASE `" + name + "`", + ExtraStatements: ddl, + }) + if err != nil { + t.Fatal(err) + } + db, err := op.Wait(ctx) + if err != nil { + t.Fatal(err) + } + t.Cleanup(func() { + if err := admin.DropDatabase(ctx, &databasepb.DropDatabaseRequest{Database: db.Name}); err != nil { + t.Fatalf("failed cleaning up: %s", err) + } + }) + + return endpoint + "/" + db.Name + ";usePlainText=true" +} diff --git a/go.mod b/go.mod index f090ce7ddf..19ca819eff 100644 --- a/go.mod +++ b/go.mod @@ -13,7 +13,6 @@ require ( github.com/google/go-cmp v0.7.0 github.com/jackc/pgx/v5 v5.11.0 github.com/jinzhu/inflection v1.0.0 - github.com/lib/pq v1.12.3 github.com/ncruces/go-sqlite3 v0.35.4 github.com/riza-io/grpc-go v0.2.0 github.com/spf13/cobra v1.10.2 @@ -42,17 +41,18 @@ require ( github.com/jackc/pgpassfile v1.0.0 // indirect github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect github.com/jackc/puddle/v2 v2.2.2 // indirect - github.com/kr/text v0.2.0 // indirect + github.com/kr/pretty v0.3.1 // indirect github.com/ncruces/go-sqlite3-wasm/v5 v5.0.35304 // indirect github.com/ncruces/julianday v1.0.0 // indirect - github.com/rogpeppe/go-internal v1.10.0 // indirect + github.com/rogpeppe/go-internal v1.14.1 // indirect + github.com/stretchr/testify v1.12.1 // indirect github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f // indirect github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect - go.yaml.in/yaml/v3 v3.0.4 // indirect + go.yaml.in/yaml/v3 v3.0.5 // indirect golang.org/x/exp v0.0.0-20250620022241-b7579e27df2b // indirect golang.org/x/net v0.58.0 // indirect golang.org/x/sys v0.47.0 // indirect golang.org/x/text v0.41.0 // indirect - google.golang.org/genproto/googleapis/api v0.0.0-20260526163538-3dc84a4a5aaa // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20260526163538-3dc84a4a5aaa // indirect + google.golang.org/genproto/googleapis/api v0.0.0-20260715232425-e75dac1f907d // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20260819154853-08b0e4226688 // indirect ) diff --git a/go.sum b/go.sum index cdad651d02..c4e3c8fa88 100644 --- a/go.sum +++ b/go.sum @@ -41,24 +41,23 @@ github.com/jackc/puddle/v2 v2.2.2 h1:PR8nw+E/1w0GLuRFSmiioY6UooMp6KJv0/61nB7icHo github.com/jackc/puddle/v2 v2.2.2/go.mod h1:vriiEXHvEE654aYKXXjOvZM39qJ0q+azkZFrfEOc3H4= github.com/jinzhu/inflection v1.0.0 h1:K317FqzuhWc8YvSVlFMCCUb36O/S9MCKRDI7QkRKD/E= github.com/jinzhu/inflection v1.0.0/go.mod h1:h+uFLlag+Qp1Va5pdKtLDYj+kHp5pxUVkryuEj+Srlc= -github.com/kr/pretty v0.3.0 h1:WgNl7dwNpEZ6jJ9k1snq4pZsg7DOEN8hP9Xw0Tsjwk0= -github.com/kr/pretty v0.3.0/go.mod h1:640gp4NfQd8pI5XOwp5fnNeVWj67G7CFk/SaSQn7NBk= +github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= +github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= -github.com/lib/pq v1.12.3 h1:tTWxr2YLKwIvK90ZXEw8GP7UFHtcbTtty8zsI+YjrfQ= -github.com/lib/pq v1.12.3/go.mod h1:/p+8NSbOcwzAEI7wiMXFlgydTwcgTr3OSKMsD2BitpA= github.com/ncruces/go-sqlite3 v0.35.4 h1:unjCk+lVaxMpD9hbVaZyDJviS5Unw1P03+HF0ROLlHo= github.com/ncruces/go-sqlite3 v0.35.4/go.mod h1:dfbnrzPOLEIpCNZ1yDRkIG60pGxjDCwiEKj9A0lGWYE= github.com/ncruces/go-sqlite3-wasm/v5 v5.0.35304 h1:Ck3GB9h+0n3hJqdhAeehOef3k5V+llGio1c2Dyk/W6w= github.com/ncruces/go-sqlite3-wasm/v5 v5.0.35304/go.mod h1:gJyN6U50iis7mDt+rzRv8u9vUNr08NTD2p4fVonKn/Q= github.com/ncruces/julianday v1.0.0 h1:fH0OKwa7NWvniGQtxdJRxAgkBMolni2BjDHaWTxqt7M= github.com/ncruces/julianday v1.0.0/go.mod h1:Dusn2KvZrrovOMJuOt0TNXL6tB7U2E8kvza5fFc9G7g= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= +github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/riza-io/grpc-go v0.2.0 h1:2HxQKFVE7VuYstcJ8zqpN84VnAoJ4dCL6YFhJewNcHQ= github.com/riza-io/grpc-go v0.2.0/go.mod h1:2bDvR9KkKC3KhtlSHfR3dAXjUMT86kg4UfWFyVGWqi8= -github.com/rogpeppe/go-internal v1.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ= -github.com/rogpeppe/go-internal v1.10.0/go.mod h1:UQnix2H7Ngw/k4C5ijL5+65zddjncjaFoBhdsK/akog= +github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs= +github.com/rogpeppe/go-internal v1.14.1 h1:UQB4HGPB6osV0SQTLymcB4TgvyWu6ZyliaW0tI/otEQ= +github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7so1lCWt35ZSgc= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/spf13/cobra v1.10.2 h1:DMTTonx5m65Ic0GOoRY2c16WCbHxOOw6xxezuLaBpcU= github.com/spf13/cobra v1.10.2/go.mod h1:7C1pvHqHw5A4vrJfjNwvOdzYu0Gml16OCs2GRiTUUS4= @@ -82,8 +81,8 @@ github.com/sqlc-dev/zetajones v0.1.0/go.mod h1:dU1DxwqC6Cahbpnw16KpH1J2waWRDMdwy github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U= -github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U= +github.com/stretchr/testify v1.12.1 h1:EuwCh5fleGS7H32xRwO3wRGT7DxrDhLAT6FF8MpWDWE= +github.com/stretchr/testify v1.12.1/go.mod h1:MDEgiDPPsNp5cuIrHPPCyornHKgEVbtFUmoNlxoYthg= github.com/tetratelabs/wazero v1.12.0 h1:DuWcpNu/FzgEXgGBDp8J1Spc+CWOvvtvVyjKlaZopYU= github.com/tetratelabs/wazero v1.12.0/go.mod h1:LvKtzl2RqO4gyF27BiXU+nKAjcV8f38U+kP/q2vgxh0= github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f h1:J9EGpcZtP0E/raorCMxlFGSTBrsSlaDGf3jU/qvAE2c= @@ -106,8 +105,9 @@ go.opentelemetry.io/otel/sdk/metric v1.44.0 h1:3LlKgI+VjbVsjNRFZJZAJ30WjXC5VkNRk go.opentelemetry.io/otel/sdk/metric v1.44.0/go.mod h1:5B5pMARnXxKhltooO4xUuCBorl65a4EpnTalObqOigA= go.opentelemetry.io/otel/trace v1.44.0 h1:jxF5CsGYCe74MCRx2X4g7WsY/VBKRqqpNvXlX/6gtIk= go.opentelemetry.io/otel/trace v1.44.0/go.mod h1:oLl1jrMQAVo6v3GAggN+1VH9VIz9iUSvW53sW1Q8PIE= -go.yaml.in/yaml/v3 v3.0.4 h1:tfq32ie2Jv2UxXFdLJdh3jXuOzWiL1fo0bu/FbuKpbc= go.yaml.in/yaml/v3 v3.0.4/go.mod h1:DhzuOOF2ATzADvBadXxruRBLzYTpT36CKvDb3+aBEFg= +go.yaml.in/yaml/v3 v3.0.5 h1:N6y/pJk8buWs9NY5ERU2HSMfm+IuD/OtfdAnq6kESPw= +go.yaml.in/yaml/v3 v3.0.5/go.mod h1:HVTZu1O7/Vkt2N+BFy8Zza+lnLsABggaTM2ZpNIGuKg= golang.org/x/exp v0.0.0-20250620022241-b7579e27df2b h1:M2rDM6z3Fhozi9O7NWsxAkg/yqS/lQJ6PmkyIV3YP+o= golang.org/x/exp v0.0.0-20250620022241-b7579e27df2b/go.mod h1:3//PLf8L/X+8b4vuAfHzxeRUl04Adcb341+IGKfnqS8= golang.org/x/net v0.58.0 h1:ynWG7rqYi4ccpTEuPZ2QGWHktVEM9DMCj9yzDE0Q7To= @@ -120,10 +120,10 @@ golang.org/x/text v0.41.0 h1:vz/seA0lnX87Othu2f/0L24RcgrXD9/YFTSuGjj3rH8= golang.org/x/text v0.41.0/go.mod h1:jvf1O8ajNzZqhSrQBPbutR/EB83Cc0CFrezNQIwbb5M= gonum.org/v1/gonum v0.17.0 h1:VbpOemQlsSMrYmn7T2OUvQ4dqxQXU+ouZFQsZOx50z4= gonum.org/v1/gonum v0.17.0/go.mod h1:El3tOrEuMpv2UdMrbNlKEh9vd86bmQ6vqIcDwxEOc1E= -google.golang.org/genproto/googleapis/api v0.0.0-20260526163538-3dc84a4a5aaa h1:Kjn0N0tCrDgiAFW+lGO4JZ3ck44CehvJQMAwj9QF0G8= -google.golang.org/genproto/googleapis/api v0.0.0-20260526163538-3dc84a4a5aaa/go.mod h1:q4lMZS6kskjT5HvCPrnnypcDPVJqT/f4nfxmkE7gryY= -google.golang.org/genproto/googleapis/rpc v0.0.0-20260526163538-3dc84a4a5aaa h1:mZHHdPZl0dbGHCflZgAq/Q468DWVFcU2whhB2KAo8fk= -google.golang.org/genproto/googleapis/rpc v0.0.0-20260526163538-3dc84a4a5aaa/go.mod h1:4Hqkh8ycfw05ld/3BWL7rJOSfebL2Q+DVDeRgYgxUU8= +google.golang.org/genproto/googleapis/api v0.0.0-20260715232425-e75dac1f907d h1:QwnJwPte4XXAkhPu26LTDIahnsMSUV0kK8HkxbC+Pc4= +google.golang.org/genproto/googleapis/api v0.0.0-20260715232425-e75dac1f907d/go.mod h1:WRrQ7/7N19PypuT0fxLOL5Lq0waoiRri4FbtHDEKrGE= +google.golang.org/genproto/googleapis/rpc v0.0.0-20260819154853-08b0e4226688 h1:cYNAzI2sUwhmCcoj9TxvihSrqsxt6uIkj3rDRhSDmW4= +google.golang.org/genproto/googleapis/rpc v0.0.0-20260819154853-08b0e4226688/go.mod h1:DjtHYE8FKJLivXcBEjGwndXfIC23G0VpXiXKqG179uA= google.golang.org/grpc v1.83.2 h1:EManeRomTObA0BU7I8vXgg/78uE5MJ9M8B39EX2WscU= google.golang.org/grpc v1.83.2/go.mod h1:YPI1hK3kDked6iHvgX3tR0y+nX/qpMFKhPgFsokw1S8= google.golang.org/protobuf v1.36.12 h1:pJOKDDOyeXErUroCihFAd5LQuwXBSpVnKGrj5o/fwxc= diff --git a/internal/cmd/shim.go b/internal/cmd/shim.go index 654500429a..9987a1783d 100644 --- a/internal/cmd/shim.go +++ b/internal/cmd/shim.go @@ -4,6 +4,7 @@ import ( "github.com/sqlc-dev/sqlc/internal/compiler" "github.com/sqlc-dev/sqlc/internal/config" "github.com/sqlc-dev/sqlc/internal/config/convert" + "github.com/sqlc-dev/sqlc/internal/core" "github.com/sqlc-dev/sqlc/internal/info" "github.com/sqlc-dev/sqlc/internal/plugin" "github.com/sqlc-dev/sqlc/internal/sql/catalog" @@ -100,6 +101,7 @@ func pluginCatalog(c *catalog.Catalog) *plugin.Catalog { IsArray: c.IsArray, ArrayDims: int32(c.ArrayDims), Length: int32(l), + TypeExpr: pluginTypeExpr(c.TypeExpr), Table: &plugin.Identifier{ Catalog: t.Rel.Catalog, Schema: t.Rel.Schema, @@ -213,6 +215,42 @@ func pluginQueryColumn(c *compiler.Column) *plugin.Column { } } + // The type as an expression is only known when the analysis core typed + // the column, so the legacy path leaves it unset and codegen falls back + // to the flat fields above. + out.TypeExpr = pluginTypeExpr(c.TypeExpr) + + return out +} + +func pluginTypeExpr(t *core.TypeExpr) *plugin.TypeExpr { + if t == nil { + return nil + } + out := &plugin.TypeExpr{ + Name: t.Name, + Nullable: t.Nullable, + } + for _, arg := range t.Args { + out.Args = append(out.Args, pluginTypeArg(arg)) + } + return out +} + +func pluginTypeArg(a core.TypeArg) *plugin.TypeArg { + out := &plugin.TypeArg{Label: a.Label} + switch { + case a.Type != nil: + out.Value = &plugin.TypeArg_Type{Type: pluginTypeExpr(a.Type)} + case a.Int != nil: + out.Value = &plugin.TypeArg_IntValue{IntValue: *a.Int} + case a.Bool != nil: + out.Value = &plugin.TypeArg_BoolValue{BoolValue: *a.Bool} + case a.String != nil: + out.Value = &plugin.TypeArg_StringValue{StringValue: *a.String} + case a.Ident != nil: + out.Value = &plugin.TypeArg_Ident{Ident: *a.Ident} + } return out } @@ -220,6 +258,7 @@ func pluginQueryParam(p compiler.Parameter) *plugin.Parameter { return &plugin.Parameter{ Number: int32(p.Number), Column: pluginQueryColumn(p.Column), + Name: p.Name, } } diff --git a/internal/codegen/golang/clickhouse_type.go b/internal/codegen/golang/clickhouse_type.go new file mode 100644 index 0000000000..5944113758 --- /dev/null +++ b/internal/codegen/golang/clickhouse_type.go @@ -0,0 +1,180 @@ +package golang + +import ( + "github.com/sqlc-dev/sqlc/internal/codegen/golang/opts" + "github.com/sqlc-dev/sqlc/internal/plugin" +) + +// clickhouseType maps a ClickHouse type to the Go type +// github.com/ClickHouse/clickhouse-go/v2 hands database/sql for it. The +// driver scans a Nullable value into a pointer, and the types with a +// database/sql wrapper take that instead unless the options ask for +// pointers. Wide integers are big.Int, decimals are shopspring decimals, +// and geo types are orb geometries, as the driver returns them. The +// nesting the type carries is rendered: Map(String, Array(UInt8)) is a +// map[string][]uint8, LowCardinality and SimpleAggregateFunction wrap the +// type they carry. A Tuple is a slice of any, or a map by field name when +// its elements are named. +// +// A parameter is typed for what the driver can send rather than what it +// scans. The std driver passes arguments through without calling their +// Value method, and a {name:Type} placeholder is sent as text formatted +// from the value itself, so a sql.Null wrapper would go out as its struct +// fields and a decimal, UUID or address quoted, which the server rejects. +// A nullable parameter is therefore a pointer, which the driver sends as +// NULL when nil, and the types without a plain Go form are strings, which +// the server parses as the placeholder's type. +func clickhouseType(req *plugin.GenerateRequest, options *opts.Options, col *plugin.Column, param bool) string { + t, nullable := columnType(col) + return clickhouseGoType(options, t, nullable, false, param) +} + +// clickhouseGoType renders t. Inside an array or a map, where nested is +// set, the driver returns a nullable value as a pointer whatever the +// column's own nullability is scanned into, so the wrappers are not used. +// A parameter, where param is set, takes the pointer form too, and is +// typed at its top level for the text the driver sends. +func clickhouseGoType(options *opts.Options, t *plugin.TypeExpr, nullable, nested, param bool) string { + param = param && !nested + null := func(typ, nullTyp string) string { + if nested || param { + nullTyp = "" + } + return nullableGoType(options, nullable, typ, nullTyp) + } + // text is the type of a value the driver would send quoted: a string + // for a parameter, typ otherwise. + text := func(typ, nullTyp string) string { + if param { + return null("string", "") + } + return null(typ, nullTyp) + } + + switch typeExprName(t) { + case "nullable": + if inner := typeExprArg(t, 0); inner != nil { + return clickhouseGoType(options, inner, true, nested, param) + } + return "any" + + // The driver hands database/sql a Nullable value as a pointer, and + // dereferences it only when Nullable is the column's outermost type. + // Wrapped in LowCardinality or SimpleAggregateFunction the pointer + // comes through as is, which a sql.Null wrapper cannot scan, so a + // nullable one takes the pointer form the nested types do. + case "lowcardinality": + if inner := typeExprArg(t, 0); inner != nil { + wrapped := nullable || t.Nullable || inner.Nullable + return clickhouseGoType(options, inner, wrapped, nested || wrapped, param) + } + return "any" + + case "simpleaggregatefunction": + if inner := typeExprLastArg(t); inner != nil { + wrapped := nullable || t.Nullable || inner.Nullable + return clickhouseGoType(options, inner, wrapped, nested || wrapped, param) + } + return "any" + + case "array": + elem := typeExprArg(t, 0) + if elem == nil { + return "[]any" + } + return "[]" + clickhouseGoType(options, elem, elem.Nullable, true, false) + + case "map": + key, value := typeExprArg(t, 0), typeExprArg(t, 1) + if key == nil || value == nil { + return "map[string]any" + } + return "map[" + clickhouseGoType(options, key, false, true, false) + "]" + clickhouseGoType(options, value, value.Nullable, true, false) + + case "tuple": + for _, arg := range t.GetArgs() { + if arg.GetLabel() != "" { + return "map[string]any" + } + } + return "[]any" + + case "bool": + return null("bool", "sql.NullBool") + + case "int8": + return null("int8", "sql.NullInt16") + + case "int16": + return null("int16", "sql.NullInt16") + + case "int32": + return null("int32", "sql.NullInt32") + + case "int64": + return null("int64", "sql.NullInt64") + + case "uint8": + return null("uint8", "sql.NullByte") + + case "uint16": + return null("uint16", "") + + case "uint32": + return null("uint32", "") + + case "uint64": + return null("uint64", "") + + case "int128", "int256", "uint128", "uint256": + if param { + return null("string", "") + } + return "*big.Int" + + case "float32", "bfloat16": + return null("float32", "sql.NullFloat64") + + case "float64": + return null("float64", "sql.NullFloat64") + + case "decimal", "decimal32", "decimal64", "decimal128", "decimal256": + return text("decimal.Decimal", "decimal.NullDecimal") + + case "string", "fixedstring", "enum", "enum8", "enum16": + return null("string", "sql.NullString") + + case "date", "date32", "datetime", "datetime32", "datetime64": + return null("time.Time", "sql.NullTime") + + case "time", "time64": + return text("time.Duration", "") + + case "uuid": + return text("uuid.UUID", "uuid.NullUUID") + + case "ipv4", "ipv6": + return text("net.IP", "") + + case "point": + return null("orb.Point", "") + + case "ring": + return null("orb.Ring", "") + + case "linestring": + return null("orb.LineString", "") + + case "multilinestring": + return null("orb.MultiLineString", "") + + case "polygon": + return null("orb.Polygon", "") + + case "multipolygon": + return null("orb.MultiPolygon", "") + + default: + return "any" + } +} diff --git a/internal/codegen/golang/driver.go b/internal/codegen/golang/driver.go index 5e3a533dcc..28c0098bea 100644 --- a/internal/codegen/golang/driver.go +++ b/internal/codegen/golang/driver.go @@ -1,6 +1,10 @@ package golang -import "github.com/sqlc-dev/sqlc/internal/codegen/golang/opts" +import ( + "fmt" + + "github.com/sqlc-dev/sqlc/internal/codegen/golang/opts" +) func parseDriver(sqlPackage string) opts.SQLDriver { switch sqlPackage { @@ -12,3 +16,51 @@ func parseDriver(sqlPackage string) opts.SQLDriver { return opts.SQLDriverLibPQ } } + +// The engines, as the request names them. +const ( + engineClickHouse = "clickhouse" + engineDuckDB = "duckdb" + engineGoogleSQL = "googlesql" + engineMSSQL = "mssql" + engineMySQL = "mysql" + enginePostgreSQL = "postgresql" + engineSQLite = "sqlite" +) + +// usesPqArrays reports whether the queries pass array values through +// pq.Array. That is how lib/pq reads and writes PostgreSQL arrays, so it +// holds for PostgreSQL under database/sql; pgx and the other engines' +// drivers scan a slice directly. +func usesPqArrays(engine string, driver opts.SQLDriver) bool { + if usesDriverTypes(engine) { + return false + } + return !driver.IsPGX() +} + +// usesDriverTypes reports whether the engine is one whose mapper reads the +// type expression and draws types from its driver's packages, the ones in +// driverTypes. These engines generate code for database/sql only. +func usesDriverTypes(engine string) bool { + switch engine { + case engineClickHouse, engineDuckDB, engineGoogleSQL, engineMSSQL: + return true + } + return false +} + +// validateSQLPackage rejects a sql_package the engine's generated code does +// not support. The engines whose mappers read the type expression target +// database/sql alone: their types are what those drivers scan into, and +// their named placeholders bind through sql.Named. +func validateSQLPackage(engine string, options *opts.Options) error { + if !usesDriverTypes(engine) { + return nil + } + switch options.SqlPackage { + case "", opts.SQLPackageStandard: + return nil + } + return fmt.Errorf("invalid options: engine %q supports sql_package %q only, not %q", engine, opts.SQLPackageStandard, options.SqlPackage) +} diff --git a/internal/codegen/golang/duckdb_type.go b/internal/codegen/golang/duckdb_type.go new file mode 100644 index 0000000000..5af6df6f4d --- /dev/null +++ b/internal/codegen/golang/duckdb_type.go @@ -0,0 +1,157 @@ +package golang + +import ( + "github.com/sqlc-dev/sqlc/internal/codegen/golang/opts" + "github.com/sqlc-dev/sqlc/internal/plugin" +) + +// duckdbType maps a DuckDB type to the Go type github.com/duckdb/duckdb-go +// hands database/sql for it. The driver returns a LIST or ARRAY as a slice +// of any, a STRUCT as a map by field name and a MAP as its own ordered +// map, and offers duckdb.Composite to decode a list into a typed slice, so +// a list column is a Composite of the slice its elements make. A Composite +// is not accepted as a query argument, while the driver binds a slice as a +// list and its own types as themselves, so a list parameter is the slice +// itself. DECIMAL, INTERVAL and BIT come back as the driver's structs and +// map to those; a UUID comes back as its bytes, which uuid.UUID scans. The +// driver binds neither a Decimal nor a pointer to a map, so a DECIMAL +// parameter is passed as its text, which DuckDB casts, and a STRUCT +// parameter as a map. An ENUM is reported by the name it was created with, +// which the catalog does not yet carry, so it maps to any until it does. +// JSON comes back decoded, as whatever value the document holds, which +// only any holds, and is bound from its text, so a JSON parameter is a +// string. +func duckdbType(req *plugin.GenerateRequest, options *opts.Options, col *plugin.Column, param bool) string { + t, nullable := columnType(col) + if param { + return duckdbGoType(options, t, nullable, duckdbParam) + } + return duckdbGoType(options, t, nullable, duckdbScan) +} + +// duckdbPlace is where a value of the type goes: scanned from a row, +// passed as a query argument, or decoded inside a Composite, where the +// driver's own types are not decoded and a nullable value is a pointer. +type duckdbPlace int + +const ( + duckdbScan duckdbPlace = iota + duckdbParam + duckdbNested +) + +func duckdbGoType(options *opts.Options, t *plugin.TypeExpr, nullable bool, place duckdbPlace) string { + null := func(typ, nullTyp string) string { + if place == duckdbNested { + nullTyp = "" + } + return nullableGoType(options, nullable, typ, nullTyp) + } + driver := func(typ, nullTyp string) string { + if place == duckdbNested { + return "any" + } + return nullableGoType(options, nullable, typ, nullTyp) + } + + switch typeExprName(t) { + case "array", "list": + elem := typeExprArg(t, 0) + var typ string + if elem == nil { + typ = "[]any" + } else { + typ = "[]" + duckdbGoType(options, elem, elem.Nullable, duckdbNested) + } + if place == duckdbScan { + return "duckdb.Composite[" + typ + "]" + } + return typ + + case "struct": + // The driver binds a nil map as a struct of nulls rather than as + // NULL, so a nullable STRUCT parameter takes a map or a bare nil. + if place == duckdbParam { + if nullable { + return "any" + } + return "map[string]any" + } + return null("map[string]any", "") + + case "map": + return driver("duckdb.Map", "") + + case "boolean", "bool", "logical": + return null("bool", "sql.NullBool") + + case "tinyint", "int1": + return null("int8", "sql.NullInt16") + + case "smallint", "int2", "short": + return null("int16", "sql.NullInt16") + + case "integer", "int", "int4", "signed": + return null("int32", "sql.NullInt32") + + case "bigint", "int8", "long": + return null("int64", "sql.NullInt64") + + case "utinyint": + return null("uint8", "sql.NullByte") + + case "usmallint": + return null("uint16", "") + + case "uinteger": + return null("uint32", "") + + case "ubigint": + return null("uint64", "") + + case "hugeint", "uhugeint", "bignum": + return "*big.Int" + + case "float", "float4", "real": + return null("float32", "sql.NullFloat64") + + case "double", "float8": + return null("float64", "sql.NullFloat64") + + case "decimal", "numeric": + if place == duckdbParam { + return null("string", "sql.NullString") + } + return driver("duckdb.Decimal", "") + + case "varchar", "char", "bpchar", "text", "string": + return null("string", "sql.NullString") + + case "json": + if place == duckdbParam { + return null("string", "sql.NullString") + } + return "any" + + case "bit", "bitstring": + return driver("duckdb.Bit", "") + + case "blob", "bytea", "binary", "varbinary": + return "[]byte" + + case "date", + "timestamp", "datetime", "timestamp_s", "timestamp_ms", "timestamp_ns", + "timestamp with time zone", "timestamptz", "timestamptz_ns", + "time", "time with time zone", "timetz", "time_ns": + return null("time.Time", "sql.NullTime") + + case "interval": + return driver("duckdb.Interval", "") + + case "uuid": + return driver("uuid.UUID", "uuid.NullUUID") + + default: + return "any" + } +} diff --git a/internal/codegen/golang/field.go b/internal/codegen/golang/field.go index 90ea1a7529..b21710ef75 100644 --- a/internal/codegen/golang/field.go +++ b/internal/codegen/golang/field.go @@ -11,12 +11,15 @@ import ( ) type Field struct { - Name string // CamelCased name for Go - DBName string // Name as used in the DB - Type string - Tags map[string]string - Comment string - Column *plugin.Column + Name string // CamelCased name for Go + DBName string // Name as used in the DB + // ParamName is the name of the placeholder a parameter is bound by, + // when the query names it; empty otherwise and for row fields. + ParamName string + Type string + Tags map[string]string + Comment string + Column *plugin.Column // EmbedFields contains the embedded fields that require scanning. EmbedFields []Field } diff --git a/internal/codegen/golang/gen.go b/internal/codegen/golang/gen.go index 332fe2400a..725f5970cf 100644 --- a/internal/codegen/golang/gen.go +++ b/internal/codegen/golang/gen.go @@ -119,6 +119,9 @@ func Generate(ctx context.Context, req *plugin.GenerateRequest) (*plugin.Generat if err := opts.ValidateOpts(options); err != nil { return nil, err } + if err := validateSQLPackage(req.Settings.Engine, options); err != nil { + return nil, err + } enums := buildEnums(req, options) structs := buildStructs(req, options) @@ -168,6 +171,7 @@ func validate(options *opts.Options, enums []Enum, structs []Struct, queries []Q func generate(req *plugin.GenerateRequest, options *opts.Options, enums []Enum, structs []Struct, queries []Query) (*plugin.GenerateResponse, error) { i := &importer{ Options: options, + Engine: req.Settings.Engine, Queries: queries, Enums: enums, Structs: structs, diff --git a/internal/codegen/golang/go_type.go b/internal/codegen/golang/go_type.go index 7da54247bc..257ed99869 100644 --- a/internal/codegen/golang/go_type.go +++ b/internal/codegen/golang/go_type.go @@ -36,7 +36,20 @@ func addExtraGoStructTags(tags map[string]string, req *plugin.GenerateRequest, o } } +// goType is the Go type of a column's value: what a query's row scans +// into, or what a table's model holds. func goType(req *plugin.GenerateRequest, options *opts.Options, col *plugin.Column) string { + return goValueType(req, options, col, false) +} + +// goParamType is the Go type of a parameter's value: what is passed to the +// driver for it. It differs from goType only where a driver reads a value +// through a type it will not accept as an argument. +func goParamType(req *plugin.GenerateRequest, options *opts.Options, col *plugin.Column) string { + return goValueType(req, options, col, true) +} + +func goValueType(req *plugin.GenerateRequest, options *opts.Options, col *plugin.Column, param bool) string { // Check if the column's type has been overridden for _, override := range options.Overrides { oride := override.ShimOverride @@ -56,17 +69,21 @@ func goType(req *plugin.GenerateRequest, options *opts.Options, col *plugin.Colu return oride.GoType.TypeName } } - typ := goInnerType(req, options, col) + typ, complete := goInnerType(req, options, col, param) if col.IsSqlcSlice { return "[]" + typ } - if col.IsArray { + if col.IsArray && !complete { return strings.Repeat("[]", int(col.ArrayDims)) + typ } return typ } -func goInnerType(req *plugin.GenerateRequest, options *opts.Options, col *plugin.Column) string { +// goInnerType is the Go type of the column's value. The legacy mappers +// return the element type of an array column and leave the dimensions to +// goType; the mappers that read the type expression render the whole type, +// arrays included, and say so with complete. +func goInnerType(req *plugin.GenerateRequest, options *opts.Options, col *plugin.Column, param bool) (typ string, complete bool) { // package overrides have a higher precedence for _, override := range options.Overrides { oride := override.ShimOverride @@ -74,19 +91,27 @@ func goInnerType(req *plugin.GenerateRequest, options *opts.Options, col *plugin continue } if override.MatchesColumn(col) { - return oride.GoType.TypeName + return oride.GoType.TypeName, false } } // TODO: Extend the engine interface to handle types switch req.Settings.Engine { - case "mysql": - return mysqlType(req, options, col) - case "postgresql": - return postgresType(req, options, col) - case "sqlite": - return sqliteType(req, options, col) + case engineMySQL: + return mysqlType(req, options, col), false + case enginePostgreSQL: + return postgresType(req, options, col), false + case engineSQLite: + return sqliteType(req, options, col), false + case engineClickHouse: + return clickhouseType(req, options, col, param), true + case engineDuckDB: + return duckdbType(req, options, col, param), true + case engineGoogleSQL: + return googlesqlType(req, options, col), true + case engineMSSQL: + return mssqlType(req, options, col), true default: - return "any" + return "any", false } } diff --git a/internal/codegen/golang/googlesql_type.go b/internal/codegen/golang/googlesql_type.go new file mode 100644 index 0000000000..cf3be62ba9 --- /dev/null +++ b/internal/codegen/golang/googlesql_type.go @@ -0,0 +1,102 @@ +package golang + +import ( + "github.com/sqlc-dev/sqlc/internal/codegen/golang/opts" + "github.com/sqlc-dev/sqlc/internal/plugin" +) + +// googlesqlType maps a Spanner GoogleSQL type to the Go type +// github.com/googleapis/go-sql-spanner hands database/sql for it. The +// driver decodes the elements of an ARRAY into the Null-prefixed types of +// cloud.google.com/go/spanner unless it is told to decode them natively, +// so an array column is a slice of those. NUMERIC and JSON have no +// database/sql wrapper and take the spanner package's; a DATE is a civil +// date. +func googlesqlType(req *plugin.GenerateRequest, options *opts.Options, col *plugin.Column) string { + t, nullable := columnType(col) + if typeExprName(t) == "array" { + elem := typeExprArg(t, 0) + if elem == nil { + return "[]any" + } + return "[]" + googlesqlElementType(elem) + } + null := func(typ, nullTyp string) string { + return nullableGoType(options, nullable, typ, nullTyp) + } + + switch typeExprName(t) { + case "int64": + return null("int64", "sql.NullInt64") + + case "float64": + return null("float64", "sql.NullFloat64") + + case "float32": + return null("float32", "spanner.NullFloat32") + + case "bool": + return null("bool", "sql.NullBool") + + case "string": + return null("string", "sql.NullString") + + case "bytes": + return "[]byte" + + case "date": + return null("civil.Date", "spanner.NullDate") + + case "timestamp": + return null("time.Time", "sql.NullTime") + + case "numeric", "bignumeric": + return null("big.Rat", "spanner.NullNumeric") + + case "json": + return "spanner.NullJSON" + + case "uuid": + return null("uuid.UUID", "spanner.NullUUID") + + case "interval": + return null("spanner.Interval", "spanner.NullInterval") + + default: + return "any" + } +} + +// googlesqlElementType is the type of an array's elements, as the driver +// decodes them: nullable whatever the schema says, in the spanner package's +// wrappers. +func googlesqlElementType(t *plugin.TypeExpr) string { + switch typeExprName(t) { + case "int64": + return "spanner.NullInt64" + case "float64": + return "spanner.NullFloat64" + case "float32": + return "spanner.NullFloat32" + case "bool": + return "spanner.NullBool" + case "string": + return "spanner.NullString" + case "bytes": + return "[]byte" + case "date": + return "spanner.NullDate" + case "timestamp": + return "spanner.NullTime" + case "numeric", "bignumeric": + return "spanner.NullNumeric" + case "json": + return "spanner.NullJSON" + case "uuid": + return "spanner.NullUUID" + case "interval": + return "spanner.NullInterval" + default: + return "any" + } +} diff --git a/internal/codegen/golang/imports.go b/internal/codegen/golang/imports.go index 76964248ef..e1370e48eb 100644 --- a/internal/codegen/golang/imports.go +++ b/internal/codegen/golang/imports.go @@ -59,6 +59,7 @@ func mergeImports(imps ...fileImports) [][]ImportSpec { type importer struct { Options *opts.Options + Engine string Queries []Query Enums []Enum Structs []Struct @@ -147,10 +148,35 @@ func (i *importer) dbImports() fileImports { var stdlibTypes = map[string]string{ "json.RawMessage": "encoding/json", "time.Time": "time", + "time.Duration": "time", "net.IP": "net", "net.HardwareAddr": "net", "netip.Addr": "net/netip", "netip.Prefix": "net/netip", + "big.Int": "math/big", + "big.Rat": "math/big", +} + +// driverTypes are the packages the ClickHouse, DuckDB, Spanner and SQL +// Server mappers draw types from, by the qualifier those types carry. +var driverTypes = map[string]string{ + "civil.": "cloud.google.com/go/civil", + "decimal.": "github.com/shopspring/decimal", + "duckdb.": "github.com/duckdb/duckdb-go/v2", + "mssql.": "github.com/microsoft/go-mssqldb", + "orb.": "github.com/paulmach/orb", + "spanner.": "cloud.google.com/go/spanner", +} + +// overrideHasQualifier reports whether an override's type is qualified +// by qualifier, so its import already names that package. +func overrideHasQualifier(overrideTypes map[string]string, qualifier string) bool { + for typeName := range overrideTypes { + if strings.HasPrefix(typeName, qualifier) { + return true + } + } + return false } var pqtypeTypes = map[string]struct{}{ @@ -160,7 +186,7 @@ var pqtypeTypes = map[string]struct{}{ "pqtype.NullRawMessage": {}, } -func buildImports(options *opts.Options, queries []Query, uses func(string) bool) (map[string]struct{}, map[ImportSpec]struct{}) { +func buildImports(options *opts.Options, engine string, queries []Query, uses func(string) bool) (map[string]struct{}, map[ImportSpec]struct{}) { pkg := make(map[ImportSpec]struct{}) std := make(map[string]struct{}) @@ -212,6 +238,18 @@ func buildImports(options *opts.Options, queries []Query, uses func(string) bool overrideTypes[o.GoType.TypeName] = o.GoType.ImportPath } + // Only the engines whose mappers draw on the driver packages import + // them, and an override whose type carries the same qualifier brings + // its own import: a PostgreSQL numeric overridden to another package's + // decimal.Decimal must not pull in shopspring's as well. + if usesDriverTypes(engine) { + for qualifier, path := range driverTypes { + if uses(qualifier) && !overrideHasQualifier(overrideTypes, qualifier) { + pkg[ImportSpec{Path: path}] = struct{}{} + } + } + } + _, overrideNullTime := overrideTypes["pq.NullTime"] if uses("pq.NullTime") && !overrideNullTime { pkg[ImportSpec{Path: "github.com/lib/pq"}] = struct{}{} @@ -258,7 +296,7 @@ func buildImports(options *opts.Options, queries []Query, uses func(string) bool } func (i *importer) interfaceImports() fileImports { - std, pkg := buildImports(i.Options, i.Queries, func(name string) bool { + std, pkg := buildImports(i.Options, i.Engine, i.Queries, func(name string) bool { for _, q := range i.Queries { if q.hasRetType() { if usesBatch([]Query{q}) { @@ -283,7 +321,7 @@ func (i *importer) interfaceImports() fileImports { } func (i *importer) modelImports() fileImports { - std, pkg := buildImports(i.Options, nil, i.usesType) + std, pkg := buildImports(i.Options, i.Engine, nil, i.usesType) if len(i.Enums) > 0 { std["fmt"] = struct{}{} @@ -322,7 +360,7 @@ func (i *importer) queryImports(filename string) fileImports { } } - std, pkg := buildImports(i.Options, gq, func(name string) bool { + std, pkg := buildImports(i.Options, i.Engine, gq, func(name string) bool { for _, q := range gq { if q.hasRetType() { if q.Ret.EmitStruct() { @@ -401,6 +439,13 @@ func (i *importer) queryImports(filename string) fileImports { return false } + // A query bound by name passes sql.Named arguments. + for _, q := range gq { + if q.Arg.NamedArgs && !q.Arg.isEmpty() { + std["database/sql"] = struct{}{} + } + } + if anyNonCopyFrom { std["context"] = struct{}{} } @@ -409,7 +454,7 @@ func (i *importer) queryImports(filename string) fileImports { if sqlcSliceScan() && !sqlpkg.IsPGX() { std["strings"] = struct{}{} } - if sliceScan() && !sqlpkg.IsPGX() { + if sliceScan() && usesPqArrays(i.Engine, sqlpkg) { pkg[ImportSpec{Path: "github.com/lib/pq"}] = struct{}{} } @@ -427,7 +472,7 @@ func (i *importer) copyfromImports() fileImports { copyFromQueries = append(copyFromQueries, q) } } - std, pkg := buildImports(i.Options, copyFromQueries, func(name string) bool { + std, pkg := buildImports(i.Options, i.Engine, copyFromQueries, func(name string) bool { for _, q := range copyFromQueries { if q.hasRetType() { if strings.HasPrefix(q.Ret.Type(), name) { @@ -462,7 +507,7 @@ func (i *importer) batchImports() fileImports { batchQueries = append(batchQueries, q) } } - std, pkg := buildImports(i.Options, batchQueries, func(name string) bool { + std, pkg := buildImports(i.Options, i.Engine, batchQueries, func(name string) bool { for _, q := range batchQueries { if q.hasRetType() { if q.Ret.EmitStruct() { @@ -506,17 +551,95 @@ func (i *importer) batchImports() fileImports { } func trimSliceAndPointerPrefix(v string) string { - v = strings.TrimPrefix(v, "[]") - v = strings.TrimPrefix(v, "*") - return v + for { + trimmed := strings.TrimPrefix(strings.TrimPrefix(v, "[]"), "*") + if trimmed == v { + return v + } + v = trimmed + } } +// hasPrefixIgnoringSliceAndPointerPrefix reports whether the type s names +// prefix once its slice and pointer prefixes are stripped. A map type names +// it when its key or its value does, so map[string]decimal.Decimal uses the +// decimal package, and an instantiated generic type names it when the type +// or one of its arguments does, so duckdb.Composite[[]time.Time] uses both +// the duckdb and the time packages. func hasPrefixIgnoringSliceAndPointerPrefix(s, prefix string) bool { trimmedS := trimSliceAndPointerPrefix(s) trimmedPrefix := trimSliceAndPointerPrefix(prefix) + if key, value, ok := splitMapType(trimmedS); ok { + return hasPrefixIgnoringSliceAndPointerPrefix(key, trimmedPrefix) || + hasPrefixIgnoringSliceAndPointerPrefix(value, trimmedPrefix) + } + if typ, args, ok := splitGenericType(trimmedS); ok { + if strings.HasPrefix(typ, trimmedPrefix) { + return true + } + for _, arg := range args { + if hasPrefixIgnoringSliceAndPointerPrefix(arg, trimmedPrefix) { + return true + } + } + return false + } return strings.HasPrefix(trimmedS, trimmedPrefix) } +// splitGenericType splits an instantiated generic type pkg.Name[A, B] into +// pkg.Name and its type arguments, matching the brackets so an argument +// that is itself a slice, a map or a generic type is kept whole. +func splitGenericType(s string) (string, []string, bool) { + open := strings.IndexByte(s, '[') + if open <= 0 || !strings.HasSuffix(s, "]") { + return "", nil, false + } + var args []string + depth, start := 0, open+1 + for i := open; i < len(s); i++ { + switch s[i] { + case '[': + depth++ + case ']': + depth-- + if depth == 0 { + if i != len(s)-1 { + return "", nil, false + } + args = append(args, strings.TrimSpace(s[start:i])) + } + case ',': + if depth == 1 { + args = append(args, strings.TrimSpace(s[start:i])) + start = i + 1 + } + } + } + return s[:open], args, true +} + +// splitMapType splits map[K]V into K and V, matching the brackets so a key +// that is itself a map or an array is kept whole. +func splitMapType(s string) (string, string, bool) { + if !strings.HasPrefix(s, "map[") { + return "", "", false + } + depth := 0 + for i := 3; i < len(s); i++ { + switch s[i] { + case '[': + depth++ + case ']': + depth-- + if depth == 0 { + return s[4:i], s[i+1:], true + } + } + } + return "", "", false +} + func replaceConflictedArg(imports [][]ImportSpec, queries []Query) []Query { m := make(map[string]struct{}) for _, is := range imports { diff --git a/internal/codegen/golang/mssql_type.go b/internal/codegen/golang/mssql_type.go new file mode 100644 index 0000000000..94492f58e9 --- /dev/null +++ b/internal/codegen/golang/mssql_type.go @@ -0,0 +1,65 @@ +package golang + +import ( + "github.com/sqlc-dev/sqlc/internal/codegen/golang/opts" + "github.com/sqlc-dev/sqlc/internal/plugin" +) + +// mssqlType maps a SQL Server type to the Go type +// github.com/microsoft/go-mssqldb hands database/sql for it. Exact numerics +// come back as their decimal text, so they map to string the way +// PostgreSQL's numeric does under database/sql. A uniqueidentifier maps to +// the driver's own type, which keeps SQL Server's byte order straight. An +// alias type created with CREATE TYPE ... FROM is reported by its own name, +// which the catalog does not yet resolve to its base, so it maps to any +// until it does. +func mssqlType(req *plugin.GenerateRequest, options *opts.Options, col *plugin.Column) string { + t, nullable := columnType(col) + null := func(typ, nullTyp string) string { + return nullableGoType(options, nullable, typ, nullTyp) + } + + switch typeExprName(t) { + case "bigint": + return null("int64", "sql.NullInt64") + + case "int": + return null("int32", "sql.NullInt32") + + case "smallint": + return null("int16", "sql.NullInt16") + + case "tinyint": + return null("uint8", "sql.NullByte") + + case "bit": + return null("bool", "sql.NullBool") + + case "decimal", "numeric", "money", "smallmoney": + return null("string", "sql.NullString") + + case "float": + return null("float64", "sql.NullFloat64") + + case "real": + return null("float32", "sql.NullFloat64") + + case "char", "varchar", "nchar", "nvarchar", "text", "ntext", "sysname", "xml", "json": + return null("string", "sql.NullString") + + case "binary", "varbinary", "image", "rowversion", "timestamp": + return "[]byte" + + case "date", "datetime", "datetime2", "smalldatetime", "datetimeoffset", "time": + return null("time.Time", "sql.NullTime") + + case "uniqueidentifier": + return null("mssql.UniqueIdentifier", "mssql.NullUniqueIdentifier") + + case "geography", "geometry", "hierarchyid", "vector": + return "[]byte" + + default: + return "any" + } +} diff --git a/internal/codegen/golang/query.go b/internal/codegen/golang/query.go index 27c596c24e..6bd9b70e25 100644 --- a/internal/codegen/golang/query.go +++ b/internal/codegen/golang/query.go @@ -2,6 +2,7 @@ package golang import ( "fmt" + "strconv" "strings" "github.com/sqlc-dev/sqlc/internal/codegen/golang/opts" @@ -14,9 +15,16 @@ type QueryValue struct { EmitPointer bool Name string DBName string // The name of the field in the database. Only set if Struct==nil. + ParamName string // The name of the placeholder a parameter is bound by, when the query names it. Only set if Struct==nil. Struct *Struct Typ string SQLDriver opts.SQLDriver + Engine string + + // NamedArgs is set when the query's placeholders name their parameters, + // as SQL Server's and Spanner's @name and ClickHouse's {name:Type} do, + // so each argument is passed as sql.Named with that name. + NamedArgs bool // ModelQualifier prefixes references to model types when the models file // lives in a different Go package (e.g. "model."). Empty otherwise. @@ -135,23 +143,37 @@ func (v QueryValue) UniqueFields() []Field { return fields } +// pqArrays reports whether the value's slices go through pq.Array. +func (v QueryValue) pqArrays() bool { + return usesPqArrays(v.Engine, v.SQLDriver) +} + +// namedArg is the argument expr passed for the parameter the query names +// name, wrapped in sql.Named when the query's placeholders are named. +func (v QueryValue) namedArg(name, expr string) string { + if !v.NamedArgs { + return expr + } + return "sql.Named(" + strconv.Quote(name) + ", " + expr + ")" +} + func (v QueryValue) Params() string { if v.isEmpty() { return "" } var out []string if v.Struct == nil { - if !v.Column.IsSqlcSlice && strings.HasPrefix(v.Typ, "[]") && v.Typ != "[]byte" && !v.SQLDriver.IsPGX() { + if !v.Column.IsSqlcSlice && strings.HasPrefix(v.Typ, "[]") && v.Typ != "[]byte" && v.pqArrays() { out = append(out, "pq.Array("+escape(v.Name)+")") } else { - out = append(out, escape(v.Name)) + out = append(out, v.namedArg(v.ParamName, escape(v.Name))) } } else { for _, f := range v.Struct.Fields { - if !f.HasSqlcSlice() && strings.HasPrefix(f.Type, "[]") && f.Type != "[]byte" && !v.SQLDriver.IsPGX() { + if !f.HasSqlcSlice() && strings.HasPrefix(f.Type, "[]") && f.Type != "[]byte" && v.pqArrays() { out = append(out, "pq.Array("+escape(v.VariableForField(f))+")") } else { - out = append(out, escape(v.VariableForField(f))) + out = append(out, v.namedArg(f.ParamName, escape(v.VariableForField(f)))) } } } @@ -205,7 +227,7 @@ func (v QueryValue) HasSqlcSlices() bool { func (v QueryValue) Scan() string { var out []string if v.Struct == nil { - if strings.HasPrefix(v.Typ, "[]") && v.Typ != "[]byte" && !v.SQLDriver.IsPGX() { + if strings.HasPrefix(v.Typ, "[]") && v.Typ != "[]byte" && v.pqArrays() { out = append(out, "pq.Array(&"+v.Name+")") } else { out = append(out, "&"+v.Name) @@ -216,7 +238,7 @@ func (v QueryValue) Scan() string { // append any embedded fields if len(f.EmbedFields) > 0 { for _, embed := range f.EmbedFields { - if strings.HasPrefix(embed.Type, "[]") && embed.Type != "[]byte" && !v.SQLDriver.IsPGX() { + if strings.HasPrefix(embed.Type, "[]") && embed.Type != "[]byte" && v.pqArrays() { out = append(out, "pq.Array(&"+v.Name+"."+f.Name+"."+embed.Name+")") } else { out = append(out, "&"+v.Name+"."+f.Name+"."+embed.Name) @@ -225,7 +247,7 @@ func (v QueryValue) Scan() string { continue } - if strings.HasPrefix(f.Type, "[]") && f.Type != "[]byte" && !v.SQLDriver.IsPGX() { + if strings.HasPrefix(f.Type, "[]") && f.Type != "[]byte" && v.pqArrays() { out = append(out, "pq.Array(&"+v.Name+"."+f.Name+")") } else { out = append(out, "&"+v.Name+"."+f.Name) diff --git a/internal/codegen/golang/result.go b/internal/codegen/golang/result.go index 50d654abd2..82059c54b7 100644 --- a/internal/codegen/golang/result.go +++ b/internal/codegen/golang/result.go @@ -115,6 +115,9 @@ type goColumn struct { id int *plugin.Column embed *goEmbed + // paramName is the name of the placeholder a parameter is bound by, + // when the query names it. + paramName string } type goEmbed struct { @@ -231,13 +234,18 @@ func buildQueries(req *plugin.GenerateRequest, options *opts.Options, enums []En qpl := int(*options.QueryParameterLimit) + namedArgs := placeholdersAreNamed(query.Params) + if len(query.Params) == 1 && qpl != 0 { p := query.Params[0] gq.Arg = QueryValue{ Name: escape(paramName(p)), DBName: p.Column.GetName(), - Typ: qualifyType(goType(req, options, p.Column), models, qualifier), + ParamName: p.Name, + Typ: qualifyType(goParamType(req, options, p.Column), models, qualifier), SQLDriver: sqlpkg, + Engine: req.Settings.Engine, + NamedArgs: namedArgs, ModelQualifier: qualifier, Column: p.Column, } @@ -245,8 +253,9 @@ func buildQueries(req *plugin.GenerateRequest, options *opts.Options, enums []En var cols []goColumn for _, p := range query.Params { cols = append(cols, goColumn{ - id: int(p.Number), - Column: p.Column, + id: int(p.Number), + Column: p.Column, + paramName: p.Name, }) } s, err := columnsToStruct(req, options, gq.MethodName+"Params", cols, false, models, qualifier) @@ -258,6 +267,8 @@ func buildQueries(req *plugin.GenerateRequest, options *opts.Options, enums []En Name: "arg", Struct: s, SQLDriver: sqlpkg, + Engine: req.Settings.Engine, + NamedArgs: namedArgs, EmitPointer: options.EmitParamsStructPointers, ModelQualifier: qualifier, } @@ -296,6 +307,7 @@ func buildQueries(req *plugin.GenerateRequest, options *opts.Options, enums []En DBName: name, Typ: qualifyType(goType(req, options, c), models, qualifier), SQLDriver: sqlpkg, + Engine: req.Settings.Engine, ModelQualifier: qualifier, } } else if putOutColumns(query) { @@ -343,6 +355,7 @@ func buildQueries(req *plugin.GenerateRequest, options *opts.Options, enums []En Name: "i", Struct: gs, SQLDriver: sqlpkg, + Engine: req.Settings.Engine, EmitPointer: options.EmitResultStructPointers, ModelQualifier: qualifier, } @@ -414,13 +427,20 @@ func columnsToStruct(req *plugin.GenerateRequest, options *opts.Options, name st } addExtraGoStructTags(tags, req, options, c.Column) f := Field{ - Name: fieldName, - DBName: colName, - Tags: tags, - Column: c.Column, + Name: fieldName, + DBName: colName, + ParamName: c.paramName, + Tags: tags, + Column: c.Column, } if c.embed == nil { - f.Type = qualifyType(goType(req, options, c.Column), models, qualifier) + // A row struct is scanned into, a params struct is passed as + // arguments, and a driver can want different types for the two. + if useID { + f.Type = qualifyType(goType(req, options, c.Column), models, qualifier) + } else { + f.Type = qualifyType(goParamType(req, options, c.Column), models, qualifier) + } } else { f.Type = qualifyType(c.embed.modelType, models, qualifier) f.EmbedFields = c.embed.fields @@ -471,3 +491,20 @@ func checkIncompatibleFieldTypes(fields []Field) error { } return nil } + +// placeholdersAreNamed reports whether every parameter of a query is bound +// by name: the compiler passes the name a placeholder carries, SQL +// Server's and Spanner's @name and ClickHouse's {name:Type}, which their +// drivers take as sql.Named. A query written with ? is bound by position, +// so nothing is named unless every parameter is. +func placeholdersAreNamed(params []*plugin.Parameter) bool { + if len(params) == 0 { + return false + } + for _, p := range params { + if p.Name == "" { + return false + } + } + return true +} diff --git a/internal/codegen/golang/type_expr.go b/internal/codegen/golang/type_expr.go new file mode 100644 index 0000000000..c78cc963c0 --- /dev/null +++ b/internal/codegen/golang/type_expr.go @@ -0,0 +1,72 @@ +package golang + +import ( + "strings" + + "github.com/sqlc-dev/sqlc/internal/codegen/golang/opts" + "github.com/sqlc-dev/sqlc/internal/plugin" +) + +// columnType is the type a mapper that reads the type expression starts +// from, and whether a value of it may be null. The expression is only +// present when the analysis core typed the column; without it the flat +// description stands in, the type name wrapped in one array per dimension, +// with the elements taken as not null the way the legacy mappers do. +func columnType(col *plugin.Column) (*plugin.TypeExpr, bool) { + if col.TypeExpr != nil { + return col.TypeExpr, !col.NotNull + } + t := &plugin.TypeExpr{Name: col.Type.GetName()} + dims := int(col.ArrayDims) + if col.IsArray && dims == 0 { + dims = 1 + } + for range dims { + t = &plugin.TypeExpr{Name: "array", Args: []*plugin.TypeArg{{Value: &plugin.TypeArg_Type{Type: t}}}} + } + return t, !col.NotNull +} + +// typeExprName is the type's name as the mappers switch on it. +func typeExprName(t *plugin.TypeExpr) string { + return strings.ToLower(t.GetName()) +} + +// typeExprArg is the i-th argument that is itself a type, or nil. +func typeExprArg(t *plugin.TypeExpr, i int) *plugin.TypeExpr { + n := 0 + for _, arg := range t.GetArgs() { + if arg.GetType() == nil { + continue + } + if n == i { + return arg.GetType() + } + n++ + } + return nil +} + +// typeExprLastArg is the last argument that is a type, or nil. +func typeExprLastArg(t *plugin.TypeExpr) *plugin.TypeExpr { + var last *plugin.TypeExpr + for _, arg := range t.GetArgs() { + if arg.GetType() != nil { + last = arg.GetType() + } + } + return last +} + +// nullableGoType is typ for a value that cannot be null, and for one that +// can, a pointer to it when the options say so or when nullTyp, the +// Null-prefixed wrapper the type has, is empty. +func nullableGoType(options *opts.Options, nullable bool, typ, nullTyp string) string { + if !nullable { + return typ + } + if options.EmitPointersForNullTypes || nullTyp == "" { + return "*" + typ + } + return nullTyp +} diff --git a/internal/compiler/catalog_core.go b/internal/compiler/catalog_core.go index 7f2e2624fe..5afccdccc9 100644 --- a/internal/compiler/catalog_core.go +++ b/internal/compiler/catalog_core.go @@ -47,6 +47,10 @@ func coreResultCatalog(c *core.Catalog) (*catalog.Catalog, error) { IsArray: expr.IsArray(), ArrayDims: expr.ArrayDims(), IsUnsigned: strings.HasSuffix(inner.Name, " unsigned"), + // The expression says whether a value may be null the + // way a query's result column does, from the column's + // constraint. + TypeExpr: expr.WithNullable(!col.NotNull), } if len(inner.Args) > 0 && inner.Args[0].Int != nil { l := int(*inner.Args[0].Int) diff --git a/internal/compiler/parse_core.go b/internal/compiler/parse_core.go index 4c36d7d08c..543ca5f3cc 100644 --- a/internal/compiler/parse_core.go +++ b/internal/compiler/parse_core.go @@ -10,8 +10,10 @@ import ( "github.com/sqlc-dev/sqlc/internal/metadata" "github.com/sqlc-dev/sqlc/internal/source" "github.com/sqlc-dev/sqlc/internal/sql/ast" + "github.com/sqlc-dev/sqlc/internal/sql/astutils" "github.com/sqlc-dev/sqlc/internal/sql/named" "github.com/sqlc-dev/sqlc/internal/sql/preprocess" + "github.com/sqlc-dev/sqlc/internal/sql/sqlerr" "github.com/sqlc-dev/sqlc/internal/sql/validate" ) @@ -62,8 +64,12 @@ func (c *Compiler) parseQueryCore(raw *ast.RawStmt, src string, pre *preprocess. for _, col := range res.Columns { cols = append(cols, coreColumn(col)) } + placeholders, err := placeholderNames(raw) + if err != nil { + return nil, err + } for _, p := range res.Parameters { - params = append(params, Parameter{Number: p.Number, Column: coreParamColumn(p, namedParams)}) + params = append(params, Parameter{Number: p.Number, Column: coreParamColumn(p, namedParams), Name: placeholders[p.Number]}) } expanded, err = source.Mutate(rawSQL, c.expandCore(raw, res.Stars)) if err != nil { @@ -136,6 +142,40 @@ func describeType(col *Column, t *core.TypeExpr) { col.Unsigned = strings.HasSuffix(inner.Name, " unsigned") } +// placeholderNames maps each parameter number to the name its placeholder +// carries, for the placeholders that have one: @name and {name:Type}. A +// query bound by name passes every argument by name, so one that mixes +// named placeholders with positional ones, such as the ? sqlc.arg becomes, +// cannot be bound and is an error. +func placeholderNames(root ast.Node) (map[int]string, error) { + names := map[int]string{} + var named, positional *ast.ParamRef + astutils.Apply(root, func(c *astutils.Cursor) bool { + pr, ok := c.Node().(*ast.ParamRef) + if !ok { + return true + } + if pr.Name == "" { + if positional == nil { + positional = pr + } + return true + } + if named == nil { + named = pr + } + names[pr.Number] = pr.Name + return true + }, nil) + if named != nil && positional != nil { + return nil, &sqlerr.Error{ + Message: fmt.Sprintf("query mixes the named placeholder %q with a positional one; bind every parameter by name or every one by position", named.Name), + Location: positional.Location, + } + } + return names, nil +} + func coreParamColumn(p core.Parameter, params *named.ParamSet) *Column { col := &Column{ Name: p.Name, diff --git a/internal/compiler/query.go b/internal/compiler/query.go index 8753d5a7cc..339126405c 100644 --- a/internal/compiler/query.go +++ b/internal/compiler/query.go @@ -64,4 +64,8 @@ type Query struct { type Parameter struct { Number int Column *Column + // Name is the name the placeholder itself carries, @name or + // {name:Type}, by which the query binds the parameter. It is empty for + // a positional placeholder. + Name string } diff --git a/internal/core/analyzer/analyzer.go b/internal/core/analyzer/analyzer.go index 98076c429a..2bc94d7338 100644 --- a/internal/core/analyzer/analyzer.go +++ b/internal/core/analyzer/analyzer.go @@ -254,7 +254,7 @@ func (a *analyzer) typeLimit(n ast.Node) error { if err != nil { return err } - a.inferParam(pr.Number, exprType{typeOID: oid}) + a.inferParam(pr, exprType{typeOID: oid}) return nil } _, err := a.typeExpr(n) diff --git a/internal/core/analyzer/dml.go b/internal/core/analyzer/dml.go index 8f188b82da..597723cedd 100644 --- a/internal/core/analyzer/dml.go +++ b/internal/core/analyzer/dml.go @@ -167,7 +167,7 @@ func (a *analyzer) bindValue(rel scopeRel, target *core.ClassColumn, v ast.Node) if target != nil { switch value := v.(type) { case *ast.ParamRef: - a.inferParam(value.Number, columnType(rel, *target)) + a.inferParam(value, columnType(rel, *target)) return nil case *ast.A_Const: return nil diff --git a/internal/core/analyzer/expr.go b/internal/core/analyzer/expr.go index 8305222c80..4f0dd8ec8b 100644 --- a/internal/core/analyzer/expr.go +++ b/internal/core/analyzer/expr.go @@ -200,20 +200,27 @@ func flattenFields(fields *ast.List) []string { return out } -func (a *analyzer) typeParamRef(p *ast.ParamRef) (exprType, error) { +// param is the parameter p refers to, recorded with the name the +// placeholder carries, whichever of its uses is seen first. +func (a *analyzer) param(p *ast.ParamRef) core.Parameter { cur, ok := a.params[p.Number] if !ok { - cur = core.Parameter{Number: p.Number, Name: p.Name} - a.params[p.Number] = cur + cur = core.Parameter{Number: p.Number} + } + if cur.Name == "" { + cur.Name = p.Name } + a.params[p.Number] = cur + return cur +} + +func (a *analyzer) typeParamRef(p *ast.ParamRef) (exprType, error) { + cur := a.param(p) return exprType{typeOID: cur.TypeOID, expr: cur.Type.WithNullable(false), nullable: !cur.NotNull}, nil } -func (a *analyzer) inferParam(number int, t exprType) { - cur, ok := a.params[number] - if !ok { - cur = core.Parameter{Number: number} - } +func (a *analyzer) inferParam(p *ast.ParamRef, t exprType) { + cur := a.param(p) typed := cur.TypeOID == 0 && cur.Type == nil && (t.typeOID != 0 || t.expr != nil) if typed { cur.TypeOID = t.typeOID @@ -232,7 +239,7 @@ func (a *analyzer) inferParam(number int, t exprType) { } } } - a.params[number] = cur + a.params[p.Number] = cur } // nameParamAfter names a placeholder compared with a function call after @@ -301,19 +308,19 @@ func (a *analyzer) typeAExpr(e *ast.A_Expr) (exprType, error) { } if pr, ok := e.Lexpr.(*ast.ParamRef); ok && rightT.typeOID != 0 { - a.inferParam(pr.Number, rightT) + a.inferParam(pr, rightT) a.nameParamAfter(pr.Number, e.Rexpr) leftT = rightT } else if pr := castParamRef(e.Lexpr); pr != nil { - a.inferParam(pr.Number, rightT) + a.inferParam(pr, rightT) a.nameParamAfter(pr.Number, e.Rexpr) } if pr, ok := e.Rexpr.(*ast.ParamRef); ok && leftT.typeOID != 0 { - a.inferParam(pr.Number, leftT) + a.inferParam(pr, leftT) a.nameParamAfter(pr.Number, e.Lexpr) rightT = leftT } else if pr := castParamRef(e.Rexpr); pr != nil { - a.inferParam(pr.Number, leftT) + a.inferParam(pr, leftT) a.nameParamAfter(pr.Number, e.Lexpr) } @@ -668,7 +675,7 @@ func (a *analyzer) typeOperands(n ast.Node, other exprType) error { return err } if other.typeOID != 0 || other.expr != nil { - a.inferParam(pr.Number, other) + a.inferParam(pr, other) } return nil } diff --git a/internal/endtoend/endtoend_test.go b/internal/endtoend/endtoend_test.go index 1196ea717c..506552592e 100644 --- a/internal/endtoend/endtoend_test.go +++ b/internal/endtoend/endtoend_test.go @@ -71,6 +71,9 @@ func TestExamples(t *testing.T) { continue } tc := replay.Name() + if !isExample(filepath.Join(examples, tc)) { + continue + } t.Run(tc, func(t *testing.T) { t.Parallel() path := filepath.Join(examples, tc) @@ -454,3 +457,15 @@ func BenchmarkReplay(b *testing.B) { }) } } + +// isExample reports whether a directory under examples is an example: one +// with a sqlc configuration file. The examples module also holds packages +// the examples' tests share, which have none. +func isExample(dir string) bool { + for _, name := range []string{"sqlc.yaml", "sqlc.yml", "sqlc.json"} { + if _, err := os.Stat(filepath.Join(dir, name)); err == nil { + return true + } + } + return false +} diff --git a/internal/endtoend/testdata/analyze_dml/mssql/stdout.json b/internal/endtoend/testdata/analyze_dml/mssql/stdout.json index 74f68505dd..cfa4de34d1 100644 --- a/internal/endtoend/testdata/analyze_dml/mssql/stdout.json +++ b/internal/endtoend/testdata/analyze_dml/mssql/stdout.json @@ -104,7 +104,7 @@ { "number": 2, "column": { - "name": "name", + "name": "author", "type": { "name": "nvarchar", "args": [ diff --git a/internal/endtoend/testdata/analyze_types/bigquery/stdout.json b/internal/endtoend/testdata/analyze_types/bigquery/stdout.json index bae5a9082a..8119ad12a2 100644 --- a/internal/endtoend/testdata/analyze_types/bigquery/stdout.json +++ b/internal/endtoend/testdata/analyze_types/bigquery/stdout.json @@ -298,7 +298,7 @@ { "number": 1, "column": { - "name": "", + "name": "a", "type": { "name": "numeric", "args": [ @@ -315,7 +315,7 @@ { "number": 2, "column": { - "name": "", + "name": "b", "type": { "name": "array", "args": [ @@ -331,7 +331,7 @@ { "number": 3, "column": { - "name": "", + "name": "c", "type": { "name": "struct", "args": [ @@ -348,7 +348,7 @@ { "number": 4, "column": { - "name": "", + "name": "d", "type": { "name": "string", "args": [ @@ -362,7 +362,7 @@ { "number": 5, "column": { - "name": "", + "name": "e", "type": { "name": "bignumeric" } diff --git a/internal/endtoend/testdata/analyze_types/duckdb/stdout.json b/internal/endtoend/testdata/analyze_types/duckdb/stdout.json index fff8ac0228..9b2170f350 100644 --- a/internal/endtoend/testdata/analyze_types/duckdb/stdout.json +++ b/internal/endtoend/testdata/analyze_types/duckdb/stdout.json @@ -230,7 +230,7 @@ { "name": "doc", "type": { - "name": "varchar", + "name": "json", "nullable": true }, "table": "things" diff --git a/internal/endtoend/testdata/analyze_types/googlesql/stdout.json b/internal/endtoend/testdata/analyze_types/googlesql/stdout.json index 2871cba269..645888fd07 100644 --- a/internal/endtoend/testdata/analyze_types/googlesql/stdout.json +++ b/internal/endtoend/testdata/analyze_types/googlesql/stdout.json @@ -191,7 +191,7 @@ { "number": 1, "column": { - "name": "", + "name": "a", "type": { "name": "numeric" } @@ -200,7 +200,7 @@ { "number": 2, "column": { - "name": "", + "name": "b", "type": { "name": "array", "args": [ @@ -216,7 +216,7 @@ { "number": 3, "column": { - "name": "", + "name": "d", "type": { "name": "string" } @@ -225,7 +225,7 @@ { "number": 4, "column": { - "name": "", + "name": "e", "type": { "name": "float64" } diff --git a/internal/endtoend/testdata/analyze_types/mssql/stdout.json b/internal/endtoend/testdata/analyze_types/mssql/stdout.json index e52bc1c756..2d747d3085 100644 --- a/internal/endtoend/testdata/analyze_types/mssql/stdout.json +++ b/internal/endtoend/testdata/analyze_types/mssql/stdout.json @@ -432,7 +432,7 @@ { "number": 1, "column": { - "name": "", + "name": "a", "type": { "name": "decimal", "args": [ @@ -449,7 +449,7 @@ { "number": 2, "column": { - "name": "", + "name": "b", "type": { "name": "nvarchar", "args": [ @@ -463,7 +463,7 @@ { "number": 3, "column": { - "name": "", + "name": "c", "type": { "name": "varchar", "args": [ @@ -477,7 +477,7 @@ { "number": 4, "column": { - "name": "", + "name": "d", "type": { "name": "datetime2", "args": [ @@ -491,7 +491,7 @@ { "number": 5, "column": { - "name": "", + "name": "e", "type": { "name": "money" } @@ -500,7 +500,7 @@ { "number": 6, "column": { - "name": "", + "name": "f", "type": { "name": "real" } @@ -509,7 +509,7 @@ { "number": 7, "column": { - "name": "", + "name": "g", "type": { "name": "char", "args": [ diff --git a/internal/endtoend/testdata/clickhouse_mixed_placeholders/clickhouse/exec.json b/internal/endtoend/testdata/clickhouse_mixed_placeholders/clickhouse/exec.json new file mode 100644 index 0000000000..f4e21983b6 --- /dev/null +++ b/internal/endtoend/testdata/clickhouse_mixed_placeholders/clickhouse/exec.json @@ -0,0 +1 @@ +{"contexts": ["base"]} diff --git a/internal/endtoend/testdata/clickhouse_mixed_placeholders/clickhouse/query.sql b/internal/endtoend/testdata/clickhouse_mixed_placeholders/clickhouse/query.sql new file mode 100644 index 0000000000..a1fc306349 --- /dev/null +++ b/internal/endtoend/testdata/clickhouse_mixed_placeholders/clickhouse/query.sql @@ -0,0 +1,2 @@ +-- name: Mixed :many +SELECT id FROM events WHERE name = {name:String} AND id > sqlc.arg(min_id); diff --git a/internal/endtoend/testdata/clickhouse_mixed_placeholders/clickhouse/schema.sql b/internal/endtoend/testdata/clickhouse_mixed_placeholders/clickhouse/schema.sql new file mode 100644 index 0000000000..cc8e44c798 --- /dev/null +++ b/internal/endtoend/testdata/clickhouse_mixed_placeholders/clickhouse/schema.sql @@ -0,0 +1,9 @@ +CREATE TABLE events ( + id UInt64, + name String, + tag Nullable(String), + amount Decimal(10, 2), + uid UUID, + ip IPv4, + big Int128 +) ENGINE = MergeTree ORDER BY id; diff --git a/internal/endtoend/testdata/clickhouse_mixed_placeholders/clickhouse/sqlc.yaml b/internal/endtoend/testdata/clickhouse_mixed_placeholders/clickhouse/sqlc.yaml new file mode 100644 index 0000000000..66e907a2c6 --- /dev/null +++ b/internal/endtoend/testdata/clickhouse_mixed_placeholders/clickhouse/sqlc.yaml @@ -0,0 +1,10 @@ +version: "2" +sql: + - engine: "clickhouse" + schema: "schema.sql" + queries: "query.sql" + gen: + go: + package: "querytest" + out: "go" + sql_package: "database/sql" diff --git a/internal/endtoend/testdata/clickhouse_mixed_placeholders/clickhouse/stderr.txt b/internal/endtoend/testdata/clickhouse_mixed_placeholders/clickhouse/stderr.txt new file mode 100644 index 0000000000..45890258be --- /dev/null +++ b/internal/endtoend/testdata/clickhouse_mixed_placeholders/clickhouse/stderr.txt @@ -0,0 +1,2 @@ +# package querytest +query.sql:2:59: query mixes the named placeholder "name" with a positional one; bind every parameter by name or every one by position diff --git a/internal/endtoend/testdata/clickhouse_named_placeholders/clickhouse/exec.json b/internal/endtoend/testdata/clickhouse_named_placeholders/clickhouse/exec.json new file mode 100644 index 0000000000..f4e21983b6 --- /dev/null +++ b/internal/endtoend/testdata/clickhouse_named_placeholders/clickhouse/exec.json @@ -0,0 +1 @@ +{"contexts": ["base"]} diff --git a/internal/endtoend/testdata/clickhouse_named_placeholders/clickhouse/go/db.go b/internal/endtoend/testdata/clickhouse_named_placeholders/clickhouse/go/db.go new file mode 100644 index 0000000000..32faa9f2b8 --- /dev/null +++ b/internal/endtoend/testdata/clickhouse_named_placeholders/clickhouse/go/db.go @@ -0,0 +1,31 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 + +package querytest + +import ( + "context" + "database/sql" +) + +type DBTX interface { + ExecContext(context.Context, string, ...any) (sql.Result, error) + PrepareContext(context.Context, string) (*sql.Stmt, error) + QueryContext(context.Context, string, ...any) (*sql.Rows, error) + QueryRowContext(context.Context, string, ...any) *sql.Row +} + +func New(db DBTX) *Queries { + return &Queries{db: db} +} + +type Queries struct { + db DBTX +} + +func (q *Queries) WithTx(tx *sql.Tx) *Queries { + return &Queries{ + db: tx, + } +} diff --git a/internal/endtoend/testdata/clickhouse_named_placeholders/clickhouse/go/models.go b/internal/endtoend/testdata/clickhouse_named_placeholders/clickhouse/go/models.go new file mode 100644 index 0000000000..e47c63d299 --- /dev/null +++ b/internal/endtoend/testdata/clickhouse_named_placeholders/clickhouse/go/models.go @@ -0,0 +1,24 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 + +package querytest + +import ( + "database/sql" + "math/big" + "net" + + "github.com/google/uuid" + "github.com/shopspring/decimal" +) + +type Event struct { + ID uint64 + Name string + Tag sql.NullString + Amount decimal.Decimal + Uid uuid.UUID + Ip net.IP + Big *big.Int +} diff --git a/internal/endtoend/testdata/clickhouse_named_placeholders/clickhouse/go/query.sql.go b/internal/endtoend/testdata/clickhouse_named_placeholders/clickhouse/go/query.sql.go new file mode 100644 index 0000000000..4159107a50 --- /dev/null +++ b/internal/endtoend/testdata/clickhouse_named_placeholders/clickhouse/go/query.sql.go @@ -0,0 +1,100 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 +// source: query.sql + +package querytest + +import ( + "context" + "database/sql" +) + +const insertEvent = `-- name: InsertEvent :exec +INSERT INTO events (id, name, tag, amount, uid, ip, big) +VALUES ({id:UInt64}, {name:String}, {tag:Nullable(String)}, {amount:Decimal(10, 2)}, {uid:UUID}, {ip:IPv4}, {big:Int128}); +` + +type InsertEventParams struct { + ID uint64 + Name string + Tag *string + Amount string + Uid string + Ip string + Big string +} + +func (q *Queries) InsertEvent(ctx context.Context, arg InsertEventParams) error { + _, err := q.db.ExecContext(ctx, insertEvent, + sql.Named("id", arg.ID), + sql.Named("name", arg.Name), + sql.Named("tag", arg.Tag), + sql.Named("amount", arg.Amount), + sql.Named("uid", arg.Uid), + sql.Named("ip", arg.Ip), + sql.Named("big", arg.Big), + ) + return err +} + +const positionalEvent = `-- name: PositionalEvent :exec +INSERT INTO events (id, name, tag, amount, uid, ip, big) +VALUES (?, ?, ?, ?, ?, ?, ?); +` + +type PositionalEventParams struct { + ID uint64 + Name string + Tag *string + Amount string + Uid string + Ip string + Big string +} + +func (q *Queries) PositionalEvent(ctx context.Context, arg PositionalEventParams) error { + _, err := q.db.ExecContext(ctx, positionalEvent, + arg.ID, + arg.Name, + arg.Tag, + arg.Amount, + arg.Uid, + arg.Ip, + arg.Big, + ) + return err +} + +const repeatedName = `-- name: RepeatedName :many +SELECT id FROM events +WHERE name = {name:String} OR tag = {name:String} OR id = {id:UInt64}; +` + +type RepeatedNameParams struct { + Name string + ID uint64 +} + +func (q *Queries) RepeatedName(ctx context.Context, arg RepeatedNameParams) ([]uint64, error) { + rows, err := q.db.QueryContext(ctx, repeatedName, sql.Named("name", arg.Name), sql.Named("id", arg.ID)) + if err != nil { + return nil, err + } + defer rows.Close() + var items []uint64 + for rows.Next() { + var id uint64 + if err := rows.Scan(&id); err != nil { + return nil, err + } + items = append(items, id) + } + if err := rows.Close(); err != nil { + return nil, err + } + if err := rows.Err(); err != nil { + return nil, err + } + return items, nil +} diff --git a/internal/endtoend/testdata/clickhouse_named_placeholders/clickhouse/query.sql b/internal/endtoend/testdata/clickhouse_named_placeholders/clickhouse/query.sql new file mode 100644 index 0000000000..4c38a74e40 --- /dev/null +++ b/internal/endtoend/testdata/clickhouse_named_placeholders/clickhouse/query.sql @@ -0,0 +1,11 @@ +-- name: RepeatedName :many +SELECT id FROM events +WHERE name = {name:String} OR tag = {name:String} OR id = {id:UInt64}; + +-- name: InsertEvent :exec +INSERT INTO events (id, name, tag, amount, uid, ip, big) +VALUES ({id:UInt64}, {name:String}, {tag:Nullable(String)}, {amount:Decimal(10, 2)}, {uid:UUID}, {ip:IPv4}, {big:Int128}); + +-- name: PositionalEvent :exec +INSERT INTO events (id, name, tag, amount, uid, ip, big) +VALUES (?, ?, ?, ?, ?, ?, ?); diff --git a/internal/endtoend/testdata/clickhouse_named_placeholders/clickhouse/schema.sql b/internal/endtoend/testdata/clickhouse_named_placeholders/clickhouse/schema.sql new file mode 100644 index 0000000000..cc8e44c798 --- /dev/null +++ b/internal/endtoend/testdata/clickhouse_named_placeholders/clickhouse/schema.sql @@ -0,0 +1,9 @@ +CREATE TABLE events ( + id UInt64, + name String, + tag Nullable(String), + amount Decimal(10, 2), + uid UUID, + ip IPv4, + big Int128 +) ENGINE = MergeTree ORDER BY id; diff --git a/internal/endtoend/testdata/clickhouse_named_placeholders/clickhouse/sqlc.yaml b/internal/endtoend/testdata/clickhouse_named_placeholders/clickhouse/sqlc.yaml new file mode 100644 index 0000000000..66e907a2c6 --- /dev/null +++ b/internal/endtoend/testdata/clickhouse_named_placeholders/clickhouse/sqlc.yaml @@ -0,0 +1,10 @@ +version: "2" +sql: + - engine: "clickhouse" + schema: "schema.sql" + queries: "query.sql" + gen: + go: + package: "querytest" + out: "go" + sql_package: "database/sql" diff --git a/internal/endtoend/testdata/codegen_json/gen/codegen.json b/internal/endtoend/testdata/codegen_json/gen/codegen.json index 47a6e3a39c..88821b582a 100644 --- a/internal/endtoend/testdata/codegen_json/gen/codegen.json +++ b/internal/endtoend/testdata/codegen_json/gen/codegen.json @@ -57,7 +57,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "name", @@ -83,7 +84,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "bio", @@ -109,7 +111,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -160,7 +163,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -186,7 +190,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -212,7 +217,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -238,7 +244,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -264,7 +271,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -290,7 +298,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "aggfnoid", @@ -316,7 +325,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "aggkind", @@ -342,7 +352,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "aggnumdirectargs", @@ -368,7 +379,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "aggtransfn", @@ -394,7 +406,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "aggfinalfn", @@ -420,7 +433,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "aggcombinefn", @@ -446,7 +460,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "aggserialfn", @@ -472,7 +487,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "aggdeserialfn", @@ -498,7 +514,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "aggmtransfn", @@ -524,7 +541,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "aggminvtransfn", @@ -550,7 +568,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "aggmfinalfn", @@ -576,7 +595,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "aggfinalextra", @@ -602,7 +622,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "aggmfinalextra", @@ -628,7 +649,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "aggfinalmodify", @@ -654,7 +676,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "aggmfinalmodify", @@ -680,7 +703,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "aggsortop", @@ -706,7 +730,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "aggtranstype", @@ -732,7 +757,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "aggtransspace", @@ -758,7 +784,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "aggmtranstype", @@ -784,7 +811,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "aggmtransspace", @@ -810,7 +838,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "agginitval", @@ -836,7 +865,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "aggminitval", @@ -862,7 +892,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -898,7 +929,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -924,7 +956,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -950,7 +983,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -976,7 +1010,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -1002,7 +1037,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -1028,7 +1064,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -1054,7 +1091,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "amname", @@ -1080,7 +1118,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "amhandler", @@ -1106,7 +1145,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "amtype", @@ -1132,7 +1172,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -1168,7 +1209,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -1194,7 +1236,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -1220,7 +1263,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -1246,7 +1290,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -1272,7 +1317,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -1298,7 +1344,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -1324,7 +1371,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "amopfamily", @@ -1350,7 +1398,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "amoplefttype", @@ -1376,7 +1425,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "amoprighttype", @@ -1402,7 +1452,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "amopstrategy", @@ -1428,7 +1479,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "amoppurpose", @@ -1454,7 +1506,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "amopopr", @@ -1480,7 +1533,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "amopmethod", @@ -1506,7 +1560,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "amopsortfamily", @@ -1532,7 +1587,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -1568,7 +1624,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -1594,7 +1651,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -1620,7 +1678,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -1646,7 +1705,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -1672,7 +1732,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -1698,7 +1759,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -1724,7 +1786,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "amprocfamily", @@ -1750,7 +1813,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "amproclefttype", @@ -1776,7 +1840,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "amprocrighttype", @@ -1802,7 +1867,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "amprocnum", @@ -1828,7 +1894,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "amproc", @@ -1854,7 +1921,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -1890,7 +1958,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -1916,7 +1985,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -1942,7 +2012,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -1968,7 +2039,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -1994,7 +2066,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -2020,7 +2093,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -2046,7 +2120,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "adrelid", @@ -2072,7 +2147,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "adnum", @@ -2098,7 +2174,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "adbin", @@ -2124,7 +2201,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -2160,7 +2238,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -2186,7 +2265,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -2212,7 +2292,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -2238,7 +2319,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -2264,7 +2346,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -2290,7 +2373,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attrelid", @@ -2316,7 +2400,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attname", @@ -2342,7 +2427,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "atttypid", @@ -2368,7 +2454,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attlen", @@ -2394,7 +2481,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attnum", @@ -2420,7 +2508,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attcacheoff", @@ -2446,7 +2535,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "atttypmod", @@ -2472,7 +2562,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attndims", @@ -2498,7 +2589,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attbyval", @@ -2524,7 +2616,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attalign", @@ -2550,7 +2643,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attstorage", @@ -2576,7 +2670,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attcompression", @@ -2602,7 +2697,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attnotnull", @@ -2628,7 +2724,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "atthasdef", @@ -2654,7 +2751,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "atthasmissing", @@ -2680,7 +2778,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attidentity", @@ -2706,7 +2805,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attgenerated", @@ -2732,7 +2832,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attisdropped", @@ -2758,7 +2859,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attislocal", @@ -2784,7 +2886,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attinhcount", @@ -2810,7 +2913,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attstattarget", @@ -2836,7 +2940,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attcollation", @@ -2862,7 +2967,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attacl", @@ -2888,7 +2994,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "attoptions", @@ -2914,7 +3021,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "attfdwoptions", @@ -2940,7 +3048,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "attmissingval", @@ -2966,7 +3075,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -3002,7 +3112,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -3028,7 +3139,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -3054,7 +3166,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -3080,7 +3193,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -3106,7 +3220,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -3132,7 +3247,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -3158,7 +3274,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "roleid", @@ -3184,7 +3301,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "member", @@ -3210,7 +3328,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "grantor", @@ -3236,7 +3355,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "admin_option", @@ -3262,7 +3382,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "inherit_option", @@ -3288,7 +3409,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "set_option", @@ -3314,7 +3436,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -3350,7 +3473,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -3376,7 +3500,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -3402,7 +3527,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -3428,7 +3554,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -3454,7 +3581,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -3480,7 +3608,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -3506,7 +3635,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rolname", @@ -3532,7 +3662,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rolsuper", @@ -3558,7 +3689,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rolinherit", @@ -3584,7 +3716,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rolcreaterole", @@ -3610,7 +3743,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rolcreatedb", @@ -3636,7 +3770,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rolcanlogin", @@ -3662,7 +3797,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rolreplication", @@ -3688,7 +3824,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rolbypassrls", @@ -3714,7 +3851,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rolconnlimit", @@ -3740,7 +3878,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rolpassword", @@ -3766,7 +3905,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rolvaliduntil", @@ -3792,7 +3932,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -3828,7 +3969,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "version", @@ -3854,7 +3996,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "installed", @@ -3880,7 +4023,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "superuser", @@ -3906,7 +4050,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "trusted", @@ -3932,7 +4077,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relocatable", @@ -3958,7 +4104,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "schema", @@ -3984,7 +4131,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "requires", @@ -4010,7 +4158,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "comment", @@ -4036,7 +4185,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -4072,7 +4222,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "default_version", @@ -4098,7 +4249,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "installed_version", @@ -4124,7 +4276,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "comment", @@ -4150,7 +4303,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -4186,7 +4340,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ident", @@ -4212,7 +4367,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "parent", @@ -4238,7 +4394,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "level", @@ -4264,7 +4421,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "total_bytes", @@ -4290,7 +4448,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "total_nblocks", @@ -4316,7 +4475,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "free_bytes", @@ -4342,7 +4502,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "free_chunks", @@ -4368,7 +4529,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "used_bytes", @@ -4394,7 +4556,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -4430,7 +4593,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -4456,7 +4620,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -4482,7 +4647,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -4508,7 +4674,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -4534,7 +4701,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -4560,7 +4728,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -4586,7 +4755,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "castsource", @@ -4612,7 +4782,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "casttarget", @@ -4638,7 +4809,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "castfunc", @@ -4664,7 +4836,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "castcontext", @@ -4690,7 +4863,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "castmethod", @@ -4716,7 +4890,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -4752,7 +4927,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -4778,7 +4954,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -4804,7 +4981,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -4830,7 +5008,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -4856,7 +5035,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -4882,7 +5062,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -4908,7 +5089,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relname", @@ -4934,7 +5116,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relnamespace", @@ -4960,7 +5143,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "reltype", @@ -4986,7 +5170,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "reloftype", @@ -5012,7 +5197,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relowner", @@ -5038,7 +5224,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relam", @@ -5064,7 +5251,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relfilenode", @@ -5090,7 +5278,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "reltablespace", @@ -5116,7 +5305,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relpages", @@ -5142,7 +5332,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "reltuples", @@ -5168,7 +5359,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relallvisible", @@ -5194,7 +5386,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "reltoastrelid", @@ -5220,7 +5413,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relhasindex", @@ -5246,7 +5440,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relisshared", @@ -5272,7 +5467,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relpersistence", @@ -5298,7 +5494,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relkind", @@ -5324,7 +5521,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relnatts", @@ -5350,7 +5548,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relchecks", @@ -5376,7 +5575,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relhasrules", @@ -5402,7 +5602,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relhastriggers", @@ -5428,7 +5629,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relhassubclass", @@ -5454,7 +5656,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relrowsecurity", @@ -5480,7 +5683,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relforcerowsecurity", @@ -5506,7 +5710,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relispopulated", @@ -5532,7 +5737,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relreplident", @@ -5558,7 +5764,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relispartition", @@ -5584,7 +5791,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relrewrite", @@ -5610,7 +5818,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relfrozenxid", @@ -5636,7 +5845,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relminmxid", @@ -5662,7 +5872,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relacl", @@ -5688,7 +5899,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "reloptions", @@ -5714,7 +5926,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "relpartbound", @@ -5740,7 +5953,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -5776,7 +5990,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -5802,7 +6017,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -5828,7 +6044,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -5854,7 +6071,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -5880,7 +6098,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -5906,7 +6125,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -5932,7 +6152,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collname", @@ -5958,7 +6179,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collnamespace", @@ -5984,7 +6206,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collowner", @@ -6010,7 +6233,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collprovider", @@ -6036,7 +6260,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collisdeterministic", @@ -6062,7 +6287,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collencoding", @@ -6088,7 +6314,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collcollate", @@ -6114,7 +6341,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collctype", @@ -6140,7 +6368,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "colliculocale", @@ -6166,7 +6395,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collicurules", @@ -6192,7 +6422,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collversion", @@ -6218,7 +6449,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -6254,7 +6486,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "setting", @@ -6280,7 +6513,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -6316,7 +6550,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -6342,7 +6577,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -6368,7 +6604,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -6394,7 +6631,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -6420,7 +6658,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -6446,7 +6685,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -6472,7 +6712,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "conname", @@ -6498,7 +6739,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "connamespace", @@ -6524,7 +6766,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "contype", @@ -6550,7 +6793,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "condeferrable", @@ -6576,7 +6820,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "condeferred", @@ -6602,7 +6847,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "convalidated", @@ -6628,7 +6874,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "conrelid", @@ -6654,7 +6901,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "contypid", @@ -6680,7 +6928,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "conindid", @@ -6706,7 +6955,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "conparentid", @@ -6732,7 +6982,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "confrelid", @@ -6758,7 +7009,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "confupdtype", @@ -6784,7 +7036,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "confdeltype", @@ -6810,7 +7063,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "confmatchtype", @@ -6836,7 +7090,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "conislocal", @@ -6862,7 +7117,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "coninhcount", @@ -6888,7 +7144,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "connoinherit", @@ -6914,7 +7171,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "conkey", @@ -6940,7 +7198,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "confkey", @@ -6966,7 +7225,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "conpfeqop", @@ -6992,7 +7252,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "conppeqop", @@ -7018,7 +7279,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "conffeqop", @@ -7044,7 +7306,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "confdelsetcols", @@ -7070,7 +7333,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "conexclop", @@ -7096,7 +7360,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "conbin", @@ -7122,7 +7387,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -7158,7 +7424,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -7184,7 +7451,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -7210,7 +7478,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -7236,7 +7505,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -7262,7 +7532,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -7288,7 +7559,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -7314,7 +7586,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "conname", @@ -7340,7 +7613,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "connamespace", @@ -7366,7 +7640,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "conowner", @@ -7392,7 +7667,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "conforencoding", @@ -7418,7 +7694,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "contoencoding", @@ -7444,7 +7721,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "conproc", @@ -7470,7 +7748,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "condefault", @@ -7496,7 +7775,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -7532,7 +7812,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "statement", @@ -7558,7 +7839,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_holdable", @@ -7584,7 +7866,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_binary", @@ -7610,7 +7893,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_scrollable", @@ -7636,7 +7920,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "creation_time", @@ -7662,7 +7947,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -7698,7 +7984,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -7724,7 +8011,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -7750,7 +8038,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -7776,7 +8065,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -7802,7 +8092,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -7828,7 +8119,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -7854,7 +8146,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datname", @@ -7880,7 +8173,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datdba", @@ -7906,7 +8200,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "encoding", @@ -7932,7 +8227,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datlocprovider", @@ -7958,7 +8254,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datistemplate", @@ -7984,7 +8281,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datallowconn", @@ -8010,7 +8308,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datconnlimit", @@ -8036,7 +8335,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datfrozenxid", @@ -8062,7 +8362,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datminmxid", @@ -8088,7 +8389,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "dattablespace", @@ -8114,7 +8416,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datcollate", @@ -8140,7 +8443,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datctype", @@ -8166,7 +8470,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "daticulocale", @@ -8192,7 +8497,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "daticurules", @@ -8218,7 +8524,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datcollversion", @@ -8244,7 +8551,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datacl", @@ -8270,7 +8578,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null } ], "comment": "" @@ -8306,7 +8615,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -8332,7 +8642,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -8358,7 +8669,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -8384,7 +8696,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -8410,7 +8723,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -8436,7 +8750,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "setdatabase", @@ -8462,7 +8777,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "setrole", @@ -8488,7 +8804,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "setconfig", @@ -8514,7 +8831,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null } ], "comment": "" @@ -8550,7 +8868,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -8576,7 +8895,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -8602,7 +8922,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -8628,7 +8949,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -8654,7 +8976,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -8680,7 +9003,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -8706,7 +9030,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "defaclrole", @@ -8732,7 +9057,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "defaclnamespace", @@ -8758,7 +9084,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "defaclobjtype", @@ -8784,7 +9111,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "defaclacl", @@ -8810,7 +9138,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null } ], "comment": "" @@ -8846,7 +9175,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -8872,7 +9202,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -8898,7 +9229,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -8924,7 +9256,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -8950,7 +9283,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -8976,7 +9310,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "classid", @@ -9002,7 +9337,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "objid", @@ -9028,7 +9364,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "objsubid", @@ -9054,7 +9391,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "refclassid", @@ -9080,7 +9418,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "refobjid", @@ -9106,7 +9445,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "refobjsubid", @@ -9132,7 +9472,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "deptype", @@ -9158,7 +9499,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -9194,7 +9536,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -9220,7 +9563,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -9246,7 +9590,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -9272,7 +9617,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -9298,7 +9644,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -9324,7 +9671,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "objoid", @@ -9350,7 +9698,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "classoid", @@ -9376,7 +9725,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "objsubid", @@ -9402,7 +9752,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "description", @@ -9428,7 +9779,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -9464,7 +9816,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -9490,7 +9843,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -9516,7 +9870,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -9542,7 +9897,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -9568,7 +9924,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -9594,7 +9951,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -9620,7 +9978,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "enumtypid", @@ -9646,7 +10005,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "enumsortorder", @@ -9672,7 +10032,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "enumlabel", @@ -9698,7 +10059,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -9734,7 +10096,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -9760,7 +10123,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -9786,7 +10150,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -9812,7 +10177,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -9838,7 +10204,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -9864,7 +10231,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -9890,7 +10258,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "evtname", @@ -9916,7 +10285,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "evtevent", @@ -9942,7 +10312,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "evtowner", @@ -9968,7 +10339,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "evtfoid", @@ -9994,7 +10366,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "evtenabled", @@ -10020,7 +10393,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "evttags", @@ -10046,7 +10420,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null } ], "comment": "" @@ -10082,7 +10457,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -10108,7 +10484,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -10134,7 +10511,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -10160,7 +10538,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -10186,7 +10565,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -10212,7 +10592,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -10238,7 +10619,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "extname", @@ -10264,7 +10646,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "extowner", @@ -10290,7 +10673,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "extnamespace", @@ -10316,7 +10700,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "extrelocatable", @@ -10342,7 +10727,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "extversion", @@ -10368,7 +10754,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "extconfig", @@ -10394,7 +10781,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "extcondition", @@ -10420,7 +10808,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null } ], "comment": "" @@ -10456,7 +10845,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sourceline", @@ -10482,7 +10872,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "seqno", @@ -10508,7 +10899,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "name", @@ -10534,7 +10926,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "setting", @@ -10560,7 +10953,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "applied", @@ -10586,7 +10980,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "error", @@ -10612,7 +11007,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -10648,7 +11044,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -10674,7 +11071,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -10700,7 +11098,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -10726,7 +11125,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -10752,7 +11152,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -10778,7 +11179,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -10804,7 +11206,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "fdwname", @@ -10830,7 +11233,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "fdwowner", @@ -10856,7 +11260,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "fdwhandler", @@ -10882,7 +11287,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "fdwvalidator", @@ -10908,7 +11314,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "fdwacl", @@ -10934,7 +11341,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "fdwoptions", @@ -10960,7 +11368,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null } ], "comment": "" @@ -10996,7 +11405,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -11022,7 +11432,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -11048,7 +11459,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -11074,7 +11486,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -11100,7 +11513,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -11126,7 +11540,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -11152,7 +11567,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "srvname", @@ -11178,7 +11594,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "srvowner", @@ -11204,7 +11621,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "srvfdw", @@ -11230,7 +11648,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "srvtype", @@ -11256,7 +11675,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "srvversion", @@ -11282,7 +11702,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "srvacl", @@ -11308,7 +11729,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "srvoptions", @@ -11334,7 +11756,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null } ], "comment": "" @@ -11370,7 +11793,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -11396,7 +11820,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -11422,7 +11847,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -11448,7 +11874,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -11474,7 +11901,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -11500,7 +11928,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ftrelid", @@ -11526,7 +11955,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ftserver", @@ -11552,7 +11982,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ftoptions", @@ -11578,7 +12009,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null } ], "comment": "" @@ -11614,7 +12046,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "grosysid", @@ -11640,7 +12073,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "grolist", @@ -11666,7 +12100,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null } ], "comment": "" @@ -11702,7 +12137,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "file_name", @@ -11728,7 +12164,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "line_number", @@ -11754,7 +12191,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "type", @@ -11780,7 +12218,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "database", @@ -11806,7 +12245,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "user_name", @@ -11832,7 +12272,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "address", @@ -11858,7 +12299,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "netmask", @@ -11884,7 +12326,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "auth_method", @@ -11910,7 +12353,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "options", @@ -11936,7 +12380,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "error", @@ -11962,7 +12407,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -11998,7 +12444,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "file_name", @@ -12024,7 +12471,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "line_number", @@ -12050,7 +12498,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "map_name", @@ -12076,7 +12525,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sys_name", @@ -12102,7 +12552,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "pg_username", @@ -12128,7 +12579,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "error", @@ -12154,7 +12606,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -12190,7 +12643,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -12216,7 +12670,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -12242,7 +12697,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -12268,7 +12724,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -12294,7 +12751,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -12320,7 +12778,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indexrelid", @@ -12346,7 +12805,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indrelid", @@ -12372,7 +12832,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indnatts", @@ -12398,7 +12859,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indnkeyatts", @@ -12424,7 +12886,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indisunique", @@ -12450,7 +12913,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indnullsnotdistinct", @@ -12476,7 +12940,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indisprimary", @@ -12502,7 +12967,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indisexclusion", @@ -12528,7 +12994,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indimmediate", @@ -12554,7 +13021,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indisclustered", @@ -12580,7 +13048,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indisvalid", @@ -12606,7 +13075,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indcheckxmin", @@ -12632,7 +13102,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indisready", @@ -12658,7 +13129,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indislive", @@ -12684,7 +13156,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indisreplident", @@ -12710,7 +13183,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indkey", @@ -12736,7 +13210,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indcollation", @@ -12762,7 +13237,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indclass", @@ -12788,7 +13264,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indoption", @@ -12814,7 +13291,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indexprs", @@ -12840,7 +13318,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indpred", @@ -12866,7 +13345,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -12902,7 +13382,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tablename", @@ -12928,7 +13409,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indexname", @@ -12954,7 +13436,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tablespace", @@ -12980,7 +13463,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indexdef", @@ -13006,7 +13490,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -13042,7 +13527,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -13068,7 +13554,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -13094,7 +13581,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -13120,7 +13608,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -13146,7 +13635,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -13172,7 +13662,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "inhrelid", @@ -13198,7 +13689,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "inhparent", @@ -13224,7 +13716,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "inhseqno", @@ -13250,7 +13743,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "inhdetachpending", @@ -13276,7 +13770,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -13312,7 +13807,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -13338,7 +13834,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -13364,7 +13861,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -13390,7 +13888,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -13416,7 +13915,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -13442,7 +13942,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "objoid", @@ -13468,7 +13969,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "classoid", @@ -13494,7 +13996,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "objsubid", @@ -13520,7 +14023,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "privtype", @@ -13546,7 +14050,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "initprivs", @@ -13572,7 +14077,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null } ], "comment": "" @@ -13608,7 +14114,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -13634,7 +14141,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -13660,7 +14168,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -13686,7 +14195,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -13712,7 +14222,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -13738,7 +14249,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -13764,7 +14276,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "lanname", @@ -13790,7 +14303,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "lanowner", @@ -13816,7 +14330,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "lanispl", @@ -13842,7 +14357,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "lanpltrusted", @@ -13868,7 +14384,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "lanplcallfoid", @@ -13894,7 +14411,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "laninline", @@ -13920,7 +14438,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "lanvalidator", @@ -13946,7 +14465,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "lanacl", @@ -13972,7 +14492,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null } ], "comment": "" @@ -14008,7 +14529,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -14034,7 +14556,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -14060,7 +14583,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -14086,7 +14610,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -14112,7 +14637,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -14138,7 +14664,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "loid", @@ -14164,7 +14691,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "pageno", @@ -14190,7 +14718,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "data", @@ -14216,7 +14745,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -14252,7 +14782,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -14278,7 +14809,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -14304,7 +14836,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -14330,7 +14863,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -14356,7 +14890,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -14382,7 +14917,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -14408,7 +14944,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "lomowner", @@ -14434,7 +14971,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "lomacl", @@ -14460,7 +14998,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null } ], "comment": "" @@ -14496,7 +15035,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "database", @@ -14522,7 +15062,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relation", @@ -14548,7 +15089,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "page", @@ -14574,7 +15116,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tuple", @@ -14600,7 +15143,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "virtualxid", @@ -14626,7 +15170,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "transactionid", @@ -14652,7 +15197,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "classid", @@ -14678,7 +15224,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "objid", @@ -14704,7 +15251,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "objsubid", @@ -14730,7 +15278,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "virtualtransaction", @@ -14756,7 +15305,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "pid", @@ -14782,7 +15332,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "mode", @@ -14808,7 +15359,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "granted", @@ -14834,7 +15386,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "fastpath", @@ -14860,7 +15413,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "waitstart", @@ -14886,7 +15440,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -14922,7 +15477,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "matviewname", @@ -14948,7 +15504,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "matviewowner", @@ -14974,7 +15531,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tablespace", @@ -15000,7 +15558,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "hasindexes", @@ -15026,7 +15585,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ispopulated", @@ -15052,7 +15612,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "definition", @@ -15078,7 +15639,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -15114,7 +15676,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -15140,7 +15703,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -15166,7 +15730,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -15192,7 +15757,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -15218,7 +15784,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -15244,7 +15811,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -15270,7 +15838,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "nspname", @@ -15296,7 +15865,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "nspowner", @@ -15322,7 +15892,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "nspacl", @@ -15348,7 +15919,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null } ], "comment": "" @@ -15384,7 +15956,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -15410,7 +15983,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -15436,7 +16010,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -15462,7 +16037,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -15488,7 +16064,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -15514,7 +16091,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -15540,7 +16118,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "opcmethod", @@ -15566,7 +16145,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "opcname", @@ -15592,7 +16172,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "opcnamespace", @@ -15618,7 +16199,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "opcowner", @@ -15644,7 +16226,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "opcfamily", @@ -15670,7 +16253,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "opcintype", @@ -15696,7 +16280,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "opcdefault", @@ -15722,7 +16307,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "opckeytype", @@ -15748,7 +16334,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -15784,7 +16371,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -15810,7 +16398,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -15836,7 +16425,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -15862,7 +16452,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -15888,7 +16479,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -15914,7 +16506,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -15940,7 +16533,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oprname", @@ -15966,7 +16560,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oprnamespace", @@ -15992,7 +16587,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oprowner", @@ -16018,7 +16614,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oprkind", @@ -16044,7 +16641,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oprcanmerge", @@ -16070,7 +16668,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oprcanhash", @@ -16096,7 +16695,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oprleft", @@ -16122,7 +16722,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oprright", @@ -16148,7 +16749,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oprresult", @@ -16174,7 +16776,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oprcom", @@ -16200,7 +16803,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oprnegate", @@ -16226,7 +16830,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oprcode", @@ -16252,7 +16857,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oprrest", @@ -16278,7 +16884,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oprjoin", @@ -16304,7 +16911,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -16340,7 +16948,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -16366,7 +16975,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -16392,7 +17002,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -16418,7 +17029,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -16444,7 +17056,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -16470,7 +17083,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -16496,7 +17110,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "opfmethod", @@ -16522,7 +17137,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "opfname", @@ -16548,7 +17164,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "opfnamespace", @@ -16574,7 +17191,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "opfowner", @@ -16600,7 +17218,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -16636,7 +17255,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -16662,7 +17282,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -16688,7 +17309,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -16714,7 +17336,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -16740,7 +17363,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -16766,7 +17390,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -16792,7 +17417,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "parname", @@ -16818,7 +17444,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "paracl", @@ -16844,7 +17471,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null } ], "comment": "" @@ -16880,7 +17508,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -16906,7 +17535,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -16932,7 +17562,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -16958,7 +17589,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -16984,7 +17616,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -17010,7 +17643,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "partrelid", @@ -17036,7 +17670,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "partstrat", @@ -17062,7 +17697,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "partnatts", @@ -17088,7 +17724,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "partdefid", @@ -17114,7 +17751,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "partattrs", @@ -17140,7 +17778,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "partclass", @@ -17166,7 +17805,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "partcollation", @@ -17192,7 +17832,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "partexprs", @@ -17218,7 +17859,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -17254,7 +17896,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tablename", @@ -17280,7 +17923,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "policyname", @@ -17306,7 +17950,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "permissive", @@ -17332,7 +17977,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "roles", @@ -17358,7 +18004,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "cmd", @@ -17384,7 +18031,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "qual", @@ -17410,7 +18058,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "with_check", @@ -17436,7 +18085,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -17472,7 +18122,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -17498,7 +18149,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -17524,7 +18176,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -17550,7 +18203,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -17576,7 +18230,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -17602,7 +18257,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -17628,7 +18284,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "polname", @@ -17654,7 +18311,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "polrelid", @@ -17680,7 +18338,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "polcmd", @@ -17706,7 +18365,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "polpermissive", @@ -17732,7 +18392,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "polroles", @@ -17758,7 +18419,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "polqual", @@ -17784,7 +18446,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "polwithcheck", @@ -17810,7 +18473,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -17846,7 +18510,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "statement", @@ -17872,7 +18537,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "prepare_time", @@ -17898,7 +18564,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "parameter_types", @@ -17924,7 +18591,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "result_types", @@ -17950,7 +18618,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "from_sql", @@ -17976,7 +18645,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "generic_plans", @@ -18002,7 +18672,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "custom_plans", @@ -18028,7 +18699,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -18064,7 +18736,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "gid", @@ -18090,7 +18763,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "prepared", @@ -18116,7 +18790,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "owner", @@ -18142,7 +18817,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "database", @@ -18168,7 +18844,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -18204,7 +18881,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -18230,7 +18908,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -18256,7 +18935,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -18282,7 +18962,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -18308,7 +18989,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -18334,7 +19016,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -18360,7 +19043,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "proname", @@ -18386,7 +19070,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "pronamespace", @@ -18412,7 +19097,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "proowner", @@ -18438,7 +19124,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "prolang", @@ -18464,7 +19151,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "procost", @@ -18490,7 +19178,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "prorows", @@ -18516,7 +19205,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "provariadic", @@ -18542,7 +19232,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "prosupport", @@ -18568,7 +19259,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "prokind", @@ -18594,7 +19286,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "prosecdef", @@ -18620,7 +19313,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "proleakproof", @@ -18646,7 +19340,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "proisstrict", @@ -18672,7 +19367,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "proretset", @@ -18698,7 +19394,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "provolatile", @@ -18724,7 +19421,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "proparallel", @@ -18750,7 +19448,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "pronargs", @@ -18776,7 +19475,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "pronargdefaults", @@ -18802,7 +19502,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "prorettype", @@ -18828,7 +19529,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "proargtypes", @@ -18854,7 +19556,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "proallargtypes", @@ -18880,7 +19583,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "proargmodes", @@ -18906,7 +19610,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "proargnames", @@ -18932,7 +19637,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "proargdefaults", @@ -18958,7 +19664,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "protrftypes", @@ -18984,7 +19691,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "prosrc", @@ -19010,7 +19718,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "probin", @@ -19036,7 +19745,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "prosqlbody", @@ -19062,7 +19772,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "proconfig", @@ -19088,7 +19799,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "proacl", @@ -19114,7 +19826,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null } ], "comment": "" @@ -19150,7 +19863,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -19176,7 +19890,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -19202,7 +19917,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -19228,7 +19944,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -19254,7 +19971,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -19280,7 +19998,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -19306,7 +20025,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "pubname", @@ -19332,7 +20052,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "pubowner", @@ -19358,7 +20079,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "puballtables", @@ -19384,7 +20106,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "pubinsert", @@ -19410,7 +20133,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "pubupdate", @@ -19436,7 +20160,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "pubdelete", @@ -19462,7 +20187,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "pubtruncate", @@ -19488,7 +20214,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "pubviaroot", @@ -19514,7 +20241,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -19550,7 +20278,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -19576,7 +20305,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -19602,7 +20332,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -19628,7 +20359,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -19654,7 +20386,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -19680,7 +20413,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -19706,7 +20440,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "pnpubid", @@ -19732,7 +20467,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "pnnspid", @@ -19758,7 +20494,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -19794,7 +20531,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -19820,7 +20558,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -19846,7 +20585,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -19872,7 +20612,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -19898,7 +20639,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -19924,7 +20666,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -19950,7 +20693,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "prpubid", @@ -19976,7 +20720,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "prrelid", @@ -20002,7 +20747,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "prqual", @@ -20028,7 +20774,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "prattrs", @@ -20054,7 +20801,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -20090,7 +20838,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "schemaname", @@ -20116,7 +20865,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tablename", @@ -20142,7 +20892,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attnames", @@ -20168,7 +20919,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "rowfilter", @@ -20194,7 +20946,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -20230,7 +20983,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -20256,7 +21010,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -20282,7 +21037,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -20308,7 +21064,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -20334,7 +21091,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -20360,7 +21118,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rngtypid", @@ -20386,7 +21145,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rngsubtype", @@ -20412,7 +21172,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rngmultitypid", @@ -20438,7 +21199,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rngcollation", @@ -20464,7 +21226,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rngsubopc", @@ -20490,7 +21253,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rngcanonical", @@ -20516,7 +21280,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rngsubdiff", @@ -20542,7 +21307,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -20578,7 +21344,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -20604,7 +21371,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -20630,7 +21398,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -20656,7 +21425,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -20682,7 +21452,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -20708,7 +21479,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "roident", @@ -20734,7 +21506,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "roname", @@ -20760,7 +21533,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -20796,7 +21570,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "external_id", @@ -20822,7 +21597,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "remote_lsn", @@ -20848,7 +21624,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "local_lsn", @@ -20874,7 +21651,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -20910,7 +21688,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "plugin", @@ -20936,7 +21715,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "slot_type", @@ -20962,7 +21742,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datoid", @@ -20988,7 +21769,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "database", @@ -21014,7 +21796,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "temporary", @@ -21040,7 +21823,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "active", @@ -21066,7 +21850,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "active_pid", @@ -21092,7 +21877,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -21118,7 +21904,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "catalog_xmin", @@ -21144,7 +21931,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "restart_lsn", @@ -21170,7 +21958,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "confirmed_flush_lsn", @@ -21196,7 +21985,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "wal_status", @@ -21222,7 +22012,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "safe_wal_size", @@ -21248,7 +22039,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "two_phase", @@ -21274,7 +22066,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "conflicting", @@ -21300,7 +22093,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -21336,7 +22130,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -21362,7 +22157,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -21388,7 +22184,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -21414,7 +22211,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -21440,7 +22238,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -21466,7 +22265,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -21492,7 +22292,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rulename", @@ -21518,7 +22319,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ev_class", @@ -21544,7 +22346,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ev_type", @@ -21570,7 +22373,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ev_enabled", @@ -21596,7 +22400,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_instead", @@ -21622,7 +22427,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ev_qual", @@ -21648,7 +22454,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ev_action", @@ -21674,7 +22481,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -21710,7 +22518,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rolsuper", @@ -21736,7 +22545,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rolinherit", @@ -21762,7 +22572,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rolcreaterole", @@ -21788,7 +22599,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rolcreatedb", @@ -21814,7 +22626,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rolcanlogin", @@ -21840,7 +22653,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rolreplication", @@ -21866,7 +22680,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rolconnlimit", @@ -21892,7 +22707,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rolpassword", @@ -21918,7 +22734,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rolvaliduntil", @@ -21944,7 +22761,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rolbypassrls", @@ -21970,7 +22788,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rolconfig", @@ -21996,7 +22815,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "oid", @@ -22022,7 +22842,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -22058,7 +22879,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tablename", @@ -22084,7 +22906,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rulename", @@ -22110,7 +22933,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "definition", @@ -22136,7 +22960,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -22172,7 +22997,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -22198,7 +23024,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -22224,7 +23051,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -22250,7 +23078,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -22276,7 +23105,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -22302,7 +23132,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "objoid", @@ -22328,7 +23159,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "classoid", @@ -22354,7 +23186,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "objsubid", @@ -22380,7 +23213,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "provider", @@ -22406,7 +23240,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "label", @@ -22432,7 +23267,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -22468,7 +23304,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "classoid", @@ -22494,7 +23331,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "objsubid", @@ -22520,7 +23358,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "objtype", @@ -22546,7 +23385,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "objnamespace", @@ -22572,7 +23412,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "objname", @@ -22598,7 +23439,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "provider", @@ -22624,7 +23466,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "label", @@ -22650,7 +23493,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -22686,7 +23530,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -22712,7 +23557,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -22738,7 +23584,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -22764,7 +23611,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -22790,7 +23638,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -22816,7 +23665,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "seqrelid", @@ -22842,7 +23692,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "seqtypid", @@ -22868,7 +23719,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "seqstart", @@ -22894,7 +23746,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "seqincrement", @@ -22920,7 +23773,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "seqmax", @@ -22946,7 +23800,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "seqmin", @@ -22972,7 +23827,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "seqcache", @@ -22998,7 +23854,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "seqcycle", @@ -23024,7 +23881,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -23060,7 +23918,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sequencename", @@ -23086,7 +23945,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sequenceowner", @@ -23112,7 +23972,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "data_type", @@ -23138,7 +23999,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "start_value", @@ -23164,7 +24026,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "min_value", @@ -23190,7 +24053,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "max_value", @@ -23216,7 +24080,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "increment_by", @@ -23242,7 +24107,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cycle", @@ -23268,7 +24134,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cache_size", @@ -23294,7 +24161,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_value", @@ -23320,7 +24188,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -23356,7 +24225,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "setting", @@ -23382,7 +24252,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "unit", @@ -23408,7 +24279,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "category", @@ -23434,7 +24306,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "short_desc", @@ -23460,7 +24333,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "extra_desc", @@ -23486,7 +24360,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "context", @@ -23512,7 +24387,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "vartype", @@ -23538,7 +24414,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "source", @@ -23564,7 +24441,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "min_val", @@ -23590,7 +24468,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "max_val", @@ -23616,7 +24495,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "enumvals", @@ -23642,7 +24522,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "boot_val", @@ -23668,7 +24549,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "reset_val", @@ -23694,7 +24576,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sourcefile", @@ -23720,7 +24603,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sourceline", @@ -23746,7 +24630,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "pending_restart", @@ -23772,7 +24657,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -23808,7 +24694,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "usesysid", @@ -23834,7 +24721,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "usecreatedb", @@ -23860,7 +24748,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "usesuper", @@ -23886,7 +24775,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "userepl", @@ -23912,7 +24802,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "usebypassrls", @@ -23938,7 +24829,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "passwd", @@ -23964,7 +24856,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "valuntil", @@ -23990,7 +24883,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "useconfig", @@ -24016,7 +24910,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null } ], "comment": "" @@ -24052,7 +24947,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -24078,7 +24974,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -24104,7 +25001,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -24130,7 +25028,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -24156,7 +25055,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -24182,7 +25082,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "dbid", @@ -24208,7 +25109,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "classid", @@ -24234,7 +25136,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "objid", @@ -24260,7 +25163,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "objsubid", @@ -24286,7 +25190,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "refclassid", @@ -24312,7 +25217,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "refobjid", @@ -24338,7 +25244,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "deptype", @@ -24364,7 +25271,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -24400,7 +25308,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -24426,7 +25335,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -24452,7 +25362,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -24478,7 +25389,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -24504,7 +25416,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -24530,7 +25443,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "objoid", @@ -24556,7 +25470,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "classoid", @@ -24582,7 +25497,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "description", @@ -24608,7 +25524,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -24644,7 +25561,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "off", @@ -24670,7 +25588,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "size", @@ -24696,7 +25615,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "allocated_size", @@ -24722,7 +25642,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -24758,7 +25679,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -24784,7 +25706,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -24810,7 +25733,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -24836,7 +25760,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -24862,7 +25787,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -24888,7 +25814,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "objoid", @@ -24914,7 +25841,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "classoid", @@ -24940,7 +25868,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "provider", @@ -24966,7 +25895,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "label", @@ -24992,7 +25922,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -25028,7 +25959,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datname", @@ -25054,7 +25986,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "pid", @@ -25080,7 +26013,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "leader_pid", @@ -25106,7 +26040,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "usesysid", @@ -25132,7 +26067,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "usename", @@ -25158,7 +26094,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "application_name", @@ -25184,7 +26121,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "client_addr", @@ -25210,7 +26148,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "client_hostname", @@ -25236,7 +26175,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "client_port", @@ -25262,7 +26202,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "backend_start", @@ -25288,7 +26229,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xact_start", @@ -25314,7 +26256,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "query_start", @@ -25340,7 +26283,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "state_change", @@ -25366,7 +26310,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "wait_event_type", @@ -25392,7 +26337,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "wait_event", @@ -25418,7 +26364,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "state", @@ -25444,7 +26391,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "backend_xid", @@ -25470,7 +26418,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "backend_xmin", @@ -25496,7 +26445,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "query_id", @@ -25522,7 +26472,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "query", @@ -25548,7 +26499,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "backend_type", @@ -25574,7 +26526,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -25610,7 +26563,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indexrelid", @@ -25636,7 +26590,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "schemaname", @@ -25662,7 +26617,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relname", @@ -25688,7 +26644,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indexrelname", @@ -25714,7 +26671,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_scan", @@ -25740,7 +26698,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_idx_scan", @@ -25766,7 +26725,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_tup_read", @@ -25792,7 +26752,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_tup_fetch", @@ -25818,7 +26779,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -25854,7 +26816,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "schemaname", @@ -25880,7 +26843,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relname", @@ -25906,7 +26870,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "seq_scan", @@ -25932,7 +26897,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_seq_scan", @@ -25958,7 +26924,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "seq_tup_read", @@ -25984,7 +26951,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_scan", @@ -26010,7 +26978,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_idx_scan", @@ -26036,7 +27005,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_tup_fetch", @@ -26062,7 +27032,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_ins", @@ -26088,7 +27059,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_upd", @@ -26114,7 +27086,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_del", @@ -26140,7 +27113,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_hot_upd", @@ -26166,7 +27140,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_newpage_upd", @@ -26192,7 +27167,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_live_tup", @@ -26218,7 +27194,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_dead_tup", @@ -26244,7 +27221,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_mod_since_analyze", @@ -26270,7 +27248,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_ins_since_vacuum", @@ -26296,7 +27275,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_vacuum", @@ -26322,7 +27302,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_autovacuum", @@ -26348,7 +27329,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_analyze", @@ -26374,7 +27356,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_autoanalyze", @@ -26400,7 +27383,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "vacuum_count", @@ -26426,7 +27410,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "autovacuum_count", @@ -26452,7 +27437,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "analyze_count", @@ -26478,7 +27464,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "autoanalyze_count", @@ -26504,7 +27491,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -26540,7 +27528,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_archived_wal", @@ -26566,7 +27555,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_archived_time", @@ -26592,7 +27582,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "failed_count", @@ -26618,7 +27609,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_failed_wal", @@ -26644,7 +27636,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_failed_time", @@ -26670,7 +27663,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stats_reset", @@ -26696,7 +27690,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -26732,7 +27727,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "checkpoints_req", @@ -26758,7 +27754,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "checkpoint_write_time", @@ -26784,7 +27781,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "checkpoint_sync_time", @@ -26810,7 +27808,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "buffers_checkpoint", @@ -26836,7 +27835,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "buffers_clean", @@ -26862,7 +27862,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "maxwritten_clean", @@ -26888,7 +27889,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "buffers_backend", @@ -26914,7 +27916,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "buffers_backend_fsync", @@ -26940,7 +27943,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "buffers_alloc", @@ -26966,7 +27970,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stats_reset", @@ -26992,7 +27997,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -27028,7 +28034,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datname", @@ -27054,7 +28061,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "numbackends", @@ -27080,7 +28088,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xact_commit", @@ -27106,7 +28115,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xact_rollback", @@ -27132,7 +28142,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "blks_read", @@ -27158,7 +28169,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "blks_hit", @@ -27184,7 +28196,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tup_returned", @@ -27210,7 +28223,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tup_fetched", @@ -27236,7 +28250,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tup_inserted", @@ -27262,7 +28277,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tup_updated", @@ -27288,7 +28304,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tup_deleted", @@ -27314,7 +28331,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "conflicts", @@ -27340,7 +28358,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "temp_files", @@ -27366,7 +28385,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "temp_bytes", @@ -27392,7 +28412,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "deadlocks", @@ -27418,7 +28439,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "checksum_failures", @@ -27444,7 +28466,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "checksum_last_failure", @@ -27470,7 +28493,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "blk_read_time", @@ -27496,7 +28520,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "blk_write_time", @@ -27522,7 +28547,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "session_time", @@ -27548,7 +28574,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "active_time", @@ -27574,7 +28601,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idle_in_transaction_time", @@ -27600,7 +28628,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sessions", @@ -27626,7 +28655,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sessions_abandoned", @@ -27652,7 +28682,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sessions_fatal", @@ -27678,7 +28709,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sessions_killed", @@ -27704,7 +28736,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stats_reset", @@ -27730,7 +28763,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -27766,7 +28800,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datname", @@ -27792,7 +28827,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "confl_tablespace", @@ -27818,7 +28854,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "confl_lock", @@ -27844,7 +28881,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "confl_snapshot", @@ -27870,7 +28908,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "confl_bufferpin", @@ -27896,7 +28935,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "confl_deadlock", @@ -27922,7 +28962,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "confl_active_logicalslot", @@ -27948,7 +28989,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -27984,7 +29026,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "gss_authenticated", @@ -28010,7 +29053,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "principal", @@ -28036,7 +29080,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "encrypted", @@ -28062,7 +29107,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "credentials_delegated", @@ -28088,7 +29134,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -28124,7 +29171,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "object", @@ -28150,7 +29198,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "context", @@ -28176,7 +29225,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "reads", @@ -28202,7 +29252,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "read_time", @@ -28228,7 +29279,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "writes", @@ -28254,7 +29306,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "write_time", @@ -28280,7 +29333,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "writebacks", @@ -28306,7 +29360,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "writeback_time", @@ -28332,7 +29387,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "extends", @@ -28358,7 +29414,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "extend_time", @@ -28384,7 +29441,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "op_bytes", @@ -28410,7 +29468,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "hits", @@ -28436,7 +29495,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "evictions", @@ -28462,7 +29522,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "reuses", @@ -28488,7 +29549,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "fsyncs", @@ -28514,7 +29576,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "fsync_time", @@ -28540,7 +29603,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stats_reset", @@ -28566,7 +29630,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -28602,7 +29667,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datid", @@ -28628,7 +29694,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datname", @@ -28654,7 +29721,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relid", @@ -28680,7 +29748,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "phase", @@ -28706,7 +29775,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sample_blks_total", @@ -28732,7 +29802,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sample_blks_scanned", @@ -28758,7 +29829,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ext_stats_total", @@ -28784,7 +29856,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ext_stats_computed", @@ -28810,7 +29883,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "child_tables_total", @@ -28836,7 +29910,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "child_tables_done", @@ -28862,7 +29937,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "current_child_table_relid", @@ -28888,7 +29964,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -28924,7 +30001,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "phase", @@ -28950,7 +30028,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "backup_total", @@ -28976,7 +30055,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "backup_streamed", @@ -29002,7 +30082,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tablespaces_total", @@ -29028,7 +30109,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tablespaces_streamed", @@ -29054,7 +30136,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -29090,7 +30173,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datid", @@ -29116,7 +30200,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datname", @@ -29142,7 +30227,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relid", @@ -29168,7 +30254,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "command", @@ -29194,7 +30281,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "phase", @@ -29220,7 +30308,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cluster_index_relid", @@ -29246,7 +30335,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "heap_tuples_scanned", @@ -29272,7 +30362,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "heap_tuples_written", @@ -29298,7 +30389,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "heap_blks_total", @@ -29324,7 +30416,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "heap_blks_scanned", @@ -29350,7 +30443,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "index_rebuild_count", @@ -29376,7 +30470,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -29412,7 +30507,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datid", @@ -29438,7 +30534,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datname", @@ -29464,7 +30561,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relid", @@ -29490,7 +30588,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "command", @@ -29516,7 +30615,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "type", @@ -29542,7 +30642,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "bytes_processed", @@ -29568,7 +30669,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "bytes_total", @@ -29594,7 +30696,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tuples_processed", @@ -29620,7 +30723,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tuples_excluded", @@ -29646,7 +30750,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -29682,7 +30787,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datid", @@ -29708,7 +30814,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datname", @@ -29734,7 +30841,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relid", @@ -29760,7 +30868,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "index_relid", @@ -29786,7 +30895,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "command", @@ -29812,7 +30922,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "phase", @@ -29838,7 +30949,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "lockers_total", @@ -29864,7 +30976,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "lockers_done", @@ -29890,7 +31003,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "current_locker_pid", @@ -29916,7 +31030,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "blocks_total", @@ -29942,7 +31057,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "blocks_done", @@ -29968,7 +31084,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tuples_total", @@ -29994,7 +31111,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tuples_done", @@ -30020,7 +31138,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "partitions_total", @@ -30046,7 +31165,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "partitions_done", @@ -30072,7 +31192,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -30108,7 +31229,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datid", @@ -30134,7 +31256,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datname", @@ -30160,7 +31283,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relid", @@ -30186,7 +31310,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "phase", @@ -30212,7 +31337,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "heap_blks_total", @@ -30238,7 +31364,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "heap_blks_scanned", @@ -30264,7 +31391,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "heap_blks_vacuumed", @@ -30290,7 +31418,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "index_vacuum_count", @@ -30316,7 +31445,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "max_dead_tuples", @@ -30342,7 +31472,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "num_dead_tuples", @@ -30368,7 +31499,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -30404,7 +31536,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "prefetch", @@ -30430,7 +31563,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "hit", @@ -30456,7 +31590,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "skip_init", @@ -30482,7 +31617,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "skip_new", @@ -30508,7 +31644,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "skip_fpw", @@ -30534,7 +31671,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "skip_rep", @@ -30560,7 +31698,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "wal_distance", @@ -30586,7 +31725,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "block_distance", @@ -30612,7 +31752,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "io_depth", @@ -30638,7 +31779,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -30674,7 +31816,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "usesysid", @@ -30700,7 +31843,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "usename", @@ -30726,7 +31870,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "application_name", @@ -30752,7 +31897,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "client_addr", @@ -30778,7 +31924,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "client_hostname", @@ -30804,7 +31951,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "client_port", @@ -30830,7 +31978,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "backend_start", @@ -30856,7 +32005,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "backend_xmin", @@ -30882,7 +32032,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "state", @@ -30908,7 +32059,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sent_lsn", @@ -30934,7 +32086,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "write_lsn", @@ -30960,7 +32113,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "flush_lsn", @@ -30986,7 +32140,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "replay_lsn", @@ -31012,7 +32167,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "write_lag", @@ -31038,7 +32194,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "flush_lag", @@ -31064,7 +32221,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "replay_lag", @@ -31090,7 +32248,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sync_priority", @@ -31116,7 +32275,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sync_state", @@ -31142,7 +32302,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "reply_time", @@ -31168,7 +32329,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -31204,7 +32366,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "spill_txns", @@ -31230,7 +32393,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "spill_count", @@ -31256,7 +32420,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "spill_bytes", @@ -31282,7 +32447,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stream_txns", @@ -31308,7 +32474,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stream_count", @@ -31334,7 +32501,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stream_bytes", @@ -31360,7 +32528,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "total_txns", @@ -31386,7 +32555,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "total_bytes", @@ -31412,7 +32582,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stats_reset", @@ -31438,7 +32609,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -31474,7 +32646,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "blks_zeroed", @@ -31500,7 +32673,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "blks_hit", @@ -31526,7 +32700,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "blks_read", @@ -31552,7 +32727,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "blks_written", @@ -31578,7 +32754,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "blks_exists", @@ -31604,7 +32781,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "flushes", @@ -31630,7 +32808,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "truncates", @@ -31656,7 +32835,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stats_reset", @@ -31682,7 +32862,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -31718,7 +32899,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ssl", @@ -31744,7 +32926,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "version", @@ -31770,7 +32953,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cipher", @@ -31796,7 +32980,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "bits", @@ -31822,7 +33007,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "client_dn", @@ -31848,7 +33034,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "client_serial", @@ -31874,7 +33061,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "issuer_dn", @@ -31900,7 +33088,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -31936,7 +33125,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "subname", @@ -31962,7 +33152,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "pid", @@ -31988,7 +33179,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "leader_pid", @@ -32014,7 +33206,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relid", @@ -32040,7 +33233,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "received_lsn", @@ -32066,7 +33260,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_msg_send_time", @@ -32092,7 +33287,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_msg_receipt_time", @@ -32118,7 +33314,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "latest_end_lsn", @@ -32144,7 +33341,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "latest_end_time", @@ -32170,7 +33368,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -32206,7 +33405,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "subname", @@ -32232,7 +33432,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "apply_error_count", @@ -32258,7 +33459,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sync_error_count", @@ -32284,7 +33486,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stats_reset", @@ -32310,7 +33513,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -32346,7 +33550,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indexrelid", @@ -32372,7 +33577,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "schemaname", @@ -32398,7 +33604,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relname", @@ -32424,7 +33631,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indexrelname", @@ -32450,7 +33658,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_scan", @@ -32476,7 +33685,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_idx_scan", @@ -32502,7 +33712,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_tup_read", @@ -32528,7 +33739,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_tup_fetch", @@ -32554,7 +33766,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -32590,7 +33803,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "schemaname", @@ -32616,7 +33830,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relname", @@ -32642,7 +33857,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "seq_scan", @@ -32668,7 +33884,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_seq_scan", @@ -32694,7 +33911,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "seq_tup_read", @@ -32720,7 +33938,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_scan", @@ -32746,7 +33965,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_idx_scan", @@ -32772,7 +33992,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_tup_fetch", @@ -32798,7 +34019,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_ins", @@ -32824,7 +34046,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_upd", @@ -32850,7 +34073,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_del", @@ -32876,7 +34100,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_hot_upd", @@ -32902,7 +34127,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_newpage_upd", @@ -32928,7 +34154,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_live_tup", @@ -32954,7 +34181,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_dead_tup", @@ -32980,7 +34208,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_mod_since_analyze", @@ -33006,7 +34235,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_ins_since_vacuum", @@ -33032,7 +34262,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_vacuum", @@ -33058,7 +34289,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_autovacuum", @@ -33084,7 +34316,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_analyze", @@ -33110,7 +34343,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_autoanalyze", @@ -33136,7 +34370,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "vacuum_count", @@ -33162,7 +34397,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "autovacuum_count", @@ -33188,7 +34424,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "analyze_count", @@ -33214,7 +34451,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "autoanalyze_count", @@ -33240,7 +34478,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -33276,7 +34515,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "schemaname", @@ -33302,7 +34542,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "funcname", @@ -33328,7 +34569,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "calls", @@ -33354,7 +34596,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "total_time", @@ -33380,7 +34623,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "self_time", @@ -33406,7 +34650,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -33442,7 +34687,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indexrelid", @@ -33468,7 +34714,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "schemaname", @@ -33494,7 +34741,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relname", @@ -33520,7 +34768,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indexrelname", @@ -33546,7 +34795,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_scan", @@ -33572,7 +34822,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_idx_scan", @@ -33598,7 +34849,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_tup_read", @@ -33624,7 +34876,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_tup_fetch", @@ -33650,7 +34903,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -33686,7 +34940,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "schemaname", @@ -33712,7 +34967,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relname", @@ -33738,7 +34994,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "seq_scan", @@ -33764,7 +35021,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_seq_scan", @@ -33790,7 +35048,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "seq_tup_read", @@ -33816,7 +35075,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_scan", @@ -33842,7 +35102,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_idx_scan", @@ -33868,7 +35129,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_tup_fetch", @@ -33894,7 +35156,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_ins", @@ -33920,7 +35183,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_upd", @@ -33946,7 +35210,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_del", @@ -33972,7 +35237,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_hot_upd", @@ -33998,7 +35264,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_newpage_upd", @@ -34024,7 +35291,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_live_tup", @@ -34050,7 +35318,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_dead_tup", @@ -34076,7 +35345,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_mod_since_analyze", @@ -34102,7 +35372,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_ins_since_vacuum", @@ -34128,7 +35399,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_vacuum", @@ -34154,7 +35426,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_autovacuum", @@ -34180,7 +35453,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_analyze", @@ -34206,7 +35480,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_autoanalyze", @@ -34232,7 +35507,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "vacuum_count", @@ -34258,7 +35534,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "autovacuum_count", @@ -34284,7 +35561,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "analyze_count", @@ -34310,7 +35588,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "autoanalyze_count", @@ -34336,7 +35615,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -34372,7 +35652,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "wal_fpi", @@ -34398,7 +35679,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "wal_bytes", @@ -34424,7 +35706,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "wal_buffers_full", @@ -34450,7 +35733,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "wal_write", @@ -34476,7 +35760,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "wal_sync", @@ -34502,7 +35787,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "wal_write_time", @@ -34528,7 +35814,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "wal_sync_time", @@ -34554,7 +35841,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stats_reset", @@ -34580,7 +35868,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -34616,7 +35905,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "status", @@ -34642,7 +35932,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "receive_start_lsn", @@ -34668,7 +35959,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "receive_start_tli", @@ -34694,7 +35986,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "written_lsn", @@ -34720,7 +36013,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "flushed_lsn", @@ -34746,7 +36040,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "received_tli", @@ -34772,7 +36067,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_msg_send_time", @@ -34798,7 +36094,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_msg_receipt_time", @@ -34824,7 +36121,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "latest_end_lsn", @@ -34850,7 +36148,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "latest_end_time", @@ -34876,7 +36175,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "slot_name", @@ -34902,7 +36202,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sender_host", @@ -34928,7 +36229,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sender_port", @@ -34954,7 +36256,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "conninfo", @@ -34980,7 +36283,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -35016,7 +36320,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "schemaname", @@ -35042,7 +36347,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relname", @@ -35068,7 +36374,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "seq_scan", @@ -35094,7 +36401,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "seq_tup_read", @@ -35120,7 +36428,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_scan", @@ -35146,7 +36455,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_tup_fetch", @@ -35172,7 +36482,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_ins", @@ -35198,7 +36509,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_upd", @@ -35224,7 +36536,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_del", @@ -35250,7 +36563,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_hot_upd", @@ -35276,7 +36590,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_newpage_upd", @@ -35302,7 +36617,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -35338,7 +36654,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "schemaname", @@ -35364,7 +36681,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relname", @@ -35390,7 +36708,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "seq_scan", @@ -35416,7 +36735,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "seq_tup_read", @@ -35442,7 +36762,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_scan", @@ -35468,7 +36789,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_tup_fetch", @@ -35494,7 +36816,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_ins", @@ -35520,7 +36843,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_upd", @@ -35546,7 +36870,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_del", @@ -35572,7 +36897,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_hot_upd", @@ -35598,7 +36924,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_newpage_upd", @@ -35624,7 +36951,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -35660,7 +36988,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "schemaname", @@ -35686,7 +37015,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "funcname", @@ -35712,7 +37042,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "calls", @@ -35738,7 +37069,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "total_time", @@ -35764,7 +37096,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "self_time", @@ -35790,7 +37123,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -35826,7 +37160,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "schemaname", @@ -35852,7 +37187,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relname", @@ -35878,7 +37214,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "seq_scan", @@ -35904,7 +37241,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "seq_tup_read", @@ -35930,7 +37268,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_scan", @@ -35956,7 +37295,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_tup_fetch", @@ -35982,7 +37322,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_ins", @@ -36008,7 +37349,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_upd", @@ -36034,7 +37376,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_del", @@ -36060,7 +37403,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_hot_upd", @@ -36086,7 +37430,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_newpage_upd", @@ -36112,7 +37457,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -36148,7 +37494,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indexrelid", @@ -36174,7 +37521,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "schemaname", @@ -36200,7 +37548,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relname", @@ -36226,7 +37575,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indexrelname", @@ -36252,7 +37602,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_blks_read", @@ -36278,7 +37629,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_blks_hit", @@ -36304,7 +37656,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -36340,7 +37693,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "schemaname", @@ -36366,7 +37720,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relname", @@ -36392,7 +37747,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "blks_read", @@ -36418,7 +37774,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "blks_hit", @@ -36444,7 +37801,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -36480,7 +37838,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "schemaname", @@ -36506,7 +37865,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relname", @@ -36532,7 +37892,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "heap_blks_read", @@ -36558,7 +37919,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "heap_blks_hit", @@ -36584,7 +37946,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_blks_read", @@ -36610,7 +37973,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_blks_hit", @@ -36636,7 +38000,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "toast_blks_read", @@ -36662,7 +38027,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "toast_blks_hit", @@ -36688,7 +38054,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tidx_blks_read", @@ -36714,7 +38081,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tidx_blks_hit", @@ -36740,7 +38108,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -36776,7 +38145,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indexrelid", @@ -36802,7 +38172,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "schemaname", @@ -36828,7 +38199,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relname", @@ -36854,7 +38226,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indexrelname", @@ -36880,7 +38253,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_blks_read", @@ -36906,7 +38280,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_blks_hit", @@ -36932,7 +38307,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -36968,7 +38344,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "schemaname", @@ -36994,7 +38371,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relname", @@ -37020,7 +38398,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "blks_read", @@ -37046,7 +38425,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "blks_hit", @@ -37072,7 +38452,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -37108,7 +38489,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "schemaname", @@ -37134,7 +38516,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relname", @@ -37160,7 +38543,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "heap_blks_read", @@ -37186,7 +38570,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "heap_blks_hit", @@ -37212,7 +38597,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_blks_read", @@ -37238,7 +38624,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_blks_hit", @@ -37264,7 +38651,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "toast_blks_read", @@ -37290,7 +38678,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "toast_blks_hit", @@ -37316,7 +38705,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tidx_blks_read", @@ -37342,7 +38732,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tidx_blks_hit", @@ -37368,7 +38759,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -37404,7 +38796,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indexrelid", @@ -37430,7 +38823,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "schemaname", @@ -37456,7 +38850,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relname", @@ -37482,7 +38877,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indexrelname", @@ -37508,7 +38904,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_blks_read", @@ -37534,7 +38931,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_blks_hit", @@ -37560,7 +38958,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -37596,7 +38995,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "schemaname", @@ -37622,7 +39022,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relname", @@ -37648,7 +39049,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "blks_read", @@ -37674,7 +39076,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "blks_hit", @@ -37700,7 +39103,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -37736,7 +39140,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "schemaname", @@ -37762,7 +39167,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relname", @@ -37788,7 +39194,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "heap_blks_read", @@ -37814,7 +39221,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "heap_blks_hit", @@ -37840,7 +39248,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_blks_read", @@ -37866,7 +39275,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_blks_hit", @@ -37892,7 +39302,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "toast_blks_read", @@ -37918,7 +39329,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "toast_blks_hit", @@ -37944,7 +39356,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tidx_blks_read", @@ -37970,7 +39383,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tidx_blks_hit", @@ -37996,7 +39410,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -38032,7 +39447,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -38058,7 +39474,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -38084,7 +39501,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -38110,7 +39528,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -38136,7 +39555,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -38162,7 +39582,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "starelid", @@ -38188,7 +39609,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "staattnum", @@ -38214,7 +39636,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stainherit", @@ -38240,7 +39663,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stanullfrac", @@ -38266,7 +39690,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stawidth", @@ -38292,7 +39717,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stadistinct", @@ -38318,7 +39744,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stakind1", @@ -38344,7 +39771,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stakind2", @@ -38370,7 +39798,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stakind3", @@ -38396,7 +39825,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stakind4", @@ -38422,7 +39852,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stakind5", @@ -38448,7 +39879,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "staop1", @@ -38474,7 +39906,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "staop2", @@ -38500,7 +39933,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "staop3", @@ -38526,7 +39960,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "staop4", @@ -38552,7 +39987,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "staop5", @@ -38578,7 +40014,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stacoll1", @@ -38604,7 +40041,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stacoll2", @@ -38630,7 +40068,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stacoll3", @@ -38656,7 +40095,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stacoll4", @@ -38682,7 +40122,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stacoll5", @@ -38708,7 +40149,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stanumbers1", @@ -38734,7 +40176,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "stanumbers2", @@ -38760,7 +40203,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "stanumbers3", @@ -38786,7 +40230,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "stanumbers4", @@ -38812,7 +40257,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "stanumbers5", @@ -38838,7 +40284,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "stavalues1", @@ -38864,7 +40311,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stavalues2", @@ -38890,7 +40338,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stavalues3", @@ -38916,7 +40365,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stavalues4", @@ -38942,7 +40392,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stavalues5", @@ -38968,7 +40419,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -39004,7 +40456,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -39030,7 +40483,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -39056,7 +40510,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -39082,7 +40537,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -39108,7 +40564,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -39134,7 +40591,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -39160,7 +40618,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stxrelid", @@ -39186,7 +40645,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stxname", @@ -39212,7 +40672,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stxnamespace", @@ -39238,7 +40699,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stxowner", @@ -39264,7 +40726,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stxstattarget", @@ -39290,7 +40753,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stxkeys", @@ -39316,7 +40780,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stxkind", @@ -39342,7 +40807,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "stxexprs", @@ -39368,7 +40834,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -39404,7 +40871,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -39430,7 +40898,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -39456,7 +40925,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -39482,7 +40952,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -39508,7 +40979,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -39534,7 +41006,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stxoid", @@ -39560,7 +41033,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stxdinherit", @@ -39586,7 +41060,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stxdndistinct", @@ -39612,7 +41087,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stxddependencies", @@ -39638,7 +41114,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stxdmcv", @@ -39664,7 +41141,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stxdexpr", @@ -39690,7 +41168,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null } ], "comment": "" @@ -39726,7 +41205,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tablename", @@ -39752,7 +41232,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attname", @@ -39778,7 +41259,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "inherited", @@ -39804,7 +41286,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "null_frac", @@ -39830,7 +41313,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "avg_width", @@ -39856,7 +41340,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_distinct", @@ -39882,7 +41367,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "most_common_vals", @@ -39908,7 +41394,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "most_common_freqs", @@ -39934,7 +41421,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "histogram_bounds", @@ -39960,7 +41448,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "correlation", @@ -39986,7 +41475,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "most_common_elems", @@ -40012,7 +41502,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "most_common_elem_freqs", @@ -40038,7 +41529,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "elem_count_histogram", @@ -40064,7 +41556,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null } ], "comment": "" @@ -40100,7 +41593,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tablename", @@ -40126,7 +41620,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "statistics_schemaname", @@ -40152,7 +41647,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "statistics_name", @@ -40178,7 +41674,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "statistics_owner", @@ -40204,7 +41701,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attnames", @@ -40230,7 +41728,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "exprs", @@ -40256,7 +41755,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "kinds", @@ -40282,7 +41782,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "inherited", @@ -40308,7 +41809,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_distinct", @@ -40334,7 +41836,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "dependencies", @@ -40360,7 +41863,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "most_common_vals", @@ -40386,7 +41890,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "most_common_val_nulls", @@ -40412,7 +41917,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "most_common_freqs", @@ -40438,7 +41944,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "most_common_base_freqs", @@ -40464,7 +41971,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null } ], "comment": "" @@ -40500,7 +42008,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tablename", @@ -40526,7 +42035,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "statistics_schemaname", @@ -40552,7 +42062,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "statistics_name", @@ -40578,7 +42089,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "statistics_owner", @@ -40604,7 +42116,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "expr", @@ -40630,7 +42143,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "inherited", @@ -40656,7 +42170,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "null_frac", @@ -40682,7 +42197,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "avg_width", @@ -40708,7 +42224,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_distinct", @@ -40734,7 +42251,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "most_common_vals", @@ -40760,7 +42278,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "most_common_freqs", @@ -40786,7 +42305,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "histogram_bounds", @@ -40812,7 +42332,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "correlation", @@ -40838,7 +42359,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "most_common_elems", @@ -40864,7 +42386,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "most_common_elem_freqs", @@ -40890,7 +42413,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "elem_count_histogram", @@ -40916,7 +42440,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null } ], "comment": "" @@ -40952,7 +42477,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -40978,7 +42504,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -41004,7 +42531,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -41030,7 +42558,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -41056,7 +42585,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -41082,7 +42612,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -41108,7 +42639,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "subdbid", @@ -41134,7 +42666,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "subskiplsn", @@ -41160,7 +42693,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "subname", @@ -41186,7 +42720,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "subowner", @@ -41212,7 +42747,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "subenabled", @@ -41238,7 +42774,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "subbinary", @@ -41264,7 +42801,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "substream", @@ -41290,7 +42828,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "subtwophasestate", @@ -41316,7 +42855,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "subdisableonerr", @@ -41342,7 +42882,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "subpasswordrequired", @@ -41368,7 +42909,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "subrunasowner", @@ -41394,7 +42936,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "subconninfo", @@ -41420,7 +42963,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "subslotname", @@ -41446,7 +42990,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "subsynccommit", @@ -41472,7 +43017,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "subpublications", @@ -41498,7 +43044,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "suborigin", @@ -41524,7 +43071,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -41560,7 +43108,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -41586,7 +43135,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -41612,7 +43162,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -41638,7 +43189,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -41664,7 +43216,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -41690,7 +43243,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "srsubid", @@ -41716,7 +43270,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "srrelid", @@ -41742,7 +43297,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "srsubstate", @@ -41768,7 +43324,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "srsublsn", @@ -41794,7 +43351,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -41830,7 +43388,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tablename", @@ -41856,7 +43415,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tableowner", @@ -41882,7 +43442,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tablespace", @@ -41908,7 +43469,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "hasindexes", @@ -41934,7 +43496,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "hasrules", @@ -41960,7 +43523,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "hastriggers", @@ -41986,7 +43550,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rowsecurity", @@ -42012,7 +43577,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -42048,7 +43614,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -42074,7 +43641,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -42100,7 +43668,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -42126,7 +43695,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -42152,7 +43722,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -42178,7 +43749,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -42204,7 +43776,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "spcname", @@ -42230,7 +43803,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "spcowner", @@ -42256,7 +43830,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "spcacl", @@ -42282,7 +43857,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "spcoptions", @@ -42308,7 +43884,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null } ], "comment": "" @@ -42344,7 +43921,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "utc_offset", @@ -42370,7 +43948,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_dst", @@ -42396,7 +43975,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -42432,7 +44012,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "abbrev", @@ -42458,7 +44039,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "utc_offset", @@ -42484,7 +44066,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_dst", @@ -42510,7 +44093,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -42546,7 +44130,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -42572,7 +44157,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -42598,7 +44184,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -42624,7 +44211,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -42650,7 +44238,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -42676,7 +44265,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -42702,7 +44292,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "trftype", @@ -42728,7 +44319,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "trflang", @@ -42754,7 +44346,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "trffromsql", @@ -42780,7 +44373,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "trftosql", @@ -42806,7 +44400,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -42842,7 +44437,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -42868,7 +44464,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -42894,7 +44491,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -42920,7 +44518,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -42946,7 +44545,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -42972,7 +44572,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -42998,7 +44599,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tgrelid", @@ -43024,7 +44626,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tgparentid", @@ -43050,7 +44653,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tgname", @@ -43076,7 +44680,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tgfoid", @@ -43102,7 +44707,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tgtype", @@ -43128,7 +44734,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tgenabled", @@ -43154,7 +44761,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tgisinternal", @@ -43180,7 +44788,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tgconstrrelid", @@ -43206,7 +44815,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tgconstrindid", @@ -43232,7 +44842,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tgconstraint", @@ -43258,7 +44869,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tgdeferrable", @@ -43284,7 +44896,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tginitdeferred", @@ -43310,7 +44923,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tgnargs", @@ -43336,7 +44950,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tgattr", @@ -43362,7 +44977,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tgargs", @@ -43388,7 +45004,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tgqual", @@ -43414,7 +45031,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tgoldtable", @@ -43440,7 +45058,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tgnewtable", @@ -43466,7 +45085,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -43502,7 +45122,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -43528,7 +45149,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -43554,7 +45176,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -43580,7 +45203,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -43606,7 +45230,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -43632,7 +45257,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -43658,7 +45284,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cfgname", @@ -43684,7 +45311,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cfgnamespace", @@ -43710,7 +45338,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cfgowner", @@ -43736,7 +45365,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cfgparser", @@ -43762,7 +45392,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -43798,7 +45429,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -43824,7 +45456,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -43850,7 +45483,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -43876,7 +45510,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -43902,7 +45537,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -43928,7 +45564,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "mapcfg", @@ -43954,7 +45591,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "maptokentype", @@ -43980,7 +45618,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "mapseqno", @@ -44006,7 +45645,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "mapdict", @@ -44032,7 +45672,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -44068,7 +45709,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -44094,7 +45736,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -44120,7 +45763,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -44146,7 +45790,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -44172,7 +45817,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -44198,7 +45844,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -44224,7 +45871,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "dictname", @@ -44250,7 +45898,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "dictnamespace", @@ -44276,7 +45925,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "dictowner", @@ -44302,7 +45952,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "dicttemplate", @@ -44328,7 +45979,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "dictinitoption", @@ -44354,7 +46006,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -44390,7 +46043,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -44416,7 +46070,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -44442,7 +46097,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -44468,7 +46124,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -44494,7 +46151,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -44520,7 +46178,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -44546,7 +46205,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "prsname", @@ -44572,7 +46232,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "prsnamespace", @@ -44598,7 +46259,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "prsstart", @@ -44624,7 +46286,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "prstoken", @@ -44650,7 +46313,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "prsend", @@ -44676,7 +46340,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "prsheadline", @@ -44702,7 +46367,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "prslextype", @@ -44728,7 +46394,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -44764,7 +46431,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -44790,7 +46458,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -44816,7 +46485,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -44842,7 +46512,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -44868,7 +46539,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -44894,7 +46566,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -44920,7 +46593,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tmplname", @@ -44946,7 +46620,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tmplnamespace", @@ -44972,7 +46647,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tmplinit", @@ -44998,7 +46674,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tmpllexize", @@ -45024,7 +46701,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -45060,7 +46738,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -45086,7 +46765,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -45112,7 +46792,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -45138,7 +46819,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -45164,7 +46846,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -45190,7 +46873,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -45216,7 +46900,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typname", @@ -45242,7 +46927,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typnamespace", @@ -45268,7 +46954,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typowner", @@ -45294,7 +46981,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typlen", @@ -45320,7 +47008,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typbyval", @@ -45346,7 +47035,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typtype", @@ -45372,7 +47062,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typcategory", @@ -45398,7 +47089,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typispreferred", @@ -45424,7 +47116,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typisdefined", @@ -45450,7 +47143,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typdelim", @@ -45476,7 +47170,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typrelid", @@ -45502,7 +47197,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typsubscript", @@ -45528,7 +47224,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typelem", @@ -45554,7 +47251,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typarray", @@ -45580,7 +47278,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typinput", @@ -45606,7 +47305,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typoutput", @@ -45632,7 +47332,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typreceive", @@ -45658,7 +47359,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typsend", @@ -45684,7 +47386,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typmodin", @@ -45710,7 +47413,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typmodout", @@ -45736,7 +47440,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typanalyze", @@ -45762,7 +47467,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typalign", @@ -45788,7 +47494,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typstorage", @@ -45814,7 +47521,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typnotnull", @@ -45840,7 +47548,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typbasetype", @@ -45866,7 +47575,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typtypmod", @@ -45892,7 +47602,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typndims", @@ -45918,7 +47629,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typcollation", @@ -45944,7 +47656,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typdefaultbin", @@ -45970,7 +47683,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typdefault", @@ -45996,7 +47710,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typacl", @@ -46022,7 +47737,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null } ], "comment": "" @@ -46058,7 +47774,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "usesysid", @@ -46084,7 +47801,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "usecreatedb", @@ -46110,7 +47828,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "usesuper", @@ -46136,7 +47855,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "userepl", @@ -46162,7 +47882,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "usebypassrls", @@ -46188,7 +47909,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "passwd", @@ -46214,7 +47936,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "valuntil", @@ -46240,7 +47963,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "useconfig", @@ -46266,7 +47990,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null } ], "comment": "" @@ -46302,7 +48027,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -46328,7 +48054,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -46354,7 +48081,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -46380,7 +48108,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -46406,7 +48135,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -46432,7 +48162,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -46458,7 +48189,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "umuser", @@ -46484,7 +48216,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "umserver", @@ -46510,7 +48243,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "umoptions", @@ -46536,7 +48270,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null } ], "comment": "" @@ -46572,7 +48307,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "srvid", @@ -46598,7 +48334,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "srvname", @@ -46624,7 +48361,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "umuser", @@ -46650,7 +48388,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "usename", @@ -46676,7 +48415,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "umoptions", @@ -46702,7 +48442,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null } ], "comment": "" @@ -46738,7 +48479,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "viewname", @@ -46764,7 +48506,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "viewowner", @@ -46790,7 +48533,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "definition", @@ -46816,7 +48560,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -46860,7 +48605,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "fdwowner", @@ -46886,7 +48632,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "fdwoptions", @@ -46912,7 +48659,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "foreign_data_wrapper_catalog", @@ -46938,7 +48686,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_data_wrapper_name", @@ -46964,7 +48713,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "authorization_identifier", @@ -46990,7 +48740,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_data_wrapper_language", @@ -47016,7 +48767,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -47052,7 +48804,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "srvoptions", @@ -47078,7 +48831,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "foreign_server_catalog", @@ -47104,7 +48858,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_server_name", @@ -47130,7 +48885,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_data_wrapper_catalog", @@ -47156,7 +48912,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_data_wrapper_name", @@ -47182,7 +48939,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_server_type", @@ -47208,7 +48966,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_server_version", @@ -47234,7 +48993,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "authorization_identifier", @@ -47260,7 +49020,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -47296,7 +49057,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relname", @@ -47322,7 +49084,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attname", @@ -47348,7 +49111,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attfdwoptions", @@ -47374,7 +49138,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null } ], "comment": "" @@ -47410,7 +49175,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_table_schema", @@ -47436,7 +49202,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_table_name", @@ -47462,7 +49229,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ftoptions", @@ -47488,7 +49256,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "foreign_server_catalog", @@ -47514,7 +49283,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_server_name", @@ -47540,7 +49310,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "authorization_identifier", @@ -47566,7 +49337,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -47602,7 +49374,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "umoptions", @@ -47628,7 +49401,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "umuser", @@ -47654,7 +49428,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "authorization_identifier", @@ -47680,7 +49455,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_server_catalog", @@ -47706,7 +49482,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_server_name", @@ -47732,7 +49509,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "srvowner", @@ -47758,7 +49536,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -47794,7 +49573,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "role_name", @@ -47820,7 +49600,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_grantable", @@ -47846,7 +49627,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -47882,7 +49664,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "role_name", @@ -47908,7 +49691,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_grantable", @@ -47934,7 +49718,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -47970,7 +49755,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_schema", @@ -47996,7 +49782,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_name", @@ -48022,7 +49809,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attribute_name", @@ -48048,7 +49836,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ordinal_position", @@ -48074,7 +49863,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attribute_default", @@ -48100,7 +49890,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_nullable", @@ -48126,7 +49917,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "data_type", @@ -48152,7 +49944,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_maximum_length", @@ -48178,7 +49971,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_octet_length", @@ -48204,7 +49998,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_set_catalog", @@ -48230,7 +50025,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_set_schema", @@ -48256,7 +50052,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_set_name", @@ -48282,7 +50079,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collation_catalog", @@ -48308,7 +50106,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collation_schema", @@ -48334,7 +50133,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collation_name", @@ -48360,7 +50160,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "numeric_precision", @@ -48386,7 +50187,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "numeric_precision_radix", @@ -48412,7 +50214,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "numeric_scale", @@ -48438,7 +50241,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datetime_precision", @@ -48464,7 +50268,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "interval_type", @@ -48490,7 +50295,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "interval_precision", @@ -48516,7 +50322,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attribute_udt_catalog", @@ -48542,7 +50349,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attribute_udt_schema", @@ -48568,7 +50376,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attribute_udt_name", @@ -48594,7 +50403,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "scope_catalog", @@ -48620,7 +50430,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "scope_schema", @@ -48646,7 +50457,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "scope_name", @@ -48672,7 +50484,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "maximum_cardinality", @@ -48698,7 +50511,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "dtd_identifier", @@ -48724,7 +50538,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_derived_reference_attribute", @@ -48750,7 +50565,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -48786,7 +50602,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_set_schema", @@ -48812,7 +50629,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_set_name", @@ -48838,7 +50656,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_repertoire", @@ -48864,7 +50683,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "form_of_use", @@ -48890,7 +50710,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "default_collate_catalog", @@ -48916,7 +50737,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "default_collate_schema", @@ -48942,7 +50764,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "default_collate_name", @@ -48968,7 +50791,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -49004,7 +50828,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "constraint_schema", @@ -49030,7 +50855,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "constraint_name", @@ -49056,7 +50882,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "specific_catalog", @@ -49082,7 +50909,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "specific_schema", @@ -49108,7 +50936,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "specific_name", @@ -49134,7 +50963,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -49170,7 +51000,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "constraint_schema", @@ -49196,7 +51027,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "constraint_name", @@ -49222,7 +51054,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "check_clause", @@ -49248,7 +51081,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -49284,7 +51118,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collation_schema", @@ -49310,7 +51145,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collation_name", @@ -49336,7 +51172,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_set_catalog", @@ -49362,7 +51199,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_set_schema", @@ -49388,7 +51226,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_set_name", @@ -49414,7 +51253,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -49450,7 +51290,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collation_schema", @@ -49476,7 +51317,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collation_name", @@ -49502,7 +51344,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "pad_attribute", @@ -49528,7 +51371,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -49564,7 +51408,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_schema", @@ -49590,7 +51435,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_name", @@ -49616,7 +51462,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "column_name", @@ -49642,7 +51489,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "dependent_column", @@ -49668,7 +51516,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -49704,7 +51553,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "domain_schema", @@ -49730,7 +51580,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "domain_name", @@ -49756,7 +51607,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_catalog", @@ -49782,7 +51634,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_schema", @@ -49808,7 +51661,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_name", @@ -49834,7 +51688,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "column_name", @@ -49860,7 +51715,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -49896,7 +51752,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_schema", @@ -49922,7 +51779,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_name", @@ -49948,7 +51806,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "column_name", @@ -49974,7 +51833,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "option_name", @@ -50000,7 +51860,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "option_value", @@ -50026,7 +51887,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -50062,7 +51924,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "grantee", @@ -50088,7 +51951,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_catalog", @@ -50114,7 +51978,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_schema", @@ -50140,7 +52005,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_name", @@ -50166,7 +52032,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "column_name", @@ -50192,7 +52059,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "privilege_type", @@ -50218,7 +52086,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_grantable", @@ -50244,7 +52113,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -50280,7 +52150,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_schema", @@ -50306,7 +52177,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_name", @@ -50332,7 +52204,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_catalog", @@ -50358,7 +52231,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_schema", @@ -50384,7 +52258,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_name", @@ -50410,7 +52285,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "column_name", @@ -50436,7 +52312,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -50472,7 +52349,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_schema", @@ -50498,7 +52376,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_name", @@ -50524,7 +52403,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "column_name", @@ -50550,7 +52430,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ordinal_position", @@ -50576,7 +52457,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "column_default", @@ -50602,7 +52484,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_nullable", @@ -50628,7 +52511,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "data_type", @@ -50654,7 +52538,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_maximum_length", @@ -50680,7 +52565,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_octet_length", @@ -50706,7 +52592,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "numeric_precision", @@ -50732,7 +52619,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "numeric_precision_radix", @@ -50758,7 +52646,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "numeric_scale", @@ -50784,7 +52673,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datetime_precision", @@ -50810,7 +52700,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "interval_type", @@ -50836,7 +52727,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "interval_precision", @@ -50862,7 +52754,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_set_catalog", @@ -50888,7 +52781,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_set_schema", @@ -50914,7 +52808,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_set_name", @@ -50940,7 +52835,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collation_catalog", @@ -50966,7 +52862,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collation_schema", @@ -50992,7 +52889,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collation_name", @@ -51018,7 +52916,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "domain_catalog", @@ -51044,7 +52943,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "domain_schema", @@ -51070,7 +52970,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "domain_name", @@ -51096,7 +52997,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_catalog", @@ -51122,7 +53024,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_schema", @@ -51148,7 +53051,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_name", @@ -51174,7 +53078,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "scope_catalog", @@ -51200,7 +53105,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "scope_schema", @@ -51226,7 +53132,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "scope_name", @@ -51252,7 +53159,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "maximum_cardinality", @@ -51278,7 +53186,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "dtd_identifier", @@ -51304,7 +53213,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_self_referencing", @@ -51330,7 +53240,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_identity", @@ -51356,7 +53267,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "identity_generation", @@ -51382,7 +53294,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "identity_start", @@ -51408,7 +53321,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "identity_increment", @@ -51434,7 +53348,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "identity_maximum", @@ -51460,7 +53375,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "identity_minimum", @@ -51486,7 +53402,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "identity_cycle", @@ -51512,7 +53429,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_generated", @@ -51538,7 +53456,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "generation_expression", @@ -51564,7 +53483,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_updatable", @@ -51590,7 +53510,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -51626,7 +53547,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_schema", @@ -51652,7 +53574,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_name", @@ -51678,7 +53601,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "column_name", @@ -51704,7 +53628,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "constraint_catalog", @@ -51730,7 +53655,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "constraint_schema", @@ -51756,7 +53682,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "constraint_name", @@ -51782,7 +53709,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -51818,7 +53746,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_schema", @@ -51844,7 +53773,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_name", @@ -51870,7 +53800,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "constraint_catalog", @@ -51896,7 +53827,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "constraint_schema", @@ -51922,7 +53854,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "constraint_name", @@ -51948,7 +53881,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -51984,7 +53918,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "object_schema", @@ -52010,7 +53945,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "object_name", @@ -52036,7 +53972,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "object_type", @@ -52062,7 +53999,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "dtd_identifier", @@ -52088,7 +54026,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -52124,7 +54063,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "constraint_schema", @@ -52150,7 +54090,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "constraint_name", @@ -52176,7 +54117,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "domain_catalog", @@ -52202,7 +54144,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "domain_schema", @@ -52228,7 +54171,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "domain_name", @@ -52254,7 +54198,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_deferrable", @@ -52280,7 +54225,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "initially_deferred", @@ -52306,7 +54252,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -52342,7 +54289,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_schema", @@ -52368,7 +54316,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_name", @@ -52394,7 +54343,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "domain_catalog", @@ -52420,7 +54370,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "domain_schema", @@ -52446,7 +54397,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "domain_name", @@ -52472,7 +54424,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -52508,7 +54461,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "domain_schema", @@ -52534,7 +54488,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "domain_name", @@ -52560,7 +54515,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "data_type", @@ -52586,7 +54542,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_maximum_length", @@ -52612,7 +54569,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_octet_length", @@ -52638,7 +54596,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_set_catalog", @@ -52664,7 +54623,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_set_schema", @@ -52690,7 +54650,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_set_name", @@ -52716,7 +54677,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collation_catalog", @@ -52742,7 +54704,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collation_schema", @@ -52768,7 +54731,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collation_name", @@ -52794,7 +54758,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "numeric_precision", @@ -52820,7 +54785,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "numeric_precision_radix", @@ -52846,7 +54812,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "numeric_scale", @@ -52872,7 +54839,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datetime_precision", @@ -52898,7 +54866,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "interval_type", @@ -52924,7 +54893,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "interval_precision", @@ -52950,7 +54920,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "domain_default", @@ -52976,7 +54947,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_catalog", @@ -53002,7 +54974,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_schema", @@ -53028,7 +55001,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_name", @@ -53054,7 +55028,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "scope_catalog", @@ -53080,7 +55055,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "scope_schema", @@ -53106,7 +55082,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "scope_name", @@ -53132,7 +55109,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "maximum_cardinality", @@ -53158,7 +55136,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "dtd_identifier", @@ -53184,7 +55163,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -53220,7 +55200,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "object_schema", @@ -53246,7 +55227,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "object_name", @@ -53272,7 +55254,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "object_type", @@ -53298,7 +55281,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collection_type_identifier", @@ -53324,7 +55308,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "data_type", @@ -53350,7 +55335,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_maximum_length", @@ -53376,7 +55362,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_octet_length", @@ -53402,7 +55389,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_set_catalog", @@ -53428,7 +55416,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_set_schema", @@ -53454,7 +55443,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_set_name", @@ -53480,7 +55470,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collation_catalog", @@ -53506,7 +55497,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collation_schema", @@ -53532,7 +55524,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collation_name", @@ -53558,7 +55551,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "numeric_precision", @@ -53584,7 +55578,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "numeric_precision_radix", @@ -53610,7 +55605,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "numeric_scale", @@ -53636,7 +55632,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datetime_precision", @@ -53662,7 +55659,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "interval_type", @@ -53688,7 +55686,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "interval_precision", @@ -53714,7 +55713,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "domain_default", @@ -53740,7 +55740,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_catalog", @@ -53766,7 +55767,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_schema", @@ -53792,7 +55794,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_name", @@ -53818,7 +55821,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "scope_catalog", @@ -53844,7 +55848,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "scope_schema", @@ -53870,7 +55875,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "scope_name", @@ -53896,7 +55902,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "maximum_cardinality", @@ -53922,7 +55929,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "dtd_identifier", @@ -53948,7 +55956,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -53984,7 +55993,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -54020,7 +56030,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_data_wrapper_name", @@ -54046,7 +56057,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "option_name", @@ -54072,7 +56084,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "option_value", @@ -54098,7 +56111,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -54134,7 +56148,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_data_wrapper_name", @@ -54160,7 +56175,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "authorization_identifier", @@ -54186,7 +56202,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "library_name", @@ -54212,7 +56229,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_data_wrapper_language", @@ -54238,7 +56256,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -54274,7 +56293,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_server_name", @@ -54300,7 +56320,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "option_name", @@ -54326,7 +56347,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "option_value", @@ -54352,7 +56374,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -54388,7 +56411,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_server_name", @@ -54414,7 +56438,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_data_wrapper_catalog", @@ -54440,7 +56465,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_data_wrapper_name", @@ -54466,7 +56492,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_server_type", @@ -54492,7 +56519,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_server_version", @@ -54518,7 +56546,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "authorization_identifier", @@ -54544,7 +56573,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -54580,7 +56610,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_table_schema", @@ -54606,7 +56637,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_table_name", @@ -54632,7 +56664,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "option_name", @@ -54658,7 +56691,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "option_value", @@ -54684,7 +56718,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -54720,7 +56755,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_table_schema", @@ -54746,7 +56782,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_table_name", @@ -54772,7 +56809,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_server_catalog", @@ -54798,7 +56836,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_server_name", @@ -54824,7 +56863,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -54860,7 +56900,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -54896,7 +56937,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "constraint_schema", @@ -54922,7 +56964,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "constraint_name", @@ -54948,7 +56991,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_catalog", @@ -54974,7 +57018,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_schema", @@ -55000,7 +57045,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_name", @@ -55026,7 +57072,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "column_name", @@ -55052,7 +57099,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ordinal_position", @@ -55078,7 +57126,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "position_in_unique_constraint", @@ -55104,7 +57153,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -55140,7 +57190,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "specific_schema", @@ -55166,7 +57217,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "specific_name", @@ -55192,7 +57244,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ordinal_position", @@ -55218,7 +57271,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "parameter_mode", @@ -55244,7 +57298,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_result", @@ -55270,7 +57325,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "as_locator", @@ -55296,7 +57352,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "parameter_name", @@ -55322,7 +57379,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "data_type", @@ -55348,7 +57406,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_maximum_length", @@ -55374,7 +57433,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_octet_length", @@ -55400,7 +57460,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_set_catalog", @@ -55426,7 +57487,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_set_schema", @@ -55452,7 +57514,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_set_name", @@ -55478,7 +57541,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collation_catalog", @@ -55504,7 +57568,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collation_schema", @@ -55530,7 +57595,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collation_name", @@ -55556,7 +57622,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "numeric_precision", @@ -55582,7 +57649,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "numeric_precision_radix", @@ -55608,7 +57676,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "numeric_scale", @@ -55634,7 +57703,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datetime_precision", @@ -55660,7 +57730,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "interval_type", @@ -55686,7 +57757,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "interval_precision", @@ -55712,7 +57784,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_catalog", @@ -55738,7 +57811,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_schema", @@ -55764,7 +57838,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_name", @@ -55790,7 +57865,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "scope_catalog", @@ -55816,7 +57892,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "scope_schema", @@ -55842,7 +57919,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "scope_name", @@ -55868,7 +57946,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "maximum_cardinality", @@ -55894,7 +57973,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "dtd_identifier", @@ -55920,7 +58000,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "parameter_default", @@ -55946,7 +58027,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -55982,7 +58064,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "constraint_schema", @@ -56008,7 +58091,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "constraint_name", @@ -56034,7 +58118,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "unique_constraint_catalog", @@ -56060,7 +58145,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "unique_constraint_schema", @@ -56086,7 +58172,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "unique_constraint_name", @@ -56112,7 +58199,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "match_option", @@ -56138,7 +58226,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "update_rule", @@ -56164,7 +58253,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "delete_rule", @@ -56190,7 +58280,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -56226,7 +58317,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "grantee", @@ -56252,7 +58344,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_catalog", @@ -56278,7 +58371,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_schema", @@ -56304,7 +58398,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_name", @@ -56330,7 +58425,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "column_name", @@ -56356,7 +58452,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "privilege_type", @@ -56382,7 +58479,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_grantable", @@ -56408,7 +58506,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -56444,7 +58543,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "grantee", @@ -56470,7 +58570,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "specific_catalog", @@ -56496,7 +58597,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "specific_schema", @@ -56522,7 +58624,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "specific_name", @@ -56548,7 +58651,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "routine_catalog", @@ -56574,7 +58678,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "routine_schema", @@ -56600,7 +58705,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "routine_name", @@ -56626,7 +58732,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "privilege_type", @@ -56652,7 +58759,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_grantable", @@ -56678,7 +58786,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -56714,7 +58823,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "grantee", @@ -56740,7 +58850,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_catalog", @@ -56766,7 +58877,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_schema", @@ -56792,7 +58904,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_name", @@ -56818,7 +58931,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "privilege_type", @@ -56844,7 +58958,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_grantable", @@ -56870,7 +58985,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "with_hierarchy", @@ -56896,7 +59012,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -56932,7 +59049,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "grantee", @@ -56958,7 +59076,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_catalog", @@ -56984,7 +59103,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_schema", @@ -57010,7 +59130,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_name", @@ -57036,7 +59157,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "privilege_type", @@ -57062,7 +59184,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_grantable", @@ -57088,7 +59211,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -57124,7 +59248,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "grantee", @@ -57150,7 +59275,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "object_catalog", @@ -57176,7 +59302,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "object_schema", @@ -57202,7 +59329,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "object_name", @@ -57228,7 +59356,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "object_type", @@ -57254,7 +59383,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "privilege_type", @@ -57280,7 +59410,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_grantable", @@ -57306,7 +59437,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -57342,7 +59474,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "specific_schema", @@ -57368,7 +59501,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "specific_name", @@ -57394,7 +59528,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "routine_catalog", @@ -57420,7 +59555,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "routine_schema", @@ -57446,7 +59582,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "routine_name", @@ -57472,7 +59609,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_catalog", @@ -57498,7 +59636,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_schema", @@ -57524,7 +59663,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_name", @@ -57550,7 +59690,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "column_name", @@ -57576,7 +59717,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -57612,7 +59754,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "grantee", @@ -57638,7 +59781,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "specific_catalog", @@ -57664,7 +59808,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "specific_schema", @@ -57690,7 +59835,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "specific_name", @@ -57716,7 +59862,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "routine_catalog", @@ -57742,7 +59889,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "routine_schema", @@ -57768,7 +59916,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "routine_name", @@ -57794,7 +59943,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "privilege_type", @@ -57820,7 +59970,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_grantable", @@ -57846,7 +59997,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -57882,7 +60034,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "specific_schema", @@ -57908,7 +60061,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "specific_name", @@ -57934,7 +60088,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "routine_catalog", @@ -57960,7 +60115,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "routine_schema", @@ -57986,7 +60142,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "routine_name", @@ -58012,7 +60169,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -58048,7 +60206,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "specific_schema", @@ -58074,7 +60233,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "specific_name", @@ -58100,7 +60260,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "routine_catalog", @@ -58126,7 +60287,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "routine_schema", @@ -58152,7 +60314,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "routine_name", @@ -58178,7 +60341,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sequence_catalog", @@ -58204,7 +60368,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sequence_schema", @@ -58230,7 +60395,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sequence_name", @@ -58256,7 +60422,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -58292,7 +60459,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "specific_schema", @@ -58318,7 +60486,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "specific_name", @@ -58344,7 +60513,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "routine_catalog", @@ -58370,7 +60540,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "routine_schema", @@ -58396,7 +60567,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "routine_name", @@ -58422,7 +60594,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_catalog", @@ -58448,7 +60621,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_schema", @@ -58474,7 +60648,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_name", @@ -58500,7 +60675,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -58536,7 +60712,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "specific_schema", @@ -58562,7 +60739,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "specific_name", @@ -58588,7 +60766,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "routine_catalog", @@ -58614,7 +60793,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "routine_schema", @@ -58640,7 +60820,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "routine_name", @@ -58666,7 +60847,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "routine_type", @@ -58692,7 +60874,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "module_catalog", @@ -58718,7 +60901,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "module_schema", @@ -58744,7 +60928,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "module_name", @@ -58770,7 +60955,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_catalog", @@ -58796,7 +60982,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_schema", @@ -58822,7 +61009,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_name", @@ -58848,7 +61036,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "data_type", @@ -58874,7 +61063,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_maximum_length", @@ -58900,7 +61090,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_octet_length", @@ -58926,7 +61117,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_set_catalog", @@ -58952,7 +61144,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_set_schema", @@ -58978,7 +61171,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_set_name", @@ -59004,7 +61198,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collation_catalog", @@ -59030,7 +61225,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collation_schema", @@ -59056,7 +61252,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collation_name", @@ -59082,7 +61279,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "numeric_precision", @@ -59108,7 +61306,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "numeric_precision_radix", @@ -59134,7 +61333,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "numeric_scale", @@ -59160,7 +61360,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datetime_precision", @@ -59186,7 +61387,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "interval_type", @@ -59212,7 +61414,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "interval_precision", @@ -59238,7 +61441,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "type_udt_catalog", @@ -59264,7 +61468,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "type_udt_schema", @@ -59290,7 +61495,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "type_udt_name", @@ -59316,7 +61522,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "scope_catalog", @@ -59342,7 +61549,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "scope_schema", @@ -59368,7 +61576,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "scope_name", @@ -59394,7 +61603,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "maximum_cardinality", @@ -59420,7 +61630,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "dtd_identifier", @@ -59446,7 +61657,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "routine_body", @@ -59472,7 +61684,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "routine_definition", @@ -59498,7 +61711,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "external_name", @@ -59524,7 +61738,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "external_language", @@ -59550,7 +61765,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "parameter_style", @@ -59576,7 +61792,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_deterministic", @@ -59602,7 +61819,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sql_data_access", @@ -59628,7 +61846,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_null_call", @@ -59654,7 +61873,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sql_path", @@ -59680,7 +61900,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "schema_level_routine", @@ -59706,7 +61927,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "max_dynamic_result_sets", @@ -59732,7 +61954,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_user_defined_cast", @@ -59758,7 +61981,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_implicitly_invocable", @@ -59784,7 +62008,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "security_type", @@ -59810,7 +62035,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "to_sql_specific_catalog", @@ -59836,7 +62062,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "to_sql_specific_schema", @@ -59862,7 +62089,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "to_sql_specific_name", @@ -59888,7 +62116,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "as_locator", @@ -59914,7 +62143,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "created", @@ -59940,7 +62170,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_altered", @@ -59966,7 +62197,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "new_savepoint_level", @@ -59992,7 +62224,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_udt_dependent", @@ -60018,7 +62251,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "result_cast_from_data_type", @@ -60044,7 +62278,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "result_cast_as_locator", @@ -60070,7 +62305,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "result_cast_char_max_length", @@ -60096,7 +62332,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "result_cast_char_octet_length", @@ -60122,7 +62359,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "result_cast_char_set_catalog", @@ -60148,7 +62386,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "result_cast_char_set_schema", @@ -60174,7 +62413,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "result_cast_char_set_name", @@ -60200,7 +62440,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "result_cast_collation_catalog", @@ -60226,7 +62467,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "result_cast_collation_schema", @@ -60252,7 +62494,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "result_cast_collation_name", @@ -60278,7 +62521,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "result_cast_numeric_precision", @@ -60304,7 +62548,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "result_cast_numeric_precision_radix", @@ -60330,7 +62575,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "result_cast_numeric_scale", @@ -60356,7 +62602,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "result_cast_datetime_precision", @@ -60382,7 +62629,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "result_cast_interval_type", @@ -60408,7 +62656,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "result_cast_interval_precision", @@ -60434,7 +62683,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "result_cast_type_udt_catalog", @@ -60460,7 +62710,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "result_cast_type_udt_schema", @@ -60486,7 +62737,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "result_cast_type_udt_name", @@ -60512,7 +62764,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "result_cast_scope_catalog", @@ -60538,7 +62791,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "result_cast_scope_schema", @@ -60564,7 +62818,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "result_cast_scope_name", @@ -60590,7 +62845,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "result_cast_maximum_cardinality", @@ -60616,7 +62872,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "result_cast_dtd_identifier", @@ -60642,7 +62899,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -60678,7 +62936,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "schema_name", @@ -60704,7 +62963,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "schema_owner", @@ -60730,7 +62990,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "default_character_set_catalog", @@ -60756,7 +63017,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "default_character_set_schema", @@ -60782,7 +63044,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "default_character_set_name", @@ -60808,7 +63071,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sql_path", @@ -60834,7 +63098,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -60870,7 +63135,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sequence_schema", @@ -60896,7 +63162,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sequence_name", @@ -60922,7 +63189,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "data_type", @@ -60948,7 +63216,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "numeric_precision", @@ -60974,7 +63243,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "numeric_precision_radix", @@ -61000,7 +63270,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "numeric_scale", @@ -61026,7 +63297,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "start_value", @@ -61052,7 +63324,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "minimum_value", @@ -61078,7 +63351,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "maximum_value", @@ -61104,7 +63378,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "increment", @@ -61130,7 +63405,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cycle_option", @@ -61156,7 +63432,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -61192,7 +63469,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -61218,7 +63496,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -61244,7 +63523,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -61270,7 +63550,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -61296,7 +63577,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -61322,7 +63604,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "feature_id", @@ -61348,7 +63631,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "feature_name", @@ -61374,7 +63658,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sub_feature_id", @@ -61400,7 +63685,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sub_feature_name", @@ -61426,7 +63712,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_supported", @@ -61452,7 +63739,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_verified_by", @@ -61478,7 +63766,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "comments", @@ -61504,7 +63793,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -61540,7 +63830,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -61566,7 +63857,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -61592,7 +63884,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -61618,7 +63911,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -61644,7 +63938,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -61670,7 +63965,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "implementation_info_id", @@ -61696,7 +63992,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "implementation_info_name", @@ -61722,7 +64019,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "integer_value", @@ -61748,7 +64046,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_value", @@ -61774,7 +64073,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "comments", @@ -61800,7 +64100,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -61836,7 +64137,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -61862,7 +64164,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -61888,7 +64191,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -61914,7 +64218,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -61940,7 +64245,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -61966,7 +64272,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "feature_id", @@ -61992,7 +64299,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "feature_name", @@ -62018,7 +64326,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_supported", @@ -62044,7 +64353,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_verified_by", @@ -62070,7 +64380,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "comments", @@ -62096,7 +64407,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -62132,7 +64444,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -62158,7 +64471,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -62184,7 +64498,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -62210,7 +64525,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -62236,7 +64552,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -62262,7 +64579,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sizing_id", @@ -62288,7 +64606,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sizing_name", @@ -62314,7 +64633,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "supported_value", @@ -62340,7 +64660,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "comments", @@ -62366,7 +64687,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -62402,7 +64724,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "constraint_schema", @@ -62428,7 +64751,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "constraint_name", @@ -62454,7 +64778,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_catalog", @@ -62480,7 +64805,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_schema", @@ -62506,7 +64832,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_name", @@ -62532,7 +64859,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "constraint_type", @@ -62558,7 +64886,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_deferrable", @@ -62584,7 +64913,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "initially_deferred", @@ -62610,7 +64940,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "enforced", @@ -62636,7 +64967,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "nulls_distinct", @@ -62662,7 +64994,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -62698,7 +65031,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "grantee", @@ -62724,7 +65058,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_catalog", @@ -62750,7 +65085,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_schema", @@ -62776,7 +65112,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_name", @@ -62802,7 +65139,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "privilege_type", @@ -62828,7 +65166,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_grantable", @@ -62854,7 +65193,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "with_hierarchy", @@ -62880,7 +65220,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -62916,7 +65257,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_schema", @@ -62942,7 +65284,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_name", @@ -62968,7 +65311,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_type", @@ -62994,7 +65338,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "self_referencing_column_name", @@ -63020,7 +65365,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "reference_generation", @@ -63046,7 +65392,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "user_defined_type_catalog", @@ -63072,7 +65419,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "user_defined_type_schema", @@ -63098,7 +65446,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "user_defined_type_name", @@ -63124,7 +65473,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_insertable_into", @@ -63150,7 +65500,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_typed", @@ -63176,7 +65527,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "commit_action", @@ -63202,7 +65554,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -63238,7 +65591,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_schema", @@ -63264,7 +65618,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_name", @@ -63290,7 +65645,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "specific_catalog", @@ -63316,7 +65672,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "specific_schema", @@ -63342,7 +65699,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "specific_name", @@ -63368,7 +65726,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "group_name", @@ -63394,7 +65753,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "transform_type", @@ -63420,7 +65780,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -63456,7 +65817,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "trigger_schema", @@ -63482,7 +65844,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "trigger_name", @@ -63508,7 +65871,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "event_object_catalog", @@ -63534,7 +65898,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "event_object_schema", @@ -63560,7 +65925,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "event_object_table", @@ -63586,7 +65952,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "event_object_column", @@ -63612,7 +65979,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -63648,7 +66016,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "trigger_schema", @@ -63674,7 +66043,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "trigger_name", @@ -63700,7 +66070,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "event_manipulation", @@ -63726,7 +66097,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "event_object_catalog", @@ -63752,7 +66124,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "event_object_schema", @@ -63778,7 +66151,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "event_object_table", @@ -63804,7 +66178,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "action_order", @@ -63830,7 +66205,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "action_condition", @@ -63856,7 +66232,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "action_statement", @@ -63882,7 +66259,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "action_orientation", @@ -63908,7 +66286,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "action_timing", @@ -63934,7 +66313,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "action_reference_old_table", @@ -63960,7 +66340,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "action_reference_new_table", @@ -63986,7 +66367,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "action_reference_old_row", @@ -64012,7 +66394,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "action_reference_new_row", @@ -64038,7 +66421,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "created", @@ -64064,7 +66448,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -64100,7 +66485,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "grantee", @@ -64126,7 +66512,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_catalog", @@ -64152,7 +66539,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_schema", @@ -64178,7 +66566,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_name", @@ -64204,7 +66593,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "privilege_type", @@ -64230,7 +66620,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_grantable", @@ -64256,7 +66647,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -64292,7 +66684,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "grantee", @@ -64318,7 +66711,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "object_catalog", @@ -64344,7 +66738,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "object_schema", @@ -64370,7 +66765,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "object_name", @@ -64396,7 +66792,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "object_type", @@ -64422,7 +66819,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "privilege_type", @@ -64448,7 +66846,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_grantable", @@ -64474,7 +66873,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -64510,7 +66910,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "user_defined_type_schema", @@ -64536,7 +66937,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "user_defined_type_name", @@ -64562,7 +66964,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "user_defined_type_category", @@ -64588,7 +66991,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_instantiable", @@ -64614,7 +67018,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_final", @@ -64640,7 +67045,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ordering_form", @@ -64666,7 +67072,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ordering_category", @@ -64692,7 +67099,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ordering_routine_catalog", @@ -64718,7 +67126,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ordering_routine_schema", @@ -64744,7 +67153,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ordering_routine_name", @@ -64770,7 +67180,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "reference_type", @@ -64796,7 +67207,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "data_type", @@ -64822,7 +67234,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_maximum_length", @@ -64848,7 +67261,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_octet_length", @@ -64874,7 +67288,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_set_catalog", @@ -64900,7 +67315,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_set_schema", @@ -64926,7 +67342,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_set_name", @@ -64952,7 +67369,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collation_catalog", @@ -64978,7 +67396,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collation_schema", @@ -65004,7 +67423,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collation_name", @@ -65030,7 +67450,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "numeric_precision", @@ -65056,7 +67477,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "numeric_precision_radix", @@ -65082,7 +67504,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "numeric_scale", @@ -65108,7 +67531,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datetime_precision", @@ -65134,7 +67558,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "interval_type", @@ -65160,7 +67585,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "interval_precision", @@ -65186,7 +67612,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "source_dtd_identifier", @@ -65212,7 +67639,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ref_dtd_identifier", @@ -65238,7 +67666,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -65274,7 +67703,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_server_catalog", @@ -65300,7 +67730,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_server_name", @@ -65326,7 +67757,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "option_name", @@ -65352,7 +67784,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "option_value", @@ -65378,7 +67811,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -65414,7 +67848,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_server_catalog", @@ -65440,7 +67875,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_server_name", @@ -65466,7 +67902,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -65502,7 +67939,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "view_schema", @@ -65528,7 +67966,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "view_name", @@ -65554,7 +67993,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_catalog", @@ -65580,7 +68020,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_schema", @@ -65606,7 +68047,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_name", @@ -65632,7 +68074,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "column_name", @@ -65658,7 +68101,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -65694,7 +68138,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_schema", @@ -65720,7 +68165,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_name", @@ -65746,7 +68192,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "specific_catalog", @@ -65772,7 +68219,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "specific_schema", @@ -65798,7 +68246,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "specific_name", @@ -65824,7 +68273,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -65860,7 +68310,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "view_schema", @@ -65886,7 +68337,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "view_name", @@ -65912,7 +68364,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_catalog", @@ -65938,7 +68391,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_schema", @@ -65964,7 +68418,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_name", @@ -65990,7 +68445,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -66026,7 +68482,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_schema", @@ -66052,7 +68509,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_name", @@ -66078,7 +68536,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "view_definition", @@ -66104,7 +68563,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "check_option", @@ -66130,7 +68590,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_updatable", @@ -66156,7 +68617,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_insertable_into", @@ -66182,7 +68644,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_trigger_updatable", @@ -66208,7 +68671,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_trigger_deletable", @@ -66234,7 +68698,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_trigger_insertable_into", @@ -66260,7 +68725,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -66301,7 +68767,8 @@ "embed_table": null, "original_name": "id", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "name", @@ -66327,7 +68794,8 @@ "embed_table": null, "original_name": "name", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "bio", @@ -66353,7 +68821,8 @@ "embed_table": null, "original_name": "bio", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "params": [ @@ -66383,8 +68852,10 @@ "embed_table": null, "original_name": "id", "unsigned": false, - "array_dims": 0 - } + "array_dims": 0, + "type_expr": null + }, + "name": "" } ], "comments": [], @@ -66420,7 +68891,8 @@ "embed_table": null, "original_name": "id", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "name", @@ -66446,7 +68918,8 @@ "embed_table": null, "original_name": "name", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "bio", @@ -66472,7 +68945,8 @@ "embed_table": null, "original_name": "bio", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "params": [], @@ -66509,7 +68983,8 @@ "embed_table": null, "original_name": "id", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "name", @@ -66535,7 +69010,8 @@ "embed_table": null, "original_name": "name", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "bio", @@ -66561,7 +69037,8 @@ "embed_table": null, "original_name": "bio", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "params": [ @@ -66591,8 +69068,10 @@ "embed_table": null, "original_name": "name", "unsigned": false, - "array_dims": 0 - } + "array_dims": 0, + "type_expr": null + }, + "name": "" }, { "number": 2, @@ -66620,8 +69099,10 @@ "embed_table": null, "original_name": "bio", "unsigned": false, - "array_dims": 0 - } + "array_dims": 0, + "type_expr": null + }, + "name": "" } ], "comments": [], @@ -66664,8 +69145,10 @@ "embed_table": null, "original_name": "id", "unsigned": false, - "array_dims": 0 - } + "array_dims": 0, + "type_expr": null + }, + "name": "" } ], "comments": [], diff --git a/internal/endtoend/testdata/codegen_json_type_expr/duckdb/query.sql b/internal/endtoend/testdata/codegen_json_type_expr/duckdb/query.sql new file mode 100644 index 0000000000..292a365a98 --- /dev/null +++ b/internal/endtoend/testdata/codegen_json_type_expr/duckdb/query.sql @@ -0,0 +1,2 @@ +-- name: GetThing :one +SELECT * FROM things WHERE id = $1 AND price > $2; diff --git a/internal/endtoend/testdata/codegen_json_type_expr/duckdb/schema.sql b/internal/endtoend/testdata/codegen_json_type_expr/duckdb/schema.sql new file mode 100644 index 0000000000..61085853d4 --- /dev/null +++ b/internal/endtoend/testdata/codegen_json_type_expr/duckdb/schema.sql @@ -0,0 +1,10 @@ +CREATE TABLE things ( + id integer NOT NULL, + title varchar, + price decimal(10, 2) NOT NULL, + tags varchar[], + grid integer[][] NOT NULL, + point struct(x integer, y integer), + attrs map(varchar, integer), + fixed integer[3] +); diff --git a/internal/endtoend/testdata/codegen_json_type_expr/exec.json b/internal/endtoend/testdata/codegen_json_type_expr/exec.json new file mode 100644 index 0000000000..2e996ca79d --- /dev/null +++ b/internal/endtoend/testdata/codegen_json_type_expr/exec.json @@ -0,0 +1,3 @@ +{ + "contexts": ["base"] +} diff --git a/internal/endtoend/testdata/codegen_json_type_expr/gen/codegen.json b/internal/endtoend/testdata/codegen_json_type_expr/gen/codegen.json new file mode 100644 index 0000000000..dc0d9af357 --- /dev/null +++ b/internal/endtoend/testdata/codegen_json_type_expr/gen/codegen.json @@ -0,0 +1,810 @@ +{ + "settings": { + "version": "2", + "engine": "duckdb", + "schema": [ + "duckdb/schema.sql" + ], + "queries": [ + "duckdb/query.sql" + ], + "codegen": { + "out": "", + "plugin": "", + "options": "", + "env": [], + "process": null, + "wasm": null + } + }, + "catalog": { + "comment": "", + "default_schema": "public", + "name": "", + "schemas": [ + { + "comment": "", + "name": "public", + "tables": [], + "enums": [], + "composite_types": [] + }, + { + "comment": "", + "name": "public", + "tables": [ + { + "rel": { + "catalog": "", + "schema": "public", + "name": "things" + }, + "columns": [ + { + "name": "id", + "not_null": true, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "", + "schema": "public", + "name": "things" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "integer" + }, + "is_sqlc_slice": false, + "embed_table": null, + "original_name": "", + "unsigned": false, + "array_dims": 0, + "type_expr": { + "name": "integer", + "nullable": false, + "args": [] + } + }, + { + "name": "title", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "", + "schema": "public", + "name": "things" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "varchar" + }, + "is_sqlc_slice": false, + "embed_table": null, + "original_name": "", + "unsigned": false, + "array_dims": 0, + "type_expr": { + "name": "varchar", + "nullable": true, + "args": [] + } + }, + { + "name": "price", + "not_null": true, + "is_array": false, + "comment": "", + "length": 10, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "", + "schema": "public", + "name": "things" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "decimal" + }, + "is_sqlc_slice": false, + "embed_table": null, + "original_name": "", + "unsigned": false, + "array_dims": 0, + "type_expr": { + "name": "decimal", + "nullable": false, + "args": [ + { + "label": "", + "int_value": "10" + }, + { + "label": "", + "int_value": "2" + } + ] + } + }, + { + "name": "tags", + "not_null": false, + "is_array": true, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "", + "schema": "public", + "name": "things" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "varchar" + }, + "is_sqlc_slice": false, + "embed_table": null, + "original_name": "", + "unsigned": false, + "array_dims": 1, + "type_expr": { + "name": "array", + "nullable": true, + "args": [ + { + "label": "", + "type": { + "name": "varchar", + "nullable": false, + "args": [] + } + } + ] + } + }, + { + "name": "grid", + "not_null": true, + "is_array": true, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "", + "schema": "public", + "name": "things" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "integer" + }, + "is_sqlc_slice": false, + "embed_table": null, + "original_name": "", + "unsigned": false, + "array_dims": 2, + "type_expr": { + "name": "array", + "nullable": false, + "args": [ + { + "label": "", + "type": { + "name": "array", + "nullable": false, + "args": [ + { + "label": "", + "type": { + "name": "integer", + "nullable": false, + "args": [] + } + } + ] + } + } + ] + } + }, + { + "name": "point", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "", + "schema": "public", + "name": "things" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "struct" + }, + "is_sqlc_slice": false, + "embed_table": null, + "original_name": "", + "unsigned": false, + "array_dims": 0, + "type_expr": { + "name": "struct", + "nullable": true, + "args": [ + { + "label": "x", + "type": { + "name": "integer", + "nullable": false, + "args": [] + } + }, + { + "label": "y", + "type": { + "name": "integer", + "nullable": false, + "args": [] + } + } + ] + } + }, + { + "name": "attrs", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "", + "schema": "public", + "name": "things" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "map" + }, + "is_sqlc_slice": false, + "embed_table": null, + "original_name": "", + "unsigned": false, + "array_dims": 0, + "type_expr": { + "name": "map", + "nullable": true, + "args": [ + { + "label": "", + "type": { + "name": "varchar", + "nullable": false, + "args": [] + } + }, + { + "label": "", + "type": { + "name": "integer", + "nullable": false, + "args": [] + } + } + ] + } + }, + { + "name": "fixed", + "not_null": false, + "is_array": true, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "", + "schema": "public", + "name": "things" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "integer" + }, + "is_sqlc_slice": false, + "embed_table": null, + "original_name": "", + "unsigned": false, + "array_dims": 1, + "type_expr": { + "name": "array", + "nullable": true, + "args": [ + { + "label": "", + "type": { + "name": "integer", + "nullable": false, + "args": [] + } + }, + { + "label": "", + "int_value": "3" + } + ] + } + } + ], + "comment": "" + } + ], + "enums": [], + "composite_types": [] + } + ] + }, + "queries": [ + { + "text": "SELECT id, title, price, tags, grid, point, attrs, fixed FROM things WHERE id = $1 AND price \u003e $2;", + "name": "GetThing", + "cmd": ":one", + "columns": [ + { + "name": "id", + "not_null": true, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "", + "schema": "public", + "name": "things" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "integer" + }, + "is_sqlc_slice": false, + "embed_table": null, + "original_name": "id", + "unsigned": false, + "array_dims": 0, + "type_expr": { + "name": "integer", + "nullable": false, + "args": [] + } + }, + { + "name": "title", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "", + "schema": "public", + "name": "things" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "varchar" + }, + "is_sqlc_slice": false, + "embed_table": null, + "original_name": "title", + "unsigned": false, + "array_dims": 0, + "type_expr": { + "name": "varchar", + "nullable": true, + "args": [] + } + }, + { + "name": "price", + "not_null": true, + "is_array": false, + "comment": "", + "length": 10, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "", + "schema": "public", + "name": "things" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "decimal" + }, + "is_sqlc_slice": false, + "embed_table": null, + "original_name": "price", + "unsigned": false, + "array_dims": 0, + "type_expr": { + "name": "decimal", + "nullable": false, + "args": [ + { + "label": "", + "int_value": "10" + }, + { + "label": "", + "int_value": "2" + } + ] + } + }, + { + "name": "tags", + "not_null": false, + "is_array": true, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "", + "schema": "public", + "name": "things" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "varchar" + }, + "is_sqlc_slice": false, + "embed_table": null, + "original_name": "tags", + "unsigned": false, + "array_dims": 1, + "type_expr": { + "name": "array", + "nullable": true, + "args": [ + { + "label": "", + "type": { + "name": "varchar", + "nullable": false, + "args": [] + } + } + ] + } + }, + { + "name": "grid", + "not_null": true, + "is_array": true, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "", + "schema": "public", + "name": "things" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "integer" + }, + "is_sqlc_slice": false, + "embed_table": null, + "original_name": "grid", + "unsigned": false, + "array_dims": 2, + "type_expr": { + "name": "array", + "nullable": false, + "args": [ + { + "label": "", + "type": { + "name": "array", + "nullable": false, + "args": [ + { + "label": "", + "type": { + "name": "integer", + "nullable": false, + "args": [] + } + } + ] + } + } + ] + } + }, + { + "name": "point", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "", + "schema": "public", + "name": "things" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "struct" + }, + "is_sqlc_slice": false, + "embed_table": null, + "original_name": "point", + "unsigned": false, + "array_dims": 0, + "type_expr": { + "name": "struct", + "nullable": true, + "args": [ + { + "label": "x", + "type": { + "name": "integer", + "nullable": false, + "args": [] + } + }, + { + "label": "y", + "type": { + "name": "integer", + "nullable": false, + "args": [] + } + } + ] + } + }, + { + "name": "attrs", + "not_null": false, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "", + "schema": "public", + "name": "things" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "map" + }, + "is_sqlc_slice": false, + "embed_table": null, + "original_name": "attrs", + "unsigned": false, + "array_dims": 0, + "type_expr": { + "name": "map", + "nullable": true, + "args": [ + { + "label": "", + "type": { + "name": "varchar", + "nullable": false, + "args": [] + } + }, + { + "label": "", + "type": { + "name": "integer", + "nullable": false, + "args": [] + } + } + ] + } + }, + { + "name": "fixed", + "not_null": false, + "is_array": true, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "", + "schema": "public", + "name": "things" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "integer" + }, + "is_sqlc_slice": false, + "embed_table": null, + "original_name": "fixed", + "unsigned": false, + "array_dims": 1, + "type_expr": { + "name": "array", + "nullable": true, + "args": [ + { + "label": "", + "type": { + "name": "integer", + "nullable": false, + "args": [] + } + }, + { + "label": "", + "int_value": "3" + } + ] + } + } + ], + "params": [ + { + "number": 1, + "column": { + "name": "id", + "not_null": true, + "is_array": false, + "comment": "", + "length": -1, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "", + "schema": "public", + "name": "things" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "integer" + }, + "is_sqlc_slice": false, + "embed_table": null, + "original_name": "id", + "unsigned": false, + "array_dims": 0, + "type_expr": { + "name": "integer", + "nullable": false, + "args": [] + } + }, + "name": "" + }, + { + "number": 2, + "column": { + "name": "price", + "not_null": true, + "is_array": false, + "comment": "", + "length": 10, + "is_named_param": false, + "is_func_call": false, + "scope": "", + "table": { + "catalog": "", + "schema": "public", + "name": "things" + }, + "table_alias": "", + "type": { + "catalog": "", + "schema": "", + "name": "decimal" + }, + "is_sqlc_slice": false, + "embed_table": null, + "original_name": "price", + "unsigned": false, + "array_dims": 0, + "type_expr": { + "name": "decimal", + "nullable": false, + "args": [ + { + "label": "", + "int_value": "10" + }, + { + "label": "", + "int_value": "2" + } + ] + } + }, + "name": "" + } + ], + "comments": [], + "filename": "query.sql", + "insert_into_table": null + } + ], + "sqlc_version": "v1.31.1", + "plugin_options": "eyJvdXQiOiJnZW4iLCJpbmRlbnQiOiIgICIsImZpbGVuYW1lIjoiY29kZWdlbi5qc29uIn0=", + "global_options": "" +} diff --git a/internal/endtoend/testdata/codegen_json_type_expr/sqlc.json b/internal/endtoend/testdata/codegen_json_type_expr/sqlc.json new file mode 100644 index 0000000000..054b51561e --- /dev/null +++ b/internal/endtoend/testdata/codegen_json_type_expr/sqlc.json @@ -0,0 +1,17 @@ +{ + "version": "2", + "sql": [ + { + "schema": "duckdb/schema.sql", + "queries": "duckdb/query.sql", + "engine": "duckdb", + "gen": { + "json": { + "out": "gen", + "indent": " ", + "filename": "codegen.json" + } + } + } + ] +} diff --git a/internal/endtoend/testdata/core_types/clickhouse/exec.json b/internal/endtoend/testdata/core_types/clickhouse/exec.json new file mode 100644 index 0000000000..2e996ca79d --- /dev/null +++ b/internal/endtoend/testdata/core_types/clickhouse/exec.json @@ -0,0 +1,3 @@ +{ + "contexts": ["base"] +} diff --git a/internal/endtoend/testdata/core_types/clickhouse/go/db.go b/internal/endtoend/testdata/core_types/clickhouse/go/db.go new file mode 100644 index 0000000000..32faa9f2b8 --- /dev/null +++ b/internal/endtoend/testdata/core_types/clickhouse/go/db.go @@ -0,0 +1,31 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 + +package querytest + +import ( + "context" + "database/sql" +) + +type DBTX interface { + ExecContext(context.Context, string, ...any) (sql.Result, error) + PrepareContext(context.Context, string) (*sql.Stmt, error) + QueryContext(context.Context, string, ...any) (*sql.Rows, error) + QueryRowContext(context.Context, string, ...any) *sql.Row +} + +func New(db DBTX) *Queries { + return &Queries{db: db} +} + +type Queries struct { + db DBTX +} + +func (q *Queries) WithTx(tx *sql.Tx) *Queries { + return &Queries{ + db: tx, + } +} diff --git a/internal/endtoend/testdata/core_types/clickhouse/go/models.go b/internal/endtoend/testdata/core_types/clickhouse/go/models.go new file mode 100644 index 0000000000..1f1a5fb47a --- /dev/null +++ b/internal/endtoend/testdata/core_types/clickhouse/go/models.go @@ -0,0 +1,44 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 + +package querytest + +import ( + "database/sql" + "net" + "time" + + "github.com/google/uuid" + "github.com/shopspring/decimal" +) + +type Thing struct { + ID uint64 + Name string + Tag sql.NullString + Amount float64 + Tags []string + Labels []*string + Matrix [][]uint8 + Kind *string + Created time.Time + Updated time.Time + Price decimal.Decimal + Status string + Attrs map[string]uint32 + Pos []any + Geo map[string]any + Scores map[string]*uint8 + Ip net.IP + Uid uuid.UUID + Fixed string + Flag bool + Small decimal.Decimal + Plain string + Either any + NA []uint8 + NB []string + Total uint64 + Whole int32 +} diff --git a/internal/endtoend/testdata/core_types/clickhouse/go/query.sql.go b/internal/endtoend/testdata/core_types/clickhouse/go/query.sql.go new file mode 100644 index 0000000000..de351869a7 --- /dev/null +++ b/internal/endtoend/testdata/core_types/clickhouse/go/query.sql.go @@ -0,0 +1,200 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 +// source: query.sql + +package querytest + +import ( + "context" + "database/sql" + "time" + + "github.com/shopspring/decimal" +) + +const allTypes = `-- name: AllTypes :many +SELECT id, name, tag, amount, tags, labels, matrix, kind, created, updated, price, status, attrs, pos, geo, scores, ip, uid, fixed, flag, small, plain, either, n.a, n.b, total, whole FROM things; +` + +func (q *Queries) AllTypes(ctx context.Context) ([]Thing, error) { + rows, err := q.db.QueryContext(ctx, allTypes) + if err != nil { + return nil, err + } + defer rows.Close() + var items []Thing + for rows.Next() { + var i Thing + if err := rows.Scan( + &i.ID, + &i.Name, + &i.Tag, + &i.Amount, + &i.Tags, + &i.Labels, + &i.Matrix, + &i.Kind, + &i.Created, + &i.Updated, + &i.Price, + &i.Status, + &i.Attrs, + &i.Pos, + &i.Geo, + &i.Scores, + &i.Ip, + &i.Uid, + &i.Fixed, + &i.Flag, + &i.Small, + &i.Plain, + &i.Either, + &i.NA, + &i.NB, + &i.Total, + &i.Whole, + ); err != nil { + return nil, err + } + items = append(items, i) + } + if err := rows.Close(); err != nil { + return nil, err + } + if err := rows.Err(); err != nil { + return nil, err + } + return items, nil +} + +const casts = `-- name: Casts :one +SELECT + CAST(id AS String) AS a, + toDecimal64(id, 4) AS b, + CAST(name AS Nullable(String)) AS c, + toDateTime64(created, 3) AS d, + CAST(tags AS Array(String)) AS e, + CAST(tag AS Nullable(String)) AS f +FROM things; +` + +type CastsRow struct { + A string + B decimal.Decimal + C sql.NullString + D time.Time + E []string + F sql.NullString +} + +func (q *Queries) Casts(ctx context.Context) (CastsRow, error) { + row := q.db.QueryRowContext(ctx, casts) + var i CastsRow + err := row.Scan( + &i.A, + &i.B, + &i.C, + &i.D, + &i.E, + &i.F, + ) + return i, err +} + +const placeholders = `-- name: Placeholders :many +SELECT id FROM things +WHERE id = {p1:UInt64} AND name = {p2:String} AND amount > {p3:Float64} AND tag = {p4:Nullable(String)} AND price = {p5:Decimal(10, 2)}; +` + +type PlaceholdersParams struct { + P1 uint64 + P2 string + P3 float64 + P4 *string + P5 string +} + +func (q *Queries) Placeholders(ctx context.Context, arg PlaceholdersParams) ([]uint64, error) { + rows, err := q.db.QueryContext(ctx, placeholders, + sql.Named("p1", arg.P1), + sql.Named("p2", arg.P2), + sql.Named("p3", arg.P3), + sql.Named("p4", arg.P4), + sql.Named("p5", arg.P5), + ) + if err != nil { + return nil, err + } + defer rows.Close() + var items []uint64 + for rows.Next() { + var id uint64 + if err := rows.Scan(&id); err != nil { + return nil, err + } + items = append(items, id) + } + if err := rows.Close(); err != nil { + return nil, err + } + if err := rows.Err(); err != nil { + return nil, err + } + return items, nil +} + +const starColumns = `-- name: StarColumns :many +SELECT id, name, tag, amount, tags, labels, matrix, kind, created, updated, price, status, attrs, pos, geo, scores, ip, uid, fixed, flag, small, plain, either, n.a, n.b, total, whole FROM things; +` + +func (q *Queries) StarColumns(ctx context.Context) ([]Thing, error) { + rows, err := q.db.QueryContext(ctx, starColumns) + if err != nil { + return nil, err + } + defer rows.Close() + var items []Thing + for rows.Next() { + var i Thing + if err := rows.Scan( + &i.ID, + &i.Name, + &i.Tag, + &i.Amount, + &i.Tags, + &i.Labels, + &i.Matrix, + &i.Kind, + &i.Created, + &i.Updated, + &i.Price, + &i.Status, + &i.Attrs, + &i.Pos, + &i.Geo, + &i.Scores, + &i.Ip, + &i.Uid, + &i.Fixed, + &i.Flag, + &i.Small, + &i.Plain, + &i.Either, + &i.NA, + &i.NB, + &i.Total, + &i.Whole, + ); err != nil { + return nil, err + } + items = append(items, i) + } + if err := rows.Close(); err != nil { + return nil, err + } + if err := rows.Err(); err != nil { + return nil, err + } + return items, nil +} diff --git a/internal/endtoend/testdata/core_types/clickhouse/query.sql b/internal/endtoend/testdata/core_types/clickhouse/query.sql new file mode 100644 index 0000000000..8a4ff3e8be --- /dev/null +++ b/internal/endtoend/testdata/core_types/clickhouse/query.sql @@ -0,0 +1,19 @@ +-- name: AllTypes :many +SELECT * FROM things; + +-- name: StarColumns :many +SELECT id, name, tag, amount, tags, labels, matrix, kind, created, updated, price, status, attrs, pos, geo, scores, ip, uid, fixed, flag, small, plain, either, n.a, n.b, total, whole FROM things; + +-- name: Casts :one +SELECT + CAST(id AS String) AS a, + toDecimal64(id, 4) AS b, + CAST(name AS Nullable(String)) AS c, + toDateTime64(created, 3) AS d, + CAST(tags AS Array(String)) AS e, + CAST(tag AS Nullable(String)) AS f +FROM things; + +-- name: Placeholders :many +SELECT id FROM things +WHERE id = {p1:UInt64} AND name = {p2:String} AND amount > {p3:Float64} AND tag = {p4:Nullable(String)} AND price = {p5:Decimal(10, 2)}; diff --git a/internal/endtoend/testdata/core_types/clickhouse/schema.sql b/internal/endtoend/testdata/core_types/clickhouse/schema.sql new file mode 100644 index 0000000000..1dddddd5c9 --- /dev/null +++ b/internal/endtoend/testdata/core_types/clickhouse/schema.sql @@ -0,0 +1,28 @@ +CREATE TABLE things ( + id UInt64, + name String, + tag Nullable(String), + amount Float64, + tags Array(String), + labels Array(Nullable(String)), + matrix Array(Array(UInt8)), + kind LowCardinality(Nullable(String)), + created DateTime, + updated DateTime64(3, 'UTC'), + price Decimal(10, 2), + status Enum8('active' = 1, 'deleted' = 2), + attrs Map(String, UInt32), + pos Tuple(Float64, Float64), + geo Tuple(lat Float64, lon Float64), + scores Map(String, Nullable(UInt8)), + ip IPv4, + uid UUID, + fixed FixedString(4), + flag Bool, + small Decimal32(4), + plain Enum('x', 'y'), + either Variant(String, Int64), + n Nested(a UInt8, b String), + total SimpleAggregateFunction(sum, UInt64), + whole INT +) ENGINE = MergeTree ORDER BY id; diff --git a/internal/endtoend/testdata/core_types/clickhouse/sqlc.yaml b/internal/endtoend/testdata/core_types/clickhouse/sqlc.yaml new file mode 100644 index 0000000000..66e907a2c6 --- /dev/null +++ b/internal/endtoend/testdata/core_types/clickhouse/sqlc.yaml @@ -0,0 +1,10 @@ +version: "2" +sql: + - engine: "clickhouse" + schema: "schema.sql" + queries: "query.sql" + gen: + go: + package: "querytest" + out: "go" + sql_package: "database/sql" diff --git a/internal/endtoend/testdata/core_types/duckdb/exec.json b/internal/endtoend/testdata/core_types/duckdb/exec.json new file mode 100644 index 0000000000..2e996ca79d --- /dev/null +++ b/internal/endtoend/testdata/core_types/duckdb/exec.json @@ -0,0 +1,3 @@ +{ + "contexts": ["base"] +} diff --git a/internal/endtoend/testdata/core_types/duckdb/go/db.go b/internal/endtoend/testdata/core_types/duckdb/go/db.go new file mode 100644 index 0000000000..32faa9f2b8 --- /dev/null +++ b/internal/endtoend/testdata/core_types/duckdb/go/db.go @@ -0,0 +1,31 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 + +package querytest + +import ( + "context" + "database/sql" +) + +type DBTX interface { + ExecContext(context.Context, string, ...any) (sql.Result, error) + PrepareContext(context.Context, string) (*sql.Stmt, error) + QueryContext(context.Context, string, ...any) (*sql.Rows, error) + QueryRowContext(context.Context, string, ...any) *sql.Row +} + +func New(db DBTX) *Queries { + return &Queries{db: db} +} + +type Queries struct { + db DBTX +} + +func (q *Queries) WithTx(tx *sql.Tx) *Queries { + return &Queries{ + db: tx, + } +} diff --git a/internal/endtoend/testdata/core_types/duckdb/go/models.go b/internal/endtoend/testdata/core_types/duckdb/go/models.go new file mode 100644 index 0000000000..4998652c79 --- /dev/null +++ b/internal/endtoend/testdata/core_types/duckdb/go/models.go @@ -0,0 +1,43 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 + +package querytest + +import ( + "database/sql" + "math/big" + + "github.com/duckdb/duckdb-go/v2" + "github.com/google/uuid" +) + +type Thing struct { + ID int32 + Ints duckdb.Composite[[]int32] + Fixed duckdb.Composite[[]int32] + Point *map[string]any + Attrs *duckdb.Map + Either any + Price *duckdb.Decimal + Title sql.NullString + Kind any + M any + Mm any + Big *big.Int + Ubig *big.Int + Data []byte + Bits *duckdb.Bit + Uid uuid.NullUUID + Tstz sql.NullTime + Tsns sql.NullTime + Iv *duckdb.Interval + Doc any + Grid duckdb.Composite[[][]int32] + Vi *big.Int + F4 sql.NullFloat64 + Points duckdb.Composite[[]map[string]any] + Lists *duckdb.Map + Body sql.NullString + N *duckdb.Decimal +} diff --git a/internal/endtoend/testdata/core_types/duckdb/go/query.sql.go b/internal/endtoend/testdata/core_types/duckdb/go/query.sql.go new file mode 100644 index 0000000000..1fdc2d244a --- /dev/null +++ b/internal/endtoend/testdata/core_types/duckdb/go/query.sql.go @@ -0,0 +1,156 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 +// source: query.sql + +package querytest + +import ( + "context" + "database/sql" + + "github.com/duckdb/duckdb-go/v2" +) + +const allTypes = `-- name: AllTypes :many +SELECT id, ints, fixed, point, attrs, either, price, title, kind, m, mm, big, ubig, data, bits, uid, tstz, tsns, iv, doc, grid, vi, f4, points, lists, body, n FROM things; +` + +func (q *Queries) AllTypes(ctx context.Context) ([]Thing, error) { + rows, err := q.db.QueryContext(ctx, allTypes) + if err != nil { + return nil, err + } + defer rows.Close() + var items []Thing + for rows.Next() { + var i Thing + if err := rows.Scan( + &i.ID, + &i.Ints, + &i.Fixed, + &i.Point, + &i.Attrs, + &i.Either, + &i.Price, + &i.Title, + &i.Kind, + &i.M, + &i.Mm, + &i.Big, + &i.Ubig, + &i.Data, + &i.Bits, + &i.Uid, + &i.Tstz, + &i.Tsns, + &i.Iv, + &i.Doc, + &i.Grid, + &i.Vi, + &i.F4, + &i.Points, + &i.Lists, + &i.Body, + &i.N, + ); err != nil { + return nil, err + } + items = append(items, i) + } + if err := rows.Close(); err != nil { + return nil, err + } + if err := rows.Err(); err != nil { + return nil, err + } + return items, nil +} + +const casts = `-- name: Casts :one +SELECT + $1::DECIMAL(5,2) AS a, + $2::INTEGER[] AS b, + $3::STRUCT(a INTEGER) AS c, + $4::mood AS d, + CAST($5 AS VARCHAR(5)) AS e, + $6::MAP(VARCHAR, INTEGER) AS f, + $7::INTEGER[3] AS g, + $8::main.mood AS h +FROM things; +` + +type CastsParams struct { + Column1 string + Column2 []int32 + Column3 map[string]any + Column4 any + Column5 string + Column6 duckdb.Map + Column7 []int32 + Column8 any +} + +type CastsRow struct { + A duckdb.Decimal + B duckdb.Composite[[]int32] + C map[string]any + D any + E string + F duckdb.Map + G duckdb.Composite[[]int32] + H any +} + +func (q *Queries) Casts(ctx context.Context, arg CastsParams) (CastsRow, error) { + row := q.db.QueryRowContext(ctx, casts, + arg.Column1, + arg.Column2, + arg.Column3, + arg.Column4, + arg.Column5, + arg.Column6, + arg.Column7, + arg.Column8, + ) + var i CastsRow + err := row.Scan( + &i.A, + &i.B, + &i.C, + &i.D, + &i.E, + &i.F, + &i.G, + &i.H, + ) + return i, err +} + +const params = `-- name: Params :one +SELECT id FROM things +WHERE ints = $1 AND point = $2 AND price = $3 AND m = $4 AND either = $5 AND grid = $6; +` + +type ParamsParams struct { + Ints []int32 + Point any + Price sql.NullString + M any + Either any + Grid [][]int32 +} + +func (q *Queries) Params(ctx context.Context, arg ParamsParams) (int32, error) { + row := q.db.QueryRowContext(ctx, params, + arg.Ints, + arg.Point, + arg.Price, + arg.M, + arg.Either, + arg.Grid, + ) + var id int32 + err := row.Scan(&id) + return id, err +} diff --git a/internal/endtoend/testdata/core_types/duckdb/query.sql b/internal/endtoend/testdata/core_types/duckdb/query.sql new file mode 100644 index 0000000000..3e232d263f --- /dev/null +++ b/internal/endtoend/testdata/core_types/duckdb/query.sql @@ -0,0 +1,18 @@ +-- name: AllTypes :many +SELECT * FROM things; + +-- name: Casts :one +SELECT + $1::DECIMAL(5,2) AS a, + $2::INTEGER[] AS b, + $3::STRUCT(a INTEGER) AS c, + $4::mood AS d, + CAST($5 AS VARCHAR(5)) AS e, + $6::MAP(VARCHAR, INTEGER) AS f, + $7::INTEGER[3] AS g, + $8::main.mood AS h +FROM things; + +-- name: Params :one +SELECT id FROM things +WHERE ints = $1 AND point = $2 AND price = $3 AND m = $4 AND either = $5 AND grid = $6; diff --git a/internal/endtoend/testdata/core_types/duckdb/schema.sql b/internal/endtoend/testdata/core_types/duckdb/schema.sql new file mode 100644 index 0000000000..0a8a1b4147 --- /dev/null +++ b/internal/endtoend/testdata/core_types/duckdb/schema.sql @@ -0,0 +1,31 @@ +CREATE TYPE mood AS ENUM ('sad', 'ok'); + +CREATE TABLE things ( + id INTEGER PRIMARY KEY, + ints INTEGER[], + fixed INTEGER[3], + point STRUCT(a INTEGER, b VARCHAR), + attrs MAP(VARCHAR, INTEGER), + either UNION(num INTEGER, str VARCHAR), + price DECIMAL(18,3), + title VARCHAR(10), + kind ENUM('a','b'), + m mood, + mm main.mood, + big HUGEINT, + ubig UHUGEINT, + data BLOB, + bits BIT, + uid UUID, + tstz TIMESTAMP WITH TIME ZONE, + tsns TIMESTAMP_NS, + iv INTERVAL, + doc JSON, + grid INTEGER[][], + vi VARINT, + f4 FLOAT4, + points STRUCT(a INTEGER)[], + lists MAP(VARCHAR, INTEGER[]), + body TEXT, + n NUMERIC +); diff --git a/internal/endtoend/testdata/core_types/duckdb/sqlc.yaml b/internal/endtoend/testdata/core_types/duckdb/sqlc.yaml new file mode 100644 index 0000000000..07d6d9d3b8 --- /dev/null +++ b/internal/endtoend/testdata/core_types/duckdb/sqlc.yaml @@ -0,0 +1,10 @@ +version: "2" +sql: + - engine: "duckdb" + schema: "schema.sql" + queries: "query.sql" + gen: + go: + package: "querytest" + out: "go" + sql_package: "database/sql" diff --git a/internal/endtoend/testdata/core_types/googlesql/exec.json b/internal/endtoend/testdata/core_types/googlesql/exec.json new file mode 100644 index 0000000000..2e996ca79d --- /dev/null +++ b/internal/endtoend/testdata/core_types/googlesql/exec.json @@ -0,0 +1,3 @@ +{ + "contexts": ["base"] +} diff --git a/internal/endtoend/testdata/core_types/googlesql/go/db.go b/internal/endtoend/testdata/core_types/googlesql/go/db.go new file mode 100644 index 0000000000..32faa9f2b8 --- /dev/null +++ b/internal/endtoend/testdata/core_types/googlesql/go/db.go @@ -0,0 +1,31 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 + +package querytest + +import ( + "context" + "database/sql" +) + +type DBTX interface { + ExecContext(context.Context, string, ...any) (sql.Result, error) + PrepareContext(context.Context, string) (*sql.Stmt, error) + QueryContext(context.Context, string, ...any) (*sql.Rows, error) + QueryRowContext(context.Context, string, ...any) *sql.Row +} + +func New(db DBTX) *Queries { + return &Queries{db: db} +} + +type Queries struct { + db DBTX +} + +func (q *Queries) WithTx(tx *sql.Tx) *Queries { + return &Queries{ + db: tx, + } +} diff --git a/internal/endtoend/testdata/core_types/googlesql/go/models.go b/internal/endtoend/testdata/core_types/googlesql/go/models.go new file mode 100644 index 0000000000..21d77ab53d --- /dev/null +++ b/internal/endtoend/testdata/core_types/googlesql/go/models.go @@ -0,0 +1,28 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 + +package querytest + +import ( + "database/sql" + + "cloud.google.com/go/spanner" +) + +type Thing struct { + ID int64 + S sql.NullString + Smax sql.NullString + N spanner.NullNumeric + Byt []byte + Ai []spanner.NullInt64 + As2 []spanner.NullString + Ts sql.NullTime + D spanner.NullDate + J spanner.NullJSON + B sql.NullBool + F sql.NullFloat64 + F32 spanner.NullFloat32 + U spanner.NullUUID +} diff --git a/internal/endtoend/testdata/core_types/googlesql/go/query.sql.go b/internal/endtoend/testdata/core_types/googlesql/go/query.sql.go new file mode 100644 index 0000000000..b9ae7acb56 --- /dev/null +++ b/internal/endtoend/testdata/core_types/googlesql/go/query.sql.go @@ -0,0 +1,120 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 +// source: query.sql + +package querytest + +import ( + "context" + "database/sql" + "math/big" + + "cloud.google.com/go/spanner" +) + +const allTypes = `-- name: AllTypes :many +SELECT id, s, smax, n, byt, ai, as2, ts, d, j, b, f, f32, u FROM things +` + +func (q *Queries) AllTypes(ctx context.Context) ([]Thing, error) { + rows, err := q.db.QueryContext(ctx, allTypes) + if err != nil { + return nil, err + } + defer rows.Close() + var items []Thing + for rows.Next() { + var i Thing + if err := rows.Scan( + &i.ID, + &i.S, + &i.Smax, + &i.N, + &i.Byt, + &i.Ai, + &i.As2, + &i.Ts, + &i.D, + &i.J, + &i.B, + &i.F, + &i.F32, + &i.U, + ); err != nil { + return nil, err + } + items = append(items, i) + } + if err := rows.Close(); err != nil { + return nil, err + } + if err := rows.Err(); err != nil { + return nil, err + } + return items, nil +} + +const casts = `-- name: Casts :one +SELECT + CAST(@a AS NUMERIC) AS a, + CAST(@b AS ARRAY) AS b, + CAST(@d AS STRING) AS d, + SAFE_CAST(@e AS FLOAT64) AS e +FROM things +` + +type CastsParams struct { + A big.Rat + B []spanner.NullInt64 + D string + E float64 +} + +type CastsRow struct { + A big.Rat + B []spanner.NullInt64 + D string + E float64 +} + +func (q *Queries) Casts(ctx context.Context, arg CastsParams) (CastsRow, error) { + row := q.db.QueryRowContext(ctx, casts, + sql.Named("a", arg.A), + sql.Named("b", arg.B), + sql.Named("d", arg.D), + sql.Named("e", arg.E), + ) + var i CastsRow + err := row.Scan( + &i.A, + &i.B, + &i.D, + &i.E, + ) + return i, err +} + +const params = `-- name: Params :one +SELECT id FROM things +WHERE s = @s AND n = @n AND smax = @smax AND f32 = @f32 +` + +type ParamsParams struct { + S sql.NullString + N spanner.NullNumeric + Smax sql.NullString + F32 spanner.NullFloat32 +} + +func (q *Queries) Params(ctx context.Context, arg ParamsParams) (int64, error) { + row := q.db.QueryRowContext(ctx, params, + sql.Named("s", arg.S), + sql.Named("n", arg.N), + sql.Named("smax", arg.Smax), + sql.Named("f32", arg.F32), + ) + var id int64 + err := row.Scan(&id) + return id, err +} diff --git a/internal/endtoend/testdata/core_types/googlesql/query.sql b/internal/endtoend/testdata/core_types/googlesql/query.sql new file mode 100644 index 0000000000..06cca17706 --- /dev/null +++ b/internal/endtoend/testdata/core_types/googlesql/query.sql @@ -0,0 +1,14 @@ +-- name: AllTypes :many +SELECT * FROM things; + +-- name: Casts :one +SELECT + CAST(@a AS NUMERIC) AS a, + CAST(@b AS ARRAY) AS b, + CAST(@d AS STRING) AS d, + SAFE_CAST(@e AS FLOAT64) AS e +FROM things; + +-- name: Params :one +SELECT id FROM things +WHERE s = @s AND n = @n AND smax = @smax AND f32 = @f32; diff --git a/internal/endtoend/testdata/core_types/googlesql/schema.sql b/internal/endtoend/testdata/core_types/googlesql/schema.sql new file mode 100644 index 0000000000..176f055732 --- /dev/null +++ b/internal/endtoend/testdata/core_types/googlesql/schema.sql @@ -0,0 +1,16 @@ +CREATE TABLE things ( + id INT64 NOT NULL, + s STRING(10), + smax STRING(MAX), + n NUMERIC, + byt BYTES(MAX), + ai ARRAY, + as2 ARRAY, + ts TIMESTAMP, + d DATE, + j JSON, + b BOOL, + f FLOAT64, + f32 FLOAT32, + u UUID +) PRIMARY KEY (id); diff --git a/internal/endtoend/testdata/core_types/googlesql/sqlc.yaml b/internal/endtoend/testdata/core_types/googlesql/sqlc.yaml new file mode 100644 index 0000000000..1efeadaa84 --- /dev/null +++ b/internal/endtoend/testdata/core_types/googlesql/sqlc.yaml @@ -0,0 +1,10 @@ +version: "2" +sql: + - engine: "googlesql" + schema: "schema.sql" + queries: "query.sql" + gen: + go: + package: "querytest" + out: "go" + sql_package: "database/sql" diff --git a/internal/endtoend/testdata/core_types/mssql/exec.json b/internal/endtoend/testdata/core_types/mssql/exec.json new file mode 100644 index 0000000000..2e996ca79d --- /dev/null +++ b/internal/endtoend/testdata/core_types/mssql/exec.json @@ -0,0 +1,3 @@ +{ + "contexts": ["base"] +} diff --git a/internal/endtoend/testdata/core_types/mssql/go/db.go b/internal/endtoend/testdata/core_types/mssql/go/db.go new file mode 100644 index 0000000000..32faa9f2b8 --- /dev/null +++ b/internal/endtoend/testdata/core_types/mssql/go/db.go @@ -0,0 +1,31 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 + +package querytest + +import ( + "context" + "database/sql" +) + +type DBTX interface { + ExecContext(context.Context, string, ...any) (sql.Result, error) + PrepareContext(context.Context, string) (*sql.Stmt, error) + QueryContext(context.Context, string, ...any) (*sql.Rows, error) + QueryRowContext(context.Context, string, ...any) *sql.Row +} + +func New(db DBTX) *Queries { + return &Queries{db: db} +} + +type Queries struct { + db DBTX +} + +func (q *Queries) WithTx(tx *sql.Tx) *Queries { + return &Queries{ + db: tx, + } +} diff --git a/internal/endtoend/testdata/core_types/mssql/go/models.go b/internal/endtoend/testdata/core_types/mssql/go/models.go new file mode 100644 index 0000000000..db1ac4d38e --- /dev/null +++ b/internal/endtoend/testdata/core_types/mssql/go/models.go @@ -0,0 +1,46 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 + +package querytest + +import ( + "database/sql" + + "github.com/microsoft/go-mssqldb" +) + +type Thing struct { + ID int64 + Price string + Amount sql.NullString + Plain sql.NullString + Body sql.NullString + Title sql.NullString + Code sql.NullString + Ncode sql.NullString + Blob []byte + Key16 []byte + Created sql.NullTime + Updated sql.NullTime + OffsetAt sql.NullTime + Tm sql.NullTime + F sql.NullFloat64 + F53 sql.NullFloat64 + R sql.NullFloat64 + M sql.NullString + B sql.NullBool + U mssql.NullUniqueIdentifier + X sql.NullString + J sql.NullString + Sv any + Rv []byte + G []byte + H []byte + Vec []byte + Sn string + Phone any + Code2 any + Code3 any + Bare sql.NullString +} diff --git a/internal/endtoend/testdata/core_types/mssql/go/querier.go b/internal/endtoend/testdata/core_types/mssql/go/querier.go new file mode 100644 index 0000000000..698104dcd8 --- /dev/null +++ b/internal/endtoend/testdata/core_types/mssql/go/querier.go @@ -0,0 +1,17 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 + +package querytest + +import ( + "context" +) + +type Querier interface { + AllTypes(ctx context.Context) ([]Thing, error) + Casts(ctx context.Context, arg CastsParams) (CastsRow, error) + Params(ctx context.Context, arg ParamsParams) (int64, error) +} + +var _ Querier = (*Queries)(nil) diff --git a/internal/endtoend/testdata/core_types/mssql/go/query.sql.go b/internal/endtoend/testdata/core_types/mssql/go/query.sql.go new file mode 100644 index 0000000000..1645f7911b --- /dev/null +++ b/internal/endtoend/testdata/core_types/mssql/go/query.sql.go @@ -0,0 +1,158 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 +// source: query.sql + +package querytest + +import ( + "context" + "database/sql" + "time" +) + +const allTypes = `-- name: AllTypes :many +SELECT id, price, amount, plain, body, title, code, ncode, blob, key16, created, updated, offset_at, tm, f, f53, r, m, b, u, x, j, sv, rv, g, h, vec, sn, phone, code2, code3, bare FROM things; +` + +func (q *Queries) AllTypes(ctx context.Context) ([]Thing, error) { + rows, err := q.db.QueryContext(ctx, allTypes) + if err != nil { + return nil, err + } + defer rows.Close() + var items []Thing + for rows.Next() { + var i Thing + if err := rows.Scan( + &i.ID, + &i.Price, + &i.Amount, + &i.Plain, + &i.Body, + &i.Title, + &i.Code, + &i.Ncode, + &i.Blob, + &i.Key16, + &i.Created, + &i.Updated, + &i.OffsetAt, + &i.Tm, + &i.F, + &i.F53, + &i.R, + &i.M, + &i.B, + &i.U, + &i.X, + &i.J, + &i.Sv, + &i.Rv, + &i.G, + &i.H, + &i.Vec, + &i.Sn, + &i.Phone, + &i.Code2, + &i.Code3, + &i.Bare, + ); err != nil { + return nil, err + } + items = append(items, i) + } + if err := rows.Close(); err != nil { + return nil, err + } + if err := rows.Err(); err != nil { + return nil, err + } + return items, nil +} + +const casts = `-- name: Casts :one +SELECT + CAST(amount AS DECIMAL(5,2)) AS a, + CAST(title AS NVARCHAR(MAX)) AS b, + CAST(body AS VARCHAR(10)) AS c, + CONVERT(DATETIME2(3), updated) AS d, + CAST(amount AS MONEY) AS e, + CAST(f53 AS FLOAT(24)) AS f, + CAST(code AS CHAR(3)) AS g +FROM things +WHERE CAST(@a AS DECIMAL(5,2)) > 0 + AND CAST(@b AS NVARCHAR(MAX)) <> N'' + AND CAST(@c AS VARCHAR(10)) <> '' + AND CONVERT(DATETIME2(3), @d) > '2000-01-01' + AND CAST(@e AS MONEY) > 0 + AND TRY_CAST(@f AS FLOAT(24)) > 0 + AND CAST(@g AS CHAR(3)) <> ''; +` + +type CastsParams struct { + A string + B string + C string + D time.Time + E string + F float32 + G string +} + +type CastsRow struct { + A sql.NullString + B sql.NullString + C sql.NullString + D sql.NullTime + E sql.NullString + F sql.NullFloat64 + G sql.NullString +} + +func (q *Queries) Casts(ctx context.Context, arg CastsParams) (CastsRow, error) { + row := q.db.QueryRowContext(ctx, casts, + sql.Named("a", arg.A), + sql.Named("b", arg.B), + sql.Named("c", arg.C), + sql.Named("d", arg.D), + sql.Named("e", arg.E), + sql.Named("f", arg.F), + sql.Named("g", arg.G), + ) + var i CastsRow + err := row.Scan( + &i.A, + &i.B, + &i.C, + &i.D, + &i.E, + &i.F, + &i.G, + ) + return i, err +} + +const params = `-- name: Params :one +SELECT id FROM things +WHERE price = @price AND body = @body AND phone = @phone AND offset_at = @offset_at; +` + +type ParamsParams struct { + Price string + Body sql.NullString + Phone any + OffsetAt sql.NullTime +} + +func (q *Queries) Params(ctx context.Context, arg ParamsParams) (int64, error) { + row := q.db.QueryRowContext(ctx, params, + sql.Named("price", arg.Price), + sql.Named("body", arg.Body), + sql.Named("phone", arg.Phone), + sql.Named("offset_at", arg.OffsetAt), + ) + var id int64 + err := row.Scan(&id) + return id, err +} diff --git a/internal/endtoend/testdata/core_types/mssql/query.sql b/internal/endtoend/testdata/core_types/mssql/query.sql new file mode 100644 index 0000000000..e2075d7abd --- /dev/null +++ b/internal/endtoend/testdata/core_types/mssql/query.sql @@ -0,0 +1,24 @@ +-- name: AllTypes :many +SELECT * FROM things; + +-- name: Casts :one +SELECT + CAST(amount AS DECIMAL(5,2)) AS a, + CAST(title AS NVARCHAR(MAX)) AS b, + CAST(body AS VARCHAR(10)) AS c, + CONVERT(DATETIME2(3), updated) AS d, + CAST(amount AS MONEY) AS e, + CAST(f53 AS FLOAT(24)) AS f, + CAST(code AS CHAR(3)) AS g +FROM things +WHERE CAST(@a AS DECIMAL(5,2)) > 0 + AND CAST(@b AS NVARCHAR(MAX)) <> N'' + AND CAST(@c AS VARCHAR(10)) <> '' + AND CONVERT(DATETIME2(3), @d) > '2000-01-01' + AND CAST(@e AS MONEY) > 0 + AND TRY_CAST(@f AS FLOAT(24)) > 0 + AND CAST(@g AS CHAR(3)) <> ''; + +-- name: Params :one +SELECT id FROM things +WHERE price = @price AND body = @body AND phone = @phone AND offset_at = @offset_at; diff --git a/internal/endtoend/testdata/core_types/mssql/schema.sql b/internal/endtoend/testdata/core_types/mssql/schema.sql new file mode 100644 index 0000000000..1e65802777 --- /dev/null +++ b/internal/endtoend/testdata/core_types/mssql/schema.sql @@ -0,0 +1,37 @@ +CREATE TYPE dbo.PhoneNumber FROM varchar(20) NOT NULL; +CREATE TYPE Code FROM char(3); + +CREATE TABLE things ( + id BIGINT IDENTITY(1,1) PRIMARY KEY, + price DECIMAL(10,2) NOT NULL, + amount NUMERIC(18,4), + plain DECIMAL, + body NVARCHAR(MAX), + title VARCHAR(50), + code CHAR(10), + ncode NCHAR(5), + blob VARBINARY(MAX), + key16 BINARY(16), + created DATETIME2(3), + updated DATETIME2, + offset_at DATETIMEOFFSET(7), + tm TIME(4), + f FLOAT(24), + f53 FLOAT, + r REAL, + m MONEY, + b BIT, + u UNIQUEIDENTIFIER, + x XML, + j JSON, + sv SQL_VARIANT, + rv ROWVERSION, + g GEOGRAPHY, + h HIERARCHYID, + vec VECTOR(3), + sn sysname, + phone dbo.PhoneNumber, + code2 dbo.Code, + code3 Code, + bare VARCHAR +); diff --git a/internal/endtoend/testdata/core_types/mssql/sqlc.yaml b/internal/endtoend/testdata/core_types/mssql/sqlc.yaml new file mode 100644 index 0000000000..f4bcb17eb4 --- /dev/null +++ b/internal/endtoend/testdata/core_types/mssql/sqlc.yaml @@ -0,0 +1,11 @@ +version: "2" +sql: + - engine: "mssql" + schema: "schema.sql" + queries: "query.sql" + gen: + go: + package: "querytest" + out: "go" + sql_package: "database/sql" + emit_interface: true diff --git a/internal/endtoend/testdata/duckdb_json/duckdb/exec.json b/internal/endtoend/testdata/duckdb_json/duckdb/exec.json new file mode 100644 index 0000000000..2e996ca79d --- /dev/null +++ b/internal/endtoend/testdata/duckdb_json/duckdb/exec.json @@ -0,0 +1,3 @@ +{ + "contexts": ["base"] +} diff --git a/internal/endtoend/testdata/duckdb_json/duckdb/go/db.go b/internal/endtoend/testdata/duckdb_json/duckdb/go/db.go new file mode 100644 index 0000000000..32faa9f2b8 --- /dev/null +++ b/internal/endtoend/testdata/duckdb_json/duckdb/go/db.go @@ -0,0 +1,31 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 + +package querytest + +import ( + "context" + "database/sql" +) + +type DBTX interface { + ExecContext(context.Context, string, ...any) (sql.Result, error) + PrepareContext(context.Context, string) (*sql.Stmt, error) + QueryContext(context.Context, string, ...any) (*sql.Rows, error) + QueryRowContext(context.Context, string, ...any) *sql.Row +} + +func New(db DBTX) *Queries { + return &Queries{db: db} +} + +type Queries struct { + db DBTX +} + +func (q *Queries) WithTx(tx *sql.Tx) *Queries { + return &Queries{ + db: tx, + } +} diff --git a/internal/endtoend/testdata/duckdb_json/duckdb/go/models.go b/internal/endtoend/testdata/duckdb_json/duckdb/go/models.go new file mode 100644 index 0000000000..8b39d96e50 --- /dev/null +++ b/internal/endtoend/testdata/duckdb_json/duckdb/go/models.go @@ -0,0 +1,11 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 + +package querytest + +type Event struct { + ID int32 + Payload any + Meta any +} diff --git a/internal/endtoend/testdata/duckdb_json/duckdb/go/query.sql.go b/internal/endtoend/testdata/duckdb_json/duckdb/go/query.sql.go new file mode 100644 index 0000000000..75cce3477f --- /dev/null +++ b/internal/endtoend/testdata/duckdb_json/duckdb/go/query.sql.go @@ -0,0 +1,92 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 +// source: query.sql + +package querytest + +import ( + "context" + "database/sql" +) + +const createEvent = `-- name: CreateEvent :exec +INSERT INTO events (id, payload, meta) VALUES ($1, $2, $3); +` + +type CreateEventParams struct { + ID int32 + Payload string + Meta sql.NullString +} + +func (q *Queries) CreateEvent(ctx context.Context, arg CreateEventParams) error { + _, err := q.db.ExecContext(ctx, createEvent, arg.ID, arg.Payload, arg.Meta) + return err +} + +const eventKind = `-- name: EventKind :one +SELECT json_extract(payload, '$.kind') AS kind, json_extract_string(payload, '$.kind') AS kind_text +FROM events WHERE id = $1; +` + +type EventKindRow struct { + Kind any + KindText string +} + +func (q *Queries) EventKind(ctx context.Context, id int32) (EventKindRow, error) { + row := q.db.QueryRowContext(ctx, eventKind, id) + var i EventKindRow + err := row.Scan(&i.Kind, &i.KindText) + return i, err +} + +const eventsByPayload = `-- name: EventsByPayload :many +SELECT id FROM events WHERE payload = $1; +` + +func (q *Queries) EventsByPayload(ctx context.Context, payload string) ([]int32, error) { + rows, err := q.db.QueryContext(ctx, eventsByPayload, payload) + if err != nil { + return nil, err + } + defer rows.Close() + var items []int32 + for rows.Next() { + var id int32 + if err := rows.Scan(&id); err != nil { + return nil, err + } + items = append(items, id) + } + if err := rows.Close(); err != nil { + return nil, err + } + if err := rows.Err(); err != nil { + return nil, err + } + return items, nil +} + +const getEvent = `-- name: GetEvent :one +SELECT id, payload, meta FROM events WHERE id = $1; +` + +func (q *Queries) GetEvent(ctx context.Context, id int32) (Event, error) { + row := q.db.QueryRowContext(ctx, getEvent, id) + var i Event + err := row.Scan(&i.ID, &i.Payload, &i.Meta) + return i, err +} + +const payloadText = `-- name: PayloadText :one +SELECT CAST(payload AS VARCHAR) AS payload_text FROM events WHERE id = $1; +` + +func (q *Queries) PayloadText(ctx context.Context, id int32) (string, error) { + row := q.db.QueryRowContext(ctx, payloadText, id) + var payload_text string + err := row.Scan(&payload_text) + return payload_text, err +} diff --git a/internal/endtoend/testdata/duckdb_json/duckdb/query.sql b/internal/endtoend/testdata/duckdb_json/duckdb/query.sql new file mode 100644 index 0000000000..51fa6b4918 --- /dev/null +++ b/internal/endtoend/testdata/duckdb_json/duckdb/query.sql @@ -0,0 +1,15 @@ +-- name: CreateEvent :exec +INSERT INTO events (id, payload, meta) VALUES ($1, $2, $3); + +-- name: GetEvent :one +SELECT id, payload, meta FROM events WHERE id = $1; + +-- name: EventKind :one +SELECT json_extract(payload, '$.kind') AS kind, json_extract_string(payload, '$.kind') AS kind_text +FROM events WHERE id = $1; + +-- name: EventsByPayload :many +SELECT id FROM events WHERE payload = $1; + +-- name: PayloadText :one +SELECT CAST(payload AS VARCHAR) AS payload_text FROM events WHERE id = $1; diff --git a/internal/endtoend/testdata/duckdb_json/duckdb/schema.sql b/internal/endtoend/testdata/duckdb_json/duckdb/schema.sql new file mode 100644 index 0000000000..cdf21de7bf --- /dev/null +++ b/internal/endtoend/testdata/duckdb_json/duckdb/schema.sql @@ -0,0 +1,5 @@ +CREATE TABLE events ( + id INTEGER PRIMARY KEY, + payload JSON NOT NULL, + meta JSON +); diff --git a/internal/endtoend/testdata/duckdb_json/duckdb/sqlc.yaml b/internal/endtoend/testdata/duckdb_json/duckdb/sqlc.yaml new file mode 100644 index 0000000000..07d6d9d3b8 --- /dev/null +++ b/internal/endtoend/testdata/duckdb_json/duckdb/sqlc.yaml @@ -0,0 +1,10 @@ +version: "2" +sql: + - engine: "duckdb" + schema: "schema.sql" + queries: "query.sql" + gen: + go: + package: "querytest" + out: "go" + sql_package: "database/sql" diff --git a/internal/endtoend/testdata/go.mod b/internal/endtoend/testdata/go.mod index 502eef7017..3042c22f66 100644 --- a/internal/endtoend/testdata/go.mod +++ b/internal/endtoend/testdata/go.mod @@ -1,19 +1,22 @@ module github.com/sqlc-dev/sqlc/endtoend -go 1.24.0 - -toolchain go1.24.7 +go 1.25.0 require ( + cloud.google.com/go/spanner v1.95.1 + github.com/duckdb/duckdb-go/v2 v2.10505.0 github.com/go-sql-driver/mysql v1.7.0 github.com/gofrs/uuid v4.0.0+incompatible - github.com/google/uuid v1.3.0 + github.com/google/uuid v1.6.0 github.com/hexon/mysqltsv v0.1.0 github.com/jackc/pgconn v1.5.1-0.20200601181101-fa742c524853 github.com/jackc/pgtype v1.6.2 github.com/jackc/pgx/v4 v4.6.1-0.20200606145419-4e5062306904 github.com/jackc/pgx/v5 v5.8.0 github.com/lib/pq v1.9.0 + github.com/microsoft/go-mssqldb v1.11.0 + github.com/pgvector/pgvector-go v0.1.1 + github.com/shopspring/decimal v1.4.0 github.com/sqlc-dev/pqtype v0.2.0 github.com/sqlc-dev/sqlc-testdata v1.0.0 github.com/volatiletech/null/v8 v8.1.2 @@ -21,17 +24,78 @@ require ( ) require ( + cel.dev/expr v0.25.1 // indirect + cloud.google.com/go v0.123.0 // indirect + cloud.google.com/go/auth v0.20.0 // indirect + cloud.google.com/go/auth/oauth2adapt v0.2.8 // indirect + cloud.google.com/go/compute/metadata v0.9.0 // indirect + cloud.google.com/go/monitoring v1.29.0 // indirect + github.com/GoogleCloudPlatform/grpc-gcp-go/grpcgcp v1.6.0 // indirect + github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.32.0 // indirect + github.com/apache/arrow-go/v18 v18.5.1 // indirect + github.com/cespare/xxhash/v2 v2.3.0 // indirect + github.com/cncf/xds/go v0.0.0-20260202195803-dba9d589def2 // indirect + github.com/duckdb/duckdb-go-bindings v0.10505.0 // indirect + github.com/duckdb/duckdb-go-bindings/lib/darwin-amd64 v0.10505.0 // indirect + github.com/duckdb/duckdb-go-bindings/lib/darwin-arm64 v0.10505.0 // indirect + github.com/duckdb/duckdb-go-bindings/lib/linux-amd64 v0.10505.0 // indirect + github.com/duckdb/duckdb-go-bindings/lib/linux-arm64 v0.10505.0 // indirect + github.com/duckdb/duckdb-go-bindings/lib/windows-amd64 v0.10505.0 // indirect + github.com/envoyproxy/go-control-plane/envoy v1.37.0 // indirect + github.com/envoyproxy/protoc-gen-validate v1.3.3 // indirect + github.com/felixge/httpsnoop v1.0.4 // indirect github.com/friendsofgo/errors v0.9.2 // indirect + github.com/go-jose/go-jose/v4 v4.1.4 // indirect + github.com/go-logr/logr v1.4.3 // indirect + github.com/go-logr/stdr v1.2.2 // indirect + github.com/go-viper/mapstructure/v2 v2.5.0 // indirect + github.com/goccy/go-json v0.10.5 // indirect + github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9 // indirect + github.com/golang-sql/sqlexp v0.1.0 // indirect + github.com/google/flatbuffers v25.12.19+incompatible // indirect + github.com/google/s2a-go v0.1.9 // indirect + github.com/googleapis/enterprise-certificate-proxy v0.3.17 // indirect + github.com/googleapis/gax-go/v2 v2.23.0 // indirect github.com/jackc/chunkreader/v2 v2.0.1 // indirect github.com/jackc/pgio v1.0.0 // indirect github.com/jackc/pgpassfile v1.0.0 // indirect github.com/jackc/pgproto3/v2 v2.0.1 // indirect github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect - github.com/pgvector/pgvector-go v0.1.1 // indirect + github.com/klauspost/compress v1.18.3 // indirect + github.com/klauspost/cpuid/v2 v2.3.0 // indirect + github.com/pierrec/lz4/v4 v4.1.25 // indirect + github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 // indirect + github.com/spiffe/go-spiffe/v2 v2.6.0 // indirect github.com/volatiletech/inflect v0.0.1 // indirect github.com/volatiletech/randomize v0.0.1 // indirect github.com/volatiletech/strmangle v0.0.1 // indirect - golang.org/x/crypto v0.17.0 // indirect - golang.org/x/text v0.29.0 // indirect - golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect + github.com/zeebo/xxh3 v1.1.0 // indirect + go.opencensus.io v0.24.0 // indirect + go.opentelemetry.io/auto/sdk v1.2.1 // indirect + go.opentelemetry.io/contrib/detectors/gcp v1.43.0 // indirect + go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.67.0 // indirect + go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.67.0 // indirect + go.opentelemetry.io/otel v1.44.0 // indirect + go.opentelemetry.io/otel/metric v1.44.0 // indirect + go.opentelemetry.io/otel/sdk v1.44.0 // indirect + go.opentelemetry.io/otel/sdk/metric v1.44.0 // indirect + go.opentelemetry.io/otel/trace v1.44.0 // indirect + golang.org/x/crypto v0.55.0 // indirect + golang.org/x/exp v0.0.0-20260112195511-716be5621a96 // indirect + golang.org/x/mod v0.38.0 // indirect + golang.org/x/net v0.57.0 // indirect + golang.org/x/oauth2 v0.36.0 // indirect + golang.org/x/sync v0.22.0 // indirect + golang.org/x/sys v0.47.0 // indirect + golang.org/x/telemetry v0.0.0-20260708182218-49f421fb7959 // indirect + golang.org/x/text v0.41.0 // indirect + golang.org/x/time v0.15.0 // indirect + golang.org/x/tools v0.48.0 // indirect + golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da // indirect + google.golang.org/api v0.287.1 // indirect + google.golang.org/genproto v0.0.0-20260319201613-d00831a3d3e7 // indirect + google.golang.org/genproto/googleapis/api v0.0.0-20260630182238-925bb5da69e7 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20260630182238-925bb5da69e7 // indirect + google.golang.org/grpc v1.82.1 // indirect + google.golang.org/protobuf v1.36.11 // indirect ) diff --git a/internal/endtoend/testdata/go.sum b/internal/endtoend/testdata/go.sum index 0711cb8eaf..2aa53f319b 100644 --- a/internal/endtoend/testdata/go.sum +++ b/internal/endtoend/testdata/go.sum @@ -1,23 +1,156 @@ +cel.dev/expr v0.25.1 h1:1KrZg61W6TWSxuNZ37Xy49ps13NUovb66QLprthtwi4= +cel.dev/expr v0.25.1/go.mod h1:hrXvqGP6G6gyx8UAHSHJ5RGk//1Oj5nXQ2NI02Nrsg4= +cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= +cloud.google.com/go v0.123.0 h1:2NAUJwPR47q+E35uaJeYoNhuNEM9kM8SjgRgdeOJUSE= +cloud.google.com/go v0.123.0/go.mod h1:xBoMV08QcqUGuPW65Qfm1o9Y4zKZBpGS+7bImXLTAZU= +cloud.google.com/go/auth v0.20.0 h1:kXTssoVb4azsVDoUiF8KvxAqrsQcQtB53DcSgta74CA= +cloud.google.com/go/auth v0.20.0/go.mod h1:942/yi/itH1SsmpyrbnTMDgGfdy2BUqIKyd0cyYLc5Q= +cloud.google.com/go/auth/oauth2adapt v0.2.8 h1:keo8NaayQZ6wimpNSmW5OPc283g65QNIiLpZnkHRbnc= +cloud.google.com/go/auth/oauth2adapt v0.2.8/go.mod h1:XQ9y31RkqZCcwJWNSx2Xvric3RrU88hAYYbjDWYDL+c= +cloud.google.com/go/compute/metadata v0.9.0 h1:pDUj4QMoPejqq20dK0Pg2N4yG9zIkYGdBtwLoEkH9Zs= +cloud.google.com/go/compute/metadata v0.9.0/go.mod h1:E0bWwX5wTnLPedCKqk3pJmVgCBSM6qQI1yTBdEb3C10= +cloud.google.com/go/iam v1.11.0 h1:KieQ9Pb+LLPak1O3Rv3GgCxhnmkYf7Xyh0P5HfF1jFM= +cloud.google.com/go/iam v1.11.0/go.mod h1:KP+nKGugNJW4LcLx1uEZcq1ok5sQHFaQehQNl4QDgV4= +cloud.google.com/go/longrunning v1.2.0 h1:WjYH3YHBGCxGJP9M4dWGHBfXr/cFIjMkNgWcJj7/iMM= +cloud.google.com/go/longrunning v1.2.0/go.mod h1:5KMQALFGOCtFoi2xSOA1u3H7WKlhmckgiyFw7+LGQp0= +cloud.google.com/go/monitoring v1.29.0 h1:AHhDsFaSax1/4k+qlIDX/SDGe6hggnfXJ9dkgD9qBPY= +cloud.google.com/go/monitoring v1.29.0/go.mod h1:72NOVjJXHY/HBfoLT0+qlCZBT059+9VXLeAnL2PeeVM= +cloud.google.com/go/spanner v1.95.1 h1:9HYr+AAeAOubn0NZAYv34dFHQ3NbIUcWHZmgJvufPzk= +cloud.google.com/go/spanner v1.95.1/go.mod h1:Z2+83J5oVDmd1n5ntVMmjEuiNoXOpAyNeG7y1tuEHk0= +github.com/Azure/azure-sdk-for-go/sdk/azcore v1.23.0 h1:4gRPBpN1f6xt88yi4WR26m7XaD9OlWtVT6bWPdGUIok= +github.com/Azure/azure-sdk-for-go/sdk/azcore v1.23.0/go.mod h1:G7QVLxw1j1JVyrO1MA95S8m8HStaaleDZYTcfGgjB2o= +github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.14.0 h1:CU4+EJeJi3TKYWEcYuSdWsjzw0nVsK/H0MSQOiPcymU= +github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.14.0/go.mod h1:q0+UTSRvShwUCrR/s5HtyInYphN7Wvxb7snFM3u+SLA= +github.com/Azure/azure-sdk-for-go/sdk/internal v1.12.0 h1:fhqpLE3UEXi9lPaBRpQ6XuRW0nU7hgg4zlmZZa+a9q4= +github.com/Azure/azure-sdk-for-go/sdk/internal v1.12.0/go.mod h1:7dCRMLwisfRH3dBupKeNCioWYUZ4SS09Z14H+7i8ZoY= +github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azkeys v1.5.0 h1:MaKvxE6D0KkjOg6Wd9M00iqP5PR0kUxCfiezes4JweM= +github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azkeys v1.5.0/go.mod h1:i2h9fsTFKZorh8RdV2IcSUf/Qj98GlTkrTvUbX/s8as= +github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/internal v1.2.0 h1:nCYfgcSyHZXJI8J0IWE5MsCGlb2xp9fJiXyxWgmOFg4= +github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/internal v1.2.0/go.mod h1:ucUjca2JtSZboY8IoUqyQyuuXvwbMBVwFOm0vdQPNhA= +github.com/AzureAD/microsoft-authentication-library-for-go v1.7.2 h1:RHK7bS+HQMslb1sZpAokUt+zTVmue0hKSs2C791hhzU= +github.com/AzureAD/microsoft-authentication-library-for-go v1.7.2/go.mod h1:HKpQxkWaGLJ+D/5H8QRpyQXA1eKjxkFlOMwck5+33Jk= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= +github.com/GoogleCloudPlatform/grpc-gcp-go/grpcgcp v1.6.0 h1:BzsL0qE7LvtTEtXG7Dt5NS1EP0CQwI21HZfj9aGghhw= +github.com/GoogleCloudPlatform/grpc-gcp-go/grpcgcp v1.6.0/go.mod h1:I7kE2kM3qCr9QPT4cU4cCFYkEpVyVr16YOGUHzy+nR0= +github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.32.0 h1:rIkQfkCOVKc1OiRCNcSDD8ml5RJlZbH/Xsq7lbpynwc= +github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.32.0/go.mod h1:RD2SsorTmYhF6HkTmDw7KmPYQk8OBYwTkuasChwv7R4= +github.com/andybalholm/brotli v1.2.0 h1:ukwgCxwYrmACq68yiUqwIWnGY0cTPox/M94sVwToPjQ= +github.com/andybalholm/brotli v1.2.0/go.mod h1:rzTDkvFWvIrjDXZHkuS16NPggd91W3kUSvPlQ1pLaKY= +github.com/apache/arrow-go/v18 v18.5.1 h1:yaQ6zxMGgf9YCYw4/oaeOU3AULySDlAYDOcnr4LdHdI= +github.com/apache/arrow-go/v18 v18.5.1/go.mod h1:OCCJsmdq8AsRm8FkBSSmYTwL/s4zHW9CqxeBxEytkNE= +github.com/apache/thrift v0.22.0 h1:r7mTJdj51TMDe6RtcmNdQxgn9XcyfGDOzegMDRg47uc= +github.com/apache/thrift v0.22.0/go.mod h1:1e7J/O1Ae6ZQMTYdy9xa3w9k+XHWPfRvdPyJeynQ+/g= +github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= +github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs= +github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= +github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= +github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= +github.com/cncf/xds/go v0.0.0-20260202195803-dba9d589def2 h1:aBangftG7EVZoUb69Os8IaYg++6uMOdKK83QtkkvJik= +github.com/cncf/xds/go v0.0.0-20260202195803-dba9d589def2/go.mod h1:qwXFYgsP6T7XnJtbKlf1HP8AjxZZyzxMmc+Lq5GjlU4= github.com/cockroachdb/apd v1.1.0 h1:3LFP3629v+1aKXU5Q37mxmRxX/pIu1nijXydLShEq5I= github.com/cockroachdb/apd v1.1.0/go.mod h1:8Sl8LxpKi29FqWXR16WEFZRNSz3SoPzUzeMeY4+DwBQ= github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= github.com/coreos/go-systemd v0.0.0-20190719114852-fd7a80b32e1f/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/duckdb/duckdb-go-bindings v0.10505.0 h1:/0pPsTLrcCsTGxT0VrHgJWnOcPe1tQL1vrki1v3jbAI= +github.com/duckdb/duckdb-go-bindings v0.10505.0/go.mod h1:HoD5xePkDj3VZbBnVVfxVVYIljZ9khCprWA7FgwIiC4= +github.com/duckdb/duckdb-go-bindings/lib/darwin-amd64 v0.10505.0 h1:FrMqquFBQlMsi34h2KZgCku54rqA8xEbXZ0NLVDKwYs= +github.com/duckdb/duckdb-go-bindings/lib/darwin-amd64 v0.10505.0/go.mod h1:EnAvZh1kNJHp5yF+M1ZHNEvapnmt6anq1xXHVrAGqMo= +github.com/duckdb/duckdb-go-bindings/lib/darwin-arm64 v0.10505.0 h1:lbRbpQwT1MmUhh/VTwukV9K8bxKByV3UghAP3MvsbBo= +github.com/duckdb/duckdb-go-bindings/lib/darwin-arm64 v0.10505.0/go.mod h1:IGLSeEcFhNeZF16aVjQCULD7TsFZKG5G7SyKJAXKp5c= +github.com/duckdb/duckdb-go-bindings/lib/linux-amd64 v0.10505.0 h1:nrsaVYj3XYCRbS2FpdOMD/KHE7egRMr+/NR1IHmjT84= +github.com/duckdb/duckdb-go-bindings/lib/linux-amd64 v0.10505.0/go.mod h1:KAIynZ0GHCS7X5fRyuFnQMg/SZBPK/bS9OCOVojClxw= +github.com/duckdb/duckdb-go-bindings/lib/linux-arm64 v0.10505.0 h1:qM6oGDgwXBILJGbTY4fCy6QOczLpucUA6yn6g3ORjh4= +github.com/duckdb/duckdb-go-bindings/lib/linux-arm64 v0.10505.0/go.mod h1:81SGOYoEUs8qaAfSk1wRfM5oobrIJ5KI7AzYhK6/bvQ= +github.com/duckdb/duckdb-go-bindings/lib/windows-amd64 v0.10505.0 h1:DjqZl9rYreHkSOqnqLmkrqH5T8UdQNcxZLJVZzGmXXA= +github.com/duckdb/duckdb-go-bindings/lib/windows-amd64 v0.10505.0/go.mod h1:K25pJL26ARblGDeuAkrdblFvUen92+CwksLtPEHRqqQ= +github.com/duckdb/duckdb-go/v2 v2.10505.0 h1:SWwvLn2Qx/RQSnQNupwgIF8VbnJ5A6OQU9lYb/mDETI= +github.com/duckdb/duckdb-go/v2 v2.10505.0/go.mod h1:m0PW4J4FG9hlFlVdXi6Ds9owpyIDaBdE2jyce00fGcE= +github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= +github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= +github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= +github.com/envoyproxy/go-control-plane v0.14.0 h1:hbG2kr4RuFj222B6+7T83thSPqLjwBIfQawTkC++2HA= +github.com/envoyproxy/go-control-plane v0.14.0/go.mod h1:NcS5X47pLl/hfqxU70yPwL9ZMkUlwlKxtAohpi2wBEU= +github.com/envoyproxy/go-control-plane/envoy v1.37.0 h1:u3riX6BoYRfF4Dr7dwSOroNfdSbEPe9Yyl09/B6wBrQ= +github.com/envoyproxy/go-control-plane/envoy v1.37.0/go.mod h1:DReE9MMrmecPy+YvQOAOHNYMALuowAnbjjEMkkWOi6A= +github.com/envoyproxy/go-control-plane/ratelimit v0.1.0 h1:/G9QYbddjL25KvtKTv3an9lx6VBE2cnb8wp1vEGNYGI= +github.com/envoyproxy/go-control-plane/ratelimit v0.1.0/go.mod h1:Wk+tMFAFbCXaJPzVVHnPgRKdUdwW/KdbRt94AzgRee4= +github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= +github.com/envoyproxy/protoc-gen-validate v1.3.3 h1:MVQghNeW+LZcmXe7SY1V36Z+WFMDjpqGAGacLe2T0ds= +github.com/envoyproxy/protoc-gen-validate v1.3.3/go.mod h1:TsndJ/ngyIdQRhMcVVGDDHINPLWB7C82oDArY51KfB0= +github.com/felixge/httpsnoop v1.0.4 h1:NFTV2Zj1bL4mc9sqWACXbQFVBBg2W3GPvqp8/ESS2Wg= +github.com/felixge/httpsnoop v1.0.4/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= github.com/friendsofgo/errors v0.9.2 h1:X6NYxef4efCBdwI7BgS820zFaN7Cphrmb+Pljdzjtgk= github.com/friendsofgo/errors v0.9.2/go.mod h1:yCvFW5AkDIL9qn7suHVLiI/gH228n7PC4Pn44IGoTOI= +github.com/go-jose/go-jose/v4 v4.1.4 h1:moDMcTHmvE6Groj34emNPLs/qtYXRVcd6S7NHbHz3kA= +github.com/go-jose/go-jose/v4 v4.1.4/go.mod h1:x4oUasVrzR7071A4TnHLGSPpNOm2a21K9Kf04k1rs08= +github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= +github.com/go-logr/logr v1.4.3 h1:CjnDlHq8ikf6E492q6eKboGOC0T8CDaOvkHCIg8idEI= +github.com/go-logr/logr v1.4.3/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= +github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= +github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= +github.com/go-pg/pg/v10 v10.11.0 h1:CMKJqLgTrfpE/aOVeLdybezR2om071Vh38OLZjsyMI0= +github.com/go-pg/pg/v10 v10.11.0/go.mod h1:4BpHRoxE61y4Onpof3x1a2SQvi9c+q1dJnrNdMjsroA= +github.com/go-pg/zerochecker v0.2.0 h1:pp7f72c3DobMWOb2ErtZsnrPaSvHd2W4o9//8HtF4mU= +github.com/go-pg/zerochecker v0.2.0/go.mod h1:NJZ4wKL0NmTtz0GKCoJ8kym6Xn/EQzXRl2OnAe7MmDo= github.com/go-sql-driver/mysql v1.7.0 h1:ueSltNNllEqE3qcWBTD0iQd3IpL/6U+mJxLkazJ7YPc= github.com/go-sql-driver/mysql v1.7.0/go.mod h1:OXbVy3sEdcQ2Doequ6Z5BW6fXNQTmx+9S1MCJN5yJMI= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= +github.com/go-viper/mapstructure/v2 v2.5.0 h1:vM5IJoUAy3d7zRSVtIwQgBj7BiWtMPfmPEgAXnvj1Ro= +github.com/go-viper/mapstructure/v2 v2.5.0/go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM= +github.com/goccy/go-json v0.10.5 h1:Fq85nIqj+gXn/S5ahsiTlK3TmC85qgirsdTP/+DeaC4= +github.com/goccy/go-json v0.10.5/go.mod h1:oq7eo15ShAhp70Anwd5lgX2pLfOS3QCiwU/PULtXL6M= github.com/gofrs/uuid v3.2.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= github.com/gofrs/uuid v4.0.0+incompatible h1:1SD/1F5pU8p29ybwgQSwpQk+mwdRrXCYuPhW6m+TnJw= github.com/gofrs/uuid v4.0.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= +github.com/golang-jwt/jwt/v5 v5.3.1 h1:kYf81DTWFe7t+1VvL7eS+jKFVWaUnK9cB1qbwn63YCY= +github.com/golang-jwt/jwt/v5 v5.3.1/go.mod h1:fxCRLWMO43lRc8nhHWY6LGqRcf+1gQWArsqaEUEa5bE= +github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9 h1:au07oEsX2xN0ktxqI+Sida1w446QrXBRJ0nee3SNZlA= +github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9/go.mod h1:8vg3r2VgvsThLBIFL93Qb5yWzgyZWhEmBwUJWevAkK0= +github.com/golang-sql/sqlexp v0.1.0 h1:ZCD6MBpcuOVfGVqsEmY5/4FtYiKz6tSyUv9LPEDei6A= +github.com/golang-sql/sqlexp v0.1.0/go.mod h1:J4ad9Vo8ZCWQ2GMrC4UCQy1JpCbwU9m3EOqtpKwwwHI= +github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q= +github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da h1:oI5xCqsCo564l8iNU+DwB5epxmsaqB+rhGL0m5jtYqE= +github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= +github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A= +github.com/golang/mock v1.7.0-rc.1 h1:YojYx61/OLFsiv6Rw1Z96LpldJIy31o+UHmwAUMJ6/U= +github.com/golang/mock v1.7.0-rc.1/go.mod h1:s42URUywIqd+OcERslBJvOjepvNymP31m3q8d/GkuRs= +github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= +github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= +github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= +github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= +github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= +github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= +github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI= +github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek= +github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps= +github.com/golang/snappy v1.0.0 h1:Oy607GVXHs7RtbggtPBnr2RmDArIsAefDwvrdWvRhGs= +github.com/golang/snappy v1.0.0/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= +github.com/google/flatbuffers v25.12.19+incompatible h1:haMV2JRRJCe1998HeW/p0X9UaMTK6SDo0ffLn2+DbLs= +github.com/google/flatbuffers v25.12.19+incompatible/go.mod h1:1AeVuKshWv4vARoZatz6mlQ0JxURH0Kv5+zNeJKJCa8= +github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= +github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= +github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= +github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8= +github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= -github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= -github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/google/s2a-go v0.1.9 h1:LGD7gtMgezd8a/Xak7mEWL0PjoTQFvpRudN895yqKW0= +github.com/google/s2a-go v0.1.9/go.mod h1:YA0Ei2ZQL3acow2O62kdp9UlnvMmU7kA6Eutn0dXayM= +github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= +github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/googleapis/enterprise-certificate-proxy v0.3.17 h1:73NfMHdiqo9JFU9+7a5ExpVa10/R29pXfZIaW559nrg= +github.com/googleapis/enterprise-certificate-proxy v0.3.17/go.mod h1:rSEsBUemEBZEexP2y6jPp16LUmUbjmSbcPMQizR0o4k= +github.com/googleapis/gax-go/v2 v2.23.0 h1:Tchl7qkvE7Ip3y+ztvNufYFvkfqTe7NfLTYGIdJRLuE= +github.com/googleapis/gax-go/v2 v2.23.0/go.mod h1:rBQKOVJCdb8IFEzg+FCwlt1LP/xMDGuqUXhUG+XMXEg= github.com/hexon/mysqltsv v0.1.0 h1:48wYQlsPH8ZEkKAVCdsOYzMYAlEoevw8ZWD8rqYPdlg= github.com/hexon/mysqltsv v0.1.0/go.mod h1:p3vPBkpxebjHWF1bWKYNcXx5pFu+yAG89QZQEKSvVrY= github.com/jackc/chunkreader v1.0.0/go.mod h1:RT6O25fNZIuasFJRyZ4R/Y2BbhasbmZXF9QQ7T3kePo= @@ -45,10 +178,6 @@ github.com/jackc/pgproto3/v2 v2.0.0-rc3.0.20190831210041-4c03ce451f29/go.mod h1: github.com/jackc/pgproto3/v2 v2.0.1 h1:Rdjp4NFjwHnEslx2b66FfCI2S0LhO4itac3hXz6WX9M= github.com/jackc/pgproto3/v2 v2.0.1/go.mod h1:WfJCnwN3HIg9Ish/j3sgWXnAfK8A9Y0bwXYU5xKaEdA= github.com/jackc/pgservicefile v0.0.0-20200307190119-3430c5407db8/go.mod h1:vsD4gTJCa9TptPL8sPkXrLZ+hDuNrZCnj29CQpr4X1E= -github.com/jackc/pgservicefile v0.0.0-20200714003250-2b9c44734f2b h1:C8S2+VttkHFdOOCXJe+YGfa4vHYwlt4Zx+IVXQ97jYg= -github.com/jackc/pgservicefile v0.0.0-20200714003250-2b9c44734f2b/go.mod h1:vsD4gTJCa9TptPL8sPkXrLZ+hDuNrZCnj29CQpr4X1E= -github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a h1:bbPeKD0xmW/Y25WS6cokEszi5g+S0QxI/d45PkRi7Nk= -github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a/go.mod h1:5TJZWKEWniPve33vlWYSoGYefn3gLQRzjfDlhSJ9ZKM= github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 h1:iCEnooe7UlwOQYpKFhBabPMi4aNAfoODPEFNiAnClxo= github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761/go.mod h1:5TJZWKEWniPve33vlWYSoGYefn3gLQRzjfDlhSJ9ZKM= github.com/jackc/pgtype v0.0.0-20190421001408-4ed0de4755e0/go.mod h1:hdSHsc1V01CGwFsrv11mJRHWJ6aifDLfdV3aVjFF0zg= @@ -66,31 +195,32 @@ github.com/jackc/pgx/v4 v4.5.0/go.mod h1:EpAKPLdnTorwmPUUsqrPxy5fphV18j9q3wrfRXg github.com/jackc/pgx/v4 v4.6.1-0.20200510190926-94ba730bb1e9/go.mod h1:t3/cdRQl6fOLDxqtlyhe9UWgfIi9R8+8v8GKV5TRA/o= github.com/jackc/pgx/v4 v4.6.1-0.20200606145419-4e5062306904 h1:SdGWuGg+Cpxq6Z+ArXt0nafaKeTvtKGEoW+yvycspUU= github.com/jackc/pgx/v4 v4.6.1-0.20200606145419-4e5062306904/go.mod h1:ZDaNWkt9sW1JMiNn0kdYBaLelIhw7Pg4qd+Vk6tw7Hg= -github.com/jackc/pgx/v5 v5.0.1 h1:JZu9othr7l8so2JMDAGeDUMXqERAuZpovyfl4H50tdg= -github.com/jackc/pgx/v5 v5.0.1/go.mod h1:JBbvW3Hdw77jKl9uJrEDATUZIFM2VFPzRq4RWIhkF4o= -github.com/jackc/pgx/v5 v5.3.1 h1:Fcr8QJ1ZeLi5zsPZqQeUZhNhxfkkKBOgJuYkJHoBOtU= -github.com/jackc/pgx/v5 v5.3.1/go.mod h1:t3JDKnCBlYIc0ewLF0Q7B8MXmoIaBOZj/ic7iHozM/8= -github.com/jackc/pgx/v5 v5.4.3 h1:cxFyXhxlvAifxnkKKdlxv8XqUf59tDlYjnV5YYfsJJY= -github.com/jackc/pgx/v5 v5.4.3/go.mod h1:Ig06C2Vu0t5qXC60W8sqIthScaEnFvojjj9dSljmHRA= -github.com/jackc/pgx/v5 v5.5.0 h1:NxstgwndsTRy7eq9/kqYc/BZh5w2hHJV86wjvO+1xPw= -github.com/jackc/pgx/v5 v5.5.0/go.mod h1:Ig06C2Vu0t5qXC60W8sqIthScaEnFvojjj9dSljmHRA= -github.com/jackc/pgx/v5 v5.6.0 h1:SWJzexBzPL5jb0GEsrPMLIsi/3jOo7RHlzTjcAeDrPY= -github.com/jackc/pgx/v5 v5.6.0/go.mod h1:DNZ/vlrUnhWCoFGxHAG8U2ljioxukquj7utPDgtQdTw= -github.com/jackc/pgx/v5 v5.7.0 h1:FG6VLIdzvAPhnYqP14sQ2xhFLkiUQHCs6ySqO91kF4g= -github.com/jackc/pgx/v5 v5.7.0/go.mod h1:awP1KNnjylvpxHuHP63gzjhnGkI1iw+PMoIwvoleN/8= github.com/jackc/pgx/v5 v5.8.0 h1:TYPDoleBBme0xGSAX3/+NujXXtpZn9HBONkQC7IEZSo= github.com/jackc/pgx/v5 v5.8.0/go.mod h1:QVeDInX2m9VyzvNeiCJVjCkNFqzsNb43204HshNSZKw= github.com/jackc/puddle v0.0.0-20190413234325-e4ced69a3a2b/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= github.com/jackc/puddle v0.0.0-20190608224051-11cab39313c9/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= github.com/jackc/puddle v1.1.0/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= +github.com/jackc/puddle v1.1.1 h1:PJAw7H/9hoWC4Kf3J8iNmL1SwA6E8vfsLqBiL+F6CtI= github.com/jackc/puddle v1.1.1/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= +github.com/jackc/puddle/v2 v2.2.2 h1:PR8nw+E/1w0GLuRFSmiioY6UooMp6KJv0/61nB7icHo= +github.com/jackc/puddle/v2 v2.2.2/go.mod h1:vriiEXHvEE654aYKXXjOvZM39qJ0q+azkZFrfEOc3H4= +github.com/jinzhu/inflection v1.0.0 h1:K317FqzuhWc8YvSVlFMCCUb36O/S9MCKRDI7QkRKD/E= +github.com/jinzhu/inflection v1.0.0/go.mod h1:h+uFLlag+Qp1Va5pdKtLDYj+kHp5pxUVkryuEj+Srlc= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= +github.com/klauspost/asmfmt v1.3.2 h1:4Ri7ox3EwapiOjCki+hw14RyKk201CN4rzyCJRFLpK4= +github.com/klauspost/asmfmt v1.3.2/go.mod h1:AG8TuvYojzulgDAMCnYn50l/5QV3Bs/tp6j0HLHbNSE= +github.com/klauspost/compress v1.18.3 h1:9PJRvfbmTabkOX8moIpXPbMMbYN60bWImDDU7L+/6zw= +github.com/klauspost/compress v1.18.3/go.mod h1:R0h/fSBs8DE4ENlcrlib3PsXS61voFxhIs2DeRhCvJ4= +github.com/klauspost/cpuid/v2 v2.3.0 h1:S4CRMLnYUhGeDFDqkGriYKdfoFlDnMtqTiI/sFzhA9Y= +github.com/klauspost/cpuid/v2 v2.3.0/go.mod h1:hqwkgyIinND0mEev00jJYCxPNVRVXFQeu1XKlok6oO0= github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/konsorten/go-windows-terminal-sequences v1.0.2/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ= github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo= github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ= github.com/kr/pty v1.1.8/go.mod h1:O1sed60cT9XZ5uDucP5qwvh+TE3NnUj51EiZO/lmSfw= github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI= +github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc= +github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw= github.com/lib/pq v1.0.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= github.com/lib/pq v1.1.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= github.com/lib/pq v1.2.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= @@ -105,22 +235,37 @@ github.com/mattn/go-isatty v0.0.7/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hd github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= github.com/mattn/go-isatty v0.0.9/go.mod h1:YNRxwqDuOph6SZLI9vUUz6OYw3QyUt7WiY2yME+cCiQ= github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= +github.com/microsoft/go-mssqldb v1.11.0 h1:YbDqolEjGH9hBfvKzONTf5/dbl9RKXmizMJE93lVxNs= +github.com/microsoft/go-mssqldb v1.11.0/go.mod h1:goQLDOPlMN/l1REhnNPElMoY/yX+fUWn1+7UoFJPH9Y= +github.com/minio/asm2plan9s v0.0.0-20200509001527-cdd76441f9d8 h1:AMFGa4R4MiIpspGNG7Z948v4n35fFGB3RR3G/ry4FWs= +github.com/minio/asm2plan9s v0.0.0-20200509001527-cdd76441f9d8/go.mod h1:mC1jAcsrzbxHt8iiaC+zU4b1ylILSosueou12R++wfY= +github.com/minio/c2goasm v0.0.0-20190812172519-36a3d3bbc4f3 h1:+n/aFZefKZp7spd8DFdX7uMikMLXX4oubIzJF4kv/wI= +github.com/minio/c2goasm v0.0.0-20190812172519-36a3d3bbc4f3/go.mod h1:RagcQ7I8IeTMnF8JTXieKnO4Z6JCsikNEzj0DwauVzE= github.com/pgvector/pgvector-go v0.1.1 h1:kqJigGctFnlWvskUiYIvJRNwUtQl/aMSUZVs0YWQe+g= github.com/pgvector/pgvector-go v0.1.1/go.mod h1:wLJgD/ODkdtd2LJK4l6evHXTuG+8PxymYAVomKHOWac= +github.com/pierrec/lz4/v4 v4.1.25 h1:kocOqRffaIbU5djlIBr7Wh+cx82C0vtFb0fOurZHqD0= +github.com/pierrec/lz4/v4 v4.1.25/go.mod h1:EoQMVJgeeEOMsCqCzqFm2O0cJvljX2nGZjcRIPL34O4= +github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c h1:+mdjkGKdHQG3305AYmdv1U2eRNDiU2ErMBj1gwrq8eQ= +github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c/go.mod h1:7rwL4CYBLnjLxUqIJNnCWiEdr3bn6IUYi15bNlnbCCU= github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= +github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 h1:GFCKgmp0tecUJ0sJuv4pzYCqS9+RGSn52M3FUwPs+uo= +github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10/go.mod h1:t/avpk3KcrXxUnYOhZhMXJlSEyie6gQbtLq5NM3loB8= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= +github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rs/xid v1.2.1/go.mod h1:+uKXf+4Djp6Md1KODXJxgGQPKngRmWyn10oCKFzNHOQ= github.com/rs/zerolog v1.13.0/go.mod h1:YbFCdg8HfsridGWAh22vktObvhZbQsZXe4/zB0OKkWU= github.com/rs/zerolog v1.15.0/go.mod h1:xYTKnLHcpfU2225ny5qZjxnj9NvkumZYjJHlAThCjNc= github.com/satori/go.uuid v1.2.0/go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0= github.com/shopspring/decimal v0.0.0-20180709203117-cd690d0c9e24/go.mod h1:M+9NzErvs504Cn4c5DxATwIqPbtswREoFCre64PpcG4= -github.com/shopspring/decimal v0.0.0-20200227202807-02e2044944cc h1:jUIKcSPO9MoMJBbEoyE/RJoE8vz7Mb8AjvifMMwSyvY= github.com/shopspring/decimal v0.0.0-20200227202807-02e2044944cc/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= +github.com/shopspring/decimal v1.4.0 h1:bxl37RwXBklmTi0C79JfXCEBD1cqqHt0bbgBAGFp81k= +github.com/shopspring/decimal v1.4.0/go.mod h1:gawqmDU56v4yIKSwfBSFip1HdCCXN8/+DMd9qYNcwME= github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q= github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= +github.com/spiffe/go-spiffe/v2 v2.6.0 h1:l+DolpxNWYgruGQVV0xsfeya3CsC7m8iBzDnMpsbLuo= +github.com/spiffe/go-spiffe/v2 v2.6.0/go.mod h1:gm2SeUoMZEtpnzPNs2Csc0D/gX33k1xIx7lEzqblHEs= github.com/sqlc-dev/pqtype v0.2.0 h1:zfzDpAxjCU0/GO7EgZ7ELUh0w28SrMSHzO3rH5Wd3is= github.com/sqlc-dev/pqtype v0.2.0/go.mod h1:oyUjp5981ctiL9UYvj1bVvCKi8OXkCa0u645hce7CAs= github.com/sqlc-dev/sqlc-testdata v1.0.0 h1:NrfFkZ3xh2XHqDNqYE6Q87hhXd1n6GQr3XE0V+CveSQ= @@ -128,12 +273,34 @@ github.com/sqlc-dev/sqlc-testdata v1.0.0/go.mod h1:Ima4gy0tylq+cNW1VSV36/NoAHMbZ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE= +github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= +github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= -github.com/stretchr/testify v1.8.0 h1:pSgiaMZlXftHpm5L7V1+rVB+AZJydKsMxsQBIJw4PKk= +github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= +github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU= +github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= +github.com/stretchr/testify v1.12.1 h1:EuwCh5fleGS7H32xRwO3wRGT7DxrDhLAT6FF8MpWDWE= +github.com/stretchr/testify v1.12.1/go.mod h1:MDEgiDPPsNp5cuIrHPPCyornHKgEVbtFUmoNlxoYthg= +github.com/tmthrgd/go-hex v0.0.0-20190904060850-447a3041c3bc h1:9lRDQMhESg+zvGYmW5DyG0UqvY96Bu5QYsTLvCHdrgo= +github.com/tmthrgd/go-hex v0.0.0-20190904060850-447a3041c3bc/go.mod h1:bciPuU6GHm1iF1pBvUfxfsH0Wmnc2VbpgvbI9ZWuIRs= +github.com/uptrace/bun v1.1.12 h1:sOjDVHxNTuM6dNGaba0wUuz7KvDE1BmNu9Gqs2gJSXQ= +github.com/uptrace/bun v1.1.12/go.mod h1:NPG6JGULBeQ9IU6yHp7YGELRa5Agmd7ATZdz4tGZ6z0= +github.com/uptrace/bun/dialect/pgdialect v1.1.12 h1:m/CM1UfOkoBTglGO5CUTKnIKKOApOYxkcP2qn0F9tJk= +github.com/uptrace/bun/dialect/pgdialect v1.1.12/go.mod h1:Ij6WIxQILxLlL2frUBxUBOZJtLElD2QQNDcu/PWDHTc= +github.com/uptrace/bun/driver/pgdriver v1.1.12 h1:3rRWB1GK0psTJrHwxzNfEij2MLibggiLdTqjTtfHc1w= +github.com/uptrace/bun/driver/pgdriver v1.1.12/go.mod h1:ssYUP+qwSEgeDDS1xm2XBip9el1y9Mi5mTAvLoiADLM= +github.com/vmihailenco/bufpool v0.1.11 h1:gOq2WmBrq0i2yW5QJ16ykccQ4wH9UyEsgLm6czKAd94= +github.com/vmihailenco/bufpool v0.1.11/go.mod h1:AFf/MOy3l2CFTKbxwt0mp2MwnqjNEs5H/UxrkA5jxTQ= +github.com/vmihailenco/msgpack/v5 v5.3.5 h1:5gO0H1iULLWGhs2H5tbAHIZTV8/cYafcFOr9znI5mJU= +github.com/vmihailenco/msgpack/v5 v5.3.5/go.mod h1:7xyJ9e+0+9SaZT0Wt1RGleJXzli6Q/V5KbhBonMG9jc= +github.com/vmihailenco/tagparser v0.1.2 h1:gnjoVuB/kljJ5wICEEOpx98oXMWPLj22G67Vbd1qPqc= +github.com/vmihailenco/tagparser v0.1.2/go.mod h1:OeAg3pn3UbLjkWt+rN9oFYB6u/cQgqMEUPoW2WPyhdI= +github.com/vmihailenco/tagparser/v2 v2.0.0 h1:y09buUbR+b5aycVFQs/g70pqKVZNBmxwAhO7/IwNM9g= +github.com/vmihailenco/tagparser/v2 v2.0.0/go.mod h1:Wri+At7QHww0WTrCBeu4J6bNtoV6mEfg5OIWRZA9qds= github.com/volatiletech/inflect v0.0.1 h1:2a6FcMQyhmPZcLa+uet3VJ8gLn/9svWhJxJYwvE8KsU= github.com/volatiletech/inflect v0.0.1/go.mod h1:IBti31tG6phkHitLlr5j7shC5SOo//x0AjDzaJU1PLA= github.com/volatiletech/null/v8 v8.1.2 h1:kiTiX1PpwvuugKwfvUNX/SU/5A2KGZMXfGD0DUHdKEI= @@ -142,7 +309,33 @@ github.com/volatiletech/randomize v0.0.1 h1:eE5yajattWqTB2/eN8df4dw+8jwAzBtbdo5s github.com/volatiletech/randomize v0.0.1/go.mod h1:GN3U0QYqfZ9FOJ67bzax1cqZ5q2xuj2mXrXBjWaRTlY= github.com/volatiletech/strmangle v0.0.1 h1:UKQoHmY6be/R3tSvD2nQYrH41k43OJkidwEiC74KIzk= github.com/volatiletech/strmangle v0.0.1/go.mod h1:F6RA6IkB5vq0yTG4GQ0UsbbRcl3ni9P76i+JrTBKFFg= +github.com/zeebo/assert v1.3.0 h1:g7C04CbJuIDKNPFHmsk4hwZDO5O+kntRxzaUoNXj+IQ= +github.com/zeebo/assert v1.3.0/go.mod h1:Pq9JiuJQpG8JLJdtkwrJESF0Foym2/D9XMU5ciN/wJ0= +github.com/zeebo/xxh3 v1.1.0 h1:s7DLGDK45Dyfg7++yxI0khrfwq9661w9EN78eP/UZVs= +github.com/zeebo/xxh3 v1.1.0/go.mod h1:IisAie1LELR4xhVinxWS5+zf1lA4p0MW4T+w+W07F5s= github.com/zenazn/goji v0.9.0/go.mod h1:7S9M489iMyHBNxwZnk9/EHS098H4/F6TATF2mIxtB1Q= +go.opencensus.io v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0= +go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo= +go.opentelemetry.io/auto/sdk v1.2.1 h1:jXsnJ4Lmnqd11kwkBV2LgLoFMZKizbCi5fNZ/ipaZ64= +go.opentelemetry.io/auto/sdk v1.2.1/go.mod h1:KRTj+aOaElaLi+wW1kO/DZRXwkF4C5xPbEe3ZiIhN7Y= +go.opentelemetry.io/contrib/detectors/gcp v1.43.0 h1:62yY3dT7/ShwOxzA0RsKRgshBmfElKI4d/Myu2OxDFU= +go.opentelemetry.io/contrib/detectors/gcp v1.43.0/go.mod h1:RyaZMFY7yi1kAs45S6mbFGz8O8rqB0dTY14uzvG4LCs= +go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.67.0 h1:yI1/OhfEPy7J9eoa6Sj051C7n5dvpj0QX8g4sRchg04= +go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.67.0/go.mod h1:NoUCKYWK+3ecatC4HjkRktREheMeEtrXoQxrqYFeHSc= +go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.67.0 h1:OyrsyzuttWTSur2qN/Lm0m2a8yqyIjUVBZcxFPuXq2o= +go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.67.0/go.mod h1:C2NGBr+kAB4bk3xtMXfZ94gqFDtg/GkI7e9zqGh5Beg= +go.opentelemetry.io/otel v1.44.0 h1:JjwHmHpA4iZ3wBxluu2fbbE7j4kqlE8jXyAyPXH7HqU= +go.opentelemetry.io/otel v1.44.0/go.mod h1:BMgjTHL9WPRlRjL2oZCBTL4whCGtXch2H4BhOPIAyYc= +go.opentelemetry.io/otel/metric v1.44.0 h1:1w0gILTcHdr3YI+ixLyjemwrVnsMURbTZFrSYCdDdmc= +go.opentelemetry.io/otel/metric v1.44.0/go.mod h1:8O7hanEPBNgEMmybD3s2VBKcgWOCsA6tzHBPODAiquo= +go.opentelemetry.io/otel/metric/x v0.66.0 h1:YkCrx1zLOChi9ZcZ6euupOcsgzbVlec7D/xoEU1+cTA= +go.opentelemetry.io/otel/metric/x v0.66.0/go.mod h1:d1+BDj9t96do0/1LoU1ayfCv79ZgNE41qbhBvnMOBZk= +go.opentelemetry.io/otel/sdk v1.44.0 h1:nHYwb9lK+fJPU/dnT6s7W7Z8itMWyqrnVfbheVYrZ58= +go.opentelemetry.io/otel/sdk v1.44.0/go.mod h1:Osuydd3Se74nqjAKxid74N5eC+jfEqfTegHRnq58oK0= +go.opentelemetry.io/otel/sdk/metric v1.44.0 h1:3LlKgI+VjbVsjNRFZJZAJ30WjXC5VkNRks6si09iEfI= +go.opentelemetry.io/otel/sdk/metric v1.44.0/go.mod h1:5B5pMARnXxKhltooO4xUuCBorl65a4EpnTalObqOigA= +go.opentelemetry.io/otel/trace v1.44.0 h1:jxF5CsGYCe74MCRx2X4g7WsY/VBKRqqpNvXlX/6gtIk= +go.opentelemetry.io/otel/trace v1.44.0/go.mod h1:oLl1jrMQAVo6v3GAggN+1VH9VIz9iUSvW53sW1Q8PIE= go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= go.uber.org/atomic v1.6.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= @@ -151,26 +344,46 @@ go.uber.org/multierr v1.5.0/go.mod h1:FeouvMocqHpRaaGuG9EjoKcStLC43Zu/fmqdUMPcKY go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee/go.mod h1:vJERXedbb3MVM5f9Ejo0C68/HhF8uaILCdgjnY+goOA= go.uber.org/zap v1.9.1/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= +go.yaml.in/yaml/v3 v3.0.5 h1:N6y/pJk8buWs9NY5ERU2HSMfm+IuD/OtfdAnq6kESPw= +go.yaml.in/yaml/v3 v3.0.5/go.mod h1:HVTZu1O7/Vkt2N+BFy8Zza+lnLsABggaTM2ZpNIGuKg= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190411191339-88737f569e3a/go.mod h1:WFFai1msRO1wXaEeE5yQxYXgSfI8pQAWXbQop6sCtWE= golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190820162420-60c769a6c586/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190911031432-227b76d455e7/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20200323165209-0ec3e9974c59/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.0.0-20220829220503-c86fa9a7ed90 h1:Y/gsMcFOcR+6S6f3YeMKl5g+dZMEWqcz5Czj/GWYbkM= -golang.org/x/crypto v0.0.0-20220829220503-c86fa9a7ed90/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= -golang.org/x/crypto v0.6.0/go.mod h1:OFC/31mSvZgRz0V1QTNCzfAI1aIRzbiufJtkMIlEp58= -golang.org/x/crypto v0.9.0 h1:LF6fAI+IutBocDJ2OT0Q1g8plpYljMZ4+lty+dsqw3g= -golang.org/x/crypto v0.9.0/go.mod h1:yrmDGqONDYtNj3tH8X9dzUun2m2lzPa9ngI6/RUPGR0= -golang.org/x/crypto v0.17.0 h1:r8bRNjWL3GshPW3gkd+RpvzWrZAwPS49OmTGZ/uhM4k= -golang.org/x/crypto v0.17.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4= +golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.55.0 h1:+KWHjbgOaAQ66dh/YlkZKHlz9ZUlq61AFirAR9ntP8M= +golang.org/x/crypto v0.55.0/go.mod h1:uq0V9dE/fzQuJtbnL+2EhWOE63vo164FY8xqEnV9xis= +golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= +golang.org/x/exp v0.0.0-20260112195511-716be5621a96 h1:Z/6YuSHTLOHfNFdb8zVZomZr7cqNgTJvA8+Qz75D8gU= +golang.org/x/exp v0.0.0-20260112195511-716be5621a96/go.mod h1:nzimsREAkjBCIEFtHiYkrJyT+2uy9YZJB7H1k68CXZU= +golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= +golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= +golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= +golang.org/x/mod v0.38.0 h1:MECBjubtXD7yj4HrhIUcywNaGeNVUdfVnxmPajOk4yk= +golang.org/x/mod v0.38.0/go.mod h1:V6Xz0pq8TQ3dGqVQ1FVHuelZpAL0uNhSkk9ogYP3c40= +golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= +golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190813141303-74dc4d7220e7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= +golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= +golang.org/x/net v0.57.0 h1:K5+3DljvIuDG9/Jv9rvyMywYNFCQ9RSUY6OOTTkT+tE= +golang.org/x/net v0.57.0/go.mod h1:KpXc8iv+r3XplLAG/f7Jsf9RPszJzdR0f58q9vGOuEU= +golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= +golang.org/x/oauth2 v0.36.0 h1:peZ/1z27fi9hUOFCAZaHyrpWG5lwe0RJEEEeH0ThlIs= +golang.org/x/oauth2 v0.36.0/go.mod h1:YDBUJMTkDnJS+A4BP4eZBjCqtokkg1hODuPjwiGPO7Q= +golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.22.0 h1:SZjpbeLmrCk4xhRSZFNZW5gFUeCeFgjekvI/+gfScek= +golang.org/x/sync v0.22.0/go.mod h1:9xrNwdLfx4jkKbNva9FpL6vEN7evnE43NNNJQ2LF3+0= +golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190222072716-a9d3bda3a223/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -181,32 +394,69 @@ golang.org/x/sys v0.0.0-20190813064441-fde4db37ae7a/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20190826190057-c7b8b68b1456/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.47.0 h1:o7XGOvZQCADBQQ4Y7VNq2dRWQR7JmOUW8Kxx4ZsNgWs= +golang.org/x/sys v0.47.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw= +golang.org/x/telemetry v0.0.0-20260708182218-49f421fb7959 h1:RJhm5l6Fo4rmEIcndxDllNhhf/fAx8qIm4t6A7vpm2A= +golang.org/x/telemetry v0.0.0-20260708182218-49f421fb7959/go.mod h1:LV7u5Oco+Z/g6XI7PqN+EUUUGGkEcmB1uj2ceI0fOVg= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= -golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk= -golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= -golang.org/x/text v0.7.0 h1:4BRB4x83lYWy72KwLD/qYDuTu7q9PjSagHvijDw7cLo= -golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/text v0.9.0 h1:2sjJmO8cDvYveuX97RDLsxlyUxLl+GHoLxBiRdHllBE= -golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= -golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= -golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= -golang.org/x/text v0.29.0 h1:1neNs90w9YzJ9BocxfsQNHKuAT4pkghyXc4nhZ6sJvk= -golang.org/x/text v0.29.0/go.mod h1:7MhJOA9CD2qZyOKYazxdYMF85OwPdEr9jTtBpO7ydH4= +golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.41.0 h1:vz/seA0lnX87Othu2f/0L24RcgrXD9/YFTSuGjj3rH8= +golang.org/x/text v0.41.0/go.mod h1:jvf1O8ajNzZqhSrQBPbutR/EB83Cc0CFrezNQIwbb5M= +golang.org/x/time v0.15.0 h1:bbrp8t3bGUeFOx08pvsMYRTCVSMk89u4tKbNOZbp88U= +golang.org/x/time v0.15.0/go.mod h1:Y4YMaQmXwGQZoFaVFk4YpCt4FLQMYKZe9oeV/f4MSno= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= +golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190425163242-31fd60d6bfdc/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc= golang.org/x/tools v0.0.0-20190823170909-c4a336ef6a2f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191029041327-9cc4af7d6b2c/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191029190741-b9c20aec41a5/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.48.0 h1:3+hClM1aLL5mjMKm5ovokw9epgRXPuu2tILgismM6RE= +golang.org/x/tools v0.48.0/go.mod h1:08xX0orndb/F7jJxGDicx061tyd5pcMto75YMAXr6lk= golang.org/x/xerrors v0.0.0-20190410155217-1f06c39b4373/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20190513163551-3ee3066db522/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543 h1:E7g+9GITq07hpfrRu66IVDexMakfv52eLZ2CXBWiKr4= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 h1:go1bK/D/BFZV2I8cIQd1NKEZ+0owSTG1fDTci4IqFcE= -golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da h1:noIWHXmPHxILtqtCOPIhSt0ABwskkZKjD3bXGnZGpNY= +golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da/go.mod h1:NDW/Ps6MPRej6fsCIbMTohpP40sJ/P/vI1MoTEGwX90= +gonum.org/v1/gonum v0.17.0 h1:VbpOemQlsSMrYmn7T2OUvQ4dqxQXU+ouZFQsZOx50z4= +gonum.org/v1/gonum v0.17.0/go.mod h1:El3tOrEuMpv2UdMrbNlKEh9vd86bmQ6vqIcDwxEOc1E= +google.golang.org/api v0.287.1 h1:LiyJx32VU3cwQfLchn/513qKhc25hq0pEANYJoWNnnI= +google.golang.org/api v0.287.1/go.mod h1:lM2kYRzYUCBY91P9h6VF1PYmvhxii3O5hji37qRvIcY= +google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= +google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= +google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= +google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= +google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= +google.golang.org/genproto v0.0.0-20260319201613-d00831a3d3e7 h1:XzmzkmB14QhVhgnawEVsOn6OFsnpyxNPRY9QV01dNB0= +google.golang.org/genproto v0.0.0-20260319201613-d00831a3d3e7/go.mod h1:L43LFes82YgSonw6iTXTxXUX1OlULt4AQtkik4ULL/I= +google.golang.org/genproto/googleapis/api v0.0.0-20260630182238-925bb5da69e7 h1:jQ9p21COKWjP3VwuFrNRiiOTMh3mPpN45R7SLrH/HUU= +google.golang.org/genproto/googleapis/api v0.0.0-20260630182238-925bb5da69e7/go.mod h1:KqHwBx2upmfa1XSi1WuRvC+2VGCLtooKkfmyvRbUmqA= +google.golang.org/genproto/googleapis/rpc v0.0.0-20260630182238-925bb5da69e7 h1:eM/YSd5bBFagF51o1E745Ta7RwzpW0h+z+QDNZOgmQ8= +google.golang.org/genproto/googleapis/rpc v0.0.0-20260630182238-925bb5da69e7/go.mod h1:4Hqkh8ycfw05ld/3BWL7rJOSfebL2Q+DVDeRgYgxUU8= +google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= +google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= +google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= +google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= +google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc= +google.golang.org/grpc v1.82.1 h1:NnAxzGRA0677vCa4BUkOAnO5+FfQqVl9iUXeD0IqcGE= +google.golang.org/grpc v1.82.1/go.mod h1:yzTZ1TB1Z3SG+LIYaI+WiE8D5+PZ3ArnrSp8zF3+/ZA= +google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= +google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= +google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= +google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= +google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= +google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= +google.golang.org/protobuf v1.36.11 h1:fV6ZwhNocDyBLK0dj+fg8ektcVegBBuEolpbTQyBNVE= +google.golang.org/protobuf v1.36.11/go.mod h1:HTf+CrKn2C3g5S8VImy6tdcUvCska2kB7j23XfzDpco= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= @@ -215,5 +465,9 @@ gopkg.in/guregu/null.v4 v4.0.0/go.mod h1:YoQhUrADuG3i9WqesrCmpNRwm1ypAgSHYqoOcTu gopkg.in/inconshreveable/log15.v2 v2.0.0-20180818164646-67afb5ed74ec/go.mod h1:aPpfJ7XW+gOuirDoZ8gHhLh3kZ1B08FtV2bbmy7Jv3s= gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= +gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= +honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= +honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= +mellium.im/sasl v0.3.1 h1:wE0LW6g7U83vhvxjC1IY8DnXM+EU095yeo8XClvCdfo= +mellium.im/sasl v0.3.1/go.mod h1:xm59PUYpZHhgQ9ZqoJ5QaCqzWMi8IeS49dhp6plPCzw= diff --git a/internal/endtoend/testdata/mssql_named_param_case/mssql/exec.json b/internal/endtoend/testdata/mssql_named_param_case/mssql/exec.json new file mode 100644 index 0000000000..f4e21983b6 --- /dev/null +++ b/internal/endtoend/testdata/mssql_named_param_case/mssql/exec.json @@ -0,0 +1 @@ +{"contexts": ["base"]} diff --git a/internal/endtoend/testdata/mssql_named_param_case/mssql/go/db.go b/internal/endtoend/testdata/mssql_named_param_case/mssql/go/db.go new file mode 100644 index 0000000000..32faa9f2b8 --- /dev/null +++ b/internal/endtoend/testdata/mssql_named_param_case/mssql/go/db.go @@ -0,0 +1,31 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 + +package querytest + +import ( + "context" + "database/sql" +) + +type DBTX interface { + ExecContext(context.Context, string, ...any) (sql.Result, error) + PrepareContext(context.Context, string) (*sql.Stmt, error) + QueryContext(context.Context, string, ...any) (*sql.Rows, error) + QueryRowContext(context.Context, string, ...any) *sql.Row +} + +func New(db DBTX) *Queries { + return &Queries{db: db} +} + +type Queries struct { + db DBTX +} + +func (q *Queries) WithTx(tx *sql.Tx) *Queries { + return &Queries{ + db: tx, + } +} diff --git a/internal/endtoend/testdata/mssql_named_param_case/mssql/go/models.go b/internal/endtoend/testdata/mssql_named_param_case/mssql/go/models.go new file mode 100644 index 0000000000..2208139112 --- /dev/null +++ b/internal/endtoend/testdata/mssql_named_param_case/mssql/go/models.go @@ -0,0 +1,15 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 + +package querytest + +import ( + "database/sql" +) + +type Author struct { + ID int64 + Name string + Bio sql.NullString +} diff --git a/internal/endtoend/testdata/mssql_named_param_case/mssql/go/query.sql.go b/internal/endtoend/testdata/mssql_named_param_case/mssql/go/query.sql.go new file mode 100644 index 0000000000..56dfa62d40 --- /dev/null +++ b/internal/endtoend/testdata/mssql_named_param_case/mssql/go/query.sql.go @@ -0,0 +1,38 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 +// source: query.sql + +package querytest + +import ( + "context" + "database/sql" +) + +const byName = `-- name: ByName :many +SELECT id FROM authors WHERE name = @Name OR bio = @name; +` + +func (q *Queries) ByName(ctx context.Context, name string) ([]int64, error) { + rows, err := q.db.QueryContext(ctx, byName, sql.Named("Name", name)) + if err != nil { + return nil, err + } + defer rows.Close() + var items []int64 + for rows.Next() { + var id int64 + if err := rows.Scan(&id); err != nil { + return nil, err + } + items = append(items, id) + } + if err := rows.Close(); err != nil { + return nil, err + } + if err := rows.Err(); err != nil { + return nil, err + } + return items, nil +} diff --git a/internal/endtoend/testdata/mssql_named_param_case/mssql/query.sql b/internal/endtoend/testdata/mssql_named_param_case/mssql/query.sql new file mode 100644 index 0000000000..0a75b76359 --- /dev/null +++ b/internal/endtoend/testdata/mssql_named_param_case/mssql/query.sql @@ -0,0 +1,2 @@ +-- name: ByName :many +SELECT id FROM authors WHERE name = @Name OR bio = @name; diff --git a/internal/endtoend/testdata/mssql_named_param_case/mssql/schema.sql b/internal/endtoend/testdata/mssql_named_param_case/mssql/schema.sql new file mode 100644 index 0000000000..c273b9f8fa --- /dev/null +++ b/internal/endtoend/testdata/mssql_named_param_case/mssql/schema.sql @@ -0,0 +1,5 @@ +CREATE TABLE authors ( + id BIGINT PRIMARY KEY, + name NVARCHAR(50) NOT NULL, + bio NVARCHAR(MAX) +); diff --git a/internal/endtoend/testdata/mssql_named_param_case/mssql/sqlc.yaml b/internal/endtoend/testdata/mssql_named_param_case/mssql/sqlc.yaml new file mode 100644 index 0000000000..94b0dc8896 --- /dev/null +++ b/internal/endtoend/testdata/mssql_named_param_case/mssql/sqlc.yaml @@ -0,0 +1,10 @@ +version: "2" +sql: + - engine: "mssql" + schema: "schema.sql" + queries: "query.sql" + gen: + go: + package: "querytest" + out: "go" + sql_package: "database/sql" diff --git a/internal/endtoend/testdata/mssql_sql_package_pgx/mssql/exec.json b/internal/endtoend/testdata/mssql_sql_package_pgx/mssql/exec.json new file mode 100644 index 0000000000..f4e21983b6 --- /dev/null +++ b/internal/endtoend/testdata/mssql_sql_package_pgx/mssql/exec.json @@ -0,0 +1 @@ +{"contexts": ["base"]} diff --git a/internal/endtoend/testdata/mssql_sql_package_pgx/mssql/query.sql b/internal/endtoend/testdata/mssql_sql_package_pgx/mssql/query.sql new file mode 100644 index 0000000000..57e9506621 --- /dev/null +++ b/internal/endtoend/testdata/mssql_sql_package_pgx/mssql/query.sql @@ -0,0 +1,2 @@ +-- name: GetAuthor :one +SELECT * FROM authors WHERE id = @id; diff --git a/internal/endtoend/testdata/mssql_sql_package_pgx/mssql/schema.sql b/internal/endtoend/testdata/mssql_sql_package_pgx/mssql/schema.sql new file mode 100644 index 0000000000..c273b9f8fa --- /dev/null +++ b/internal/endtoend/testdata/mssql_sql_package_pgx/mssql/schema.sql @@ -0,0 +1,5 @@ +CREATE TABLE authors ( + id BIGINT PRIMARY KEY, + name NVARCHAR(50) NOT NULL, + bio NVARCHAR(MAX) +); diff --git a/internal/endtoend/testdata/mssql_sql_package_pgx/mssql/sqlc.yaml b/internal/endtoend/testdata/mssql_sql_package_pgx/mssql/sqlc.yaml new file mode 100644 index 0000000000..8e918d9122 --- /dev/null +++ b/internal/endtoend/testdata/mssql_sql_package_pgx/mssql/sqlc.yaml @@ -0,0 +1,10 @@ +version: "2" +sql: + - engine: "mssql" + schema: "schema.sql" + queries: "query.sql" + gen: + go: + package: "querytest" + out: "go" + sql_package: "pgx/v5" diff --git a/internal/endtoend/testdata/mssql_sql_package_pgx/mssql/stderr.txt b/internal/endtoend/testdata/mssql_sql_package_pgx/mssql/stderr.txt new file mode 100644 index 0000000000..b3779783f0 --- /dev/null +++ b/internal/endtoend/testdata/mssql_sql_package_pgx/mssql/stderr.txt @@ -0,0 +1,2 @@ +# package querytest +error generating code: invalid options: engine "mssql" supports sql_package "database/sql" only, not "pgx/v5" diff --git a/internal/endtoend/testdata/overrides_decimal_package/decimal/decimal.go b/internal/endtoend/testdata/overrides_decimal_package/decimal/decimal.go new file mode 100644 index 0000000000..1006fda8bb --- /dev/null +++ b/internal/endtoend/testdata/overrides_decimal_package/decimal/decimal.go @@ -0,0 +1,6 @@ +// Package decimal stands in for a decimal package other than shopspring's, +// such as github.com/govalues/decimal, whose name the generated code must +// not import twice. +package decimal + +type Decimal struct{} diff --git a/internal/endtoend/testdata/overrides_decimal_package/postgresql/go/db.go b/internal/endtoend/testdata/overrides_decimal_package/postgresql/go/db.go new file mode 100644 index 0000000000..32faa9f2b8 --- /dev/null +++ b/internal/endtoend/testdata/overrides_decimal_package/postgresql/go/db.go @@ -0,0 +1,31 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 + +package querytest + +import ( + "context" + "database/sql" +) + +type DBTX interface { + ExecContext(context.Context, string, ...any) (sql.Result, error) + PrepareContext(context.Context, string) (*sql.Stmt, error) + QueryContext(context.Context, string, ...any) (*sql.Rows, error) + QueryRowContext(context.Context, string, ...any) *sql.Row +} + +func New(db DBTX) *Queries { + return &Queries{db: db} +} + +type Queries struct { + db DBTX +} + +func (q *Queries) WithTx(tx *sql.Tx) *Queries { + return &Queries{ + db: tx, + } +} diff --git a/internal/endtoend/testdata/overrides_decimal_package/postgresql/go/models.go b/internal/endtoend/testdata/overrides_decimal_package/postgresql/go/models.go new file mode 100644 index 0000000000..77e28c35a1 --- /dev/null +++ b/internal/endtoend/testdata/overrides_decimal_package/postgresql/go/models.go @@ -0,0 +1,14 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 + +package querytest + +import ( + "github.com/sqlc-dev/sqlc/endtoend/overrides_decimal_package/decimal" +) + +type Price struct { + ID int64 + Amount decimal.Decimal +} diff --git a/internal/endtoend/testdata/overrides_decimal_package/postgresql/go/query.sql.go b/internal/endtoend/testdata/overrides_decimal_package/postgresql/go/query.sql.go new file mode 100644 index 0000000000..6b6cdba685 --- /dev/null +++ b/internal/endtoend/testdata/overrides_decimal_package/postgresql/go/query.sql.go @@ -0,0 +1,21 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 +// source: query.sql + +package querytest + +import ( + "context" +) + +const getPrice = `-- name: GetPrice :one +SELECT id, amount FROM prices WHERE id = $1 +` + +func (q *Queries) GetPrice(ctx context.Context, id int64) (Price, error) { + row := q.db.QueryRowContext(ctx, getPrice, id) + var i Price + err := row.Scan(&i.ID, &i.Amount) + return i, err +} diff --git a/internal/endtoend/testdata/overrides_decimal_package/postgresql/query.sql b/internal/endtoend/testdata/overrides_decimal_package/postgresql/query.sql new file mode 100644 index 0000000000..f536e32c94 --- /dev/null +++ b/internal/endtoend/testdata/overrides_decimal_package/postgresql/query.sql @@ -0,0 +1,2 @@ +-- name: GetPrice :one +SELECT * FROM prices WHERE id = $1; diff --git a/internal/endtoend/testdata/overrides_decimal_package/postgresql/schema.sql b/internal/endtoend/testdata/overrides_decimal_package/postgresql/schema.sql new file mode 100644 index 0000000000..8ed128605e --- /dev/null +++ b/internal/endtoend/testdata/overrides_decimal_package/postgresql/schema.sql @@ -0,0 +1,4 @@ +CREATE TABLE prices ( + id bigint PRIMARY KEY, + amount numeric NOT NULL +); diff --git a/internal/endtoend/testdata/overrides_decimal_package/postgresql/sqlc.yaml b/internal/endtoend/testdata/overrides_decimal_package/postgresql/sqlc.yaml new file mode 100644 index 0000000000..90817ed96c --- /dev/null +++ b/internal/endtoend/testdata/overrides_decimal_package/postgresql/sqlc.yaml @@ -0,0 +1,12 @@ +version: "2" +sql: + - engine: "postgresql" + schema: "schema.sql" + queries: "query.sql" + gen: + go: + package: "querytest" + out: "go" + overrides: + - db_type: "pg_catalog.numeric" + go_type: "github.com/sqlc-dev/sqlc/endtoend/overrides_decimal_package/decimal.Decimal" diff --git a/internal/endtoend/testdata/process_plugin_sqlc_gen_json/gen/codegen.json b/internal/endtoend/testdata/process_plugin_sqlc_gen_json/gen/codegen.json index 4a85e7bd7e..f7b88c2104 100644 --- a/internal/endtoend/testdata/process_plugin_sqlc_gen_json/gen/codegen.json +++ b/internal/endtoend/testdata/process_plugin_sqlc_gen_json/gen/codegen.json @@ -59,7 +59,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "name", @@ -85,7 +86,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "bio", @@ -111,7 +113,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -162,7 +165,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -188,7 +192,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -214,7 +219,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -240,7 +246,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -266,7 +273,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -292,7 +300,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "aggfnoid", @@ -318,7 +327,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "aggkind", @@ -344,7 +354,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "aggnumdirectargs", @@ -370,7 +381,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "aggtransfn", @@ -396,7 +408,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "aggfinalfn", @@ -422,7 +435,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "aggcombinefn", @@ -448,7 +462,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "aggserialfn", @@ -474,7 +489,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "aggdeserialfn", @@ -500,7 +516,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "aggmtransfn", @@ -526,7 +543,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "aggminvtransfn", @@ -552,7 +570,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "aggmfinalfn", @@ -578,7 +597,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "aggfinalextra", @@ -604,7 +624,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "aggmfinalextra", @@ -630,7 +651,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "aggfinalmodify", @@ -656,7 +678,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "aggmfinalmodify", @@ -682,7 +705,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "aggsortop", @@ -708,7 +732,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "aggtranstype", @@ -734,7 +759,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "aggtransspace", @@ -760,7 +786,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "aggmtranstype", @@ -786,7 +813,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "aggmtransspace", @@ -812,7 +840,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "agginitval", @@ -838,7 +867,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "aggminitval", @@ -864,7 +894,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -900,7 +931,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -926,7 +958,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -952,7 +985,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -978,7 +1012,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -1004,7 +1039,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -1030,7 +1066,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -1056,7 +1093,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "amname", @@ -1082,7 +1120,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "amhandler", @@ -1108,7 +1147,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "amtype", @@ -1134,7 +1174,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -1170,7 +1211,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -1196,7 +1238,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -1222,7 +1265,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -1248,7 +1292,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -1274,7 +1319,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -1300,7 +1346,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -1326,7 +1373,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "amopfamily", @@ -1352,7 +1400,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "amoplefttype", @@ -1378,7 +1427,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "amoprighttype", @@ -1404,7 +1454,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "amopstrategy", @@ -1430,7 +1481,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "amoppurpose", @@ -1456,7 +1508,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "amopopr", @@ -1482,7 +1535,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "amopmethod", @@ -1508,7 +1562,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "amopsortfamily", @@ -1534,7 +1589,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -1570,7 +1626,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -1596,7 +1653,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -1622,7 +1680,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -1648,7 +1707,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -1674,7 +1734,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -1700,7 +1761,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -1726,7 +1788,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "amprocfamily", @@ -1752,7 +1815,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "amproclefttype", @@ -1778,7 +1842,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "amprocrighttype", @@ -1804,7 +1869,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "amprocnum", @@ -1830,7 +1896,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "amproc", @@ -1856,7 +1923,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -1892,7 +1960,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -1918,7 +1987,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -1944,7 +2014,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -1970,7 +2041,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -1996,7 +2068,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -2022,7 +2095,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -2048,7 +2122,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "adrelid", @@ -2074,7 +2149,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "adnum", @@ -2100,7 +2176,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "adbin", @@ -2126,7 +2203,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -2162,7 +2240,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -2188,7 +2267,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -2214,7 +2294,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -2240,7 +2321,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -2266,7 +2348,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -2292,7 +2375,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attrelid", @@ -2318,7 +2402,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attname", @@ -2344,7 +2429,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "atttypid", @@ -2370,7 +2456,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attlen", @@ -2396,7 +2483,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attnum", @@ -2422,7 +2510,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attcacheoff", @@ -2448,7 +2537,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "atttypmod", @@ -2474,7 +2564,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attndims", @@ -2500,7 +2591,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attbyval", @@ -2526,7 +2618,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attalign", @@ -2552,7 +2645,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attstorage", @@ -2578,7 +2672,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attcompression", @@ -2604,7 +2699,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attnotnull", @@ -2630,7 +2726,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "atthasdef", @@ -2656,7 +2753,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "atthasmissing", @@ -2682,7 +2780,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attidentity", @@ -2708,7 +2807,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attgenerated", @@ -2734,7 +2834,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attisdropped", @@ -2760,7 +2861,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attislocal", @@ -2786,7 +2888,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attinhcount", @@ -2812,7 +2915,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attstattarget", @@ -2838,7 +2942,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attcollation", @@ -2864,7 +2969,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attacl", @@ -2890,7 +2996,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "attoptions", @@ -2916,7 +3023,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "attfdwoptions", @@ -2942,7 +3050,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "attmissingval", @@ -2968,7 +3077,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -3004,7 +3114,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -3030,7 +3141,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -3056,7 +3168,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -3082,7 +3195,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -3108,7 +3222,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -3134,7 +3249,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -3160,7 +3276,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "roleid", @@ -3186,7 +3303,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "member", @@ -3212,7 +3330,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "grantor", @@ -3238,7 +3357,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "admin_option", @@ -3264,7 +3384,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "inherit_option", @@ -3290,7 +3411,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "set_option", @@ -3316,7 +3438,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -3352,7 +3475,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -3378,7 +3502,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -3404,7 +3529,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -3430,7 +3556,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -3456,7 +3583,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -3482,7 +3610,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -3508,7 +3637,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rolname", @@ -3534,7 +3664,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rolsuper", @@ -3560,7 +3691,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rolinherit", @@ -3586,7 +3718,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rolcreaterole", @@ -3612,7 +3745,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rolcreatedb", @@ -3638,7 +3772,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rolcanlogin", @@ -3664,7 +3799,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rolreplication", @@ -3690,7 +3826,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rolbypassrls", @@ -3716,7 +3853,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rolconnlimit", @@ -3742,7 +3880,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rolpassword", @@ -3768,7 +3907,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rolvaliduntil", @@ -3794,7 +3934,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -3830,7 +3971,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "version", @@ -3856,7 +3998,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "installed", @@ -3882,7 +4025,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "superuser", @@ -3908,7 +4052,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "trusted", @@ -3934,7 +4079,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relocatable", @@ -3960,7 +4106,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "schema", @@ -3986,7 +4133,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "requires", @@ -4012,7 +4160,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "comment", @@ -4038,7 +4187,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -4074,7 +4224,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "default_version", @@ -4100,7 +4251,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "installed_version", @@ -4126,7 +4278,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "comment", @@ -4152,7 +4305,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -4188,7 +4342,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ident", @@ -4214,7 +4369,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "parent", @@ -4240,7 +4396,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "level", @@ -4266,7 +4423,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "total_bytes", @@ -4292,7 +4450,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "total_nblocks", @@ -4318,7 +4477,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "free_bytes", @@ -4344,7 +4504,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "free_chunks", @@ -4370,7 +4531,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "used_bytes", @@ -4396,7 +4558,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -4432,7 +4595,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -4458,7 +4622,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -4484,7 +4649,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -4510,7 +4676,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -4536,7 +4703,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -4562,7 +4730,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -4588,7 +4757,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "castsource", @@ -4614,7 +4784,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "casttarget", @@ -4640,7 +4811,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "castfunc", @@ -4666,7 +4838,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "castcontext", @@ -4692,7 +4865,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "castmethod", @@ -4718,7 +4892,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -4754,7 +4929,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -4780,7 +4956,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -4806,7 +4983,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -4832,7 +5010,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -4858,7 +5037,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -4884,7 +5064,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -4910,7 +5091,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relname", @@ -4936,7 +5118,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relnamespace", @@ -4962,7 +5145,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "reltype", @@ -4988,7 +5172,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "reloftype", @@ -5014,7 +5199,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relowner", @@ -5040,7 +5226,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relam", @@ -5066,7 +5253,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relfilenode", @@ -5092,7 +5280,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "reltablespace", @@ -5118,7 +5307,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relpages", @@ -5144,7 +5334,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "reltuples", @@ -5170,7 +5361,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relallvisible", @@ -5196,7 +5388,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "reltoastrelid", @@ -5222,7 +5415,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relhasindex", @@ -5248,7 +5442,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relisshared", @@ -5274,7 +5469,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relpersistence", @@ -5300,7 +5496,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relkind", @@ -5326,7 +5523,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relnatts", @@ -5352,7 +5550,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relchecks", @@ -5378,7 +5577,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relhasrules", @@ -5404,7 +5604,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relhastriggers", @@ -5430,7 +5631,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relhassubclass", @@ -5456,7 +5658,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relrowsecurity", @@ -5482,7 +5685,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relforcerowsecurity", @@ -5508,7 +5712,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relispopulated", @@ -5534,7 +5739,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relreplident", @@ -5560,7 +5766,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relispartition", @@ -5586,7 +5793,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relrewrite", @@ -5612,7 +5820,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relfrozenxid", @@ -5638,7 +5847,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relminmxid", @@ -5664,7 +5874,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relacl", @@ -5690,7 +5901,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "reloptions", @@ -5716,7 +5928,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "relpartbound", @@ -5742,7 +5955,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -5778,7 +5992,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -5804,7 +6019,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -5830,7 +6046,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -5856,7 +6073,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -5882,7 +6100,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -5908,7 +6127,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -5934,7 +6154,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collname", @@ -5960,7 +6181,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collnamespace", @@ -5986,7 +6208,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collowner", @@ -6012,7 +6235,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collprovider", @@ -6038,7 +6262,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collisdeterministic", @@ -6064,7 +6289,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collencoding", @@ -6090,7 +6316,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collcollate", @@ -6116,7 +6343,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collctype", @@ -6142,7 +6370,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "colliculocale", @@ -6168,7 +6397,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collicurules", @@ -6194,7 +6424,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collversion", @@ -6220,7 +6451,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -6256,7 +6488,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "setting", @@ -6282,7 +6515,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -6318,7 +6552,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -6344,7 +6579,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -6370,7 +6606,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -6396,7 +6633,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -6422,7 +6660,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -6448,7 +6687,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -6474,7 +6714,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "conname", @@ -6500,7 +6741,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "connamespace", @@ -6526,7 +6768,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "contype", @@ -6552,7 +6795,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "condeferrable", @@ -6578,7 +6822,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "condeferred", @@ -6604,7 +6849,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "convalidated", @@ -6630,7 +6876,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "conrelid", @@ -6656,7 +6903,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "contypid", @@ -6682,7 +6930,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "conindid", @@ -6708,7 +6957,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "conparentid", @@ -6734,7 +6984,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "confrelid", @@ -6760,7 +7011,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "confupdtype", @@ -6786,7 +7038,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "confdeltype", @@ -6812,7 +7065,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "confmatchtype", @@ -6838,7 +7092,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "conislocal", @@ -6864,7 +7119,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "coninhcount", @@ -6890,7 +7146,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "connoinherit", @@ -6916,7 +7173,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "conkey", @@ -6942,7 +7200,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "confkey", @@ -6968,7 +7227,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "conpfeqop", @@ -6994,7 +7254,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "conppeqop", @@ -7020,7 +7281,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "conffeqop", @@ -7046,7 +7308,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "confdelsetcols", @@ -7072,7 +7335,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "conexclop", @@ -7098,7 +7362,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "conbin", @@ -7124,7 +7389,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -7160,7 +7426,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -7186,7 +7453,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -7212,7 +7480,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -7238,7 +7507,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -7264,7 +7534,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -7290,7 +7561,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -7316,7 +7588,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "conname", @@ -7342,7 +7615,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "connamespace", @@ -7368,7 +7642,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "conowner", @@ -7394,7 +7669,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "conforencoding", @@ -7420,7 +7696,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "contoencoding", @@ -7446,7 +7723,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "conproc", @@ -7472,7 +7750,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "condefault", @@ -7498,7 +7777,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -7534,7 +7814,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "statement", @@ -7560,7 +7841,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_holdable", @@ -7586,7 +7868,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_binary", @@ -7612,7 +7895,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_scrollable", @@ -7638,7 +7922,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "creation_time", @@ -7664,7 +7949,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -7700,7 +7986,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -7726,7 +8013,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -7752,7 +8040,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -7778,7 +8067,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -7804,7 +8094,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -7830,7 +8121,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -7856,7 +8148,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datname", @@ -7882,7 +8175,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datdba", @@ -7908,7 +8202,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "encoding", @@ -7934,7 +8229,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datlocprovider", @@ -7960,7 +8256,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datistemplate", @@ -7986,7 +8283,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datallowconn", @@ -8012,7 +8310,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datconnlimit", @@ -8038,7 +8337,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datfrozenxid", @@ -8064,7 +8364,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datminmxid", @@ -8090,7 +8391,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "dattablespace", @@ -8116,7 +8418,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datcollate", @@ -8142,7 +8445,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datctype", @@ -8168,7 +8472,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "daticulocale", @@ -8194,7 +8499,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "daticurules", @@ -8220,7 +8526,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datcollversion", @@ -8246,7 +8553,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datacl", @@ -8272,7 +8580,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null } ], "comment": "" @@ -8308,7 +8617,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -8334,7 +8644,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -8360,7 +8671,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -8386,7 +8698,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -8412,7 +8725,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -8438,7 +8752,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "setdatabase", @@ -8464,7 +8779,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "setrole", @@ -8490,7 +8806,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "setconfig", @@ -8516,7 +8833,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null } ], "comment": "" @@ -8552,7 +8870,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -8578,7 +8897,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -8604,7 +8924,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -8630,7 +8951,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -8656,7 +8978,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -8682,7 +9005,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -8708,7 +9032,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "defaclrole", @@ -8734,7 +9059,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "defaclnamespace", @@ -8760,7 +9086,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "defaclobjtype", @@ -8786,7 +9113,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "defaclacl", @@ -8812,7 +9140,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null } ], "comment": "" @@ -8848,7 +9177,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -8874,7 +9204,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -8900,7 +9231,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -8926,7 +9258,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -8952,7 +9285,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -8978,7 +9312,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "classid", @@ -9004,7 +9339,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "objid", @@ -9030,7 +9366,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "objsubid", @@ -9056,7 +9393,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "refclassid", @@ -9082,7 +9420,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "refobjid", @@ -9108,7 +9447,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "refobjsubid", @@ -9134,7 +9474,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "deptype", @@ -9160,7 +9501,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -9196,7 +9538,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -9222,7 +9565,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -9248,7 +9592,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -9274,7 +9619,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -9300,7 +9646,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -9326,7 +9673,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "objoid", @@ -9352,7 +9700,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "classoid", @@ -9378,7 +9727,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "objsubid", @@ -9404,7 +9754,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "description", @@ -9430,7 +9781,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -9466,7 +9818,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -9492,7 +9845,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -9518,7 +9872,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -9544,7 +9899,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -9570,7 +9926,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -9596,7 +9953,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -9622,7 +9980,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "enumtypid", @@ -9648,7 +10007,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "enumsortorder", @@ -9674,7 +10034,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "enumlabel", @@ -9700,7 +10061,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -9736,7 +10098,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -9762,7 +10125,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -9788,7 +10152,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -9814,7 +10179,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -9840,7 +10206,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -9866,7 +10233,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -9892,7 +10260,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "evtname", @@ -9918,7 +10287,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "evtevent", @@ -9944,7 +10314,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "evtowner", @@ -9970,7 +10341,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "evtfoid", @@ -9996,7 +10368,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "evtenabled", @@ -10022,7 +10395,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "evttags", @@ -10048,7 +10422,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null } ], "comment": "" @@ -10084,7 +10459,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -10110,7 +10486,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -10136,7 +10513,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -10162,7 +10540,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -10188,7 +10567,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -10214,7 +10594,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -10240,7 +10621,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "extname", @@ -10266,7 +10648,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "extowner", @@ -10292,7 +10675,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "extnamespace", @@ -10318,7 +10702,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "extrelocatable", @@ -10344,7 +10729,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "extversion", @@ -10370,7 +10756,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "extconfig", @@ -10396,7 +10783,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "extcondition", @@ -10422,7 +10810,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null } ], "comment": "" @@ -10458,7 +10847,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sourceline", @@ -10484,7 +10874,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "seqno", @@ -10510,7 +10901,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "name", @@ -10536,7 +10928,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "setting", @@ -10562,7 +10955,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "applied", @@ -10588,7 +10982,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "error", @@ -10614,7 +11009,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -10650,7 +11046,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -10676,7 +11073,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -10702,7 +11100,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -10728,7 +11127,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -10754,7 +11154,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -10780,7 +11181,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -10806,7 +11208,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "fdwname", @@ -10832,7 +11235,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "fdwowner", @@ -10858,7 +11262,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "fdwhandler", @@ -10884,7 +11289,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "fdwvalidator", @@ -10910,7 +11316,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "fdwacl", @@ -10936,7 +11343,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "fdwoptions", @@ -10962,7 +11370,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null } ], "comment": "" @@ -10998,7 +11407,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -11024,7 +11434,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -11050,7 +11461,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -11076,7 +11488,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -11102,7 +11515,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -11128,7 +11542,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -11154,7 +11569,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "srvname", @@ -11180,7 +11596,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "srvowner", @@ -11206,7 +11623,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "srvfdw", @@ -11232,7 +11650,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "srvtype", @@ -11258,7 +11677,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "srvversion", @@ -11284,7 +11704,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "srvacl", @@ -11310,7 +11731,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "srvoptions", @@ -11336,7 +11758,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null } ], "comment": "" @@ -11372,7 +11795,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -11398,7 +11822,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -11424,7 +11849,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -11450,7 +11876,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -11476,7 +11903,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -11502,7 +11930,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ftrelid", @@ -11528,7 +11957,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ftserver", @@ -11554,7 +11984,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ftoptions", @@ -11580,7 +12011,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null } ], "comment": "" @@ -11616,7 +12048,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "grosysid", @@ -11642,7 +12075,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "grolist", @@ -11668,7 +12102,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null } ], "comment": "" @@ -11704,7 +12139,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "file_name", @@ -11730,7 +12166,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "line_number", @@ -11756,7 +12193,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "type", @@ -11782,7 +12220,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "database", @@ -11808,7 +12247,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "user_name", @@ -11834,7 +12274,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "address", @@ -11860,7 +12301,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "netmask", @@ -11886,7 +12328,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "auth_method", @@ -11912,7 +12355,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "options", @@ -11938,7 +12382,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "error", @@ -11964,7 +12409,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -12000,7 +12446,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "file_name", @@ -12026,7 +12473,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "line_number", @@ -12052,7 +12500,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "map_name", @@ -12078,7 +12527,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sys_name", @@ -12104,7 +12554,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "pg_username", @@ -12130,7 +12581,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "error", @@ -12156,7 +12608,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -12192,7 +12645,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -12218,7 +12672,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -12244,7 +12699,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -12270,7 +12726,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -12296,7 +12753,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -12322,7 +12780,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indexrelid", @@ -12348,7 +12807,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indrelid", @@ -12374,7 +12834,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indnatts", @@ -12400,7 +12861,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indnkeyatts", @@ -12426,7 +12888,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indisunique", @@ -12452,7 +12915,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indnullsnotdistinct", @@ -12478,7 +12942,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indisprimary", @@ -12504,7 +12969,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indisexclusion", @@ -12530,7 +12996,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indimmediate", @@ -12556,7 +13023,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indisclustered", @@ -12582,7 +13050,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indisvalid", @@ -12608,7 +13077,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indcheckxmin", @@ -12634,7 +13104,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indisready", @@ -12660,7 +13131,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indislive", @@ -12686,7 +13158,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indisreplident", @@ -12712,7 +13185,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indkey", @@ -12738,7 +13212,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indcollation", @@ -12764,7 +13239,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indclass", @@ -12790,7 +13266,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indoption", @@ -12816,7 +13293,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indexprs", @@ -12842,7 +13320,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indpred", @@ -12868,7 +13347,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -12904,7 +13384,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tablename", @@ -12930,7 +13411,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indexname", @@ -12956,7 +13438,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tablespace", @@ -12982,7 +13465,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indexdef", @@ -13008,7 +13492,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -13044,7 +13529,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -13070,7 +13556,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -13096,7 +13583,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -13122,7 +13610,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -13148,7 +13637,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -13174,7 +13664,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "inhrelid", @@ -13200,7 +13691,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "inhparent", @@ -13226,7 +13718,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "inhseqno", @@ -13252,7 +13745,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "inhdetachpending", @@ -13278,7 +13772,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -13314,7 +13809,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -13340,7 +13836,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -13366,7 +13863,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -13392,7 +13890,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -13418,7 +13917,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -13444,7 +13944,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "objoid", @@ -13470,7 +13971,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "classoid", @@ -13496,7 +13998,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "objsubid", @@ -13522,7 +14025,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "privtype", @@ -13548,7 +14052,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "initprivs", @@ -13574,7 +14079,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null } ], "comment": "" @@ -13610,7 +14116,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -13636,7 +14143,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -13662,7 +14170,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -13688,7 +14197,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -13714,7 +14224,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -13740,7 +14251,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -13766,7 +14278,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "lanname", @@ -13792,7 +14305,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "lanowner", @@ -13818,7 +14332,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "lanispl", @@ -13844,7 +14359,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "lanpltrusted", @@ -13870,7 +14386,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "lanplcallfoid", @@ -13896,7 +14413,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "laninline", @@ -13922,7 +14440,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "lanvalidator", @@ -13948,7 +14467,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "lanacl", @@ -13974,7 +14494,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null } ], "comment": "" @@ -14010,7 +14531,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -14036,7 +14558,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -14062,7 +14585,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -14088,7 +14612,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -14114,7 +14639,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -14140,7 +14666,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "loid", @@ -14166,7 +14693,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "pageno", @@ -14192,7 +14720,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "data", @@ -14218,7 +14747,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -14254,7 +14784,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -14280,7 +14811,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -14306,7 +14838,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -14332,7 +14865,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -14358,7 +14892,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -14384,7 +14919,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -14410,7 +14946,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "lomowner", @@ -14436,7 +14973,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "lomacl", @@ -14462,7 +15000,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null } ], "comment": "" @@ -14498,7 +15037,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "database", @@ -14524,7 +15064,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relation", @@ -14550,7 +15091,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "page", @@ -14576,7 +15118,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tuple", @@ -14602,7 +15145,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "virtualxid", @@ -14628,7 +15172,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "transactionid", @@ -14654,7 +15199,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "classid", @@ -14680,7 +15226,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "objid", @@ -14706,7 +15253,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "objsubid", @@ -14732,7 +15280,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "virtualtransaction", @@ -14758,7 +15307,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "pid", @@ -14784,7 +15334,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "mode", @@ -14810,7 +15361,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "granted", @@ -14836,7 +15388,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "fastpath", @@ -14862,7 +15415,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "waitstart", @@ -14888,7 +15442,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -14924,7 +15479,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "matviewname", @@ -14950,7 +15506,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "matviewowner", @@ -14976,7 +15533,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tablespace", @@ -15002,7 +15560,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "hasindexes", @@ -15028,7 +15587,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ispopulated", @@ -15054,7 +15614,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "definition", @@ -15080,7 +15641,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -15116,7 +15678,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -15142,7 +15705,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -15168,7 +15732,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -15194,7 +15759,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -15220,7 +15786,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -15246,7 +15813,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -15272,7 +15840,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "nspname", @@ -15298,7 +15867,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "nspowner", @@ -15324,7 +15894,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "nspacl", @@ -15350,7 +15921,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null } ], "comment": "" @@ -15386,7 +15958,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -15412,7 +15985,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -15438,7 +16012,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -15464,7 +16039,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -15490,7 +16066,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -15516,7 +16093,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -15542,7 +16120,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "opcmethod", @@ -15568,7 +16147,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "opcname", @@ -15594,7 +16174,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "opcnamespace", @@ -15620,7 +16201,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "opcowner", @@ -15646,7 +16228,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "opcfamily", @@ -15672,7 +16255,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "opcintype", @@ -15698,7 +16282,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "opcdefault", @@ -15724,7 +16309,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "opckeytype", @@ -15750,7 +16336,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -15786,7 +16373,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -15812,7 +16400,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -15838,7 +16427,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -15864,7 +16454,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -15890,7 +16481,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -15916,7 +16508,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -15942,7 +16535,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oprname", @@ -15968,7 +16562,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oprnamespace", @@ -15994,7 +16589,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oprowner", @@ -16020,7 +16616,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oprkind", @@ -16046,7 +16643,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oprcanmerge", @@ -16072,7 +16670,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oprcanhash", @@ -16098,7 +16697,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oprleft", @@ -16124,7 +16724,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oprright", @@ -16150,7 +16751,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oprresult", @@ -16176,7 +16778,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oprcom", @@ -16202,7 +16805,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oprnegate", @@ -16228,7 +16832,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oprcode", @@ -16254,7 +16859,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oprrest", @@ -16280,7 +16886,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oprjoin", @@ -16306,7 +16913,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -16342,7 +16950,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -16368,7 +16977,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -16394,7 +17004,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -16420,7 +17031,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -16446,7 +17058,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -16472,7 +17085,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -16498,7 +17112,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "opfmethod", @@ -16524,7 +17139,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "opfname", @@ -16550,7 +17166,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "opfnamespace", @@ -16576,7 +17193,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "opfowner", @@ -16602,7 +17220,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -16638,7 +17257,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -16664,7 +17284,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -16690,7 +17311,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -16716,7 +17338,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -16742,7 +17365,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -16768,7 +17392,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -16794,7 +17419,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "parname", @@ -16820,7 +17446,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "paracl", @@ -16846,7 +17473,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null } ], "comment": "" @@ -16882,7 +17510,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -16908,7 +17537,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -16934,7 +17564,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -16960,7 +17591,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -16986,7 +17618,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -17012,7 +17645,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "partrelid", @@ -17038,7 +17672,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "partstrat", @@ -17064,7 +17699,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "partnatts", @@ -17090,7 +17726,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "partdefid", @@ -17116,7 +17753,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "partattrs", @@ -17142,7 +17780,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "partclass", @@ -17168,7 +17807,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "partcollation", @@ -17194,7 +17834,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "partexprs", @@ -17220,7 +17861,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -17256,7 +17898,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tablename", @@ -17282,7 +17925,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "policyname", @@ -17308,7 +17952,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "permissive", @@ -17334,7 +17979,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "roles", @@ -17360,7 +18006,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "cmd", @@ -17386,7 +18033,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "qual", @@ -17412,7 +18060,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "with_check", @@ -17438,7 +18087,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -17474,7 +18124,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -17500,7 +18151,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -17526,7 +18178,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -17552,7 +18205,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -17578,7 +18232,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -17604,7 +18259,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -17630,7 +18286,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "polname", @@ -17656,7 +18313,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "polrelid", @@ -17682,7 +18340,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "polcmd", @@ -17708,7 +18367,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "polpermissive", @@ -17734,7 +18394,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "polroles", @@ -17760,7 +18421,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "polqual", @@ -17786,7 +18448,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "polwithcheck", @@ -17812,7 +18475,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -17848,7 +18512,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "statement", @@ -17874,7 +18539,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "prepare_time", @@ -17900,7 +18566,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "parameter_types", @@ -17926,7 +18593,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "result_types", @@ -17952,7 +18620,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "from_sql", @@ -17978,7 +18647,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "generic_plans", @@ -18004,7 +18674,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "custom_plans", @@ -18030,7 +18701,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -18066,7 +18738,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "gid", @@ -18092,7 +18765,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "prepared", @@ -18118,7 +18792,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "owner", @@ -18144,7 +18819,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "database", @@ -18170,7 +18846,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -18206,7 +18883,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -18232,7 +18910,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -18258,7 +18937,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -18284,7 +18964,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -18310,7 +18991,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -18336,7 +19018,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -18362,7 +19045,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "proname", @@ -18388,7 +19072,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "pronamespace", @@ -18414,7 +19099,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "proowner", @@ -18440,7 +19126,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "prolang", @@ -18466,7 +19153,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "procost", @@ -18492,7 +19180,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "prorows", @@ -18518,7 +19207,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "provariadic", @@ -18544,7 +19234,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "prosupport", @@ -18570,7 +19261,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "prokind", @@ -18596,7 +19288,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "prosecdef", @@ -18622,7 +19315,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "proleakproof", @@ -18648,7 +19342,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "proisstrict", @@ -18674,7 +19369,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "proretset", @@ -18700,7 +19396,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "provolatile", @@ -18726,7 +19423,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "proparallel", @@ -18752,7 +19450,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "pronargs", @@ -18778,7 +19477,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "pronargdefaults", @@ -18804,7 +19504,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "prorettype", @@ -18830,7 +19531,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "proargtypes", @@ -18856,7 +19558,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "proallargtypes", @@ -18882,7 +19585,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "proargmodes", @@ -18908,7 +19612,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "proargnames", @@ -18934,7 +19639,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "proargdefaults", @@ -18960,7 +19666,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "protrftypes", @@ -18986,7 +19693,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "prosrc", @@ -19012,7 +19720,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "probin", @@ -19038,7 +19747,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "prosqlbody", @@ -19064,7 +19774,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "proconfig", @@ -19090,7 +19801,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "proacl", @@ -19116,7 +19828,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null } ], "comment": "" @@ -19152,7 +19865,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -19178,7 +19892,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -19204,7 +19919,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -19230,7 +19946,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -19256,7 +19973,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -19282,7 +20000,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -19308,7 +20027,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "pubname", @@ -19334,7 +20054,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "pubowner", @@ -19360,7 +20081,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "puballtables", @@ -19386,7 +20108,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "pubinsert", @@ -19412,7 +20135,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "pubupdate", @@ -19438,7 +20162,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "pubdelete", @@ -19464,7 +20189,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "pubtruncate", @@ -19490,7 +20216,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "pubviaroot", @@ -19516,7 +20243,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -19552,7 +20280,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -19578,7 +20307,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -19604,7 +20334,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -19630,7 +20361,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -19656,7 +20388,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -19682,7 +20415,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -19708,7 +20442,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "pnpubid", @@ -19734,7 +20469,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "pnnspid", @@ -19760,7 +20496,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -19796,7 +20533,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -19822,7 +20560,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -19848,7 +20587,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -19874,7 +20614,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -19900,7 +20641,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -19926,7 +20668,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -19952,7 +20695,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "prpubid", @@ -19978,7 +20722,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "prrelid", @@ -20004,7 +20749,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "prqual", @@ -20030,7 +20776,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "prattrs", @@ -20056,7 +20803,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -20092,7 +20840,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "schemaname", @@ -20118,7 +20867,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tablename", @@ -20144,7 +20894,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attnames", @@ -20170,7 +20921,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "rowfilter", @@ -20196,7 +20948,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -20232,7 +20985,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -20258,7 +21012,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -20284,7 +21039,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -20310,7 +21066,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -20336,7 +21093,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -20362,7 +21120,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rngtypid", @@ -20388,7 +21147,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rngsubtype", @@ -20414,7 +21174,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rngmultitypid", @@ -20440,7 +21201,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rngcollation", @@ -20466,7 +21228,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rngsubopc", @@ -20492,7 +21255,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rngcanonical", @@ -20518,7 +21282,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rngsubdiff", @@ -20544,7 +21309,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -20580,7 +21346,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -20606,7 +21373,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -20632,7 +21400,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -20658,7 +21427,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -20684,7 +21454,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -20710,7 +21481,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "roident", @@ -20736,7 +21508,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "roname", @@ -20762,7 +21535,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -20798,7 +21572,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "external_id", @@ -20824,7 +21599,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "remote_lsn", @@ -20850,7 +21626,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "local_lsn", @@ -20876,7 +21653,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -20912,7 +21690,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "plugin", @@ -20938,7 +21717,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "slot_type", @@ -20964,7 +21744,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datoid", @@ -20990,7 +21771,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "database", @@ -21016,7 +21798,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "temporary", @@ -21042,7 +21825,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "active", @@ -21068,7 +21852,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "active_pid", @@ -21094,7 +21879,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -21120,7 +21906,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "catalog_xmin", @@ -21146,7 +21933,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "restart_lsn", @@ -21172,7 +21960,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "confirmed_flush_lsn", @@ -21198,7 +21987,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "wal_status", @@ -21224,7 +22014,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "safe_wal_size", @@ -21250,7 +22041,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "two_phase", @@ -21276,7 +22068,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "conflicting", @@ -21302,7 +22095,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -21338,7 +22132,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -21364,7 +22159,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -21390,7 +22186,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -21416,7 +22213,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -21442,7 +22240,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -21468,7 +22267,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -21494,7 +22294,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rulename", @@ -21520,7 +22321,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ev_class", @@ -21546,7 +22348,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ev_type", @@ -21572,7 +22375,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ev_enabled", @@ -21598,7 +22402,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_instead", @@ -21624,7 +22429,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ev_qual", @@ -21650,7 +22456,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ev_action", @@ -21676,7 +22483,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -21712,7 +22520,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rolsuper", @@ -21738,7 +22547,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rolinherit", @@ -21764,7 +22574,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rolcreaterole", @@ -21790,7 +22601,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rolcreatedb", @@ -21816,7 +22628,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rolcanlogin", @@ -21842,7 +22655,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rolreplication", @@ -21868,7 +22682,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rolconnlimit", @@ -21894,7 +22709,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rolpassword", @@ -21920,7 +22736,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rolvaliduntil", @@ -21946,7 +22763,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rolbypassrls", @@ -21972,7 +22790,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rolconfig", @@ -21998,7 +22817,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "oid", @@ -22024,7 +22844,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -22060,7 +22881,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tablename", @@ -22086,7 +22908,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rulename", @@ -22112,7 +22935,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "definition", @@ -22138,7 +22962,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -22174,7 +22999,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -22200,7 +23026,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -22226,7 +23053,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -22252,7 +23080,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -22278,7 +23107,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -22304,7 +23134,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "objoid", @@ -22330,7 +23161,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "classoid", @@ -22356,7 +23188,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "objsubid", @@ -22382,7 +23215,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "provider", @@ -22408,7 +23242,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "label", @@ -22434,7 +23269,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -22470,7 +23306,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "classoid", @@ -22496,7 +23333,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "objsubid", @@ -22522,7 +23360,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "objtype", @@ -22548,7 +23387,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "objnamespace", @@ -22574,7 +23414,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "objname", @@ -22600,7 +23441,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "provider", @@ -22626,7 +23468,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "label", @@ -22652,7 +23495,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -22688,7 +23532,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -22714,7 +23559,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -22740,7 +23586,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -22766,7 +23613,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -22792,7 +23640,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -22818,7 +23667,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "seqrelid", @@ -22844,7 +23694,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "seqtypid", @@ -22870,7 +23721,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "seqstart", @@ -22896,7 +23748,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "seqincrement", @@ -22922,7 +23775,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "seqmax", @@ -22948,7 +23802,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "seqmin", @@ -22974,7 +23829,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "seqcache", @@ -23000,7 +23856,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "seqcycle", @@ -23026,7 +23883,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -23062,7 +23920,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sequencename", @@ -23088,7 +23947,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sequenceowner", @@ -23114,7 +23974,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "data_type", @@ -23140,7 +24001,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "start_value", @@ -23166,7 +24028,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "min_value", @@ -23192,7 +24055,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "max_value", @@ -23218,7 +24082,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "increment_by", @@ -23244,7 +24109,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cycle", @@ -23270,7 +24136,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cache_size", @@ -23296,7 +24163,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_value", @@ -23322,7 +24190,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -23358,7 +24227,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "setting", @@ -23384,7 +24254,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "unit", @@ -23410,7 +24281,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "category", @@ -23436,7 +24308,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "short_desc", @@ -23462,7 +24335,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "extra_desc", @@ -23488,7 +24362,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "context", @@ -23514,7 +24389,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "vartype", @@ -23540,7 +24416,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "source", @@ -23566,7 +24443,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "min_val", @@ -23592,7 +24470,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "max_val", @@ -23618,7 +24497,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "enumvals", @@ -23644,7 +24524,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "boot_val", @@ -23670,7 +24551,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "reset_val", @@ -23696,7 +24578,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sourcefile", @@ -23722,7 +24605,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sourceline", @@ -23748,7 +24632,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "pending_restart", @@ -23774,7 +24659,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -23810,7 +24696,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "usesysid", @@ -23836,7 +24723,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "usecreatedb", @@ -23862,7 +24750,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "usesuper", @@ -23888,7 +24777,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "userepl", @@ -23914,7 +24804,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "usebypassrls", @@ -23940,7 +24831,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "passwd", @@ -23966,7 +24858,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "valuntil", @@ -23992,7 +24885,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "useconfig", @@ -24018,7 +24912,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null } ], "comment": "" @@ -24054,7 +24949,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -24080,7 +24976,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -24106,7 +25003,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -24132,7 +25030,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -24158,7 +25057,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -24184,7 +25084,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "dbid", @@ -24210,7 +25111,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "classid", @@ -24236,7 +25138,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "objid", @@ -24262,7 +25165,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "objsubid", @@ -24288,7 +25192,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "refclassid", @@ -24314,7 +25219,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "refobjid", @@ -24340,7 +25246,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "deptype", @@ -24366,7 +25273,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -24402,7 +25310,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -24428,7 +25337,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -24454,7 +25364,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -24480,7 +25391,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -24506,7 +25418,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -24532,7 +25445,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "objoid", @@ -24558,7 +25472,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "classoid", @@ -24584,7 +25499,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "description", @@ -24610,7 +25526,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -24646,7 +25563,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "off", @@ -24672,7 +25590,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "size", @@ -24698,7 +25617,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "allocated_size", @@ -24724,7 +25644,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -24760,7 +25681,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -24786,7 +25708,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -24812,7 +25735,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -24838,7 +25762,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -24864,7 +25789,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -24890,7 +25816,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "objoid", @@ -24916,7 +25843,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "classoid", @@ -24942,7 +25870,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "provider", @@ -24968,7 +25897,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "label", @@ -24994,7 +25924,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -25030,7 +25961,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datname", @@ -25056,7 +25988,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "pid", @@ -25082,7 +26015,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "leader_pid", @@ -25108,7 +26042,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "usesysid", @@ -25134,7 +26069,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "usename", @@ -25160,7 +26096,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "application_name", @@ -25186,7 +26123,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "client_addr", @@ -25212,7 +26150,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "client_hostname", @@ -25238,7 +26177,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "client_port", @@ -25264,7 +26204,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "backend_start", @@ -25290,7 +26231,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xact_start", @@ -25316,7 +26258,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "query_start", @@ -25342,7 +26285,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "state_change", @@ -25368,7 +26312,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "wait_event_type", @@ -25394,7 +26339,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "wait_event", @@ -25420,7 +26366,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "state", @@ -25446,7 +26393,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "backend_xid", @@ -25472,7 +26420,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "backend_xmin", @@ -25498,7 +26447,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "query_id", @@ -25524,7 +26474,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "query", @@ -25550,7 +26501,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "backend_type", @@ -25576,7 +26528,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -25612,7 +26565,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indexrelid", @@ -25638,7 +26592,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "schemaname", @@ -25664,7 +26619,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relname", @@ -25690,7 +26646,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indexrelname", @@ -25716,7 +26673,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_scan", @@ -25742,7 +26700,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_idx_scan", @@ -25768,7 +26727,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_tup_read", @@ -25794,7 +26754,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_tup_fetch", @@ -25820,7 +26781,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -25856,7 +26818,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "schemaname", @@ -25882,7 +26845,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relname", @@ -25908,7 +26872,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "seq_scan", @@ -25934,7 +26899,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_seq_scan", @@ -25960,7 +26926,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "seq_tup_read", @@ -25986,7 +26953,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_scan", @@ -26012,7 +26980,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_idx_scan", @@ -26038,7 +27007,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_tup_fetch", @@ -26064,7 +27034,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_ins", @@ -26090,7 +27061,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_upd", @@ -26116,7 +27088,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_del", @@ -26142,7 +27115,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_hot_upd", @@ -26168,7 +27142,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_newpage_upd", @@ -26194,7 +27169,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_live_tup", @@ -26220,7 +27196,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_dead_tup", @@ -26246,7 +27223,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_mod_since_analyze", @@ -26272,7 +27250,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_ins_since_vacuum", @@ -26298,7 +27277,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_vacuum", @@ -26324,7 +27304,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_autovacuum", @@ -26350,7 +27331,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_analyze", @@ -26376,7 +27358,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_autoanalyze", @@ -26402,7 +27385,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "vacuum_count", @@ -26428,7 +27412,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "autovacuum_count", @@ -26454,7 +27439,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "analyze_count", @@ -26480,7 +27466,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "autoanalyze_count", @@ -26506,7 +27493,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -26542,7 +27530,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_archived_wal", @@ -26568,7 +27557,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_archived_time", @@ -26594,7 +27584,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "failed_count", @@ -26620,7 +27611,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_failed_wal", @@ -26646,7 +27638,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_failed_time", @@ -26672,7 +27665,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stats_reset", @@ -26698,7 +27692,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -26734,7 +27729,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "checkpoints_req", @@ -26760,7 +27756,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "checkpoint_write_time", @@ -26786,7 +27783,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "checkpoint_sync_time", @@ -26812,7 +27810,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "buffers_checkpoint", @@ -26838,7 +27837,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "buffers_clean", @@ -26864,7 +27864,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "maxwritten_clean", @@ -26890,7 +27891,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "buffers_backend", @@ -26916,7 +27918,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "buffers_backend_fsync", @@ -26942,7 +27945,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "buffers_alloc", @@ -26968,7 +27972,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stats_reset", @@ -26994,7 +27999,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -27030,7 +28036,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datname", @@ -27056,7 +28063,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "numbackends", @@ -27082,7 +28090,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xact_commit", @@ -27108,7 +28117,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xact_rollback", @@ -27134,7 +28144,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "blks_read", @@ -27160,7 +28171,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "blks_hit", @@ -27186,7 +28198,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tup_returned", @@ -27212,7 +28225,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tup_fetched", @@ -27238,7 +28252,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tup_inserted", @@ -27264,7 +28279,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tup_updated", @@ -27290,7 +28306,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tup_deleted", @@ -27316,7 +28333,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "conflicts", @@ -27342,7 +28360,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "temp_files", @@ -27368,7 +28387,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "temp_bytes", @@ -27394,7 +28414,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "deadlocks", @@ -27420,7 +28441,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "checksum_failures", @@ -27446,7 +28468,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "checksum_last_failure", @@ -27472,7 +28495,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "blk_read_time", @@ -27498,7 +28522,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "blk_write_time", @@ -27524,7 +28549,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "session_time", @@ -27550,7 +28576,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "active_time", @@ -27576,7 +28603,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idle_in_transaction_time", @@ -27602,7 +28630,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sessions", @@ -27628,7 +28657,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sessions_abandoned", @@ -27654,7 +28684,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sessions_fatal", @@ -27680,7 +28711,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sessions_killed", @@ -27706,7 +28738,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stats_reset", @@ -27732,7 +28765,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -27768,7 +28802,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datname", @@ -27794,7 +28829,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "confl_tablespace", @@ -27820,7 +28856,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "confl_lock", @@ -27846,7 +28883,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "confl_snapshot", @@ -27872,7 +28910,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "confl_bufferpin", @@ -27898,7 +28937,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "confl_deadlock", @@ -27924,7 +28964,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "confl_active_logicalslot", @@ -27950,7 +28991,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -27986,7 +29028,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "gss_authenticated", @@ -28012,7 +29055,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "principal", @@ -28038,7 +29082,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "encrypted", @@ -28064,7 +29109,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "credentials_delegated", @@ -28090,7 +29136,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -28126,7 +29173,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "object", @@ -28152,7 +29200,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "context", @@ -28178,7 +29227,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "reads", @@ -28204,7 +29254,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "read_time", @@ -28230,7 +29281,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "writes", @@ -28256,7 +29308,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "write_time", @@ -28282,7 +29335,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "writebacks", @@ -28308,7 +29362,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "writeback_time", @@ -28334,7 +29389,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "extends", @@ -28360,7 +29416,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "extend_time", @@ -28386,7 +29443,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "op_bytes", @@ -28412,7 +29470,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "hits", @@ -28438,7 +29497,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "evictions", @@ -28464,7 +29524,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "reuses", @@ -28490,7 +29551,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "fsyncs", @@ -28516,7 +29578,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "fsync_time", @@ -28542,7 +29605,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stats_reset", @@ -28568,7 +29632,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -28604,7 +29669,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datid", @@ -28630,7 +29696,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datname", @@ -28656,7 +29723,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relid", @@ -28682,7 +29750,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "phase", @@ -28708,7 +29777,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sample_blks_total", @@ -28734,7 +29804,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sample_blks_scanned", @@ -28760,7 +29831,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ext_stats_total", @@ -28786,7 +29858,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ext_stats_computed", @@ -28812,7 +29885,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "child_tables_total", @@ -28838,7 +29912,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "child_tables_done", @@ -28864,7 +29939,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "current_child_table_relid", @@ -28890,7 +29966,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -28926,7 +30003,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "phase", @@ -28952,7 +30030,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "backup_total", @@ -28978,7 +30057,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "backup_streamed", @@ -29004,7 +30084,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tablespaces_total", @@ -29030,7 +30111,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tablespaces_streamed", @@ -29056,7 +30138,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -29092,7 +30175,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datid", @@ -29118,7 +30202,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datname", @@ -29144,7 +30229,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relid", @@ -29170,7 +30256,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "command", @@ -29196,7 +30283,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "phase", @@ -29222,7 +30310,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cluster_index_relid", @@ -29248,7 +30337,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "heap_tuples_scanned", @@ -29274,7 +30364,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "heap_tuples_written", @@ -29300,7 +30391,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "heap_blks_total", @@ -29326,7 +30418,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "heap_blks_scanned", @@ -29352,7 +30445,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "index_rebuild_count", @@ -29378,7 +30472,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -29414,7 +30509,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datid", @@ -29440,7 +30536,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datname", @@ -29466,7 +30563,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relid", @@ -29492,7 +30590,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "command", @@ -29518,7 +30617,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "type", @@ -29544,7 +30644,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "bytes_processed", @@ -29570,7 +30671,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "bytes_total", @@ -29596,7 +30698,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tuples_processed", @@ -29622,7 +30725,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tuples_excluded", @@ -29648,7 +30752,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -29684,7 +30789,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datid", @@ -29710,7 +30816,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datname", @@ -29736,7 +30843,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relid", @@ -29762,7 +30870,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "index_relid", @@ -29788,7 +30897,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "command", @@ -29814,7 +30924,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "phase", @@ -29840,7 +30951,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "lockers_total", @@ -29866,7 +30978,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "lockers_done", @@ -29892,7 +31005,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "current_locker_pid", @@ -29918,7 +31032,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "blocks_total", @@ -29944,7 +31059,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "blocks_done", @@ -29970,7 +31086,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tuples_total", @@ -29996,7 +31113,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tuples_done", @@ -30022,7 +31140,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "partitions_total", @@ -30048,7 +31167,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "partitions_done", @@ -30074,7 +31194,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -30110,7 +31231,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datid", @@ -30136,7 +31258,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datname", @@ -30162,7 +31285,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relid", @@ -30188,7 +31312,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "phase", @@ -30214,7 +31339,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "heap_blks_total", @@ -30240,7 +31366,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "heap_blks_scanned", @@ -30266,7 +31393,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "heap_blks_vacuumed", @@ -30292,7 +31420,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "index_vacuum_count", @@ -30318,7 +31447,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "max_dead_tuples", @@ -30344,7 +31474,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "num_dead_tuples", @@ -30370,7 +31501,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -30406,7 +31538,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "prefetch", @@ -30432,7 +31565,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "hit", @@ -30458,7 +31592,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "skip_init", @@ -30484,7 +31619,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "skip_new", @@ -30510,7 +31646,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "skip_fpw", @@ -30536,7 +31673,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "skip_rep", @@ -30562,7 +31700,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "wal_distance", @@ -30588,7 +31727,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "block_distance", @@ -30614,7 +31754,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "io_depth", @@ -30640,7 +31781,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -30676,7 +31818,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "usesysid", @@ -30702,7 +31845,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "usename", @@ -30728,7 +31872,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "application_name", @@ -30754,7 +31899,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "client_addr", @@ -30780,7 +31926,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "client_hostname", @@ -30806,7 +31953,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "client_port", @@ -30832,7 +31980,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "backend_start", @@ -30858,7 +32007,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "backend_xmin", @@ -30884,7 +32034,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "state", @@ -30910,7 +32061,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sent_lsn", @@ -30936,7 +32088,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "write_lsn", @@ -30962,7 +32115,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "flush_lsn", @@ -30988,7 +32142,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "replay_lsn", @@ -31014,7 +32169,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "write_lag", @@ -31040,7 +32196,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "flush_lag", @@ -31066,7 +32223,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "replay_lag", @@ -31092,7 +32250,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sync_priority", @@ -31118,7 +32277,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sync_state", @@ -31144,7 +32304,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "reply_time", @@ -31170,7 +32331,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -31206,7 +32368,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "spill_txns", @@ -31232,7 +32395,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "spill_count", @@ -31258,7 +32422,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "spill_bytes", @@ -31284,7 +32449,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stream_txns", @@ -31310,7 +32476,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stream_count", @@ -31336,7 +32503,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stream_bytes", @@ -31362,7 +32530,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "total_txns", @@ -31388,7 +32557,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "total_bytes", @@ -31414,7 +32584,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stats_reset", @@ -31440,7 +32611,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -31476,7 +32648,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "blks_zeroed", @@ -31502,7 +32675,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "blks_hit", @@ -31528,7 +32702,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "blks_read", @@ -31554,7 +32729,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "blks_written", @@ -31580,7 +32756,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "blks_exists", @@ -31606,7 +32783,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "flushes", @@ -31632,7 +32810,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "truncates", @@ -31658,7 +32837,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stats_reset", @@ -31684,7 +32864,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -31720,7 +32901,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ssl", @@ -31746,7 +32928,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "version", @@ -31772,7 +32955,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cipher", @@ -31798,7 +32982,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "bits", @@ -31824,7 +33009,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "client_dn", @@ -31850,7 +33036,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "client_serial", @@ -31876,7 +33063,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "issuer_dn", @@ -31902,7 +33090,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -31938,7 +33127,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "subname", @@ -31964,7 +33154,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "pid", @@ -31990,7 +33181,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "leader_pid", @@ -32016,7 +33208,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relid", @@ -32042,7 +33235,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "received_lsn", @@ -32068,7 +33262,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_msg_send_time", @@ -32094,7 +33289,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_msg_receipt_time", @@ -32120,7 +33316,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "latest_end_lsn", @@ -32146,7 +33343,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "latest_end_time", @@ -32172,7 +33370,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -32208,7 +33407,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "subname", @@ -32234,7 +33434,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "apply_error_count", @@ -32260,7 +33461,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sync_error_count", @@ -32286,7 +33488,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stats_reset", @@ -32312,7 +33515,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -32348,7 +33552,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indexrelid", @@ -32374,7 +33579,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "schemaname", @@ -32400,7 +33606,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relname", @@ -32426,7 +33633,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indexrelname", @@ -32452,7 +33660,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_scan", @@ -32478,7 +33687,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_idx_scan", @@ -32504,7 +33714,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_tup_read", @@ -32530,7 +33741,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_tup_fetch", @@ -32556,7 +33768,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -32592,7 +33805,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "schemaname", @@ -32618,7 +33832,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relname", @@ -32644,7 +33859,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "seq_scan", @@ -32670,7 +33886,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_seq_scan", @@ -32696,7 +33913,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "seq_tup_read", @@ -32722,7 +33940,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_scan", @@ -32748,7 +33967,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_idx_scan", @@ -32774,7 +33994,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_tup_fetch", @@ -32800,7 +34021,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_ins", @@ -32826,7 +34048,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_upd", @@ -32852,7 +34075,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_del", @@ -32878,7 +34102,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_hot_upd", @@ -32904,7 +34129,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_newpage_upd", @@ -32930,7 +34156,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_live_tup", @@ -32956,7 +34183,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_dead_tup", @@ -32982,7 +34210,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_mod_since_analyze", @@ -33008,7 +34237,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_ins_since_vacuum", @@ -33034,7 +34264,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_vacuum", @@ -33060,7 +34291,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_autovacuum", @@ -33086,7 +34318,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_analyze", @@ -33112,7 +34345,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_autoanalyze", @@ -33138,7 +34372,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "vacuum_count", @@ -33164,7 +34399,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "autovacuum_count", @@ -33190,7 +34426,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "analyze_count", @@ -33216,7 +34453,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "autoanalyze_count", @@ -33242,7 +34480,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -33278,7 +34517,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "schemaname", @@ -33304,7 +34544,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "funcname", @@ -33330,7 +34571,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "calls", @@ -33356,7 +34598,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "total_time", @@ -33382,7 +34625,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "self_time", @@ -33408,7 +34652,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -33444,7 +34689,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indexrelid", @@ -33470,7 +34716,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "schemaname", @@ -33496,7 +34743,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relname", @@ -33522,7 +34770,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indexrelname", @@ -33548,7 +34797,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_scan", @@ -33574,7 +34824,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_idx_scan", @@ -33600,7 +34851,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_tup_read", @@ -33626,7 +34878,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_tup_fetch", @@ -33652,7 +34905,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -33688,7 +34942,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "schemaname", @@ -33714,7 +34969,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relname", @@ -33740,7 +34996,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "seq_scan", @@ -33766,7 +35023,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_seq_scan", @@ -33792,7 +35050,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "seq_tup_read", @@ -33818,7 +35077,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_scan", @@ -33844,7 +35104,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_idx_scan", @@ -33870,7 +35131,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_tup_fetch", @@ -33896,7 +35158,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_ins", @@ -33922,7 +35185,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_upd", @@ -33948,7 +35212,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_del", @@ -33974,7 +35239,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_hot_upd", @@ -34000,7 +35266,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_newpage_upd", @@ -34026,7 +35293,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_live_tup", @@ -34052,7 +35320,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_dead_tup", @@ -34078,7 +35347,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_mod_since_analyze", @@ -34104,7 +35374,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_ins_since_vacuum", @@ -34130,7 +35401,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_vacuum", @@ -34156,7 +35428,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_autovacuum", @@ -34182,7 +35455,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_analyze", @@ -34208,7 +35482,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_autoanalyze", @@ -34234,7 +35509,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "vacuum_count", @@ -34260,7 +35536,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "autovacuum_count", @@ -34286,7 +35563,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "analyze_count", @@ -34312,7 +35590,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "autoanalyze_count", @@ -34338,7 +35617,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -34374,7 +35654,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "wal_fpi", @@ -34400,7 +35681,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "wal_bytes", @@ -34426,7 +35708,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "wal_buffers_full", @@ -34452,7 +35735,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "wal_write", @@ -34478,7 +35762,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "wal_sync", @@ -34504,7 +35789,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "wal_write_time", @@ -34530,7 +35816,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "wal_sync_time", @@ -34556,7 +35843,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stats_reset", @@ -34582,7 +35870,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -34618,7 +35907,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "status", @@ -34644,7 +35934,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "receive_start_lsn", @@ -34670,7 +35961,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "receive_start_tli", @@ -34696,7 +35988,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "written_lsn", @@ -34722,7 +36015,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "flushed_lsn", @@ -34748,7 +36042,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "received_tli", @@ -34774,7 +36069,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_msg_send_time", @@ -34800,7 +36096,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_msg_receipt_time", @@ -34826,7 +36123,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "latest_end_lsn", @@ -34852,7 +36150,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "latest_end_time", @@ -34878,7 +36177,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "slot_name", @@ -34904,7 +36204,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sender_host", @@ -34930,7 +36231,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sender_port", @@ -34956,7 +36258,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "conninfo", @@ -34982,7 +36285,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -35018,7 +36322,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "schemaname", @@ -35044,7 +36349,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relname", @@ -35070,7 +36376,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "seq_scan", @@ -35096,7 +36403,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "seq_tup_read", @@ -35122,7 +36430,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_scan", @@ -35148,7 +36457,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_tup_fetch", @@ -35174,7 +36484,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_ins", @@ -35200,7 +36511,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_upd", @@ -35226,7 +36538,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_del", @@ -35252,7 +36565,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_hot_upd", @@ -35278,7 +36592,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_newpage_upd", @@ -35304,7 +36619,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -35340,7 +36656,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "schemaname", @@ -35366,7 +36683,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relname", @@ -35392,7 +36710,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "seq_scan", @@ -35418,7 +36737,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "seq_tup_read", @@ -35444,7 +36764,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_scan", @@ -35470,7 +36791,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_tup_fetch", @@ -35496,7 +36818,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_ins", @@ -35522,7 +36845,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_upd", @@ -35548,7 +36872,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_del", @@ -35574,7 +36899,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_hot_upd", @@ -35600,7 +36926,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_newpage_upd", @@ -35626,7 +36953,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -35662,7 +36990,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "schemaname", @@ -35688,7 +37017,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "funcname", @@ -35714,7 +37044,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "calls", @@ -35740,7 +37071,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "total_time", @@ -35766,7 +37098,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "self_time", @@ -35792,7 +37125,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -35828,7 +37162,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "schemaname", @@ -35854,7 +37189,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relname", @@ -35880,7 +37216,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "seq_scan", @@ -35906,7 +37243,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "seq_tup_read", @@ -35932,7 +37270,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_scan", @@ -35958,7 +37297,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_tup_fetch", @@ -35984,7 +37324,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_ins", @@ -36010,7 +37351,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_upd", @@ -36036,7 +37378,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_del", @@ -36062,7 +37405,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_hot_upd", @@ -36088,7 +37432,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_tup_newpage_upd", @@ -36114,7 +37459,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -36150,7 +37496,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indexrelid", @@ -36176,7 +37523,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "schemaname", @@ -36202,7 +37550,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relname", @@ -36228,7 +37577,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indexrelname", @@ -36254,7 +37604,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_blks_read", @@ -36280,7 +37631,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_blks_hit", @@ -36306,7 +37658,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -36342,7 +37695,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "schemaname", @@ -36368,7 +37722,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relname", @@ -36394,7 +37749,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "blks_read", @@ -36420,7 +37776,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "blks_hit", @@ -36446,7 +37803,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -36482,7 +37840,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "schemaname", @@ -36508,7 +37867,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relname", @@ -36534,7 +37894,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "heap_blks_read", @@ -36560,7 +37921,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "heap_blks_hit", @@ -36586,7 +37948,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_blks_read", @@ -36612,7 +37975,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_blks_hit", @@ -36638,7 +38002,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "toast_blks_read", @@ -36664,7 +38029,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "toast_blks_hit", @@ -36690,7 +38056,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tidx_blks_read", @@ -36716,7 +38083,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tidx_blks_hit", @@ -36742,7 +38110,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -36778,7 +38147,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indexrelid", @@ -36804,7 +38174,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "schemaname", @@ -36830,7 +38201,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relname", @@ -36856,7 +38228,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indexrelname", @@ -36882,7 +38255,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_blks_read", @@ -36908,7 +38282,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_blks_hit", @@ -36934,7 +38309,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -36970,7 +38346,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "schemaname", @@ -36996,7 +38373,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relname", @@ -37022,7 +38400,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "blks_read", @@ -37048,7 +38427,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "blks_hit", @@ -37074,7 +38454,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -37110,7 +38491,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "schemaname", @@ -37136,7 +38518,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relname", @@ -37162,7 +38545,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "heap_blks_read", @@ -37188,7 +38572,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "heap_blks_hit", @@ -37214,7 +38599,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_blks_read", @@ -37240,7 +38626,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_blks_hit", @@ -37266,7 +38653,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "toast_blks_read", @@ -37292,7 +38680,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "toast_blks_hit", @@ -37318,7 +38707,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tidx_blks_read", @@ -37344,7 +38734,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tidx_blks_hit", @@ -37370,7 +38761,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -37406,7 +38798,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indexrelid", @@ -37432,7 +38825,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "schemaname", @@ -37458,7 +38852,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relname", @@ -37484,7 +38879,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "indexrelname", @@ -37510,7 +38906,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_blks_read", @@ -37536,7 +38933,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_blks_hit", @@ -37562,7 +38960,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -37598,7 +38997,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "schemaname", @@ -37624,7 +39024,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relname", @@ -37650,7 +39051,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "blks_read", @@ -37676,7 +39078,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "blks_hit", @@ -37702,7 +39105,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -37738,7 +39142,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "schemaname", @@ -37764,7 +39169,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relname", @@ -37790,7 +39196,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "heap_blks_read", @@ -37816,7 +39223,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "heap_blks_hit", @@ -37842,7 +39250,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_blks_read", @@ -37868,7 +39277,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "idx_blks_hit", @@ -37894,7 +39304,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "toast_blks_read", @@ -37920,7 +39331,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "toast_blks_hit", @@ -37946,7 +39358,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tidx_blks_read", @@ -37972,7 +39385,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tidx_blks_hit", @@ -37998,7 +39412,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -38034,7 +39449,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -38060,7 +39476,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -38086,7 +39503,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -38112,7 +39530,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -38138,7 +39557,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -38164,7 +39584,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "starelid", @@ -38190,7 +39611,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "staattnum", @@ -38216,7 +39638,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stainherit", @@ -38242,7 +39665,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stanullfrac", @@ -38268,7 +39692,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stawidth", @@ -38294,7 +39719,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stadistinct", @@ -38320,7 +39746,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stakind1", @@ -38346,7 +39773,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stakind2", @@ -38372,7 +39800,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stakind3", @@ -38398,7 +39827,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stakind4", @@ -38424,7 +39854,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stakind5", @@ -38450,7 +39881,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "staop1", @@ -38476,7 +39908,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "staop2", @@ -38502,7 +39935,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "staop3", @@ -38528,7 +39962,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "staop4", @@ -38554,7 +39989,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "staop5", @@ -38580,7 +40016,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stacoll1", @@ -38606,7 +40043,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stacoll2", @@ -38632,7 +40070,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stacoll3", @@ -38658,7 +40097,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stacoll4", @@ -38684,7 +40124,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stacoll5", @@ -38710,7 +40151,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stanumbers1", @@ -38736,7 +40178,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "stanumbers2", @@ -38762,7 +40205,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "stanumbers3", @@ -38788,7 +40232,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "stanumbers4", @@ -38814,7 +40259,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "stanumbers5", @@ -38840,7 +40286,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "stavalues1", @@ -38866,7 +40313,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stavalues2", @@ -38892,7 +40340,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stavalues3", @@ -38918,7 +40367,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stavalues4", @@ -38944,7 +40394,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stavalues5", @@ -38970,7 +40421,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -39006,7 +40458,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -39032,7 +40485,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -39058,7 +40512,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -39084,7 +40539,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -39110,7 +40566,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -39136,7 +40593,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -39162,7 +40620,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stxrelid", @@ -39188,7 +40647,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stxname", @@ -39214,7 +40674,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stxnamespace", @@ -39240,7 +40701,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stxowner", @@ -39266,7 +40728,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stxstattarget", @@ -39292,7 +40755,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stxkeys", @@ -39318,7 +40782,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stxkind", @@ -39344,7 +40809,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "stxexprs", @@ -39370,7 +40836,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -39406,7 +40873,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -39432,7 +40900,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -39458,7 +40927,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -39484,7 +40954,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -39510,7 +40981,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -39536,7 +41008,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stxoid", @@ -39562,7 +41035,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stxdinherit", @@ -39588,7 +41062,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stxdndistinct", @@ -39614,7 +41089,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stxddependencies", @@ -39640,7 +41116,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stxdmcv", @@ -39666,7 +41143,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "stxdexpr", @@ -39692,7 +41170,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null } ], "comment": "" @@ -39728,7 +41207,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tablename", @@ -39754,7 +41234,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attname", @@ -39780,7 +41261,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "inherited", @@ -39806,7 +41288,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "null_frac", @@ -39832,7 +41315,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "avg_width", @@ -39858,7 +41342,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_distinct", @@ -39884,7 +41369,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "most_common_vals", @@ -39910,7 +41396,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "most_common_freqs", @@ -39936,7 +41423,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "histogram_bounds", @@ -39962,7 +41450,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "correlation", @@ -39988,7 +41477,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "most_common_elems", @@ -40014,7 +41504,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "most_common_elem_freqs", @@ -40040,7 +41531,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "elem_count_histogram", @@ -40066,7 +41558,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null } ], "comment": "" @@ -40102,7 +41595,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tablename", @@ -40128,7 +41622,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "statistics_schemaname", @@ -40154,7 +41649,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "statistics_name", @@ -40180,7 +41676,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "statistics_owner", @@ -40206,7 +41703,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attnames", @@ -40232,7 +41730,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "exprs", @@ -40258,7 +41757,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "kinds", @@ -40284,7 +41784,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "inherited", @@ -40310,7 +41811,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_distinct", @@ -40336,7 +41838,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "dependencies", @@ -40362,7 +41865,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "most_common_vals", @@ -40388,7 +41892,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "most_common_val_nulls", @@ -40414,7 +41919,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "most_common_freqs", @@ -40440,7 +41946,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "most_common_base_freqs", @@ -40466,7 +41973,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null } ], "comment": "" @@ -40502,7 +42010,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tablename", @@ -40528,7 +42037,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "statistics_schemaname", @@ -40554,7 +42064,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "statistics_name", @@ -40580,7 +42091,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "statistics_owner", @@ -40606,7 +42118,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "expr", @@ -40632,7 +42145,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "inherited", @@ -40658,7 +42172,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "null_frac", @@ -40684,7 +42199,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "avg_width", @@ -40710,7 +42226,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "n_distinct", @@ -40736,7 +42253,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "most_common_vals", @@ -40762,7 +42280,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "most_common_freqs", @@ -40788,7 +42307,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "histogram_bounds", @@ -40814,7 +42334,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "correlation", @@ -40840,7 +42361,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "most_common_elems", @@ -40866,7 +42388,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "most_common_elem_freqs", @@ -40892,7 +42415,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "elem_count_histogram", @@ -40918,7 +42442,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null } ], "comment": "" @@ -40954,7 +42479,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -40980,7 +42506,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -41006,7 +42533,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -41032,7 +42560,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -41058,7 +42587,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -41084,7 +42614,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -41110,7 +42641,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "subdbid", @@ -41136,7 +42668,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "subskiplsn", @@ -41162,7 +42695,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "subname", @@ -41188,7 +42722,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "subowner", @@ -41214,7 +42749,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "subenabled", @@ -41240,7 +42776,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "subbinary", @@ -41266,7 +42803,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "substream", @@ -41292,7 +42830,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "subtwophasestate", @@ -41318,7 +42857,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "subdisableonerr", @@ -41344,7 +42884,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "subpasswordrequired", @@ -41370,7 +42911,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "subrunasowner", @@ -41396,7 +42938,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "subconninfo", @@ -41422,7 +42965,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "subslotname", @@ -41448,7 +42992,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "subsynccommit", @@ -41474,7 +43019,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "subpublications", @@ -41500,7 +43046,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "suborigin", @@ -41526,7 +43073,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -41562,7 +43110,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -41588,7 +43137,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -41614,7 +43164,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -41640,7 +43191,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -41666,7 +43218,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -41692,7 +43245,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "srsubid", @@ -41718,7 +43272,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "srrelid", @@ -41744,7 +43299,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "srsubstate", @@ -41770,7 +43326,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "srsublsn", @@ -41796,7 +43353,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -41832,7 +43390,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tablename", @@ -41858,7 +43417,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tableowner", @@ -41884,7 +43444,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tablespace", @@ -41910,7 +43471,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "hasindexes", @@ -41936,7 +43498,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "hasrules", @@ -41962,7 +43525,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "hastriggers", @@ -41988,7 +43552,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "rowsecurity", @@ -42014,7 +43579,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -42050,7 +43616,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -42076,7 +43643,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -42102,7 +43670,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -42128,7 +43697,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -42154,7 +43724,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -42180,7 +43751,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -42206,7 +43778,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "spcname", @@ -42232,7 +43805,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "spcowner", @@ -42258,7 +43832,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "spcacl", @@ -42284,7 +43859,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "spcoptions", @@ -42310,7 +43886,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null } ], "comment": "" @@ -42346,7 +43923,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "utc_offset", @@ -42372,7 +43950,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_dst", @@ -42398,7 +43977,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -42434,7 +44014,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "abbrev", @@ -42460,7 +44041,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "utc_offset", @@ -42486,7 +44068,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_dst", @@ -42512,7 +44095,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -42548,7 +44132,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -42574,7 +44159,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -42600,7 +44186,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -42626,7 +44213,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -42652,7 +44240,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -42678,7 +44267,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -42704,7 +44294,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "trftype", @@ -42730,7 +44321,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "trflang", @@ -42756,7 +44348,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "trffromsql", @@ -42782,7 +44375,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "trftosql", @@ -42808,7 +44402,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -42844,7 +44439,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -42870,7 +44466,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -42896,7 +44493,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -42922,7 +44520,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -42948,7 +44547,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -42974,7 +44574,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -43000,7 +44601,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tgrelid", @@ -43026,7 +44628,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tgparentid", @@ -43052,7 +44655,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tgname", @@ -43078,7 +44682,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tgfoid", @@ -43104,7 +44709,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tgtype", @@ -43130,7 +44736,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tgenabled", @@ -43156,7 +44763,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tgisinternal", @@ -43182,7 +44790,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tgconstrrelid", @@ -43208,7 +44817,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tgconstrindid", @@ -43234,7 +44844,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tgconstraint", @@ -43260,7 +44871,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tgdeferrable", @@ -43286,7 +44898,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tginitdeferred", @@ -43312,7 +44925,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tgnargs", @@ -43338,7 +44952,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tgattr", @@ -43364,7 +44979,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tgargs", @@ -43390,7 +45006,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tgqual", @@ -43416,7 +45033,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tgoldtable", @@ -43442,7 +45060,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tgnewtable", @@ -43468,7 +45087,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -43504,7 +45124,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -43530,7 +45151,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -43556,7 +45178,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -43582,7 +45205,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -43608,7 +45232,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -43634,7 +45259,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -43660,7 +45286,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cfgname", @@ -43686,7 +45313,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cfgnamespace", @@ -43712,7 +45340,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cfgowner", @@ -43738,7 +45367,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cfgparser", @@ -43764,7 +45394,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -43800,7 +45431,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -43826,7 +45458,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -43852,7 +45485,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -43878,7 +45512,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -43904,7 +45539,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -43930,7 +45566,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "mapcfg", @@ -43956,7 +45593,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "maptokentype", @@ -43982,7 +45620,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "mapseqno", @@ -44008,7 +45647,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "mapdict", @@ -44034,7 +45674,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -44070,7 +45711,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -44096,7 +45738,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -44122,7 +45765,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -44148,7 +45792,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -44174,7 +45819,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -44200,7 +45846,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -44226,7 +45873,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "dictname", @@ -44252,7 +45900,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "dictnamespace", @@ -44278,7 +45927,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "dictowner", @@ -44304,7 +45954,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "dicttemplate", @@ -44330,7 +45981,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "dictinitoption", @@ -44356,7 +46008,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -44392,7 +46045,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -44418,7 +46072,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -44444,7 +46099,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -44470,7 +46126,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -44496,7 +46153,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -44522,7 +46180,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -44548,7 +46207,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "prsname", @@ -44574,7 +46234,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "prsnamespace", @@ -44600,7 +46261,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "prsstart", @@ -44626,7 +46288,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "prstoken", @@ -44652,7 +46315,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "prsend", @@ -44678,7 +46342,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "prsheadline", @@ -44704,7 +46369,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "prslextype", @@ -44730,7 +46396,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -44766,7 +46433,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -44792,7 +46460,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -44818,7 +46487,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -44844,7 +46514,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -44870,7 +46541,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -44896,7 +46568,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -44922,7 +46595,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tmplname", @@ -44948,7 +46622,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tmplnamespace", @@ -44974,7 +46649,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tmplinit", @@ -45000,7 +46676,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "tmpllexize", @@ -45026,7 +46703,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -45062,7 +46740,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -45088,7 +46767,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -45114,7 +46794,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -45140,7 +46821,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -45166,7 +46848,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -45192,7 +46875,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -45218,7 +46902,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typname", @@ -45244,7 +46929,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typnamespace", @@ -45270,7 +46956,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typowner", @@ -45296,7 +46983,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typlen", @@ -45322,7 +47010,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typbyval", @@ -45348,7 +47037,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typtype", @@ -45374,7 +47064,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typcategory", @@ -45400,7 +47091,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typispreferred", @@ -45426,7 +47118,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typisdefined", @@ -45452,7 +47145,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typdelim", @@ -45478,7 +47172,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typrelid", @@ -45504,7 +47199,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typsubscript", @@ -45530,7 +47226,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typelem", @@ -45556,7 +47253,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typarray", @@ -45582,7 +47280,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typinput", @@ -45608,7 +47307,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typoutput", @@ -45634,7 +47334,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typreceive", @@ -45660,7 +47361,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typsend", @@ -45686,7 +47388,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typmodin", @@ -45712,7 +47415,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typmodout", @@ -45738,7 +47442,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typanalyze", @@ -45764,7 +47469,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typalign", @@ -45790,7 +47496,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typstorage", @@ -45816,7 +47523,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typnotnull", @@ -45842,7 +47550,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typbasetype", @@ -45868,7 +47577,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typtypmod", @@ -45894,7 +47604,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typndims", @@ -45920,7 +47631,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typcollation", @@ -45946,7 +47658,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typdefaultbin", @@ -45972,7 +47685,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typdefault", @@ -45998,7 +47712,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "typacl", @@ -46024,7 +47739,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null } ], "comment": "" @@ -46060,7 +47776,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "usesysid", @@ -46086,7 +47803,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "usecreatedb", @@ -46112,7 +47830,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "usesuper", @@ -46138,7 +47857,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "userepl", @@ -46164,7 +47884,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "usebypassrls", @@ -46190,7 +47911,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "passwd", @@ -46216,7 +47938,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "valuntil", @@ -46242,7 +47965,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "useconfig", @@ -46268,7 +47992,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null } ], "comment": "" @@ -46304,7 +48029,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -46330,7 +48056,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -46356,7 +48083,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -46382,7 +48110,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -46408,7 +48137,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -46434,7 +48164,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "oid", @@ -46460,7 +48191,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "umuser", @@ -46486,7 +48218,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "umserver", @@ -46512,7 +48245,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "umoptions", @@ -46538,7 +48272,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null } ], "comment": "" @@ -46574,7 +48309,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "srvid", @@ -46600,7 +48336,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "srvname", @@ -46626,7 +48363,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "umuser", @@ -46652,7 +48390,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "usename", @@ -46678,7 +48417,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "umoptions", @@ -46704,7 +48444,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null } ], "comment": "" @@ -46740,7 +48481,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "viewname", @@ -46766,7 +48508,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "viewowner", @@ -46792,7 +48535,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "definition", @@ -46818,7 +48562,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -46862,7 +48607,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "fdwowner", @@ -46888,7 +48634,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "fdwoptions", @@ -46914,7 +48661,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "foreign_data_wrapper_catalog", @@ -46940,7 +48688,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_data_wrapper_name", @@ -46966,7 +48715,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "authorization_identifier", @@ -46992,7 +48742,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_data_wrapper_language", @@ -47018,7 +48769,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -47054,7 +48806,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "srvoptions", @@ -47080,7 +48833,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "foreign_server_catalog", @@ -47106,7 +48860,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_server_name", @@ -47132,7 +48887,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_data_wrapper_catalog", @@ -47158,7 +48914,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_data_wrapper_name", @@ -47184,7 +48941,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_server_type", @@ -47210,7 +48968,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_server_version", @@ -47236,7 +48995,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "authorization_identifier", @@ -47262,7 +49022,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -47298,7 +49059,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "relname", @@ -47324,7 +49086,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attname", @@ -47350,7 +49113,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attfdwoptions", @@ -47376,7 +49140,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null } ], "comment": "" @@ -47412,7 +49177,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_table_schema", @@ -47438,7 +49204,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_table_name", @@ -47464,7 +49231,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ftoptions", @@ -47490,7 +49258,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "foreign_server_catalog", @@ -47516,7 +49285,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_server_name", @@ -47542,7 +49312,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "authorization_identifier", @@ -47568,7 +49339,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -47604,7 +49376,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "umoptions", @@ -47630,7 +49403,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 1 + "array_dims": 1, + "type_expr": null }, { "name": "umuser", @@ -47656,7 +49430,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "authorization_identifier", @@ -47682,7 +49457,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_server_catalog", @@ -47708,7 +49484,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_server_name", @@ -47734,7 +49511,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "srvowner", @@ -47760,7 +49538,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -47796,7 +49575,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "role_name", @@ -47822,7 +49602,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_grantable", @@ -47848,7 +49629,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -47884,7 +49666,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "role_name", @@ -47910,7 +49693,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_grantable", @@ -47936,7 +49720,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -47972,7 +49757,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_schema", @@ -47998,7 +49784,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_name", @@ -48024,7 +49811,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attribute_name", @@ -48050,7 +49838,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ordinal_position", @@ -48076,7 +49865,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attribute_default", @@ -48102,7 +49892,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_nullable", @@ -48128,7 +49919,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "data_type", @@ -48154,7 +49946,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_maximum_length", @@ -48180,7 +49973,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_octet_length", @@ -48206,7 +50000,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_set_catalog", @@ -48232,7 +50027,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_set_schema", @@ -48258,7 +50054,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_set_name", @@ -48284,7 +50081,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collation_catalog", @@ -48310,7 +50108,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collation_schema", @@ -48336,7 +50135,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collation_name", @@ -48362,7 +50162,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "numeric_precision", @@ -48388,7 +50189,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "numeric_precision_radix", @@ -48414,7 +50216,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "numeric_scale", @@ -48440,7 +50243,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datetime_precision", @@ -48466,7 +50270,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "interval_type", @@ -48492,7 +50297,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "interval_precision", @@ -48518,7 +50324,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attribute_udt_catalog", @@ -48544,7 +50351,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attribute_udt_schema", @@ -48570,7 +50378,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "attribute_udt_name", @@ -48596,7 +50405,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "scope_catalog", @@ -48622,7 +50432,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "scope_schema", @@ -48648,7 +50459,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "scope_name", @@ -48674,7 +50486,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "maximum_cardinality", @@ -48700,7 +50513,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "dtd_identifier", @@ -48726,7 +50540,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_derived_reference_attribute", @@ -48752,7 +50567,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -48788,7 +50604,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_set_schema", @@ -48814,7 +50631,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_set_name", @@ -48840,7 +50658,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_repertoire", @@ -48866,7 +50685,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "form_of_use", @@ -48892,7 +50712,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "default_collate_catalog", @@ -48918,7 +50739,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "default_collate_schema", @@ -48944,7 +50766,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "default_collate_name", @@ -48970,7 +50793,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -49006,7 +50830,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "constraint_schema", @@ -49032,7 +50857,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "constraint_name", @@ -49058,7 +50884,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "specific_catalog", @@ -49084,7 +50911,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "specific_schema", @@ -49110,7 +50938,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "specific_name", @@ -49136,7 +50965,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -49172,7 +51002,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "constraint_schema", @@ -49198,7 +51029,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "constraint_name", @@ -49224,7 +51056,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "check_clause", @@ -49250,7 +51083,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -49286,7 +51120,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collation_schema", @@ -49312,7 +51147,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collation_name", @@ -49338,7 +51174,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_set_catalog", @@ -49364,7 +51201,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_set_schema", @@ -49390,7 +51228,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_set_name", @@ -49416,7 +51255,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -49452,7 +51292,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collation_schema", @@ -49478,7 +51319,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collation_name", @@ -49504,7 +51346,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "pad_attribute", @@ -49530,7 +51373,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -49566,7 +51410,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_schema", @@ -49592,7 +51437,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_name", @@ -49618,7 +51464,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "column_name", @@ -49644,7 +51491,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "dependent_column", @@ -49670,7 +51518,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -49706,7 +51555,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "domain_schema", @@ -49732,7 +51582,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "domain_name", @@ -49758,7 +51609,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_catalog", @@ -49784,7 +51636,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_schema", @@ -49810,7 +51663,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_name", @@ -49836,7 +51690,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "column_name", @@ -49862,7 +51717,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -49898,7 +51754,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_schema", @@ -49924,7 +51781,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_name", @@ -49950,7 +51808,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "column_name", @@ -49976,7 +51835,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "option_name", @@ -50002,7 +51862,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "option_value", @@ -50028,7 +51889,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -50064,7 +51926,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "grantee", @@ -50090,7 +51953,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_catalog", @@ -50116,7 +51980,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_schema", @@ -50142,7 +52007,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_name", @@ -50168,7 +52034,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "column_name", @@ -50194,7 +52061,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "privilege_type", @@ -50220,7 +52088,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_grantable", @@ -50246,7 +52115,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -50282,7 +52152,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_schema", @@ -50308,7 +52179,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_name", @@ -50334,7 +52206,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_catalog", @@ -50360,7 +52233,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_schema", @@ -50386,7 +52260,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_name", @@ -50412,7 +52287,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "column_name", @@ -50438,7 +52314,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -50474,7 +52351,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_schema", @@ -50500,7 +52378,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_name", @@ -50526,7 +52405,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "column_name", @@ -50552,7 +52432,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ordinal_position", @@ -50578,7 +52459,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "column_default", @@ -50604,7 +52486,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_nullable", @@ -50630,7 +52513,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "data_type", @@ -50656,7 +52540,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_maximum_length", @@ -50682,7 +52567,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_octet_length", @@ -50708,7 +52594,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "numeric_precision", @@ -50734,7 +52621,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "numeric_precision_radix", @@ -50760,7 +52648,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "numeric_scale", @@ -50786,7 +52675,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datetime_precision", @@ -50812,7 +52702,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "interval_type", @@ -50838,7 +52729,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "interval_precision", @@ -50864,7 +52756,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_set_catalog", @@ -50890,7 +52783,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_set_schema", @@ -50916,7 +52810,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_set_name", @@ -50942,7 +52837,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collation_catalog", @@ -50968,7 +52864,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collation_schema", @@ -50994,7 +52891,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collation_name", @@ -51020,7 +52918,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "domain_catalog", @@ -51046,7 +52945,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "domain_schema", @@ -51072,7 +52972,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "domain_name", @@ -51098,7 +52999,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_catalog", @@ -51124,7 +53026,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_schema", @@ -51150,7 +53053,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_name", @@ -51176,7 +53080,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "scope_catalog", @@ -51202,7 +53107,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "scope_schema", @@ -51228,7 +53134,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "scope_name", @@ -51254,7 +53161,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "maximum_cardinality", @@ -51280,7 +53188,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "dtd_identifier", @@ -51306,7 +53215,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_self_referencing", @@ -51332,7 +53242,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_identity", @@ -51358,7 +53269,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "identity_generation", @@ -51384,7 +53296,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "identity_start", @@ -51410,7 +53323,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "identity_increment", @@ -51436,7 +53350,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "identity_maximum", @@ -51462,7 +53377,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "identity_minimum", @@ -51488,7 +53404,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "identity_cycle", @@ -51514,7 +53431,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_generated", @@ -51540,7 +53458,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "generation_expression", @@ -51566,7 +53485,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_updatable", @@ -51592,7 +53512,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -51628,7 +53549,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_schema", @@ -51654,7 +53576,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_name", @@ -51680,7 +53603,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "column_name", @@ -51706,7 +53630,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "constraint_catalog", @@ -51732,7 +53657,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "constraint_schema", @@ -51758,7 +53684,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "constraint_name", @@ -51784,7 +53711,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -51820,7 +53748,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_schema", @@ -51846,7 +53775,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_name", @@ -51872,7 +53802,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "constraint_catalog", @@ -51898,7 +53829,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "constraint_schema", @@ -51924,7 +53856,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "constraint_name", @@ -51950,7 +53883,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -51986,7 +53920,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "object_schema", @@ -52012,7 +53947,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "object_name", @@ -52038,7 +53974,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "object_type", @@ -52064,7 +54001,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "dtd_identifier", @@ -52090,7 +54028,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -52126,7 +54065,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "constraint_schema", @@ -52152,7 +54092,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "constraint_name", @@ -52178,7 +54119,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "domain_catalog", @@ -52204,7 +54146,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "domain_schema", @@ -52230,7 +54173,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "domain_name", @@ -52256,7 +54200,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_deferrable", @@ -52282,7 +54227,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "initially_deferred", @@ -52308,7 +54254,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -52344,7 +54291,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_schema", @@ -52370,7 +54318,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_name", @@ -52396,7 +54345,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "domain_catalog", @@ -52422,7 +54372,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "domain_schema", @@ -52448,7 +54399,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "domain_name", @@ -52474,7 +54426,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -52510,7 +54463,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "domain_schema", @@ -52536,7 +54490,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "domain_name", @@ -52562,7 +54517,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "data_type", @@ -52588,7 +54544,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_maximum_length", @@ -52614,7 +54571,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_octet_length", @@ -52640,7 +54598,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_set_catalog", @@ -52666,7 +54625,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_set_schema", @@ -52692,7 +54652,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_set_name", @@ -52718,7 +54679,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collation_catalog", @@ -52744,7 +54706,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collation_schema", @@ -52770,7 +54733,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collation_name", @@ -52796,7 +54760,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "numeric_precision", @@ -52822,7 +54787,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "numeric_precision_radix", @@ -52848,7 +54814,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "numeric_scale", @@ -52874,7 +54841,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datetime_precision", @@ -52900,7 +54868,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "interval_type", @@ -52926,7 +54895,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "interval_precision", @@ -52952,7 +54922,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "domain_default", @@ -52978,7 +54949,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_catalog", @@ -53004,7 +54976,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_schema", @@ -53030,7 +55003,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_name", @@ -53056,7 +55030,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "scope_catalog", @@ -53082,7 +55057,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "scope_schema", @@ -53108,7 +55084,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "scope_name", @@ -53134,7 +55111,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "maximum_cardinality", @@ -53160,7 +55138,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "dtd_identifier", @@ -53186,7 +55165,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -53222,7 +55202,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "object_schema", @@ -53248,7 +55229,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "object_name", @@ -53274,7 +55256,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "object_type", @@ -53300,7 +55283,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collection_type_identifier", @@ -53326,7 +55310,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "data_type", @@ -53352,7 +55337,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_maximum_length", @@ -53378,7 +55364,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_octet_length", @@ -53404,7 +55391,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_set_catalog", @@ -53430,7 +55418,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_set_schema", @@ -53456,7 +55445,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_set_name", @@ -53482,7 +55472,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collation_catalog", @@ -53508,7 +55499,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collation_schema", @@ -53534,7 +55526,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collation_name", @@ -53560,7 +55553,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "numeric_precision", @@ -53586,7 +55580,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "numeric_precision_radix", @@ -53612,7 +55607,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "numeric_scale", @@ -53638,7 +55634,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datetime_precision", @@ -53664,7 +55661,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "interval_type", @@ -53690,7 +55688,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "interval_precision", @@ -53716,7 +55715,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "domain_default", @@ -53742,7 +55742,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_catalog", @@ -53768,7 +55769,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_schema", @@ -53794,7 +55796,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_name", @@ -53820,7 +55823,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "scope_catalog", @@ -53846,7 +55850,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "scope_schema", @@ -53872,7 +55877,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "scope_name", @@ -53898,7 +55904,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "maximum_cardinality", @@ -53924,7 +55931,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "dtd_identifier", @@ -53950,7 +55958,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -53986,7 +55995,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -54022,7 +56032,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_data_wrapper_name", @@ -54048,7 +56059,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "option_name", @@ -54074,7 +56086,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "option_value", @@ -54100,7 +56113,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -54136,7 +56150,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_data_wrapper_name", @@ -54162,7 +56177,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "authorization_identifier", @@ -54188,7 +56204,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "library_name", @@ -54214,7 +56231,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_data_wrapper_language", @@ -54240,7 +56258,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -54276,7 +56295,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_server_name", @@ -54302,7 +56322,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "option_name", @@ -54328,7 +56349,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "option_value", @@ -54354,7 +56376,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -54390,7 +56413,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_server_name", @@ -54416,7 +56440,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_data_wrapper_catalog", @@ -54442,7 +56467,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_data_wrapper_name", @@ -54468,7 +56494,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_server_type", @@ -54494,7 +56521,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_server_version", @@ -54520,7 +56548,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "authorization_identifier", @@ -54546,7 +56575,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -54582,7 +56612,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_table_schema", @@ -54608,7 +56639,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_table_name", @@ -54634,7 +56666,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "option_name", @@ -54660,7 +56693,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "option_value", @@ -54686,7 +56720,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -54722,7 +56757,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_table_schema", @@ -54748,7 +56784,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_table_name", @@ -54774,7 +56811,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_server_catalog", @@ -54800,7 +56838,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_server_name", @@ -54826,7 +56865,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -54862,7 +56902,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -54898,7 +56939,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "constraint_schema", @@ -54924,7 +56966,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "constraint_name", @@ -54950,7 +56993,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_catalog", @@ -54976,7 +57020,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_schema", @@ -55002,7 +57047,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_name", @@ -55028,7 +57074,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "column_name", @@ -55054,7 +57101,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ordinal_position", @@ -55080,7 +57128,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "position_in_unique_constraint", @@ -55106,7 +57155,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -55142,7 +57192,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "specific_schema", @@ -55168,7 +57219,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "specific_name", @@ -55194,7 +57246,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ordinal_position", @@ -55220,7 +57273,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "parameter_mode", @@ -55246,7 +57300,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_result", @@ -55272,7 +57327,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "as_locator", @@ -55298,7 +57354,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "parameter_name", @@ -55324,7 +57381,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "data_type", @@ -55350,7 +57408,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_maximum_length", @@ -55376,7 +57435,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_octet_length", @@ -55402,7 +57462,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_set_catalog", @@ -55428,7 +57489,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_set_schema", @@ -55454,7 +57516,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_set_name", @@ -55480,7 +57543,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collation_catalog", @@ -55506,7 +57570,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collation_schema", @@ -55532,7 +57597,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collation_name", @@ -55558,7 +57624,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "numeric_precision", @@ -55584,7 +57651,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "numeric_precision_radix", @@ -55610,7 +57678,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "numeric_scale", @@ -55636,7 +57705,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datetime_precision", @@ -55662,7 +57732,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "interval_type", @@ -55688,7 +57759,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "interval_precision", @@ -55714,7 +57786,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_catalog", @@ -55740,7 +57813,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_schema", @@ -55766,7 +57840,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_name", @@ -55792,7 +57867,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "scope_catalog", @@ -55818,7 +57894,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "scope_schema", @@ -55844,7 +57921,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "scope_name", @@ -55870,7 +57948,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "maximum_cardinality", @@ -55896,7 +57975,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "dtd_identifier", @@ -55922,7 +58002,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "parameter_default", @@ -55948,7 +58029,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -55984,7 +58066,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "constraint_schema", @@ -56010,7 +58093,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "constraint_name", @@ -56036,7 +58120,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "unique_constraint_catalog", @@ -56062,7 +58147,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "unique_constraint_schema", @@ -56088,7 +58174,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "unique_constraint_name", @@ -56114,7 +58201,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "match_option", @@ -56140,7 +58228,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "update_rule", @@ -56166,7 +58255,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "delete_rule", @@ -56192,7 +58282,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -56228,7 +58319,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "grantee", @@ -56254,7 +58346,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_catalog", @@ -56280,7 +58373,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_schema", @@ -56306,7 +58400,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_name", @@ -56332,7 +58427,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "column_name", @@ -56358,7 +58454,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "privilege_type", @@ -56384,7 +58481,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_grantable", @@ -56410,7 +58508,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -56446,7 +58545,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "grantee", @@ -56472,7 +58572,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "specific_catalog", @@ -56498,7 +58599,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "specific_schema", @@ -56524,7 +58626,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "specific_name", @@ -56550,7 +58653,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "routine_catalog", @@ -56576,7 +58680,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "routine_schema", @@ -56602,7 +58707,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "routine_name", @@ -56628,7 +58734,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "privilege_type", @@ -56654,7 +58761,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_grantable", @@ -56680,7 +58788,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -56716,7 +58825,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "grantee", @@ -56742,7 +58852,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_catalog", @@ -56768,7 +58879,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_schema", @@ -56794,7 +58906,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_name", @@ -56820,7 +58933,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "privilege_type", @@ -56846,7 +58960,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_grantable", @@ -56872,7 +58987,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "with_hierarchy", @@ -56898,7 +59014,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -56934,7 +59051,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "grantee", @@ -56960,7 +59078,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_catalog", @@ -56986,7 +59105,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_schema", @@ -57012,7 +59132,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_name", @@ -57038,7 +59159,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "privilege_type", @@ -57064,7 +59186,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_grantable", @@ -57090,7 +59213,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -57126,7 +59250,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "grantee", @@ -57152,7 +59277,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "object_catalog", @@ -57178,7 +59304,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "object_schema", @@ -57204,7 +59331,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "object_name", @@ -57230,7 +59358,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "object_type", @@ -57256,7 +59385,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "privilege_type", @@ -57282,7 +59412,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_grantable", @@ -57308,7 +59439,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -57344,7 +59476,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "specific_schema", @@ -57370,7 +59503,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "specific_name", @@ -57396,7 +59530,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "routine_catalog", @@ -57422,7 +59557,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "routine_schema", @@ -57448,7 +59584,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "routine_name", @@ -57474,7 +59611,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_catalog", @@ -57500,7 +59638,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_schema", @@ -57526,7 +59665,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_name", @@ -57552,7 +59692,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "column_name", @@ -57578,7 +59719,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -57614,7 +59756,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "grantee", @@ -57640,7 +59783,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "specific_catalog", @@ -57666,7 +59810,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "specific_schema", @@ -57692,7 +59837,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "specific_name", @@ -57718,7 +59864,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "routine_catalog", @@ -57744,7 +59891,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "routine_schema", @@ -57770,7 +59918,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "routine_name", @@ -57796,7 +59945,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "privilege_type", @@ -57822,7 +59972,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_grantable", @@ -57848,7 +59999,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -57884,7 +60036,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "specific_schema", @@ -57910,7 +60063,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "specific_name", @@ -57936,7 +60090,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "routine_catalog", @@ -57962,7 +60117,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "routine_schema", @@ -57988,7 +60144,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "routine_name", @@ -58014,7 +60171,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -58050,7 +60208,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "specific_schema", @@ -58076,7 +60235,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "specific_name", @@ -58102,7 +60262,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "routine_catalog", @@ -58128,7 +60289,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "routine_schema", @@ -58154,7 +60316,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "routine_name", @@ -58180,7 +60343,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sequence_catalog", @@ -58206,7 +60370,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sequence_schema", @@ -58232,7 +60397,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sequence_name", @@ -58258,7 +60424,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -58294,7 +60461,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "specific_schema", @@ -58320,7 +60488,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "specific_name", @@ -58346,7 +60515,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "routine_catalog", @@ -58372,7 +60542,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "routine_schema", @@ -58398,7 +60569,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "routine_name", @@ -58424,7 +60596,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_catalog", @@ -58450,7 +60623,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_schema", @@ -58476,7 +60650,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_name", @@ -58502,7 +60677,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -58538,7 +60714,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "specific_schema", @@ -58564,7 +60741,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "specific_name", @@ -58590,7 +60768,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "routine_catalog", @@ -58616,7 +60795,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "routine_schema", @@ -58642,7 +60822,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "routine_name", @@ -58668,7 +60849,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "routine_type", @@ -58694,7 +60876,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "module_catalog", @@ -58720,7 +60903,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "module_schema", @@ -58746,7 +60930,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "module_name", @@ -58772,7 +60957,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_catalog", @@ -58798,7 +60984,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_schema", @@ -58824,7 +61011,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_name", @@ -58850,7 +61038,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "data_type", @@ -58876,7 +61065,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_maximum_length", @@ -58902,7 +61092,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_octet_length", @@ -58928,7 +61119,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_set_catalog", @@ -58954,7 +61146,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_set_schema", @@ -58980,7 +61173,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_set_name", @@ -59006,7 +61200,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collation_catalog", @@ -59032,7 +61227,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collation_schema", @@ -59058,7 +61254,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collation_name", @@ -59084,7 +61281,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "numeric_precision", @@ -59110,7 +61308,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "numeric_precision_radix", @@ -59136,7 +61335,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "numeric_scale", @@ -59162,7 +61362,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datetime_precision", @@ -59188,7 +61389,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "interval_type", @@ -59214,7 +61416,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "interval_precision", @@ -59240,7 +61443,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "type_udt_catalog", @@ -59266,7 +61470,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "type_udt_schema", @@ -59292,7 +61497,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "type_udt_name", @@ -59318,7 +61524,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "scope_catalog", @@ -59344,7 +61551,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "scope_schema", @@ -59370,7 +61578,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "scope_name", @@ -59396,7 +61605,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "maximum_cardinality", @@ -59422,7 +61632,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "dtd_identifier", @@ -59448,7 +61659,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "routine_body", @@ -59474,7 +61686,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "routine_definition", @@ -59500,7 +61713,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "external_name", @@ -59526,7 +61740,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "external_language", @@ -59552,7 +61767,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "parameter_style", @@ -59578,7 +61794,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_deterministic", @@ -59604,7 +61821,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sql_data_access", @@ -59630,7 +61848,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_null_call", @@ -59656,7 +61875,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sql_path", @@ -59682,7 +61902,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "schema_level_routine", @@ -59708,7 +61929,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "max_dynamic_result_sets", @@ -59734,7 +61956,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_user_defined_cast", @@ -59760,7 +61983,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_implicitly_invocable", @@ -59786,7 +62010,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "security_type", @@ -59812,7 +62037,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "to_sql_specific_catalog", @@ -59838,7 +62064,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "to_sql_specific_schema", @@ -59864,7 +62091,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "to_sql_specific_name", @@ -59890,7 +62118,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "as_locator", @@ -59916,7 +62145,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "created", @@ -59942,7 +62172,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "last_altered", @@ -59968,7 +62199,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "new_savepoint_level", @@ -59994,7 +62226,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_udt_dependent", @@ -60020,7 +62253,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "result_cast_from_data_type", @@ -60046,7 +62280,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "result_cast_as_locator", @@ -60072,7 +62307,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "result_cast_char_max_length", @@ -60098,7 +62334,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "result_cast_char_octet_length", @@ -60124,7 +62361,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "result_cast_char_set_catalog", @@ -60150,7 +62388,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "result_cast_char_set_schema", @@ -60176,7 +62415,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "result_cast_char_set_name", @@ -60202,7 +62442,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "result_cast_collation_catalog", @@ -60228,7 +62469,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "result_cast_collation_schema", @@ -60254,7 +62496,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "result_cast_collation_name", @@ -60280,7 +62523,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "result_cast_numeric_precision", @@ -60306,7 +62550,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "result_cast_numeric_precision_radix", @@ -60332,7 +62577,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "result_cast_numeric_scale", @@ -60358,7 +62604,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "result_cast_datetime_precision", @@ -60384,7 +62631,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "result_cast_interval_type", @@ -60410,7 +62658,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "result_cast_interval_precision", @@ -60436,7 +62685,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "result_cast_type_udt_catalog", @@ -60462,7 +62712,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "result_cast_type_udt_schema", @@ -60488,7 +62739,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "result_cast_type_udt_name", @@ -60514,7 +62766,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "result_cast_scope_catalog", @@ -60540,7 +62793,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "result_cast_scope_schema", @@ -60566,7 +62820,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "result_cast_scope_name", @@ -60592,7 +62847,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "result_cast_maximum_cardinality", @@ -60618,7 +62874,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "result_cast_dtd_identifier", @@ -60644,7 +62901,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -60680,7 +62938,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "schema_name", @@ -60706,7 +62965,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "schema_owner", @@ -60732,7 +62992,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "default_character_set_catalog", @@ -60758,7 +63019,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "default_character_set_schema", @@ -60784,7 +63046,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "default_character_set_name", @@ -60810,7 +63073,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sql_path", @@ -60836,7 +63100,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -60872,7 +63137,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sequence_schema", @@ -60898,7 +63164,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sequence_name", @@ -60924,7 +63191,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "data_type", @@ -60950,7 +63218,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "numeric_precision", @@ -60976,7 +63245,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "numeric_precision_radix", @@ -61002,7 +63272,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "numeric_scale", @@ -61028,7 +63299,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "start_value", @@ -61054,7 +63326,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "minimum_value", @@ -61080,7 +63353,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "maximum_value", @@ -61106,7 +63380,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "increment", @@ -61132,7 +63407,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cycle_option", @@ -61158,7 +63434,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -61194,7 +63471,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -61220,7 +63498,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -61246,7 +63525,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -61272,7 +63552,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -61298,7 +63579,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -61324,7 +63606,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "feature_id", @@ -61350,7 +63633,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "feature_name", @@ -61376,7 +63660,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sub_feature_id", @@ -61402,7 +63687,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sub_feature_name", @@ -61428,7 +63714,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_supported", @@ -61454,7 +63741,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_verified_by", @@ -61480,7 +63768,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "comments", @@ -61506,7 +63795,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -61542,7 +63832,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -61568,7 +63859,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -61594,7 +63886,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -61620,7 +63913,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -61646,7 +63940,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -61672,7 +63967,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "implementation_info_id", @@ -61698,7 +63994,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "implementation_info_name", @@ -61724,7 +64021,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "integer_value", @@ -61750,7 +64048,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_value", @@ -61776,7 +64075,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "comments", @@ -61802,7 +64102,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -61838,7 +64139,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -61864,7 +64166,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -61890,7 +64193,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -61916,7 +64220,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -61942,7 +64247,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -61968,7 +64274,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "feature_id", @@ -61994,7 +64301,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "feature_name", @@ -62020,7 +64328,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_supported", @@ -62046,7 +64355,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_verified_by", @@ -62072,7 +64382,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "comments", @@ -62098,7 +64409,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -62134,7 +64446,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmax", @@ -62160,7 +64473,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmax", @@ -62186,7 +64500,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "cmin", @@ -62212,7 +64527,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "xmin", @@ -62238,7 +64554,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ctid", @@ -62264,7 +64581,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sizing_id", @@ -62290,7 +64608,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "sizing_name", @@ -62316,7 +64635,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "supported_value", @@ -62342,7 +64662,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "comments", @@ -62368,7 +64689,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -62404,7 +64726,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "constraint_schema", @@ -62430,7 +64753,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "constraint_name", @@ -62456,7 +64780,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_catalog", @@ -62482,7 +64807,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_schema", @@ -62508,7 +64834,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_name", @@ -62534,7 +64861,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "constraint_type", @@ -62560,7 +64888,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_deferrable", @@ -62586,7 +64915,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "initially_deferred", @@ -62612,7 +64942,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "enforced", @@ -62638,7 +64969,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "nulls_distinct", @@ -62664,7 +64996,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -62700,7 +65033,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "grantee", @@ -62726,7 +65060,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_catalog", @@ -62752,7 +65087,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_schema", @@ -62778,7 +65114,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_name", @@ -62804,7 +65141,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "privilege_type", @@ -62830,7 +65168,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_grantable", @@ -62856,7 +65195,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "with_hierarchy", @@ -62882,7 +65222,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -62918,7 +65259,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_schema", @@ -62944,7 +65286,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_name", @@ -62970,7 +65313,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_type", @@ -62996,7 +65340,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "self_referencing_column_name", @@ -63022,7 +65367,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "reference_generation", @@ -63048,7 +65394,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "user_defined_type_catalog", @@ -63074,7 +65421,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "user_defined_type_schema", @@ -63100,7 +65448,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "user_defined_type_name", @@ -63126,7 +65475,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_insertable_into", @@ -63152,7 +65502,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_typed", @@ -63178,7 +65529,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "commit_action", @@ -63204,7 +65556,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -63240,7 +65593,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_schema", @@ -63266,7 +65620,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_name", @@ -63292,7 +65647,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "specific_catalog", @@ -63318,7 +65674,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "specific_schema", @@ -63344,7 +65701,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "specific_name", @@ -63370,7 +65728,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "group_name", @@ -63396,7 +65755,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "transform_type", @@ -63422,7 +65782,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -63458,7 +65819,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "trigger_schema", @@ -63484,7 +65846,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "trigger_name", @@ -63510,7 +65873,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "event_object_catalog", @@ -63536,7 +65900,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "event_object_schema", @@ -63562,7 +65927,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "event_object_table", @@ -63588,7 +65954,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "event_object_column", @@ -63614,7 +65981,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -63650,7 +66018,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "trigger_schema", @@ -63676,7 +66045,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "trigger_name", @@ -63702,7 +66072,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "event_manipulation", @@ -63728,7 +66099,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "event_object_catalog", @@ -63754,7 +66126,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "event_object_schema", @@ -63780,7 +66153,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "event_object_table", @@ -63806,7 +66180,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "action_order", @@ -63832,7 +66207,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "action_condition", @@ -63858,7 +66234,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "action_statement", @@ -63884,7 +66261,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "action_orientation", @@ -63910,7 +66288,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "action_timing", @@ -63936,7 +66315,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "action_reference_old_table", @@ -63962,7 +66342,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "action_reference_new_table", @@ -63988,7 +66369,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "action_reference_old_row", @@ -64014,7 +66396,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "action_reference_new_row", @@ -64040,7 +66423,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "created", @@ -64066,7 +66450,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -64102,7 +66487,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "grantee", @@ -64128,7 +66514,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_catalog", @@ -64154,7 +66541,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_schema", @@ -64180,7 +66568,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "udt_name", @@ -64206,7 +66595,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "privilege_type", @@ -64232,7 +66622,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_grantable", @@ -64258,7 +66649,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -64294,7 +66686,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "grantee", @@ -64320,7 +66713,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "object_catalog", @@ -64346,7 +66740,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "object_schema", @@ -64372,7 +66767,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "object_name", @@ -64398,7 +66794,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "object_type", @@ -64424,7 +66821,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "privilege_type", @@ -64450,7 +66848,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_grantable", @@ -64476,7 +66875,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -64512,7 +66912,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "user_defined_type_schema", @@ -64538,7 +66939,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "user_defined_type_name", @@ -64564,7 +66966,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "user_defined_type_category", @@ -64590,7 +66993,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_instantiable", @@ -64616,7 +67020,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_final", @@ -64642,7 +67047,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ordering_form", @@ -64668,7 +67074,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ordering_category", @@ -64694,7 +67101,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ordering_routine_catalog", @@ -64720,7 +67128,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ordering_routine_schema", @@ -64746,7 +67155,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ordering_routine_name", @@ -64772,7 +67182,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "reference_type", @@ -64798,7 +67209,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "data_type", @@ -64824,7 +67236,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_maximum_length", @@ -64850,7 +67263,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_octet_length", @@ -64876,7 +67290,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_set_catalog", @@ -64902,7 +67317,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_set_schema", @@ -64928,7 +67344,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "character_set_name", @@ -64954,7 +67371,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collation_catalog", @@ -64980,7 +67398,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collation_schema", @@ -65006,7 +67425,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "collation_name", @@ -65032,7 +67452,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "numeric_precision", @@ -65058,7 +67479,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "numeric_precision_radix", @@ -65084,7 +67506,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "numeric_scale", @@ -65110,7 +67533,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "datetime_precision", @@ -65136,7 +67560,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "interval_type", @@ -65162,7 +67587,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "interval_precision", @@ -65188,7 +67614,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "source_dtd_identifier", @@ -65214,7 +67641,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "ref_dtd_identifier", @@ -65240,7 +67668,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -65276,7 +67705,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_server_catalog", @@ -65302,7 +67732,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_server_name", @@ -65328,7 +67759,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "option_name", @@ -65354,7 +67786,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "option_value", @@ -65380,7 +67813,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -65416,7 +67850,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_server_catalog", @@ -65442,7 +67877,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "foreign_server_name", @@ -65468,7 +67904,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -65504,7 +67941,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "view_schema", @@ -65530,7 +67968,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "view_name", @@ -65556,7 +67995,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_catalog", @@ -65582,7 +68022,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_schema", @@ -65608,7 +68049,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_name", @@ -65634,7 +68076,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "column_name", @@ -65660,7 +68103,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -65696,7 +68140,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_schema", @@ -65722,7 +68167,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_name", @@ -65748,7 +68194,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "specific_catalog", @@ -65774,7 +68221,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "specific_schema", @@ -65800,7 +68248,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "specific_name", @@ -65826,7 +68275,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -65862,7 +68312,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "view_schema", @@ -65888,7 +68339,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "view_name", @@ -65914,7 +68366,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_catalog", @@ -65940,7 +68393,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_schema", @@ -65966,7 +68420,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_name", @@ -65992,7 +68447,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -66028,7 +68484,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_schema", @@ -66054,7 +68511,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "table_name", @@ -66080,7 +68538,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "view_definition", @@ -66106,7 +68565,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "check_option", @@ -66132,7 +68592,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_updatable", @@ -66158,7 +68619,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_insertable_into", @@ -66184,7 +68646,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_trigger_updatable", @@ -66210,7 +68673,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_trigger_deletable", @@ -66236,7 +68700,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "is_trigger_insertable_into", @@ -66262,7 +68727,8 @@ "embed_table": null, "original_name": "", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "comment": "" @@ -66303,7 +68769,8 @@ "embed_table": null, "original_name": "id", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "name", @@ -66329,7 +68796,8 @@ "embed_table": null, "original_name": "name", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "bio", @@ -66355,7 +68823,8 @@ "embed_table": null, "original_name": "bio", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "params": [ @@ -66385,8 +68854,10 @@ "embed_table": null, "original_name": "id", "unsigned": false, - "array_dims": 0 - } + "array_dims": 0, + "type_expr": null + }, + "name": "" } ], "comments": [], @@ -66422,7 +68893,8 @@ "embed_table": null, "original_name": "id", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "name", @@ -66448,7 +68920,8 @@ "embed_table": null, "original_name": "name", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "bio", @@ -66474,7 +68947,8 @@ "embed_table": null, "original_name": "bio", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "params": [], @@ -66511,7 +68985,8 @@ "embed_table": null, "original_name": "id", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "name", @@ -66537,7 +69012,8 @@ "embed_table": null, "original_name": "name", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null }, { "name": "bio", @@ -66563,7 +69039,8 @@ "embed_table": null, "original_name": "bio", "unsigned": false, - "array_dims": 0 + "array_dims": 0, + "type_expr": null } ], "params": [ @@ -66593,8 +69070,10 @@ "embed_table": null, "original_name": "name", "unsigned": false, - "array_dims": 0 - } + "array_dims": 0, + "type_expr": null + }, + "name": "" }, { "number": 2, @@ -66622,8 +69101,10 @@ "embed_table": null, "original_name": "bio", "unsigned": false, - "array_dims": 0 - } + "array_dims": 0, + "type_expr": null + }, + "name": "" } ], "comments": [], @@ -66666,8 +69147,10 @@ "embed_table": null, "original_name": "id", "unsigned": false, - "array_dims": 0 - } + "array_dims": 0, + "type_expr": null + }, + "name": "" } ], "comments": [], diff --git a/internal/endtoend/vet_test.go b/internal/endtoend/vet_test.go index 011c032c2e..19bf8df8bc 100644 --- a/internal/endtoend/vet_test.go +++ b/internal/endtoend/vet_test.go @@ -47,6 +47,9 @@ func TestExamplesVet(t *testing.T) { continue } tc := replay.Name() + if !isExample(filepath.Join(examples, tc)) { + continue + } t.Run(tc, func(t *testing.T) { t.Parallel() path := filepath.Join(examples, tc) diff --git a/internal/engine/clickhouse/convert.go b/internal/engine/clickhouse/convert.go index f1505c0687..3450a2f10d 100644 --- a/internal/engine/clickhouse/convert.go +++ b/internal/engine/clickhouse/convert.go @@ -14,6 +14,9 @@ import ( type cc struct { paramCount int + // named maps the name of each {name:Type} placeholder to its number: + // the query binds a name once, however many times it uses it. + named map[string]int } // pos is a node's byte offset in the query. doubleclick counts positions @@ -691,9 +694,19 @@ func (c *cc) convertFunctionCall(n *chast.FunctionCall) *ast.FuncCall { } func (c *cc) convertParameter(n *chast.Parameter) ast.Node { - c.paramCount++ + number, ok := c.named[n.Name] + if !ok || n.Name == "" { + c.paramCount++ + number = c.paramCount + if n.Name != "" { + if c.named == nil { + c.named = map[string]int{} + } + c.named[n.Name] = number + } + } ref := &ast.ParamRef{ - Number: c.paramCount, + Number: number, Name: n.Name, Location: pos(n), } diff --git a/internal/engine/duckdb/dialect/types.jsonl b/internal/engine/duckdb/dialect/types.jsonl index 72b97de855..c88fc243ef 100644 --- a/internal/engine/duckdb/dialect/types.jsonl +++ b/internal/engine/duckdb/dialect/types.jsonl @@ -36,5 +36,6 @@ {"name":"usmallint","category":"N","aliases":["uint16"]} {"name":"utinyint","category":"N","aliases":["uint8"]} {"name":"uuid","category":"U","aliases":["guid"]} -{"name":"varchar","category":"S","aliases":["json","bpchar","char","nvarchar","string","text"]} +{"name":"varchar","category":"S","aliases":["bpchar","char","nvarchar","string","text"]} {"name":"variant","category":"U"} +{"name":"json","category":"S","base":"varchar"} diff --git a/internal/engine/googlesql/convert.go b/internal/engine/googlesql/convert.go index cedfe7f090..abce8d5bdf 100644 --- a/internal/engine/googlesql/convert.go +++ b/internal/engine/googlesql/convert.go @@ -532,6 +532,7 @@ func (c *cc) convertParameterExpr(n *zjast.ParameterExpr) ast.Node { } return &ast.ParamRef{ Number: number, + Name: n.Name.Name, Location: n.Pos(), } } diff --git a/internal/engine/mssql/convert.go b/internal/engine/mssql/convert.go index dc0ac7181b..bdef335bc6 100644 --- a/internal/engine/mssql/convert.go +++ b/internal/engine/mssql/convert.go @@ -11,9 +11,9 @@ import ( type cc struct { paramCount int - // namedParams tracks the number assigned to each "@name" so repeated - // uses share a single parameter. - namedParams map[string]int + // namedParams tracks the parameter each "@name" was given, by its + // lowercased name, so repeated uses share a single parameter. + namedParams map[string]namedParam // toByte maps a teesql UTF-16 code-unit offset to a byte offset in the // source, so Location fields agree with StmtLocation/StmtLen. toByte func(int) int @@ -696,24 +696,35 @@ func (c *cc) convertColumnReference(n *tsql.ColumnReferenceExpression) *ast.Colu } // convertVariableReference converts an "@name" query parameter. Repeated uses -// of a name share a single parameter number. +// of a name share a single parameter number. SQL Server compares variable +// names without regard to case, so @Name and @name are one parameter, bound +// by the spelling of its first use. func (c *cc) convertVariableReference(n *tsql.VariableReference) ast.Node { name := strings.TrimPrefix(n.Name, "@") - number, ok := c.namedParams[name] + key := strings.ToLower(name) + param, ok := c.namedParams[key] if !ok { c.paramCount++ - number = c.paramCount + param = namedParam{number: c.paramCount, name: name} if c.namedParams == nil { - c.namedParams = map[string]int{} + c.namedParams = map[string]namedParam{} } - c.namedParams[name] = number + c.namedParams[key] = param } return &ast.ParamRef{ - Number: number, + Number: param.number, + Name: param.name, Location: c.loc(n), } } +// namedParam is the number an @name parameter was given and the spelling +// of the name at its first use. +type namedParam struct { + number int + name string +} + func (c *cc) convertFunctionCall(n *tsql.FunctionCall) *ast.FuncCall { fc := &ast.FuncCall{ Funcname: &ast.List{ diff --git a/internal/goldeneye/dialect/dialect.go b/internal/goldeneye/dialect/dialect.go index 6085ec9b2f..6b053a120a 100644 --- a/internal/goldeneye/dialect/dialect.go +++ b/internal/goldeneye/dialect/dialect.go @@ -36,11 +36,13 @@ const ( const ExtensionsDir = "extensions" // Type is a type the dialect defines. Aliases are spellings of the same type -// that a schema may use in a column definition. +// that a schema may use in a column definition. Base names the type this +// one stands on, which is listed before it. type Type struct { Name string `json:"name"` Category string `json:"category"` Aliases []string `json:"aliases,omitempty"` + Base string `json:"base,omitempty"` } // Operator is a single operator overload. diff --git a/internal/goldeneye/duckdb/duckdb.go b/internal/goldeneye/duckdb/duckdb.go index 9232117f8c..1005a2d5ea 100644 --- a/internal/goldeneye/duckdb/duckdb.go +++ b/internal/goldeneye/duckdb/duckdb.go @@ -160,8 +160,18 @@ ORDER BY type_name`, &rows) } } + // Most spellings are the logical type under another name, but an + // extension can register one that DuckDB keeps apart: JSON is a + // VARCHAR whose values are reported, bound and decoded as JSON. Such a + // spelling is the one typeof() names a value cast to it by, and it + // becomes a type of its own standing on the logical type. + own, err := ownTypes(ctx, binary, grouped) + if err != nil { + return nil, err + } + sort.Strings(order) - types := make([]dialect.Type, 0, len(order)+1) + types := make([]dialect.Type, 0, len(order)+len(own)+1) // "any" stands in for the generic parameters of DuckDB's polymorphic // functions (ANY, T, K, V); the analyzer resolves a call returning it // to the type of the call's first argument. @@ -169,6 +179,52 @@ ORDER BY type_name`, &rows) for _, name := range order { types = append(types, *grouped[name]) } + // Listed after every type they could stand on. + return append(types, own...), nil +} + +// ownTypes takes out of the grouped types' aliases the spellings DuckDB +// keeps as types of their own, and returns them as types standing on the +// type they were grouped under. +func ownTypes(ctx context.Context, binary string, grouped map[string]*dialect.Type) ([]dialect.Type, error) { + var spellings []string + var exprs []string + for _, t := range grouped { + for _, alias := range t.Aliases { + exprs = append(exprs, fmt.Sprintf("typeof(CAST(NULL AS %s)) AS c%d", alias, len(spellings))) + spellings = append(spellings, alias) + } + } + if len(spellings) == 0 { + return nil, nil + } + var rows []map[string]string + if err := query(ctx, binary, "SELECT "+strings.Join(exprs, ", "), &rows); err != nil { + return nil, err + } + if len(rows) != 1 { + return nil, fmt.Errorf("typeof of the type aliases: got %d rows, want 1", len(rows)) + } + own := map[string]bool{} + for i, alias := range spellings { + if strings.EqualFold(rows[0][fmt.Sprintf("c%d", i)], alias) { + own[alias] = true + } + } + + var types []dialect.Type + for _, t := range grouped { + kept := t.Aliases[:0] + for _, alias := range t.Aliases { + if own[alias] { + types = append(types, dialect.Type{Name: alias, Category: t.Category, Base: t.Name}) + continue + } + kept = append(kept, alias) + } + t.Aliases = kept + } + sort.Slice(types, func(i, j int) bool { return types[i].Name < types[j].Name }) return types, nil } diff --git a/internal/plugin/codegen.pb.go b/internal/plugin/codegen.pb.go index 525ffc72ef..b740672f1c 100644 --- a/internal/plugin/codegen.pb.go +++ b/internal/plugin/codegen.pb.go @@ -635,6 +635,211 @@ func (x *Identifier) GetName() string { return "" } +// TypeExpr is a column's type as an expression: its name, whether a value +// of it may be null, and its arguments — the (10, 2) of decimal(10, 2), the +// element of array(integer), the fields of struct(a: integer). It is set +// only when the analysis core typed the column; the flat description in +// Column (type, not_null, is_array, array_dims, length, unsigned) is set +// either way. +type TypeExpr struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` + Nullable bool `protobuf:"varint,2,opt,name=nullable,proto3" json:"nullable,omitempty"` + Args []*TypeArg `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"` +} + +func (x *TypeExpr) Reset() { + *x = TypeExpr{} + if protoimpl.UnsafeEnabled { + mi := &file_plugin_codegen_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TypeExpr) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TypeExpr) ProtoMessage() {} + +func (x *TypeExpr) ProtoReflect() protoreflect.Message { + mi := &file_plugin_codegen_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TypeExpr.ProtoReflect.Descriptor instead. +func (*TypeExpr) Descriptor() ([]byte, []int) { + return file_plugin_codegen_proto_rawDescGZIP(), []int{9} +} + +func (x *TypeExpr) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *TypeExpr) GetNullable() bool { + if x != nil { + return x.Nullable + } + return false +} + +func (x *TypeExpr) GetArgs() []*TypeArg { + if x != nil { + return x.Args + } + return nil +} + +// TypeArg is one argument of a TypeExpr. Exactly one of the values is set: +// a type for array(integer), an integer for varchar(20), a boolean or a +// string for a dialect that takes them, or an identifier for a bare word +// that is not a type, such as the max of nvarchar(max). A label names the +// argument, as the fields of struct(a: integer, b: varchar) are named. +type TypeArg struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"` + // Types that are assignable to Value: + // + // *TypeArg_Type + // *TypeArg_IntValue + // *TypeArg_BoolValue + // *TypeArg_StringValue + // *TypeArg_Ident + Value isTypeArg_Value `protobuf_oneof:"value"` +} + +func (x *TypeArg) Reset() { + *x = TypeArg{} + if protoimpl.UnsafeEnabled { + mi := &file_plugin_codegen_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TypeArg) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TypeArg) ProtoMessage() {} + +func (x *TypeArg) ProtoReflect() protoreflect.Message { + mi := &file_plugin_codegen_proto_msgTypes[10] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TypeArg.ProtoReflect.Descriptor instead. +func (*TypeArg) Descriptor() ([]byte, []int) { + return file_plugin_codegen_proto_rawDescGZIP(), []int{10} +} + +func (x *TypeArg) GetLabel() string { + if x != nil { + return x.Label + } + return "" +} + +func (m *TypeArg) GetValue() isTypeArg_Value { + if m != nil { + return m.Value + } + return nil +} + +func (x *TypeArg) GetType() *TypeExpr { + if x, ok := x.GetValue().(*TypeArg_Type); ok { + return x.Type + } + return nil +} + +func (x *TypeArg) GetIntValue() int64 { + if x, ok := x.GetValue().(*TypeArg_IntValue); ok { + return x.IntValue + } + return 0 +} + +func (x *TypeArg) GetBoolValue() bool { + if x, ok := x.GetValue().(*TypeArg_BoolValue); ok { + return x.BoolValue + } + return false +} + +func (x *TypeArg) GetStringValue() string { + if x, ok := x.GetValue().(*TypeArg_StringValue); ok { + return x.StringValue + } + return "" +} + +func (x *TypeArg) GetIdent() string { + if x, ok := x.GetValue().(*TypeArg_Ident); ok { + return x.Ident + } + return "" +} + +type isTypeArg_Value interface { + isTypeArg_Value() +} + +type TypeArg_Type struct { + Type *TypeExpr `protobuf:"bytes,2,opt,name=type,proto3,oneof"` +} + +type TypeArg_IntValue struct { + IntValue int64 `protobuf:"varint,3,opt,name=int_value,json=intValue,proto3,oneof"` +} + +type TypeArg_BoolValue struct { + BoolValue bool `protobuf:"varint,4,opt,name=bool_value,json=boolValue,proto3,oneof"` +} + +type TypeArg_StringValue struct { + StringValue string `protobuf:"bytes,5,opt,name=string_value,json=stringValue,proto3,oneof"` +} + +type TypeArg_Ident struct { + Ident string `protobuf:"bytes,6,opt,name=ident,proto3,oneof"` +} + +func (*TypeArg_Type) isTypeArg_Value() {} + +func (*TypeArg_IntValue) isTypeArg_Value() {} + +func (*TypeArg_BoolValue) isTypeArg_Value() {} + +func (*TypeArg_StringValue) isTypeArg_Value() {} + +func (*TypeArg_Ident) isTypeArg_Value() {} + type Column struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -657,12 +862,13 @@ type Column struct { OriginalName string `protobuf:"bytes,15,opt,name=original_name,json=originalName,proto3" json:"original_name,omitempty"` Unsigned bool `protobuf:"varint,16,opt,name=unsigned,proto3" json:"unsigned,omitempty"` ArrayDims int32 `protobuf:"varint,17,opt,name=array_dims,json=arrayDims,proto3" json:"array_dims,omitempty"` + TypeExpr *TypeExpr `protobuf:"bytes,18,opt,name=type_expr,json=typeExpr,proto3" json:"type_expr,omitempty"` } func (x *Column) Reset() { *x = Column{} if protoimpl.UnsafeEnabled { - mi := &file_plugin_codegen_proto_msgTypes[9] + mi := &file_plugin_codegen_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -675,7 +881,7 @@ func (x *Column) String() string { func (*Column) ProtoMessage() {} func (x *Column) ProtoReflect() protoreflect.Message { - mi := &file_plugin_codegen_proto_msgTypes[9] + mi := &file_plugin_codegen_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -688,7 +894,7 @@ func (x *Column) ProtoReflect() protoreflect.Message { // Deprecated: Use Column.ProtoReflect.Descriptor instead. func (*Column) Descriptor() ([]byte, []int) { - return file_plugin_codegen_proto_rawDescGZIP(), []int{9} + return file_plugin_codegen_proto_rawDescGZIP(), []int{11} } func (x *Column) GetName() string { @@ -803,6 +1009,13 @@ func (x *Column) GetArrayDims() int32 { return 0 } +func (x *Column) GetTypeExpr() *TypeExpr { + if x != nil { + return x.TypeExpr + } + return nil +} + type Query struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -821,7 +1034,7 @@ type Query struct { func (x *Query) Reset() { *x = Query{} if protoimpl.UnsafeEnabled { - mi := &file_plugin_codegen_proto_msgTypes[10] + mi := &file_plugin_codegen_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -834,7 +1047,7 @@ func (x *Query) String() string { func (*Query) ProtoMessage() {} func (x *Query) ProtoReflect() protoreflect.Message { - mi := &file_plugin_codegen_proto_msgTypes[10] + mi := &file_plugin_codegen_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -847,7 +1060,7 @@ func (x *Query) ProtoReflect() protoreflect.Message { // Deprecated: Use Query.ProtoReflect.Descriptor instead. func (*Query) Descriptor() ([]byte, []int) { - return file_plugin_codegen_proto_rawDescGZIP(), []int{10} + return file_plugin_codegen_proto_rawDescGZIP(), []int{12} } func (x *Query) GetText() string { @@ -913,12 +1126,13 @@ type Parameter struct { Number int32 `protobuf:"varint,1,opt,name=number,proto3" json:"number,omitempty"` Column *Column `protobuf:"bytes,2,opt,name=column,proto3" json:"column,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` } func (x *Parameter) Reset() { *x = Parameter{} if protoimpl.UnsafeEnabled { - mi := &file_plugin_codegen_proto_msgTypes[11] + mi := &file_plugin_codegen_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -931,7 +1145,7 @@ func (x *Parameter) String() string { func (*Parameter) ProtoMessage() {} func (x *Parameter) ProtoReflect() protoreflect.Message { - mi := &file_plugin_codegen_proto_msgTypes[11] + mi := &file_plugin_codegen_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -944,7 +1158,7 @@ func (x *Parameter) ProtoReflect() protoreflect.Message { // Deprecated: Use Parameter.ProtoReflect.Descriptor instead. func (*Parameter) Descriptor() ([]byte, []int) { - return file_plugin_codegen_proto_rawDescGZIP(), []int{11} + return file_plugin_codegen_proto_rawDescGZIP(), []int{13} } func (x *Parameter) GetNumber() int32 { @@ -961,6 +1175,13 @@ func (x *Parameter) GetColumn() *Column { return nil } +func (x *Parameter) GetName() string { + if x != nil { + return x.Name + } + return "" +} + type GenerateRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -977,7 +1198,7 @@ type GenerateRequest struct { func (x *GenerateRequest) Reset() { *x = GenerateRequest{} if protoimpl.UnsafeEnabled { - mi := &file_plugin_codegen_proto_msgTypes[12] + mi := &file_plugin_codegen_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -990,7 +1211,7 @@ func (x *GenerateRequest) String() string { func (*GenerateRequest) ProtoMessage() {} func (x *GenerateRequest) ProtoReflect() protoreflect.Message { - mi := &file_plugin_codegen_proto_msgTypes[12] + mi := &file_plugin_codegen_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1003,7 +1224,7 @@ func (x *GenerateRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GenerateRequest.ProtoReflect.Descriptor instead. func (*GenerateRequest) Descriptor() ([]byte, []int) { - return file_plugin_codegen_proto_rawDescGZIP(), []int{12} + return file_plugin_codegen_proto_rawDescGZIP(), []int{14} } func (x *GenerateRequest) GetSettings() *Settings { @@ -1059,7 +1280,7 @@ type GenerateResponse struct { func (x *GenerateResponse) Reset() { *x = GenerateResponse{} if protoimpl.UnsafeEnabled { - mi := &file_plugin_codegen_proto_msgTypes[13] + mi := &file_plugin_codegen_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1072,7 +1293,7 @@ func (x *GenerateResponse) String() string { func (*GenerateResponse) ProtoMessage() {} func (x *GenerateResponse) ProtoReflect() protoreflect.Message { - mi := &file_plugin_codegen_proto_msgTypes[13] + mi := &file_plugin_codegen_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1085,7 +1306,7 @@ func (x *GenerateResponse) ProtoReflect() protoreflect.Message { // Deprecated: Use GenerateResponse.ProtoReflect.Descriptor instead. func (*GenerateResponse) Descriptor() ([]byte, []int) { - return file_plugin_codegen_proto_rawDescGZIP(), []int{13} + return file_plugin_codegen_proto_rawDescGZIP(), []int{15} } func (x *GenerateResponse) GetFiles() []*File { @@ -1106,7 +1327,7 @@ type Codegen_Process struct { func (x *Codegen_Process) Reset() { *x = Codegen_Process{} if protoimpl.UnsafeEnabled { - mi := &file_plugin_codegen_proto_msgTypes[14] + mi := &file_plugin_codegen_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1119,7 +1340,7 @@ func (x *Codegen_Process) String() string { func (*Codegen_Process) ProtoMessage() {} func (x *Codegen_Process) ProtoReflect() protoreflect.Message { - mi := &file_plugin_codegen_proto_msgTypes[14] + mi := &file_plugin_codegen_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1154,7 +1375,7 @@ type Codegen_WASM struct { func (x *Codegen_WASM) Reset() { *x = Codegen_WASM{} if protoimpl.UnsafeEnabled { - mi := &file_plugin_codegen_proto_msgTypes[15] + mi := &file_plugin_codegen_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1167,7 +1388,7 @@ func (x *Codegen_WASM) String() string { func (*Codegen_WASM) ProtoMessage() {} func (x *Codegen_WASM) ProtoReflect() protoreflect.Message { - mi := &file_plugin_codegen_proto_msgTypes[15] + mi := &file_plugin_codegen_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1275,40 +1496,62 @@ var file_plugin_codegen_proto_rawDesc = []byte{ 0x6f, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x8e, 0x04, - 0x0a, 0x06, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, - 0x6e, 0x6f, 0x74, 0x5f, 0x6e, 0x75, 0x6c, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, - 0x6e, 0x6f, 0x74, 0x4e, 0x75, 0x6c, 0x6c, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x61, 0x72, - 0x72, 0x61, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x41, 0x72, 0x72, - 0x61, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x06, - 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6c, 0x65, - 0x6e, 0x67, 0x74, 0x68, 0x12, 0x24, 0x0a, 0x0e, 0x69, 0x73, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x64, - 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, 0x73, - 0x4e, 0x61, 0x6d, 0x65, 0x64, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x20, 0x0a, 0x0c, 0x69, 0x73, - 0x5f, 0x66, 0x75, 0x6e, 0x63, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, - 0x52, 0x0a, 0x69, 0x73, 0x46, 0x75, 0x6e, 0x63, 0x43, 0x61, 0x6c, 0x6c, 0x12, 0x14, 0x0a, 0x05, - 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x63, 0x6f, - 0x70, 0x65, 0x12, 0x28, 0x0a, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, - 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x1f, 0x0a, 0x0b, - 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x26, 0x0a, - 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x6c, - 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, - 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x73, 0x71, 0x6c, 0x63, - 0x5f, 0x73, 0x6c, 0x69, 0x63, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, 0x73, - 0x53, 0x71, 0x6c, 0x63, 0x53, 0x6c, 0x69, 0x63, 0x65, 0x12, 0x33, 0x0a, 0x0b, 0x65, 0x6d, 0x62, - 0x65, 0x64, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, - 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, - 0x65, 0x72, 0x52, 0x0a, 0x65, 0x6d, 0x62, 0x65, 0x64, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x23, - 0x0a, 0x0d, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x4e, - 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x6e, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x18, - 0x10, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x75, 0x6e, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x12, - 0x1d, 0x0a, 0x0a, 0x61, 0x72, 0x72, 0x61, 0x79, 0x5f, 0x64, 0x69, 0x6d, 0x73, 0x18, 0x11, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x09, 0x61, 0x72, 0x72, 0x61, 0x79, 0x44, 0x69, 0x6d, 0x73, 0x22, 0x94, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x5f, 0x0a, + 0x08, 0x54, 0x79, 0x70, 0x65, 0x45, 0x78, 0x70, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, + 0x08, 0x6e, 0x75, 0x6c, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x08, 0x6e, 0x75, 0x6c, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x23, 0x0a, 0x04, 0x61, 0x72, 0x67, + 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, + 0x2e, 0x54, 0x79, 0x70, 0x65, 0x41, 0x72, 0x67, 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x22, 0xcd, + 0x01, 0x0a, 0x07, 0x54, 0x79, 0x70, 0x65, 0x41, 0x72, 0x67, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x61, + 0x62, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, + 0x12, 0x26, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, + 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x45, 0x78, 0x70, 0x72, + 0x48, 0x00, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x09, 0x69, 0x6e, 0x74, 0x5f, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52, 0x08, 0x69, + 0x6e, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x0a, 0x62, 0x6f, 0x6f, 0x6c, 0x5f, + 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x09, 0x62, + 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x23, 0x0a, 0x0c, 0x73, 0x74, 0x72, 0x69, + 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, + 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x16, 0x0a, + 0x05, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x05, + 0x69, 0x64, 0x65, 0x6e, 0x74, 0x42, 0x07, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xbd, + 0x04, 0x0a, 0x06, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a, + 0x08, 0x6e, 0x6f, 0x74, 0x5f, 0x6e, 0x75, 0x6c, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x07, 0x6e, 0x6f, 0x74, 0x4e, 0x75, 0x6c, 0x6c, 0x12, 0x19, 0x0a, 0x08, 0x69, 0x73, 0x5f, 0x61, + 0x72, 0x72, 0x61, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x69, 0x73, 0x41, 0x72, + 0x72, 0x61, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x05, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x16, 0x0a, + 0x06, 0x6c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6c, + 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x24, 0x0a, 0x0e, 0x69, 0x73, 0x5f, 0x6e, 0x61, 0x6d, 0x65, + 0x64, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x69, + 0x73, 0x4e, 0x61, 0x6d, 0x65, 0x64, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x12, 0x20, 0x0a, 0x0c, 0x69, + 0x73, 0x5f, 0x66, 0x75, 0x6e, 0x63, 0x5f, 0x63, 0x61, 0x6c, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x0a, 0x69, 0x73, 0x46, 0x75, 0x6e, 0x63, 0x43, 0x61, 0x6c, 0x6c, 0x12, 0x14, 0x0a, + 0x05, 0x73, 0x63, 0x6f, 0x70, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x63, + 0x6f, 0x70, 0x65, 0x12, 0x28, 0x0a, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x0a, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x49, 0x64, 0x65, 0x6e, + 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x05, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x1f, 0x0a, + 0x0b, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x18, 0x0b, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0a, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x41, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x26, + 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, + 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, + 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x69, 0x73, 0x5f, 0x73, 0x71, 0x6c, + 0x63, 0x5f, 0x73, 0x6c, 0x69, 0x63, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x69, + 0x73, 0x53, 0x71, 0x6c, 0x63, 0x53, 0x6c, 0x69, 0x63, 0x65, 0x12, 0x33, 0x0a, 0x0b, 0x65, 0x6d, + 0x62, 0x65, 0x64, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x12, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, + 0x69, 0x65, 0x72, 0x52, 0x0a, 0x65, 0x6d, 0x62, 0x65, 0x64, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x12, + 0x23, 0x0a, 0x0d, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, + 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x6e, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, + 0x18, 0x10, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x75, 0x6e, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, + 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x72, 0x72, 0x61, 0x79, 0x5f, 0x64, 0x69, 0x6d, 0x73, 0x18, 0x11, + 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x61, 0x72, 0x72, 0x61, 0x79, 0x44, 0x69, 0x6d, 0x73, 0x12, + 0x2d, 0x0a, 0x09, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x72, 0x18, 0x12, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x54, 0x79, 0x70, 0x65, + 0x45, 0x78, 0x70, 0x72, 0x52, 0x08, 0x74, 0x79, 0x70, 0x65, 0x45, 0x78, 0x70, 0x72, 0x22, 0x94, 0x02, 0x0a, 0x05, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, @@ -1326,45 +1569,46 @@ var file_plugin_codegen_proto_rawDesc = []byte{ 0x74, 0x6f, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x11, 0x69, 0x6e, 0x73, 0x65, 0x72, 0x74, 0x5f, 0x69, 0x6e, 0x74, 0x6f, 0x5f, - 0x74, 0x61, 0x62, 0x6c, 0x65, 0x22, 0x4b, 0x0a, 0x09, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x22, 0x5f, 0x0a, 0x09, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x26, 0x0a, 0x06, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x52, 0x06, 0x63, 0x6f, 0x6c, 0x75, - 0x6d, 0x6e, 0x22, 0x87, 0x02, 0x0a, 0x0f, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x08, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, - 0x67, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, - 0x6e, 0x2e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x08, 0x73, 0x65, 0x74, 0x74, - 0x69, 0x6e, 0x67, 0x73, 0x12, 0x29, 0x0a, 0x07, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x43, - 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x52, 0x07, 0x63, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x12, - 0x27, 0x0a, 0x07, 0x71, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x0d, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79, 0x52, - 0x07, 0x71, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x71, 0x6c, 0x63, - 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, - 0x73, 0x71, 0x6c, 0x63, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x26, 0x0a, 0x0e, - 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x5f, 0x6f, 0x70, 0x74, - 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x26, 0x0a, 0x0e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x6f, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x67, 0x6c, - 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x36, 0x0a, 0x10, - 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x22, 0x0a, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, - 0x0c, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x05, 0x66, - 0x69, 0x6c, 0x65, 0x73, 0x32, 0x4f, 0x0a, 0x0e, 0x43, 0x6f, 0x64, 0x65, 0x67, 0x65, 0x6e, 0x53, - 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x3d, 0x0a, 0x08, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, - 0x74, 0x65, 0x12, 0x17, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x47, 0x65, 0x6e, 0x65, - 0x72, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x70, 0x6c, - 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x7c, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x2e, 0x70, 0x6c, 0x75, - 0x67, 0x69, 0x6e, 0x42, 0x0c, 0x43, 0x6f, 0x64, 0x65, 0x67, 0x65, 0x6e, 0x50, 0x72, 0x6f, 0x74, - 0x6f, 0x50, 0x01, 0x5a, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, - 0x73, 0x71, 0x6c, 0x63, 0x2d, 0x64, 0x65, 0x76, 0x2f, 0x73, 0x71, 0x6c, 0x63, 0x2f, 0x69, 0x6e, - 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0xa2, 0x02, 0x03, - 0x50, 0x58, 0x58, 0xaa, 0x02, 0x06, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0xca, 0x02, 0x06, 0x50, - 0x6c, 0x75, 0x67, 0x69, 0x6e, 0xe2, 0x02, 0x12, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x5c, 0x47, - 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x06, 0x50, 0x6c, 0x75, - 0x67, 0x69, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x6d, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x87, 0x02, 0x0a, 0x0f, 0x47, 0x65, 0x6e, 0x65, 0x72, + 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x08, 0x73, 0x65, + 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, + 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x08, + 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x29, 0x0a, 0x07, 0x63, 0x61, 0x74, 0x61, + 0x6c, 0x6f, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x70, 0x6c, 0x75, 0x67, + 0x69, 0x6e, 0x2e, 0x43, 0x61, 0x74, 0x61, 0x6c, 0x6f, 0x67, 0x52, 0x07, 0x63, 0x61, 0x74, 0x61, + 0x6c, 0x6f, 0x67, 0x12, 0x27, 0x0a, 0x07, 0x71, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x18, 0x03, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0d, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x51, 0x75, + 0x65, 0x72, 0x79, 0x52, 0x07, 0x71, 0x75, 0x65, 0x72, 0x69, 0x65, 0x73, 0x12, 0x22, 0x0a, 0x0c, + 0x73, 0x71, 0x6c, 0x63, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0c, 0x73, 0x71, 0x6c, 0x63, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x12, 0x26, 0x0a, 0x0e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, + 0x6e, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, + 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x26, 0x0a, 0x0e, 0x67, 0x6c, 0x6f, 0x62, + 0x61, 0x6c, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x0e, 0x67, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, + 0x22, 0x36, 0x0a, 0x10, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x22, 0x0a, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x46, 0x69, 0x6c, + 0x65, 0x52, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x32, 0x4f, 0x0a, 0x0e, 0x43, 0x6f, 0x64, 0x65, + 0x67, 0x65, 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x3d, 0x0a, 0x08, 0x47, 0x65, + 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x12, 0x17, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, + 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x18, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x47, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x7c, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, + 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x42, 0x0c, 0x43, 0x6f, 0x64, 0x65, 0x67, 0x65, 0x6e, + 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x28, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, + 0x63, 0x6f, 0x6d, 0x2f, 0x73, 0x71, 0x6c, 0x63, 0x2d, 0x64, 0x65, 0x76, 0x2f, 0x73, 0x71, 0x6c, + 0x63, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, + 0x6e, 0xa2, 0x02, 0x03, 0x50, 0x58, 0x58, 0xaa, 0x02, 0x06, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, + 0xca, 0x02, 0x06, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0xe2, 0x02, 0x12, 0x50, 0x6c, 0x75, 0x67, + 0x69, 0x6e, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, + 0x06, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -1379,7 +1623,7 @@ func file_plugin_codegen_proto_rawDescGZIP() []byte { return file_plugin_codegen_proto_rawDescData } -var file_plugin_codegen_proto_msgTypes = make([]protoimpl.MessageInfo, 16) +var file_plugin_codegen_proto_msgTypes = make([]protoimpl.MessageInfo, 18) var file_plugin_codegen_proto_goTypes = []interface{}{ (*File)(nil), // 0: plugin.File (*Settings)(nil), // 1: plugin.Settings @@ -1390,42 +1634,47 @@ var file_plugin_codegen_proto_goTypes = []interface{}{ (*Enum)(nil), // 6: plugin.Enum (*Table)(nil), // 7: plugin.Table (*Identifier)(nil), // 8: plugin.Identifier - (*Column)(nil), // 9: plugin.Column - (*Query)(nil), // 10: plugin.Query - (*Parameter)(nil), // 11: plugin.Parameter - (*GenerateRequest)(nil), // 12: plugin.GenerateRequest - (*GenerateResponse)(nil), // 13: plugin.GenerateResponse - (*Codegen_Process)(nil), // 14: plugin.Codegen.Process - (*Codegen_WASM)(nil), // 15: plugin.Codegen.WASM + (*TypeExpr)(nil), // 9: plugin.TypeExpr + (*TypeArg)(nil), // 10: plugin.TypeArg + (*Column)(nil), // 11: plugin.Column + (*Query)(nil), // 12: plugin.Query + (*Parameter)(nil), // 13: plugin.Parameter + (*GenerateRequest)(nil), // 14: plugin.GenerateRequest + (*GenerateResponse)(nil), // 15: plugin.GenerateResponse + (*Codegen_Process)(nil), // 16: plugin.Codegen.Process + (*Codegen_WASM)(nil), // 17: plugin.Codegen.WASM } var file_plugin_codegen_proto_depIdxs = []int32{ 2, // 0: plugin.Settings.codegen:type_name -> plugin.Codegen - 14, // 1: plugin.Codegen.process:type_name -> plugin.Codegen.Process - 15, // 2: plugin.Codegen.wasm:type_name -> plugin.Codegen.WASM + 16, // 1: plugin.Codegen.process:type_name -> plugin.Codegen.Process + 17, // 2: plugin.Codegen.wasm:type_name -> plugin.Codegen.WASM 4, // 3: plugin.Catalog.schemas:type_name -> plugin.Schema 7, // 4: plugin.Schema.tables:type_name -> plugin.Table 6, // 5: plugin.Schema.enums:type_name -> plugin.Enum 5, // 6: plugin.Schema.composite_types:type_name -> plugin.CompositeType 8, // 7: plugin.Table.rel:type_name -> plugin.Identifier - 9, // 8: plugin.Table.columns:type_name -> plugin.Column - 8, // 9: plugin.Column.table:type_name -> plugin.Identifier - 8, // 10: plugin.Column.type:type_name -> plugin.Identifier - 8, // 11: plugin.Column.embed_table:type_name -> plugin.Identifier - 9, // 12: plugin.Query.columns:type_name -> plugin.Column - 11, // 13: plugin.Query.params:type_name -> plugin.Parameter - 8, // 14: plugin.Query.insert_into_table:type_name -> plugin.Identifier - 9, // 15: plugin.Parameter.column:type_name -> plugin.Column - 1, // 16: plugin.GenerateRequest.settings:type_name -> plugin.Settings - 3, // 17: plugin.GenerateRequest.catalog:type_name -> plugin.Catalog - 10, // 18: plugin.GenerateRequest.queries:type_name -> plugin.Query - 0, // 19: plugin.GenerateResponse.files:type_name -> plugin.File - 12, // 20: plugin.CodegenService.Generate:input_type -> plugin.GenerateRequest - 13, // 21: plugin.CodegenService.Generate:output_type -> plugin.GenerateResponse - 21, // [21:22] is the sub-list for method output_type - 20, // [20:21] is the sub-list for method input_type - 20, // [20:20] is the sub-list for extension type_name - 20, // [20:20] is the sub-list for extension extendee - 0, // [0:20] is the sub-list for field type_name + 11, // 8: plugin.Table.columns:type_name -> plugin.Column + 10, // 9: plugin.TypeExpr.args:type_name -> plugin.TypeArg + 9, // 10: plugin.TypeArg.type:type_name -> plugin.TypeExpr + 8, // 11: plugin.Column.table:type_name -> plugin.Identifier + 8, // 12: plugin.Column.type:type_name -> plugin.Identifier + 8, // 13: plugin.Column.embed_table:type_name -> plugin.Identifier + 9, // 14: plugin.Column.type_expr:type_name -> plugin.TypeExpr + 11, // 15: plugin.Query.columns:type_name -> plugin.Column + 13, // 16: plugin.Query.params:type_name -> plugin.Parameter + 8, // 17: plugin.Query.insert_into_table:type_name -> plugin.Identifier + 11, // 18: plugin.Parameter.column:type_name -> plugin.Column + 1, // 19: plugin.GenerateRequest.settings:type_name -> plugin.Settings + 3, // 20: plugin.GenerateRequest.catalog:type_name -> plugin.Catalog + 12, // 21: plugin.GenerateRequest.queries:type_name -> plugin.Query + 0, // 22: plugin.GenerateResponse.files:type_name -> plugin.File + 14, // 23: plugin.CodegenService.Generate:input_type -> plugin.GenerateRequest + 15, // 24: plugin.CodegenService.Generate:output_type -> plugin.GenerateResponse + 24, // [24:25] is the sub-list for method output_type + 23, // [23:24] is the sub-list for method input_type + 23, // [23:23] is the sub-list for extension type_name + 23, // [23:23] is the sub-list for extension extendee + 0, // [0:23] is the sub-list for field type_name } func init() { file_plugin_codegen_proto_init() } @@ -1543,7 +1792,7 @@ func file_plugin_codegen_proto_init() { } } file_plugin_codegen_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Column); i { + switch v := v.(*TypeExpr); i { case 0: return &v.state case 1: @@ -1555,7 +1804,7 @@ func file_plugin_codegen_proto_init() { } } file_plugin_codegen_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Query); i { + switch v := v.(*TypeArg); i { case 0: return &v.state case 1: @@ -1567,7 +1816,7 @@ func file_plugin_codegen_proto_init() { } } file_plugin_codegen_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Parameter); i { + switch v := v.(*Column); i { case 0: return &v.state case 1: @@ -1579,7 +1828,7 @@ func file_plugin_codegen_proto_init() { } } file_plugin_codegen_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GenerateRequest); i { + switch v := v.(*Query); i { case 0: return &v.state case 1: @@ -1591,7 +1840,7 @@ func file_plugin_codegen_proto_init() { } } file_plugin_codegen_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GenerateResponse); i { + switch v := v.(*Parameter); i { case 0: return &v.state case 1: @@ -1603,7 +1852,7 @@ func file_plugin_codegen_proto_init() { } } file_plugin_codegen_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Codegen_Process); i { + switch v := v.(*GenerateRequest); i { case 0: return &v.state case 1: @@ -1615,6 +1864,30 @@ func file_plugin_codegen_proto_init() { } } file_plugin_codegen_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GenerateResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_plugin_codegen_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Codegen_Process); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_plugin_codegen_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Codegen_WASM); i { case 0: return &v.state @@ -1627,13 +1900,20 @@ func file_plugin_codegen_proto_init() { } } } + file_plugin_codegen_proto_msgTypes[10].OneofWrappers = []interface{}{ + (*TypeArg_Type)(nil), + (*TypeArg_IntValue)(nil), + (*TypeArg_BoolValue)(nil), + (*TypeArg_StringValue)(nil), + (*TypeArg_Ident)(nil), + } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_plugin_codegen_proto_rawDesc, NumEnums: 0, - NumMessages: 16, + NumMessages: 18, NumExtensions: 0, NumServices: 1, }, diff --git a/internal/sql/ast/param_ref.go b/internal/sql/ast/param_ref.go index 0936c60d30..c533fc0387 100644 --- a/internal/sql/ast/param_ref.go +++ b/internal/sql/ast/param_ref.go @@ -9,7 +9,8 @@ type ParamRef struct { Location int `json:"location"` Dollar bool `json:"dollar"` // Name is the name the query gave the placeholder, when its syntax - // has one: ClickHouse's {name:Type}. + // has one: SQL Server's and Spanner's @name and ClickHouse's + // {name:Type}. Name string `json:"name,omitempty"` } diff --git a/internal/sql/catalog/table.go b/internal/sql/catalog/table.go index a91e399a7e..1cf114721c 100644 --- a/internal/sql/catalog/table.go +++ b/internal/sql/catalog/table.go @@ -4,6 +4,7 @@ import ( "errors" "fmt" + "github.com/sqlc-dev/sqlc/internal/core" "github.com/sqlc-dev/sqlc/internal/sql/ast" "github.com/sqlc-dev/sqlc/internal/sql/sqlerr" ) @@ -129,6 +130,11 @@ type Column struct { Comment string Length *int + // TypeExpr is the type as the analysis core wrote it, with the + // arguments and nesting Type and IsArray flatten away. It is unset + // on the legacy path. + TypeExpr *core.TypeExpr + linkedType bool } diff --git a/protos/plugin/codegen.proto b/protos/plugin/codegen.proto index e6faf19bad..e62208ee95 100644 --- a/protos/plugin/codegen.proto +++ b/protos/plugin/codegen.proto @@ -81,6 +81,34 @@ message Identifier { string name = 3; } +// TypeExpr is a column's type as an expression: its name, whether a value +// of it may be null, and its arguments — the (10, 2) of decimal(10, 2), the +// element of array(integer), the fields of struct(a: integer). It is set +// only when the analysis core typed the column; the flat description in +// Column (type, not_null, is_array, array_dims, length, unsigned) is set +// either way. +message TypeExpr { + string name = 1; + bool nullable = 2; + repeated TypeArg args = 3; +} + +// TypeArg is one argument of a TypeExpr. Exactly one of the values is set: +// a type for array(integer), an integer for varchar(20), a boolean or a +// string for a dialect that takes them, or an identifier for a bare word +// that is not a type, such as the max of nvarchar(max). A label names the +// argument, as the fields of struct(a: integer, b: varchar) are named. +message TypeArg { + string label = 1; + oneof value { + TypeExpr type = 2; + int64 int_value = 3; + bool bool_value = 4; + string string_value = 5; + string ident = 6; + } +} + message Column { string name = 1; bool not_null = 3; @@ -100,6 +128,7 @@ message Column { string original_name = 15; bool unsigned = 16; int32 array_dims = 17; + TypeExpr type_expr = 18; } message Query { @@ -116,6 +145,7 @@ message Query { message Parameter { int32 number = 1 [json_name = "number"]; Column column = 2 [json_name = "column"]; + string name = 3 [json_name = "name"]; } message GenerateRequest { From 971579ed14225538b795512ac1a8f1a6f4475fbb Mon Sep 17 00:00:00 2001 From: Kyle Gray Date: Fri, 9 Oct 2026 08:48:35 -0700 Subject: [PATCH 02/16] deps: bump golang.org/x/net to v0.60.0 for govulncheck (#4636) * deps: bump golang.org/x/net to v0.60.0 for govulncheck govulncheck flags GO-2026-6603, GO-2026-6610, GO-2026-6611, GO-2026-6612 and one more in golang.org/x/net v0.58.0, all fixed in v0.60.0. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01St6H2Ga9JLZsjQmfFRCtb5 * examples: bump golang.org/x/net to v0.60.0 Brings the examples module past the same golang.org/x/net advisories fixed in the root module. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01St6H2Ga9JLZsjQmfFRCtb5 --------- Co-authored-by: Claude --- examples/go.mod | 14 +++++++------- examples/go.sum | 28 ++++++++++++++-------------- go.mod | 6 +++--- go.sum | 12 ++++++------ 4 files changed, 30 insertions(+), 30 deletions(-) diff --git a/examples/go.mod b/examples/go.mod index 4a2db9c438..185c4e29d0 100644 --- a/examples/go.mod +++ b/examples/go.mod @@ -87,17 +87,17 @@ require ( go.opentelemetry.io/otel/sdk v1.44.0 // indirect go.opentelemetry.io/otel/sdk/metric v1.44.0 // indirect go.opentelemetry.io/otel/trace v1.44.0 // indirect - golang.org/x/crypto v0.55.0 // indirect + golang.org/x/crypto v0.57.0 // indirect golang.org/x/exp v0.0.0-20260112195511-716be5621a96 // indirect - golang.org/x/mod v0.38.0 // indirect - golang.org/x/net v0.58.0 // indirect + golang.org/x/mod v0.41.0 // indirect + golang.org/x/net v0.60.0 // indirect golang.org/x/oauth2 v0.36.0 // indirect golang.org/x/sync v0.23.0 // indirect - golang.org/x/sys v0.47.0 // indirect - golang.org/x/telemetry v0.0.0-20260708182218-49f421fb7959 // indirect - golang.org/x/text v0.41.0 // indirect + golang.org/x/sys v0.48.0 // indirect + golang.org/x/telemetry v0.0.0-20260811182544-a038080d80e5 // indirect + golang.org/x/text v0.42.0 // indirect golang.org/x/time v0.15.0 // indirect - golang.org/x/tools v0.48.0 // indirect + golang.org/x/tools v0.49.0 // indirect golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da // indirect google.golang.org/genproto v0.0.0-20260715232425-e75dac1f907d // indirect google.golang.org/genproto/googleapis/api v0.0.0-20260715232425-e75dac1f907d // indirect diff --git a/examples/go.sum b/examples/go.sum index ba447cb5db..ac3208e8cd 100644 --- a/examples/go.sum +++ b/examples/go.sum @@ -239,24 +239,24 @@ go.yaml.in/yaml/v3 v3.0.5 h1:N6y/pJk8buWs9NY5ERU2HSMfm+IuD/OtfdAnq6kESPw= go.yaml.in/yaml/v3 v3.0.5/go.mod h1:HVTZu1O7/Vkt2N+BFy8Zza+lnLsABggaTM2ZpNIGuKg= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.55.0 h1:+KWHjbgOaAQ66dh/YlkZKHlz9ZUlq61AFirAR9ntP8M= -golang.org/x/crypto v0.55.0/go.mod h1:uq0V9dE/fzQuJtbnL+2EhWOE63vo164FY8xqEnV9xis= +golang.org/x/crypto v0.57.0 h1:3ZVCjf8Ggz7zneR/EHRVx68Ctf+2pmIMP2UFhh9cC6M= +golang.org/x/crypto v0.57.0/go.mod h1:Fdz0i5U6CoizGwLda9DttjSk6qlZo25zYNtR+ycvuZA= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20260112195511-716be5621a96 h1:Z/6YuSHTLOHfNFdb8zVZomZr7cqNgTJvA8+Qz75D8gU= golang.org/x/exp v0.0.0-20260112195511-716be5621a96/go.mod h1:nzimsREAkjBCIEFtHiYkrJyT+2uy9YZJB7H1k68CXZU= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/mod v0.38.0 h1:MECBjubtXD7yj4HrhIUcywNaGeNVUdfVnxmPajOk4yk= -golang.org/x/mod v0.38.0/go.mod h1:V6Xz0pq8TQ3dGqVQ1FVHuelZpAL0uNhSkk9ogYP3c40= +golang.org/x/mod v0.41.0 h1:qJmnOUb4YB+FsEuM3HcWucdZASCPGhsX6uljO6pog0c= +golang.org/x/mod v0.41.0/go.mod h1:Ek9pY8RKWXwsWvd3rQiHYtMqkjSUV+s1Rj7j4H5Ur6o= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.58.0 h1:ynWG7rqYi4ccpTEuPZ2QGWHktVEM9DMCj9yzDE0Q7To= -golang.org/x/net v0.58.0/go.mod h1:YwCddHnFlT7eLQqVprV19OnhLGtc5xOKgE0RyqgfWAU= +golang.org/x/net v0.60.0 h1:79p50tfZlm0J9YfoDsSi639qSXNGVwEzOPLCxM2FsYU= +golang.org/x/net v0.60.0/go.mod h1:2DA/G1UfVbCpQPeWTmMPGY7Cs2PkBkwu743bVX5PIVg= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.36.0 h1:peZ/1z27fi9hUOFCAZaHyrpWG5lwe0RJEEEeH0ThlIs= golang.org/x/oauth2 v0.36.0/go.mod h1:YDBUJMTkDnJS+A4BP4eZBjCqtokkg1hODuPjwiGPO7Q= @@ -269,14 +269,14 @@ golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5h golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.47.0 h1:o7XGOvZQCADBQQ4Y7VNq2dRWQR7JmOUW8Kxx4ZsNgWs= -golang.org/x/sys v0.47.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw= -golang.org/x/telemetry v0.0.0-20260708182218-49f421fb7959 h1:RJhm5l6Fo4rmEIcndxDllNhhf/fAx8qIm4t6A7vpm2A= -golang.org/x/telemetry v0.0.0-20260708182218-49f421fb7959/go.mod h1:LV7u5Oco+Z/g6XI7PqN+EUUUGGkEcmB1uj2ceI0fOVg= +golang.org/x/sys v0.48.0 h1:bbX/i/6MgT9BVLM9RT1thmxL04yeTAhbEz4SyadbXoo= +golang.org/x/sys v0.48.0/go.mod h1:hNLxWAXmnKAxqDtdwIYC4bM9oQPEecfsnNMuSxOs3og= +golang.org/x/telemetry v0.0.0-20260811182544-a038080d80e5 h1:ZUSxONxc981v7AW7QUg+I9WwZzSTTJ019ENBYr5pV/Q= +golang.org/x/telemetry v0.0.0-20260811182544-a038080d80e5/go.mod h1:LVehoXe41cL5SCVQilsV7Gg6BNG+Js6P9PhSbYTIUkQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.41.0 h1:vz/seA0lnX87Othu2f/0L24RcgrXD9/YFTSuGjj3rH8= -golang.org/x/text v0.41.0/go.mod h1:jvf1O8ajNzZqhSrQBPbutR/EB83Cc0CFrezNQIwbb5M= +golang.org/x/text v0.42.0 h1:JbOZXgfeCPU9gacVtYliJqOhD+zhrEqK4LfdpmlUZqI= +golang.org/x/text v0.42.0/go.mod h1:ojzP1Z+2QtioaF8DTtO8K5q7JWVVYwZKenzujK0Zd0E= golang.org/x/time v0.15.0 h1:bbrp8t3bGUeFOx08pvsMYRTCVSMk89u4tKbNOZbp88U= golang.org/x/time v0.15.0/go.mod h1:Y4YMaQmXwGQZoFaVFk4YpCt4FLQMYKZe9oeV/f4MSno= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= @@ -284,8 +284,8 @@ golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGm golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.48.0 h1:3+hClM1aLL5mjMKm5ovokw9epgRXPuu2tILgismM6RE= -golang.org/x/tools v0.48.0/go.mod h1:08xX0orndb/F7jJxGDicx061tyd5pcMto75YMAXr6lk= +golang.org/x/tools v0.49.0 h1:3NI7VXzL9+1WZD52Dx2ttoPwD5DWrFGpl9mFZDlmisI= +golang.org/x/tools v0.49.0/go.mod h1:SJNXV9DBKT0UbdttsQjbfJlAE/q+y36++zo3uL3N0Oo= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da h1:noIWHXmPHxILtqtCOPIhSt0ABwskkZKjD3bXGnZGpNY= golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da/go.mod h1:NDW/Ps6MPRej6fsCIbMTohpP40sJ/P/vI1MoTEGwX90= diff --git a/go.mod b/go.mod index 19ca819eff..ffe0bcbf9a 100644 --- a/go.mod +++ b/go.mod @@ -50,9 +50,9 @@ require ( github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect go.yaml.in/yaml/v3 v3.0.5 // indirect golang.org/x/exp v0.0.0-20250620022241-b7579e27df2b // indirect - golang.org/x/net v0.58.0 // indirect - golang.org/x/sys v0.47.0 // indirect - golang.org/x/text v0.41.0 // indirect + golang.org/x/net v0.60.0 // indirect + golang.org/x/sys v0.48.0 // indirect + golang.org/x/text v0.42.0 // indirect google.golang.org/genproto/googleapis/api v0.0.0-20260715232425-e75dac1f907d // indirect google.golang.org/genproto/googleapis/rpc v0.0.0-20260819154853-08b0e4226688 // indirect ) diff --git a/go.sum b/go.sum index c4e3c8fa88..7df2745334 100644 --- a/go.sum +++ b/go.sum @@ -110,14 +110,14 @@ go.yaml.in/yaml/v3 v3.0.5 h1:N6y/pJk8buWs9NY5ERU2HSMfm+IuD/OtfdAnq6kESPw= go.yaml.in/yaml/v3 v3.0.5/go.mod h1:HVTZu1O7/Vkt2N+BFy8Zza+lnLsABggaTM2ZpNIGuKg= golang.org/x/exp v0.0.0-20250620022241-b7579e27df2b h1:M2rDM6z3Fhozi9O7NWsxAkg/yqS/lQJ6PmkyIV3YP+o= golang.org/x/exp v0.0.0-20250620022241-b7579e27df2b/go.mod h1:3//PLf8L/X+8b4vuAfHzxeRUl04Adcb341+IGKfnqS8= -golang.org/x/net v0.58.0 h1:ynWG7rqYi4ccpTEuPZ2QGWHktVEM9DMCj9yzDE0Q7To= -golang.org/x/net v0.58.0/go.mod h1:YwCddHnFlT7eLQqVprV19OnhLGtc5xOKgE0RyqgfWAU= +golang.org/x/net v0.60.0 h1:79p50tfZlm0J9YfoDsSi639qSXNGVwEzOPLCxM2FsYU= +golang.org/x/net v0.60.0/go.mod h1:2DA/G1UfVbCpQPeWTmMPGY7Cs2PkBkwu743bVX5PIVg= golang.org/x/sync v0.23.0 h1:KameEIfc1IkluZyXWLn39Wd4tURc6GbCiISGiZm2bQk= golang.org/x/sync v0.23.0/go.mod h1:sUUOizhqBxiL6pEWpqNLUiaJn1ShEbZ6BBqskPbjZm0= -golang.org/x/sys v0.47.0 h1:o7XGOvZQCADBQQ4Y7VNq2dRWQR7JmOUW8Kxx4ZsNgWs= -golang.org/x/sys v0.47.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw= -golang.org/x/text v0.41.0 h1:vz/seA0lnX87Othu2f/0L24RcgrXD9/YFTSuGjj3rH8= -golang.org/x/text v0.41.0/go.mod h1:jvf1O8ajNzZqhSrQBPbutR/EB83Cc0CFrezNQIwbb5M= +golang.org/x/sys v0.48.0 h1:bbX/i/6MgT9BVLM9RT1thmxL04yeTAhbEz4SyadbXoo= +golang.org/x/sys v0.48.0/go.mod h1:hNLxWAXmnKAxqDtdwIYC4bM9oQPEecfsnNMuSxOs3og= +golang.org/x/text v0.42.0 h1:JbOZXgfeCPU9gacVtYliJqOhD+zhrEqK4LfdpmlUZqI= +golang.org/x/text v0.42.0/go.mod h1:ojzP1Z+2QtioaF8DTtO8K5q7JWVVYwZKenzujK0Zd0E= gonum.org/v1/gonum v0.17.0 h1:VbpOemQlsSMrYmn7T2OUvQ4dqxQXU+ouZFQsZOx50z4= gonum.org/v1/gonum v0.17.0/go.mod h1:El3tOrEuMpv2UdMrbNlKEh9vd86bmQ6vqIcDwxEOc1E= google.golang.org/genproto/googleapis/api v0.0.0-20260715232425-e75dac1f907d h1:QwnJwPte4XXAkhPu26LTDIahnsMSUV0kK8HkxbC+Pc4= From 0942ad2723b5107f68571867c7215c3b12863d43 Mon Sep 17 00:00:00 2001 From: Kyle Gray Date: Sat, 10 Oct 2026 15:49:28 -0700 Subject: [PATCH 03/16] Respect the engine selector on global Go type overrides (#4637) --- internal/codegen/golang/opts/options.go | 12 ++++- .../overrides_global_engine/mysql/db.go | 31 +++++++++++ .../overrides_global_engine/mysql/models.go | 15 ++++++ .../mysql/query.sql.go | 28 ++++++++++ .../testdata/overrides_global_engine/pg/db.go | 31 +++++++++++ .../overrides_global_engine/pg/models.go | 15 ++++++ .../overrides_global_engine/pg/query.sql.go | 28 ++++++++++ .../overrides_global_engine/query.sql | 3 ++ .../overrides_global_engine/schema.sql | 5 ++ .../overrides_global_engine/sqlc.yaml | 53 +++++++++++++++++++ .../overrides_global_engine/sqlite/db.go | 31 +++++++++++ .../overrides_global_engine/sqlite/models.go | 11 ++++ .../sqlite/query.sql.go | 27 ++++++++++ 13 files changed, 288 insertions(+), 2 deletions(-) create mode 100644 internal/endtoend/testdata/overrides_global_engine/mysql/db.go create mode 100644 internal/endtoend/testdata/overrides_global_engine/mysql/models.go create mode 100644 internal/endtoend/testdata/overrides_global_engine/mysql/query.sql.go create mode 100644 internal/endtoend/testdata/overrides_global_engine/pg/db.go create mode 100644 internal/endtoend/testdata/overrides_global_engine/pg/models.go create mode 100644 internal/endtoend/testdata/overrides_global_engine/pg/query.sql.go create mode 100644 internal/endtoend/testdata/overrides_global_engine/query.sql create mode 100644 internal/endtoend/testdata/overrides_global_engine/schema.sql create mode 100644 internal/endtoend/testdata/overrides_global_engine/sqlc.yaml create mode 100644 internal/endtoend/testdata/overrides_global_engine/sqlite/db.go create mode 100644 internal/endtoend/testdata/overrides_global_engine/sqlite/models.go create mode 100644 internal/endtoend/testdata/overrides_global_engine/sqlite/query.sql.go diff --git a/internal/codegen/golang/opts/options.go b/internal/codegen/golang/opts/options.go index 646bf1e066..64ceb13796 100644 --- a/internal/codegen/golang/opts/options.go +++ b/internal/codegen/golang/opts/options.go @@ -153,11 +153,19 @@ func parseGlobalOpts(req *plugin.GenerateRequest) (*GlobalOptions, error) { if err := json.Unmarshal(req.GlobalOptions, &options); err != nil { return nil, fmt.Errorf("unmarshalling global options: %w", err) } - for i := range options.Overrides { - if err := options.Overrides[i].parse(req); err != nil { + // Global overrides are shared by every SQL package, so drop the ones + // scoped to a different engine + overrides := options.Overrides[:0] + for _, o := range options.Overrides { + if o.Engine != "" && o.Engine != req.Settings.GetEngine() { + continue + } + if err := o.parse(req); err != nil { return nil, err } + overrides = append(overrides, o) } + options.Overrides = overrides return &options, nil } diff --git a/internal/endtoend/testdata/overrides_global_engine/mysql/db.go b/internal/endtoend/testdata/overrides_global_engine/mysql/db.go new file mode 100644 index 0000000000..8d745411c0 --- /dev/null +++ b/internal/endtoend/testdata/overrides_global_engine/mysql/db.go @@ -0,0 +1,31 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 + +package mysql + +import ( + "context" + "database/sql" +) + +type DBTX interface { + ExecContext(context.Context, string, ...any) (sql.Result, error) + PrepareContext(context.Context, string) (*sql.Stmt, error) + QueryContext(context.Context, string, ...any) (*sql.Rows, error) + QueryRowContext(context.Context, string, ...any) *sql.Row +} + +func New(db DBTX) *Queries { + return &Queries{db: db} +} + +type Queries struct { + db DBTX +} + +func (q *Queries) WithTx(tx *sql.Tx) *Queries { + return &Queries{ + db: tx, + } +} diff --git a/internal/endtoend/testdata/overrides_global_engine/mysql/models.go b/internal/endtoend/testdata/overrides_global_engine/mysql/models.go new file mode 100644 index 0000000000..eb70e855b8 --- /dev/null +++ b/internal/endtoend/testdata/overrides_global_engine/mysql/models.go @@ -0,0 +1,15 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 + +package mysql + +import ( + "database/sql" +) + +type Entry struct { + ID int32 + Value sql.NullString `backend:"mysql"` + Code []byte `backend:"mysql"` +} diff --git a/internal/endtoend/testdata/overrides_global_engine/mysql/query.sql.go b/internal/endtoend/testdata/overrides_global_engine/mysql/query.sql.go new file mode 100644 index 0000000000..8325e7d1fe --- /dev/null +++ b/internal/endtoend/testdata/overrides_global_engine/mysql/query.sql.go @@ -0,0 +1,28 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 +// source: query.sql + +package mysql + +import ( + "context" + "database/sql" +) + +const findEntry = `-- name: FindEntry :one +SELECT id, value, code FROM entries +WHERE value = ? AND code = ? +` + +type FindEntryParams struct { + Value sql.NullString `backend:"mysql"` + Code []byte `backend:"mysql"` +} + +func (q *Queries) FindEntry(ctx context.Context, arg FindEntryParams) (Entry, error) { + row := q.db.QueryRowContext(ctx, findEntry, arg.Value, arg.Code) + var i Entry + err := row.Scan(&i.ID, &i.Value, &i.Code) + return i, err +} diff --git a/internal/endtoend/testdata/overrides_global_engine/pg/db.go b/internal/endtoend/testdata/overrides_global_engine/pg/db.go new file mode 100644 index 0000000000..6614d155e5 --- /dev/null +++ b/internal/endtoend/testdata/overrides_global_engine/pg/db.go @@ -0,0 +1,31 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 + +package pg + +import ( + "context" + "database/sql" +) + +type DBTX interface { + ExecContext(context.Context, string, ...any) (sql.Result, error) + PrepareContext(context.Context, string) (*sql.Stmt, error) + QueryContext(context.Context, string, ...any) (*sql.Rows, error) + QueryRowContext(context.Context, string, ...any) *sql.Row +} + +func New(db DBTX) *Queries { + return &Queries{db: db} +} + +type Queries struct { + db DBTX +} + +func (q *Queries) WithTx(tx *sql.Tx) *Queries { + return &Queries{ + db: tx, + } +} diff --git a/internal/endtoend/testdata/overrides_global_engine/pg/models.go b/internal/endtoend/testdata/overrides_global_engine/pg/models.go new file mode 100644 index 0000000000..d543e260e0 --- /dev/null +++ b/internal/endtoend/testdata/overrides_global_engine/pg/models.go @@ -0,0 +1,15 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 + +package pg + +import ( + "encoding/json" +) + +type Entry struct { + ID int32 + Value string `backend:"postgresql"` + Code json.RawMessage `backend:"postgresql"` +} diff --git a/internal/endtoend/testdata/overrides_global_engine/pg/query.sql.go b/internal/endtoend/testdata/overrides_global_engine/pg/query.sql.go new file mode 100644 index 0000000000..b186bff3e3 --- /dev/null +++ b/internal/endtoend/testdata/overrides_global_engine/pg/query.sql.go @@ -0,0 +1,28 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 +// source: query.sql + +package pg + +import ( + "context" + "encoding/json" +) + +const findEntry = `-- name: FindEntry :one +SELECT id, value, code FROM entries +WHERE value = $1 AND code = $2 +` + +type FindEntryParams struct { + Value string `backend:"postgresql"` + Code json.RawMessage `backend:"postgresql"` +} + +func (q *Queries) FindEntry(ctx context.Context, arg FindEntryParams) (Entry, error) { + row := q.db.QueryRowContext(ctx, findEntry, arg.Value, arg.Code) + var i Entry + err := row.Scan(&i.ID, &i.Value, &i.Code) + return i, err +} diff --git a/internal/endtoend/testdata/overrides_global_engine/query.sql b/internal/endtoend/testdata/overrides_global_engine/query.sql new file mode 100644 index 0000000000..09e6a55fc5 --- /dev/null +++ b/internal/endtoend/testdata/overrides_global_engine/query.sql @@ -0,0 +1,3 @@ +-- name: FindEntry :one +SELECT id, value, code FROM entries +WHERE value = sqlc.arg(value) AND code = sqlc.arg(code); diff --git a/internal/endtoend/testdata/overrides_global_engine/schema.sql b/internal/endtoend/testdata/overrides_global_engine/schema.sql new file mode 100644 index 0000000000..3d66f2ec20 --- /dev/null +++ b/internal/endtoend/testdata/overrides_global_engine/schema.sql @@ -0,0 +1,5 @@ +CREATE TABLE entries ( + id integer NOT NULL, + value text NOT NULL, + code text NOT NULL +); diff --git a/internal/endtoend/testdata/overrides_global_engine/sqlc.yaml b/internal/endtoend/testdata/overrides_global_engine/sqlc.yaml new file mode 100644 index 0000000000..0be9e6e949 --- /dev/null +++ b/internal/endtoend/testdata/overrides_global_engine/sqlc.yaml @@ -0,0 +1,53 @@ +version: "2" +overrides: + go: + overrides: + - db_type: text + engine: postgresql + go_type: string + go_struct_tag: 'backend:"postgresql"' + - db_type: text + engine: mysql + go_type: "database/sql.NullString" + go_struct_tag: 'backend:"mysql"' + - db_type: text + engine: sqlite + go_type: + type: byte + slice: true + go_struct_tag: 'backend:"sqlite"' + - column: entries.code + engine: postgresql + go_type: + import: encoding/json + type: RawMessage + - column: entries.code + engine: mysql + go_type: + type: byte + slice: true + - column: entries.code + engine: sqlite + go_type: string +sql: + - engine: postgresql + schema: schema.sql + queries: query.sql + gen: + go: + package: pg + out: pg + - engine: mysql + schema: schema.sql + queries: query.sql + gen: + go: + package: mysql + out: mysql + - engine: sqlite + schema: schema.sql + queries: query.sql + gen: + go: + package: sqlite + out: sqlite diff --git a/internal/endtoend/testdata/overrides_global_engine/sqlite/db.go b/internal/endtoend/testdata/overrides_global_engine/sqlite/db.go new file mode 100644 index 0000000000..be3742276e --- /dev/null +++ b/internal/endtoend/testdata/overrides_global_engine/sqlite/db.go @@ -0,0 +1,31 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 + +package sqlite + +import ( + "context" + "database/sql" +) + +type DBTX interface { + ExecContext(context.Context, string, ...any) (sql.Result, error) + PrepareContext(context.Context, string) (*sql.Stmt, error) + QueryContext(context.Context, string, ...any) (*sql.Rows, error) + QueryRowContext(context.Context, string, ...any) *sql.Row +} + +func New(db DBTX) *Queries { + return &Queries{db: db} +} + +type Queries struct { + db DBTX +} + +func (q *Queries) WithTx(tx *sql.Tx) *Queries { + return &Queries{ + db: tx, + } +} diff --git a/internal/endtoend/testdata/overrides_global_engine/sqlite/models.go b/internal/endtoend/testdata/overrides_global_engine/sqlite/models.go new file mode 100644 index 0000000000..031862d729 --- /dev/null +++ b/internal/endtoend/testdata/overrides_global_engine/sqlite/models.go @@ -0,0 +1,11 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 + +package sqlite + +type Entry struct { + ID int64 + Value []byte `backend:"sqlite"` + Code string `backend:"sqlite"` +} diff --git a/internal/endtoend/testdata/overrides_global_engine/sqlite/query.sql.go b/internal/endtoend/testdata/overrides_global_engine/sqlite/query.sql.go new file mode 100644 index 0000000000..fb70006c88 --- /dev/null +++ b/internal/endtoend/testdata/overrides_global_engine/sqlite/query.sql.go @@ -0,0 +1,27 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 +// source: query.sql + +package sqlite + +import ( + "context" +) + +const findEntry = `-- name: FindEntry :one +SELECT id, value, code FROM entries +WHERE value = ?1 AND code = ?2 +` + +type FindEntryParams struct { + Value []byte `backend:"sqlite"` + Code string `backend:"sqlite"` +} + +func (q *Queries) FindEntry(ctx context.Context, arg FindEntryParams) (Entry, error) { + row := q.db.QueryRowContext(ctx, findEntry, arg.Value, arg.Code) + var i Entry + err := row.Scan(&i.ID, &i.Value, &i.Code) + return i, err +} From 6fed4dbcc675e8adcb64128817d153ca259bc620 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 12 Oct 2026 22:17:38 -0700 Subject: [PATCH 04/16] build(deps): bump golang from 1.27.1 to 1.27.2 (#4638) Bumps golang from 1.27.1 to 1.27.2. --- updated-dependencies: - dependency-name: golang dependency-version: 1.27.2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 563c1d7b4e..581f230654 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # STEP 1: Build sqlc -FROM golang:1.27.1 AS builder +FROM golang:1.27.2 AS builder COPY . /workspace WORKDIR /workspace From b3f95b46b6533a4e10a5bbfc45e37dab735fb44f Mon Sep 17 00:00:00 2001 From: Kyle Gray Date: Tue, 13 Oct 2026 09:05:36 -0700 Subject: [PATCH 05/16] build(deps): bump go-sqlite3, x/sync and grpc in the root and examples modules (#4639) * build(deps): bump the production-dependencies group across 1 directory with 3 updates Bumps the production-dependencies group with 3 updates in the / directory: [github.com/ncruces/go-sqlite3](https://github.com/ncruces/go-sqlite3), [golang.org/x/sync](https://github.com/golang/sync) and [google.golang.org/grpc](https://github.com/grpc/grpc-go). Updates `github.com/ncruces/go-sqlite3` from 0.35.4 to 0.35.6 - [Release notes](https://github.com/ncruces/go-sqlite3/releases) - [Commits](https://github.com/ncruces/go-sqlite3/compare/v0.35.4...v0.35.6) Updates `golang.org/x/sync` from 0.23.0 to 0.24.0 - [Commits](https://github.com/golang/sync/compare/v0.23.0...v0.24.0) Updates `google.golang.org/grpc` from 1.83.2 to 1.84.0 - [Release notes](https://github.com/grpc/grpc-go/releases) - [Commits](https://github.com/grpc/grpc-go/compare/v1.83.2...v1.84.0) --- updated-dependencies: - dependency-name: github.com/ncruces/go-sqlite3 dependency-version: 0.35.6 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: production-dependencies - dependency-name: golang.org/x/sync dependency-version: 0.24.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: google.golang.org/grpc dependency-version: 1.84.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies ... Signed-off-by: dependabot[bot] * examples: sync go.mod with the root module's dependency bumps The examples module replaces sqlc with the parent directory, so it has to carry the root module's go-sqlite3, x/sync and grpc versions. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01SJfbau3x1CzsFtpY9XoQwT --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Claude --- examples/go.mod | 18 +++++++++--------- examples/go.sum | 36 ++++++++++++++++++------------------ go.mod | 8 ++++---- go.sum | 36 ++++++++---------------------------- 4 files changed, 39 insertions(+), 59 deletions(-) diff --git a/examples/go.mod b/examples/go.mod index 185c4e29d0..11a57c682a 100644 --- a/examples/go.mod +++ b/examples/go.mod @@ -18,7 +18,7 @@ require ( github.com/microsoft/go-mssqldb v1.11.0 github.com/sqlc-dev/sqlc v0.0.0 google.golang.org/api v0.298.0 - google.golang.org/grpc v1.83.2 + google.golang.org/grpc v1.84.0 ) require ( @@ -33,7 +33,7 @@ require ( filippo.io/edwards25519 v1.2.0 // indirect github.com/ClickHouse/ch-go v0.74.0 // indirect github.com/GoogleCloudPlatform/grpc-gcp-go/grpcgcp v1.6.0 // indirect - github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.33.0 // indirect + github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.34.0 // indirect github.com/andybalholm/brotli v1.2.2 // indirect github.com/apache/arrow-go/v18 v18.5.1 // indirect github.com/cespare/xxhash/v2 v2.3.0 // indirect @@ -46,7 +46,7 @@ require ( github.com/duckdb/duckdb-go-bindings/lib/windows-amd64 v0.10505.0 // indirect github.com/envoyproxy/go-control-plane/envoy v1.37.0 // indirect github.com/envoyproxy/protoc-gen-validate v1.3.3 // indirect - github.com/felixge/httpsnoop v1.0.4 // indirect + github.com/felixge/httpsnoop v1.1.0 // indirect github.com/go-faster/city v1.0.1 // indirect github.com/go-faster/errors v0.7.1 // indirect github.com/go-jose/go-jose/v4 v4.1.4 // indirect @@ -67,15 +67,15 @@ require ( github.com/jackc/puddle/v2 v2.2.2 // indirect github.com/klauspost/compress v1.19.1 // indirect github.com/klauspost/cpuid/v2 v2.3.0 // indirect - github.com/ncruces/go-sqlite3 v0.35.4 // indirect - github.com/ncruces/go-sqlite3-wasm/v5 v5.0.35304 // indirect + github.com/ncruces/go-sqlite3 v0.35.6 // indirect + github.com/ncruces/go-sqlite3-wasm/v6 v6.3.35304 // indirect github.com/ncruces/julianday v1.0.0 // indirect github.com/paulmach/orb v0.13.0 // indirect github.com/pierrec/lz4/v4 v4.1.27 // indirect github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 // indirect github.com/segmentio/asm v1.2.1 // indirect github.com/shopspring/decimal v1.4.0 // indirect - github.com/spiffe/go-spiffe/v2 v2.7.0 // indirect + github.com/spiffe/go-spiffe/v2 v2.8.1 // indirect github.com/zeebo/xxh3 v1.1.0 // indirect go.opencensus.io v0.24.0 // indirect go.opentelemetry.io/auto/sdk v1.2.1 // indirect @@ -92,12 +92,12 @@ require ( golang.org/x/mod v0.41.0 // indirect golang.org/x/net v0.60.0 // indirect golang.org/x/oauth2 v0.36.0 // indirect - golang.org/x/sync v0.23.0 // indirect + golang.org/x/sync v0.24.0 // indirect golang.org/x/sys v0.48.0 // indirect - golang.org/x/telemetry v0.0.0-20260811182544-a038080d80e5 // indirect + golang.org/x/telemetry v0.0.0-20260908163034-4bcc4b2ee518 // indirect golang.org/x/text v0.42.0 // indirect golang.org/x/time v0.15.0 // indirect - golang.org/x/tools v0.49.0 // indirect + golang.org/x/tools v0.50.0 // indirect golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da // indirect google.golang.org/genproto v0.0.0-20260715232425-e75dac1f907d // indirect google.golang.org/genproto/googleapis/api v0.0.0-20260715232425-e75dac1f907d // indirect diff --git a/examples/go.sum b/examples/go.sum index ac3208e8cd..23e4f535f5 100644 --- a/examples/go.sum +++ b/examples/go.sum @@ -38,8 +38,8 @@ github.com/ClickHouse/clickhouse-go/v2 v2.48.0 h1:auzd4VkapQYhQF8F2Gog7s3x78Bi1J github.com/ClickHouse/clickhouse-go/v2 v2.48.0/go.mod h1:lBjUCPRG6RpRQdMbkXq+JV8rY0/O5lw+Z7jShgReFjM= github.com/GoogleCloudPlatform/grpc-gcp-go/grpcgcp v1.6.0 h1:BzsL0qE7LvtTEtXG7Dt5NS1EP0CQwI21HZfj9aGghhw= github.com/GoogleCloudPlatform/grpc-gcp-go/grpcgcp v1.6.0/go.mod h1:I7kE2kM3qCr9QPT4cU4cCFYkEpVyVr16YOGUHzy+nR0= -github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.33.0 h1:l7+6kwRMJNwdCvYdDl7Eax+wzEYHSnNY7zrrfbhDdTA= -github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.33.0/go.mod h1:pJTkW8hEUIIi3Pf65lPZOnn4Y81yCllX6IWk2jNXdkM= +github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.34.0 h1:yzIYdwuro811Z27D3T80Wkd3rqZzb0K43nner7Eh1yE= +github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.34.0/go.mod h1:pJTkW8hEUIIi3Pf65lPZOnn4Y81yCllX6IWk2jNXdkM= github.com/andybalholm/brotli v1.2.2 h1:HzTuoo2ErYQqf5qvcJInB8uvqSVxRttzkFexPWtnceM= github.com/andybalholm/brotli v1.2.2/go.mod h1:rzTDkvFWvIrjDXZHkuS16NPggd91W3kUSvPlQ1pLaKY= github.com/apache/arrow-go/v18 v18.5.1 h1:yaQ6zxMGgf9YCYw4/oaeOU3AULySDlAYDOcnr4LdHdI= @@ -81,8 +81,8 @@ github.com/envoyproxy/go-control-plane/ratelimit v0.1.0/go.mod h1:Wk+tMFAFbCXaJP github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= github.com/envoyproxy/protoc-gen-validate v1.3.3 h1:MVQghNeW+LZcmXe7SY1V36Z+WFMDjpqGAGacLe2T0ds= github.com/envoyproxy/protoc-gen-validate v1.3.3/go.mod h1:TsndJ/ngyIdQRhMcVVGDDHINPLWB7C82oDArY51KfB0= -github.com/felixge/httpsnoop v1.0.4 h1:NFTV2Zj1bL4mc9sqWACXbQFVBBg2W3GPvqp8/ESS2Wg= -github.com/felixge/httpsnoop v1.0.4/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= +github.com/felixge/httpsnoop v1.1.0 h1:3YtUj32ZZkqZtt3sZZsClsymw/QDuVfpNhoA31zeORc= +github.com/felixge/httpsnoop v1.1.0/go.mod h1:Zqxgdd+1Rkcz8euOqdr7lqgCRJztwr5hp9vDSi5UZCE= github.com/go-faster/city v1.0.1 h1:4WAxSZ3V2Ws4QRDrscLEDcibJY8uf41H6AhXDrNDcGw= github.com/go-faster/city v1.0.1/go.mod h1:jKcUJId49qdW3L1qKHH/3wPeUstCVpVSXTM6vO3VcTw= github.com/go-faster/errors v0.7.1 h1:MkJTnDoEdi9pDabt1dpWf7AA8/BaSYZqibYyhZ20AYg= @@ -173,10 +173,10 @@ github.com/minio/asm2plan9s v0.0.0-20200509001527-cdd76441f9d8 h1:AMFGa4R4MiIpsp github.com/minio/asm2plan9s v0.0.0-20200509001527-cdd76441f9d8/go.mod h1:mC1jAcsrzbxHt8iiaC+zU4b1ylILSosueou12R++wfY= github.com/minio/c2goasm v0.0.0-20190812172519-36a3d3bbc4f3 h1:+n/aFZefKZp7spd8DFdX7uMikMLXX4oubIzJF4kv/wI= github.com/minio/c2goasm v0.0.0-20190812172519-36a3d3bbc4f3/go.mod h1:RagcQ7I8IeTMnF8JTXieKnO4Z6JCsikNEzj0DwauVzE= -github.com/ncruces/go-sqlite3 v0.35.4 h1:unjCk+lVaxMpD9hbVaZyDJviS5Unw1P03+HF0ROLlHo= -github.com/ncruces/go-sqlite3 v0.35.4/go.mod h1:dfbnrzPOLEIpCNZ1yDRkIG60pGxjDCwiEKj9A0lGWYE= -github.com/ncruces/go-sqlite3-wasm/v5 v5.0.35304 h1:Ck3GB9h+0n3hJqdhAeehOef3k5V+llGio1c2Dyk/W6w= -github.com/ncruces/go-sqlite3-wasm/v5 v5.0.35304/go.mod h1:gJyN6U50iis7mDt+rzRv8u9vUNr08NTD2p4fVonKn/Q= +github.com/ncruces/go-sqlite3 v0.35.6 h1:0JGlMne89YzKNP2CJBuiH21EEzSQNuB7pfvCbKBn0Jg= +github.com/ncruces/go-sqlite3 v0.35.6/go.mod h1:6MfWBOFbHJVSJxmTCIUKCJdLl4TKkgO895RHerlDVo8= +github.com/ncruces/go-sqlite3-wasm/v6 v6.3.35304 h1:dBSZlcEFdtBMvNRg34y50mConBPO/petSddSwGQVlSI= +github.com/ncruces/go-sqlite3-wasm/v6 v6.3.35304/go.mod h1:YvoJzbJpX6phd3BGdtiXu2NuD5RX6G8zsUdzt47GgOY= github.com/ncruces/julianday v1.0.0 h1:fH0OKwa7NWvniGQtxdJRxAgkBMolni2BjDHaWTxqt7M= github.com/ncruces/julianday v1.0.0/go.mod h1:Dusn2KvZrrovOMJuOt0TNXL6tB7U2E8kvza5fFc9G7g= github.com/paulmach/orb v0.13.0 h1:r7n7mQGGF+cj/CbcivEj9J3HGK+XR+yXnvzRdq9saIw= @@ -193,8 +193,8 @@ github.com/segmentio/asm v1.2.1 h1:DTNbBqs57ioxAD4PrArqftgypG4/qNpXoJx8TVXxPR0= github.com/segmentio/asm v1.2.1/go.mod h1:BqMnlJP91P8d+4ibuonYZw9mfnzI9HfxselHZr5aAcs= github.com/shopspring/decimal v1.4.0 h1:bxl37RwXBklmTi0C79JfXCEBD1cqqHt0bbgBAGFp81k= github.com/shopspring/decimal v1.4.0/go.mod h1:gawqmDU56v4yIKSwfBSFip1HdCCXN8/+DMd9qYNcwME= -github.com/spiffe/go-spiffe/v2 v2.7.0 h1:uXe1MflJoHw58wAUvxVlcM7WpKtijWG7I1UidcGh6g4= -github.com/spiffe/go-spiffe/v2 v2.7.0/go.mod h1:47Q0Q9/AqGha8QLHp+kxpH4Wca7X7EnOtlIJy3mxZ3U= +github.com/spiffe/go-spiffe/v2 v2.8.1 h1:eXZMLsu+3MLEPJyGJkolqtVrteZfQdUpOWj6LTiDl/E= +github.com/spiffe/go-spiffe/v2 v2.8.1/go.mod h1:47Q0Q9/AqGha8QLHp+kxpH4Wca7X7EnOtlIJy3mxZ3U= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw= github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo= @@ -263,16 +263,16 @@ golang.org/x/oauth2 v0.36.0/go.mod h1:YDBUJMTkDnJS+A4BP4eZBjCqtokkg1hODuPjwiGPO7 golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.23.0 h1:KameEIfc1IkluZyXWLn39Wd4tURc6GbCiISGiZm2bQk= -golang.org/x/sync v0.23.0/go.mod h1:sUUOizhqBxiL6pEWpqNLUiaJn1ShEbZ6BBqskPbjZm0= +golang.org/x/sync v0.24.0 h1:iqiDrGoDgyuvAKrhLQthUEzU/R378N78gXbBjxed7oA= +golang.org/x/sync v0.24.0/go.mod h1:sUUOizhqBxiL6pEWpqNLUiaJn1ShEbZ6BBqskPbjZm0= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.48.0 h1:bbX/i/6MgT9BVLM9RT1thmxL04yeTAhbEz4SyadbXoo= golang.org/x/sys v0.48.0/go.mod h1:hNLxWAXmnKAxqDtdwIYC4bM9oQPEecfsnNMuSxOs3og= -golang.org/x/telemetry v0.0.0-20260811182544-a038080d80e5 h1:ZUSxONxc981v7AW7QUg+I9WwZzSTTJ019ENBYr5pV/Q= -golang.org/x/telemetry v0.0.0-20260811182544-a038080d80e5/go.mod h1:LVehoXe41cL5SCVQilsV7Gg6BNG+Js6P9PhSbYTIUkQ= +golang.org/x/telemetry v0.0.0-20260908163034-4bcc4b2ee518 h1:F5BWKvW126NXR74uxkxuc1jQHhm/rwm/J3rSiFyuRs4= +golang.org/x/telemetry v0.0.0-20260908163034-4bcc4b2ee518/go.mod h1:i+ivNqjDnTF3WTElsdk5g9V5DTSBYgdNo7xTU9SDwYA= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.42.0 h1:JbOZXgfeCPU9gacVtYliJqOhD+zhrEqK4LfdpmlUZqI= @@ -284,8 +284,8 @@ golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGm golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.49.0 h1:3NI7VXzL9+1WZD52Dx2ttoPwD5DWrFGpl9mFZDlmisI= -golang.org/x/tools v0.49.0/go.mod h1:SJNXV9DBKT0UbdttsQjbfJlAE/q+y36++zo3uL3N0Oo= +golang.org/x/tools v0.50.0 h1:c2ifzfcuY7L90lZ2aKd8S4K2NpASF08SZx9ZuJkHmSU= +golang.org/x/tools v0.50.0/go.mod h1:7ulVMw3831Mwi5EZD6RomGyffr4VFjuNYXf2BbCEAV0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da h1:noIWHXmPHxILtqtCOPIhSt0ABwskkZKjD3bXGnZGpNY= golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da/go.mod h1:NDW/Ps6MPRej6fsCIbMTohpP40sJ/P/vI1MoTEGwX90= @@ -309,8 +309,8 @@ google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyac google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc= -google.golang.org/grpc v1.83.2 h1:EManeRomTObA0BU7I8vXgg/78uE5MJ9M8B39EX2WscU= -google.golang.org/grpc v1.83.2/go.mod h1:YPI1hK3kDked6iHvgX3tR0y+nX/qpMFKhPgFsokw1S8= +google.golang.org/grpc v1.84.0 h1:soMyaPJ8pAak5PIQ0DGBUir0XRo2fRoMqhNWMLlLxO0= +google.golang.org/grpc v1.84.0/go.mod h1:ljCht0DrxQrXBDRTZp52Qxh3Ffk8CdYm2sj4O2QN2C0= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= diff --git a/go.mod b/go.mod index ffe0bcbf9a..666494e140 100644 --- a/go.mod +++ b/go.mod @@ -13,7 +13,7 @@ require ( github.com/google/go-cmp v0.7.0 github.com/jackc/pgx/v5 v5.11.0 github.com/jinzhu/inflection v1.0.0 - github.com/ncruces/go-sqlite3 v0.35.4 + github.com/ncruces/go-sqlite3 v0.35.6 github.com/riza-io/grpc-go v0.2.0 github.com/spf13/cobra v1.10.2 github.com/spf13/pflag v1.0.10 @@ -27,8 +27,8 @@ require ( github.com/tetratelabs/wazero v1.12.0 github.com/xeipuuv/gojsonschema v1.2.0 github.com/yuin/goldmark v1.8.6 - golang.org/x/sync v0.23.0 - google.golang.org/grpc v1.83.2 + golang.org/x/sync v0.24.0 + google.golang.org/grpc v1.84.0 google.golang.org/protobuf v1.36.12 gopkg.in/yaml.v3 v3.0.1 ) @@ -42,7 +42,7 @@ require ( github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect github.com/jackc/puddle/v2 v2.2.2 // indirect github.com/kr/pretty v0.3.1 // indirect - github.com/ncruces/go-sqlite3-wasm/v5 v5.0.35304 // indirect + github.com/ncruces/go-sqlite3-wasm/v6 v6.3.35304 // indirect github.com/ncruces/julianday v1.0.0 // indirect github.com/rogpeppe/go-internal v1.14.1 // indirect github.com/stretchr/testify v1.12.1 // indirect diff --git a/go.sum b/go.sum index 7df2745334..46dc3ffd85 100644 --- a/go.sum +++ b/go.sum @@ -6,8 +6,6 @@ filippo.io/edwards25519 v1.2.0 h1:crnVqOiS4jqYleHd9vaKZ+HKtHfllngJIiOpNpoJsjo= filippo.io/edwards25519 v1.2.0/go.mod h1:xzAOLCNug/yB62zG1bQ8uziwrIqIuxhctzJT18Q77mc= github.com/antlr4-go/antlr/v4 v4.13.1 h1:SqQKkuVZ+zWkMMNkjy5FZe5mr5WURWnlpmOuzYWrPrQ= github.com/antlr4-go/antlr/v4 v4.13.1/go.mod h1:GKmUxMtwp6ZgGwZSva4eWPC5mS6vUAmOABFgjdkM7Nw= -github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs= -github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/cpuguy83/go-md2man/v2 v2.0.6/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/cubicdaiya/gonp v1.0.4 h1:ky2uIAJh81WiLcGKBVD5R7KsM/36W6IqqTy6Bo6rGws= @@ -17,18 +15,12 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/fatih/structtag v1.2.0 h1:/OdNE99OxoI/PqaW/SuSK9uxxT3f/tcSZgon/ssNSx4= github.com/fatih/structtag v1.2.0/go.mod h1:mBJUNpUnHmRKrKlQQlmCrh5PuhftFbNv8Ys4/aAZl94= -github.com/go-logr/logr v1.4.3 h1:CjnDlHq8ikf6E492q6eKboGOC0T8CDaOvkHCIg8idEI= -github.com/go-logr/logr v1.4.3/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= -github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= -github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= github.com/go-sql-driver/mysql v1.10.1 h1:arlSnNLq6a5yxGxV7qg9lF4j0C+KwD6NbQyKr9QL6ME= github.com/go-sql-driver/mysql v1.10.1/go.mod h1:M+cqaI7+xxXGG9swrdeUIoPG3Y3KCkF0pZej+SK+nWk= github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek= github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps= github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8= github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU= -github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= -github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/inconshreveable/mousetrap v1.1.0 h1:wN+x4NVGpMsO7ErUn/mUI3vEoE6Jt13X2s0bqwp9tc8= github.com/inconshreveable/mousetrap v1.1.0/go.mod h1:vpF70FUmC8bwa3OWnCshd2FqLfsEA9PFc4w1p2J65bw= github.com/jackc/pgpassfile v1.0.0 h1:/6Hmqy13Ss2zCq62VdNG8tM1wchn8zjSGOBJ6icpsIM= @@ -45,10 +37,10 @@ github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE= github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE= -github.com/ncruces/go-sqlite3 v0.35.4 h1:unjCk+lVaxMpD9hbVaZyDJviS5Unw1P03+HF0ROLlHo= -github.com/ncruces/go-sqlite3 v0.35.4/go.mod h1:dfbnrzPOLEIpCNZ1yDRkIG60pGxjDCwiEKj9A0lGWYE= -github.com/ncruces/go-sqlite3-wasm/v5 v5.0.35304 h1:Ck3GB9h+0n3hJqdhAeehOef3k5V+llGio1c2Dyk/W6w= -github.com/ncruces/go-sqlite3-wasm/v5 v5.0.35304/go.mod h1:gJyN6U50iis7mDt+rzRv8u9vUNr08NTD2p4fVonKn/Q= +github.com/ncruces/go-sqlite3 v0.35.6 h1:0JGlMne89YzKNP2CJBuiH21EEzSQNuB7pfvCbKBn0Jg= +github.com/ncruces/go-sqlite3 v0.35.6/go.mod h1:6MfWBOFbHJVSJxmTCIUKCJdLl4TKkgO895RHerlDVo8= +github.com/ncruces/go-sqlite3-wasm/v6 v6.3.35304 h1:dBSZlcEFdtBMvNRg34y50mConBPO/petSddSwGQVlSI= +github.com/ncruces/go-sqlite3-wasm/v6 v6.3.35304/go.mod h1:YvoJzbJpX6phd3BGdtiXu2NuD5RX6G8zsUdzt47GgOY= github.com/ncruces/julianday v1.0.0 h1:fH0OKwa7NWvniGQtxdJRxAgkBMolni2BjDHaWTxqt7M= github.com/ncruces/julianday v1.0.0/go.mod h1:Dusn2KvZrrovOMJuOt0TNXL6tB7U2E8kvza5fFc9G7g= github.com/pkg/diff v0.0.0-20210226163009-20ebb0f2a09e/go.mod h1:pJLUxLENpZxwdsKMEsNbx1VGcRFpLqf3715MtcvvzbA= @@ -93,18 +85,6 @@ github.com/xeipuuv/gojsonschema v1.2.0 h1:LhYJRs+L4fBtjZUfuSZIKGeVu0QRy8e5Xi7D17 github.com/xeipuuv/gojsonschema v1.2.0/go.mod h1:anYRn/JVcOK2ZgGU+IjEV4nwlhoK5sQluxsYJ78Id3Y= github.com/yuin/goldmark v1.8.6 h1:d0VcaP1sx9GkFVkoW+KtggpGi2KZ965i14b0+bDQST4= github.com/yuin/goldmark v1.8.6/go.mod h1:ip/1k0VRfGynBgxOz0yCqHrbZXhcjxyuS66Brc7iBKg= -go.opentelemetry.io/auto/sdk v1.2.1 h1:jXsnJ4Lmnqd11kwkBV2LgLoFMZKizbCi5fNZ/ipaZ64= -go.opentelemetry.io/auto/sdk v1.2.1/go.mod h1:KRTj+aOaElaLi+wW1kO/DZRXwkF4C5xPbEe3ZiIhN7Y= -go.opentelemetry.io/otel v1.44.0 h1:JjwHmHpA4iZ3wBxluu2fbbE7j4kqlE8jXyAyPXH7HqU= -go.opentelemetry.io/otel v1.44.0/go.mod h1:BMgjTHL9WPRlRjL2oZCBTL4whCGtXch2H4BhOPIAyYc= -go.opentelemetry.io/otel/metric v1.44.0 h1:1w0gILTcHdr3YI+ixLyjemwrVnsMURbTZFrSYCdDdmc= -go.opentelemetry.io/otel/metric v1.44.0/go.mod h1:8O7hanEPBNgEMmybD3s2VBKcgWOCsA6tzHBPODAiquo= -go.opentelemetry.io/otel/sdk v1.44.0 h1:nHYwb9lK+fJPU/dnT6s7W7Z8itMWyqrnVfbheVYrZ58= -go.opentelemetry.io/otel/sdk v1.44.0/go.mod h1:Osuydd3Se74nqjAKxid74N5eC+jfEqfTegHRnq58oK0= -go.opentelemetry.io/otel/sdk/metric v1.44.0 h1:3LlKgI+VjbVsjNRFZJZAJ30WjXC5VkNRks6si09iEfI= -go.opentelemetry.io/otel/sdk/metric v1.44.0/go.mod h1:5B5pMARnXxKhltooO4xUuCBorl65a4EpnTalObqOigA= -go.opentelemetry.io/otel/trace v1.44.0 h1:jxF5CsGYCe74MCRx2X4g7WsY/VBKRqqpNvXlX/6gtIk= -go.opentelemetry.io/otel/trace v1.44.0/go.mod h1:oLl1jrMQAVo6v3GAggN+1VH9VIz9iUSvW53sW1Q8PIE= go.yaml.in/yaml/v3 v3.0.4/go.mod h1:DhzuOOF2ATzADvBadXxruRBLzYTpT36CKvDb3+aBEFg= go.yaml.in/yaml/v3 v3.0.5 h1:N6y/pJk8buWs9NY5ERU2HSMfm+IuD/OtfdAnq6kESPw= go.yaml.in/yaml/v3 v3.0.5/go.mod h1:HVTZu1O7/Vkt2N+BFy8Zza+lnLsABggaTM2ZpNIGuKg= @@ -112,8 +92,8 @@ golang.org/x/exp v0.0.0-20250620022241-b7579e27df2b h1:M2rDM6z3Fhozi9O7NWsxAkg/y golang.org/x/exp v0.0.0-20250620022241-b7579e27df2b/go.mod h1:3//PLf8L/X+8b4vuAfHzxeRUl04Adcb341+IGKfnqS8= golang.org/x/net v0.60.0 h1:79p50tfZlm0J9YfoDsSi639qSXNGVwEzOPLCxM2FsYU= golang.org/x/net v0.60.0/go.mod h1:2DA/G1UfVbCpQPeWTmMPGY7Cs2PkBkwu743bVX5PIVg= -golang.org/x/sync v0.23.0 h1:KameEIfc1IkluZyXWLn39Wd4tURc6GbCiISGiZm2bQk= -golang.org/x/sync v0.23.0/go.mod h1:sUUOizhqBxiL6pEWpqNLUiaJn1ShEbZ6BBqskPbjZm0= +golang.org/x/sync v0.24.0 h1:iqiDrGoDgyuvAKrhLQthUEzU/R378N78gXbBjxed7oA= +golang.org/x/sync v0.24.0/go.mod h1:sUUOizhqBxiL6pEWpqNLUiaJn1ShEbZ6BBqskPbjZm0= golang.org/x/sys v0.48.0 h1:bbX/i/6MgT9BVLM9RT1thmxL04yeTAhbEz4SyadbXoo= golang.org/x/sys v0.48.0/go.mod h1:hNLxWAXmnKAxqDtdwIYC4bM9oQPEecfsnNMuSxOs3og= golang.org/x/text v0.42.0 h1:JbOZXgfeCPU9gacVtYliJqOhD+zhrEqK4LfdpmlUZqI= @@ -124,8 +104,8 @@ google.golang.org/genproto/googleapis/api v0.0.0-20260715232425-e75dac1f907d h1: google.golang.org/genproto/googleapis/api v0.0.0-20260715232425-e75dac1f907d/go.mod h1:WRrQ7/7N19PypuT0fxLOL5Lq0waoiRri4FbtHDEKrGE= google.golang.org/genproto/googleapis/rpc v0.0.0-20260819154853-08b0e4226688 h1:cYNAzI2sUwhmCcoj9TxvihSrqsxt6uIkj3rDRhSDmW4= google.golang.org/genproto/googleapis/rpc v0.0.0-20260819154853-08b0e4226688/go.mod h1:DjtHYE8FKJLivXcBEjGwndXfIC23G0VpXiXKqG179uA= -google.golang.org/grpc v1.83.2 h1:EManeRomTObA0BU7I8vXgg/78uE5MJ9M8B39EX2WscU= -google.golang.org/grpc v1.83.2/go.mod h1:YPI1hK3kDked6iHvgX3tR0y+nX/qpMFKhPgFsokw1S8= +google.golang.org/grpc v1.84.0 h1:soMyaPJ8pAak5PIQ0DGBUir0XRo2fRoMqhNWMLlLxO0= +google.golang.org/grpc v1.84.0/go.mod h1:ljCht0DrxQrXBDRTZp52Qxh3Ffk8CdYm2sj4O2QN2C0= google.golang.org/protobuf v1.36.12 h1:pJOKDDOyeXErUroCihFAd5LQuwXBSpVnKGrj5o/fwxc= google.golang.org/protobuf v1.36.12/go.mod h1:HTf+CrKn2C3g5S8VImy6tdcUvCska2kB7j23XfzDpco= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= From 366857d0c9b7dce7fa42b8139c7152fd527742d3 Mon Sep 17 00:00:00 2001 From: Kyle Gray Date: Wed, 14 Oct 2026 09:50:38 -0700 Subject: [PATCH 06/16] ci(dependabot): update every Go module in the repository (#4640) * ci(dependabot): update the examples module alongside the root module The examples module replaces github.com/sqlc-dev/sqlc with ../, so a bump that lands only in the root go.mod leaves it out of step (see #4635 and #4639). Listing both directories lets each grouped update cover both modules in one pull request. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01LyueKDc8vSZZALuaDh9RSq * ci(dependabot): keep the goldeneye module up to date too Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01LyueKDc8vSZZALuaDh9RSq * ci(dependabot): keep the endtoend testdata module up to date The module only exists so CI can compile the committed golden code, and that code builds against the latest version of every driver it imports. Raise its go directive to 1.26.0, matching the other modules, since the current releases of several of its dependencies require it. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01LyueKDc8vSZZALuaDh9RSq --------- Co-authored-by: Claude --- .github/dependabot.yml | 9 ++++++++- internal/endtoend/testdata/go.mod | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 69ec223b70..e40df8c88a 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,7 +1,14 @@ version: 2 updates: + # The examples module replaces github.com/sqlc-dev/sqlc with ../, so it has + # to carry the same versions as the root module. Listing the directories + # together lets each group update them in a single pull request. - package-ecosystem: "gomod" - directory: "/" + directories: + - "/" + - "/examples" + - "/internal/goldeneye" + - "/internal/endtoend/testdata" schedule: interval: "daily" groups: diff --git a/internal/endtoend/testdata/go.mod b/internal/endtoend/testdata/go.mod index 3042c22f66..ec94cd58d9 100644 --- a/internal/endtoend/testdata/go.mod +++ b/internal/endtoend/testdata/go.mod @@ -1,6 +1,6 @@ module github.com/sqlc-dev/sqlc/endtoend -go 1.25.0 +go 1.26.0 require ( cloud.google.com/go/spanner v1.95.1 From 38c9f893c16d975e6013a0ad381aa8e764e15c00 Mon Sep 17 00:00:00 2001 From: Kyle Gray Date: Wed, 14 Oct 2026 09:51:15 -0700 Subject: [PATCH 07/16] sqlc-test-setup: run Spanner Omni on kernels without IPv6 (#4641) Spanner Omni's services open IPv6 sockets at startup and abort when the kernel has no IPv6, as in Claude Code's remote environments. When opening an AF_INET6 socket fails with EAFNOSUPPORT, start now builds v6to4, a small LD_PRELOAD library that runs those sockets over IPv4, and preloads it into Omni. Kernels with IPv6 start Omni as before. Claude-Session: https://claude.ai/code/session_01L8QoGi6VRtADkb4jL3BFHP Co-authored-by: Claude --- cmd/sqlc-test-setup/ipv6_linux.go | 21 ++++ cmd/sqlc-test-setup/ipv6_other.go | 8 ++ cmd/sqlc-test-setup/main.go | 6 + cmd/sqlc-test-setup/omni_ipv6.go | 56 +++++++++ cmd/sqlc-test-setup/v6to4/v6to4.c | 194 ++++++++++++++++++++++++++++++ 5 files changed, 285 insertions(+) create mode 100644 cmd/sqlc-test-setup/ipv6_linux.go create mode 100644 cmd/sqlc-test-setup/ipv6_other.go create mode 100644 cmd/sqlc-test-setup/omni_ipv6.go create mode 100644 cmd/sqlc-test-setup/v6to4/v6to4.c diff --git a/cmd/sqlc-test-setup/ipv6_linux.go b/cmd/sqlc-test-setup/ipv6_linux.go new file mode 100644 index 0000000000..1877a123e5 --- /dev/null +++ b/cmd/sqlc-test-setup/ipv6_linux.go @@ -0,0 +1,21 @@ +//go:build linux + +package main + +import ( + "errors" + "syscall" +) + +// kernelLacksIPv6 reports whether the kernel was built without IPv6, so +// that opening an AF_INET6 socket fails with EAFNOSUPPORT. Some sandboxes +// run such kernels, Claude Code's remote environments among them. Any other +// outcome, including another error, leaves Spanner Omni to run as it is. +func kernelLacksIPv6() bool { + fd, err := syscall.Socket(syscall.AF_INET6, syscall.SOCK_STREAM, 0) + if err == nil { + syscall.Close(fd) + return false + } + return errors.Is(err, syscall.EAFNOSUPPORT) +} diff --git a/cmd/sqlc-test-setup/ipv6_other.go b/cmd/sqlc-test-setup/ipv6_other.go new file mode 100644 index 0000000000..4c6cf5f570 --- /dev/null +++ b/cmd/sqlc-test-setup/ipv6_other.go @@ -0,0 +1,8 @@ +//go:build !linux + +package main + +// kernelLacksIPv6 is false off Linux, where Spanner Omni is not published. +func kernelLacksIPv6() bool { + return false +} diff --git a/cmd/sqlc-test-setup/main.go b/cmd/sqlc-test-setup/main.go index befe938930..30c0280ac2 100644 --- a/cmd/sqlc-test-setup/main.go +++ b/cmd/sqlc-test-setup/main.go @@ -740,9 +740,15 @@ func startSpannerOmni() error { } defer logFile.Close() + env, err := omniEnv(dir) + if err != nil { + return err + } + // The launcher supervises the server processes for as long as it runs, // so it is detached from this process and left running. cmd := exec.Command(launcher, "start-single-server", "--base-dir", data) + cmd.Env = env cmd.Stdout = logFile cmd.Stderr = logFile cmd.SysProcAttr = detachedProcess() diff --git a/cmd/sqlc-test-setup/omni_ipv6.go b/cmd/sqlc-test-setup/omni_ipv6.go new file mode 100644 index 0000000000..44c053654a --- /dev/null +++ b/cmd/sqlc-test-setup/omni_ipv6.go @@ -0,0 +1,56 @@ +package main + +import ( + _ "embed" + "fmt" + "log" + "os" + "path/filepath" +) + +// v6to4Source is an LD_PRELOAD library that runs a program's IPv6 sockets +// over IPv4; see the comment at the top of the file. +// +//go:embed v6to4/v6to4.c +var v6to4Source []byte + +// omniEnv is the environment Spanner Omni is started with. On a kernel with +// IPv6 it is this process's own. On one without, Omni's services abort at +// startup, as they open IPv6 sockets and have no flag to stop it ("Failed +// to create socket with ::socket ... Address family not supported by +// protocol" in their logs), so the v6to4 library is built into dir and +// preloaded into every Omni process, which inherit the environment from the +// launcher. +func omniEnv(dir string) ([]string, error) { + env := os.Environ() + if !kernelLacksIPv6() { + return env, nil + } + log.Println("the kernel has no IPv6, which spanner omni needs: preloading v6to4 to run its IPv6 sockets over IPv4") + lib, err := buildV6to4(dir) + if err != nil { + return nil, fmt.Errorf("building v6to4 for a kernel without IPv6: %w", err) + } + return append(env, "LD_PRELOAD="+lib), nil +} + +// buildV6to4 compiles the v6to4 library into dir with the system's C +// compiler and returns its path. +func buildV6to4(dir string) (string, error) { + if !commandExists("cc") { + return "", fmt.Errorf("no C compiler (cc) is installed") + } + src := filepath.Join(dir, "v6to4.c") + if err := os.WriteFile(src, v6to4Source, 0o644); err != nil { + return "", err + } + lib := filepath.Join(dir, "libv6to4.so") + // No fortified functions or stack protector, so the library needs no + // glibc symbol newer than the 2.27 Omni ships with. + err := run("cc", "-O2", "-shared", "-fPIC", "-fno-stack-protector", + "-U_FORTIFY_SOURCE", "-D_FORTIFY_SOURCE=0", "-o", lib, src) + if err != nil { + return "", err + } + return lib, nil +} diff --git a/cmd/sqlc-test-setup/v6to4/v6to4.c b/cmd/sqlc-test-setup/v6to4/v6to4.c new file mode 100644 index 0000000000..87b2163669 --- /dev/null +++ b/cmd/sqlc-test-setup/v6to4/v6to4.c @@ -0,0 +1,194 @@ +// v6to4 is an LD_PRELOAD library that lets a program which insists on IPv6 +// sockets run on a kernel built without IPv6, where socket(AF_INET6, ...) +// fails with EAFNOSUPPORT. sqlc-test-setup preloads it into Spanner Omni on +// such kernels only, since Omni's services open IPv6 sockets and abort when +// they cannot; see omni_ipv6.go. +// +// An AF_INET6 socket is created as an AF_INET one and remembered. Addresses +// passed in are rewritten from sockaddr_in6 to sockaddr_in (:: to 0.0.0.0, +// ::1 to 127.0.0.1, ::ffff:a.b.c.d to a.b.c.d), and addresses handed back +// are rewritten the other way, so the program goes on seeing IPv6. An +// address with no IPv4 equivalent fails with EADDRNOTAVAIL. +// +// Omni runs on its own glibc 2.27, so the library calls the kernel through +// syscall() rather than looking up the real functions, and must not need a +// glibc symbol newer than that: build it without _FORTIFY_SOURCE or the +// stack protector. +#define _GNU_SOURCE +#include +#include +#include +#include +#include +#include + +#define MAXFD 65536 +static unsigned char fake[MAXFD]; + +static int isfake(int fd) { return fd >= 0 && fd < MAXFD && fake[fd]; } +static void mark(int fd, int v) { if (fd >= 0 && fd < MAXFD) fake[fd] = v; } + +// to4 rewrites a sockaddr_in6 as a sockaddr_in in out; it returns the length to +// pass on, or -1 when the address has no IPv4 equivalent. +static socklen_t to4(const struct sockaddr *a, socklen_t len, struct sockaddr_in *out) { + const struct sockaddr_in6 *s6 = (const struct sockaddr_in6 *)a; + static const unsigned char any[16] = {0}; + static const unsigned char lo[16] = {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1}; + memset(out, 0, sizeof *out); + out->sin_family = AF_INET; + out->sin_port = s6->sin6_port; + const unsigned char *b = s6->sin6_addr.s6_addr; + if (memcmp(b, any, 16) == 0) out->sin_addr.s_addr = htonl(INADDR_ANY); + else if (memcmp(b, lo, 16) == 0) out->sin_addr.s_addr = htonl(INADDR_LOOPBACK); + else if (memcmp(b, any, 10) == 0 && b[10] == 0xff && b[11] == 0xff) memcpy(&out->sin_addr, b + 12, 4); + else return (socklen_t)-1; + (void)len; + return sizeof *out; +} + +// to6 rewrites the sockaddr_in the kernel wrote into a v4-mapped sockaddr_in6. +static void to6(struct sockaddr *a, socklen_t *len, socklen_t cap) { + if (!a || !len || *len < sizeof(struct sockaddr_in) || a->sa_family != AF_INET) return; + struct sockaddr_in s4; + memcpy(&s4, a, sizeof s4); + struct sockaddr_in6 s6; + memset(&s6, 0, sizeof s6); + s6.sin6_family = AF_INET6; + s6.sin6_port = s4.sin_port; + if (s4.sin_addr.s_addr == htonl(INADDR_LOOPBACK)) s6.sin6_addr.s6_addr[15] = 1; + else if (s4.sin_addr.s_addr != htonl(INADDR_ANY)) { + s6.sin6_addr.s6_addr[10] = 0xff; + s6.sin6_addr.s6_addr[11] = 0xff; + memcpy(s6.sin6_addr.s6_addr + 12, &s4.sin_addr, 4); + } + memcpy(a, &s6, cap < sizeof s6 ? cap : sizeof s6); + *len = sizeof s6; +} + +int socket(int domain, int type, int protocol) { + int fake6 = domain == AF_INET6; + int fd = syscall(SYS_socket, fake6 ? AF_INET : domain, type, protocol); + if (fd >= 0) mark(fd, fake6); + return fd; +} + +int close(int fd) { + mark(fd, 0); + return syscall(SYS_close, fd); +} + +#define WITH4(fd, addr, len, call4, call) \ + if ((addr) && (addr)->sa_family == AF_INET6 && isfake(fd)) { \ + struct sockaddr_in s4; \ + socklen_t l4 = to4((addr), (len), &s4); \ + if (l4 == (socklen_t)-1) { errno = EADDRNOTAVAIL; return -1; } \ + return call4; \ + } \ + return call; + +int bind(int fd, const struct sockaddr *addr, socklen_t len) { + WITH4(fd, addr, len, syscall(SYS_bind, fd, &s4, l4), syscall(SYS_bind, fd, addr, len)) +} + +int connect(int fd, const struct sockaddr *addr, socklen_t len) { + WITH4(fd, addr, len, syscall(SYS_connect, fd, &s4, l4), syscall(SYS_connect, fd, addr, len)) +} + +ssize_t sendto(int fd, const void *buf, size_t n, int flags, const struct sockaddr *addr, socklen_t len) { + WITH4(fd, addr, len, syscall(SYS_sendto, fd, buf, n, flags, &s4, l4), + syscall(SYS_sendto, fd, buf, n, flags, addr, len)) +} + +ssize_t sendmsg(int fd, const struct msghdr *msg, int flags) { + if (msg && msg->msg_name && isfake(fd) && ((struct sockaddr *)msg->msg_name)->sa_family == AF_INET6) { + struct sockaddr_in s4; + socklen_t l4 = to4(msg->msg_name, msg->msg_namelen, &s4); + if (l4 == (socklen_t)-1) { errno = EADDRNOTAVAIL; return -1; } + struct msghdr m = *msg; + m.msg_name = &s4; + m.msg_namelen = l4; + return syscall(SYS_sendmsg, fd, &m, flags); + } + return syscall(SYS_sendmsg, fd, msg, flags); +} + +#define BACK6(fd, ret, addr, lenp) \ + do { \ + if ((ret) >= 0 && isfake(fd) && (addr) && (lenp)) to6((addr), (lenp), cap); \ + } while (0) + +int getsockname(int fd, struct sockaddr *addr, socklen_t *len) { + socklen_t cap = len ? *len : 0; + struct sockaddr_in6 tmp; socklen_t tl = sizeof tmp; + if (!isfake(fd)) return syscall(SYS_getsockname, fd, addr, len); + int r = syscall(SYS_getsockname, fd, &tmp, &tl); + if (r < 0) return r; + to6((struct sockaddr *)&tmp, &tl, sizeof tmp); + memcpy(addr, &tmp, cap < tl ? cap : tl); + *len = tl; + return r; +} + +int getpeername(int fd, struct sockaddr *addr, socklen_t *len) { + socklen_t cap = len ? *len : 0; + struct sockaddr_in6 tmp; socklen_t tl = sizeof tmp; + if (!isfake(fd)) return syscall(SYS_getpeername, fd, addr, len); + int r = syscall(SYS_getpeername, fd, &tmp, &tl); + if (r < 0) return r; + to6((struct sockaddr *)&tmp, &tl, sizeof tmp); + memcpy(addr, &tmp, cap < tl ? cap : tl); + *len = tl; + return r; +} + +static int acc(int fd, struct sockaddr *addr, socklen_t *len, int flags) { + if (!isfake(fd)) return syscall(SYS_accept4, fd, addr, len, flags); + struct sockaddr_in6 tmp; socklen_t tl = sizeof tmp; + int r = syscall(SYS_accept4, fd, &tmp, &tl, flags); + if (r < 0) return r; + mark(r, 1); + if (addr && len) { + socklen_t cap = *len; + to6((struct sockaddr *)&tmp, &tl, sizeof tmp); + memcpy(addr, &tmp, cap < tl ? cap : tl); + *len = tl; + } + return r; +} +int accept(int fd, struct sockaddr *addr, socklen_t *len) { return acc(fd, addr, len, 0); } +int accept4(int fd, struct sockaddr *addr, socklen_t *len, int flags) { return acc(fd, addr, len, flags); } + +ssize_t recvfrom(int fd, void *buf, size_t n, int flags, struct sockaddr *addr, socklen_t *len) { + socklen_t cap = len ? *len : 0; + ssize_t r = syscall(SYS_recvfrom, fd, buf, n, flags, addr, len); + BACK6(fd, r, addr, len); + return r; +} + +ssize_t recvmsg(int fd, struct msghdr *msg, int flags) { + socklen_t cap = msg ? msg->msg_namelen : 0; + ssize_t r = syscall(SYS_recvmsg, fd, msg, flags); + if (r >= 0 && msg && msg->msg_name) BACK6(fd, r, (struct sockaddr *)msg->msg_name, &msg->msg_namelen); + return r; +} + +int setsockopt(int fd, int level, int name, const void *val, socklen_t len) { + if (isfake(fd) && level == IPPROTO_IPV6) { + if (name == IPV6_TCLASS) return syscall(SYS_setsockopt, fd, IPPROTO_IP, IP_TOS, val, len); + return 0; // IPV6_V6ONLY and the rest have no IPv4 meaning + } + return syscall(SYS_setsockopt, fd, level, name, val, len); +} + +int getsockopt(int fd, int level, int name, void *val, socklen_t *len) { + if (isfake(fd) && level == SOL_SOCKET && name == SO_DOMAIN && val && len && *len >= sizeof(int)) { + *(int *)val = AF_INET6; + *len = sizeof(int); + return 0; + } + if (isfake(fd) && level == IPPROTO_IPV6) { + if (val && len && *len >= sizeof(int)) { *(int *)val = 0; *len = sizeof(int); } + return 0; + } + return syscall(SYS_getsockopt, fd, level, name, val, len); +} From eb72db850062feb0337e4781e15c733b1110aa34 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 14 Oct 2026 09:58:33 -0700 Subject: [PATCH 08/16] build(deps): bump the production-dependencies group across 3 directories with 17 updates (#4642) Bumps the production-dependencies group with 5 updates in the /examples directory: | Package | From | To | | --- | --- | --- | | [cloud.google.com/go/spanner](https://github.com/googleapis/google-cloud-go) | `1.95.1` | `1.96.1` | | [github.com/ClickHouse/clickhouse-go/v2](https://github.com/ClickHouse/clickhouse-go) | `2.48.0` | `2.49.0` | | [github.com/duckdb/duckdb-go/v2](https://github.com/duckdb/duckdb-go) | `2.10505.0` | `2.10506.0` | | [github.com/microsoft/go-mssqldb](https://github.com/microsoft/go-mssqldb) | `1.11.0` | `1.11.2` | | [google.golang.org/api](https://github.com/googleapis/google-api-go-client) | `0.298.0` | `0.301.0` | Bumps the production-dependencies group with 14 updates in the /internal/endtoend/testdata directory: | Package | From | To | | --- | --- | --- | | [github.com/go-sql-driver/mysql](https://github.com/go-sql-driver/mysql) | `1.7.0` | `1.10.1` | | [github.com/jackc/pgx/v5](https://github.com/jackc/pgx) | `5.8.0` | `5.11.0` | | [cloud.google.com/go/spanner](https://github.com/googleapis/google-cloud-go) | `1.95.1` | `1.96.1` | | [github.com/duckdb/duckdb-go/v2](https://github.com/duckdb/duckdb-go) | `2.10505.0` | `2.10506.0` | | [github.com/lib/pq](https://github.com/lib/pq) | `1.9.0` | `1.12.3` | | [github.com/microsoft/go-mssqldb](https://github.com/microsoft/go-mssqldb) | `1.11.0` | `1.11.2` | | [github.com/gofrs/uuid](https://github.com/gofrs/uuid) | `4.0.0+incompatible` | `4.4.0+incompatible` | | [github.com/hexon/mysqltsv](https://github.com/hexon/mysqltsv) | `0.1.0` | `0.2.2` | | [github.com/jackc/pgconn](https://github.com/jackc/pgconn) | `1.5.1-0.20200601181101-fa742c524853` | `1.14.3` | | [github.com/jackc/pgtype](https://github.com/jackc/pgtype) | `1.6.2` | `1.14.4` | | [github.com/jackc/pgx/v4](https://github.com/jackc/pgx) | `4.6.1-0.20200606145419-4e5062306904` | `4.18.2` | | [github.com/pgvector/pgvector-go](https://github.com/pgvector/pgvector-go) | `0.1.1` | `0.4.1` | | [github.com/shopspring/decimal](https://github.com/shopspring/decimal) | `1.4.0` | `1.5.0` | | [github.com/sqlc-dev/pqtype](https://github.com/sqlc-dev/pqtype) | `0.2.0` | `0.3.0` | Bumps the production-dependencies group with 6 updates in the /internal/goldeneye directory: | Package | From | To | | --- | --- | --- | | [github.com/go-sql-driver/mysql](https://github.com/go-sql-driver/mysql) | `1.10.0` | `1.10.1` | | [github.com/jackc/pgx/v5](https://github.com/jackc/pgx) | `5.10.0` | `5.11.0` | | [google.golang.org/grpc](https://github.com/grpc/grpc-go) | `1.83.2` | `1.84.0` | | [cloud.google.com/go/spanner](https://github.com/googleapis/google-cloud-go) | `1.95.1` | `1.96.1` | | [github.com/microsoft/go-mssqldb](https://github.com/microsoft/go-mssqldb) | `1.11.0` | `1.11.2` | | [google.golang.org/api](https://github.com/googleapis/google-api-go-client) | `0.297.0` | `0.301.0` | Updates `cloud.google.com/go/spanner` from 1.95.1 to 1.96.1 - [Release notes](https://github.com/googleapis/google-cloud-go/releases) - [Changelog](https://github.com/googleapis/google-cloud-go/blob/main/CHANGES.md) - [Commits](https://github.com/googleapis/google-cloud-go/compare/spanner/v1.95.1...spanner/v1.96.1) Updates `github.com/ClickHouse/clickhouse-go/v2` from 2.48.0 to 2.49.0 - [Release notes](https://github.com/ClickHouse/clickhouse-go/releases) - [Changelog](https://github.com/ClickHouse/clickhouse-go/blob/main/CHANGELOG.md) - [Commits](https://github.com/ClickHouse/clickhouse-go/compare/v2.48.0...v2.49.0) Updates `github.com/duckdb/duckdb-go/v2` from 2.10505.0 to 2.10506.0 - [Release notes](https://github.com/duckdb/duckdb-go/releases) - [Commits](https://github.com/duckdb/duckdb-go/compare/v2.10505.0...v2.10506.0) Updates `github.com/microsoft/go-mssqldb` from 1.11.0 to 1.11.2 - [Release notes](https://github.com/microsoft/go-mssqldb/releases) - [Changelog](https://github.com/microsoft/go-mssqldb/blob/main/CHANGELOG.md) - [Commits](https://github.com/microsoft/go-mssqldb/compare/v1.11.0...v1.11.2) Updates `google.golang.org/api` from 0.298.0 to 0.301.0 - [Release notes](https://github.com/googleapis/google-api-go-client/releases) - [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md) - [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.298.0...v0.301.0) Updates `github.com/go-sql-driver/mysql` from 1.7.0 to 1.10.1 - [Release notes](https://github.com/go-sql-driver/mysql/releases) - [Changelog](https://github.com/go-sql-driver/mysql/blob/master/CHANGELOG.md) - [Commits](https://github.com/go-sql-driver/mysql/compare/v1.7.0...v1.10.1) Updates `github.com/jackc/pgx/v5` from 5.8.0 to 5.11.0 - [Release notes](https://github.com/jackc/pgx/releases) - [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md) - [Commits](https://github.com/jackc/pgx/compare/v5.8.0...v5.11.0) Updates `cloud.google.com/go/spanner` from 1.95.1 to 1.96.1 - [Release notes](https://github.com/googleapis/google-cloud-go/releases) - [Changelog](https://github.com/googleapis/google-cloud-go/blob/main/CHANGES.md) - [Commits](https://github.com/googleapis/google-cloud-go/compare/spanner/v1.95.1...spanner/v1.96.1) Updates `github.com/duckdb/duckdb-go/v2` from 2.10505.0 to 2.10506.0 - [Release notes](https://github.com/duckdb/duckdb-go/releases) - [Commits](https://github.com/duckdb/duckdb-go/compare/v2.10505.0...v2.10506.0) Updates `github.com/lib/pq` from 1.9.0 to 1.12.3 - [Release notes](https://github.com/lib/pq/releases) - [Changelog](https://github.com/lib/pq/blob/main/CHANGELOG.md) - [Commits](https://github.com/lib/pq/compare/v1.9.0...v1.12.3) Updates `github.com/microsoft/go-mssqldb` from 1.11.0 to 1.11.2 - [Release notes](https://github.com/microsoft/go-mssqldb/releases) - [Changelog](https://github.com/microsoft/go-mssqldb/blob/main/CHANGELOG.md) - [Commits](https://github.com/microsoft/go-mssqldb/compare/v1.11.0...v1.11.2) Updates `github.com/gofrs/uuid` from 4.0.0+incompatible to 4.4.0+incompatible - [Release notes](https://github.com/gofrs/uuid/releases) - [Commits](https://github.com/gofrs/uuid/compare/v4.0.0...v4.4.0) Updates `github.com/hexon/mysqltsv` from 0.1.0 to 0.2.2 - [Commits](https://github.com/hexon/mysqltsv/compare/v0.1.0...v0.2.2) Updates `github.com/jackc/pgconn` from 1.5.1-0.20200601181101-fa742c524853 to 1.14.3 - [Changelog](https://github.com/jackc/pgconn/blob/master/CHANGELOG.md) - [Commits](https://github.com/jackc/pgconn/commits/v1.14.3) Updates `github.com/jackc/pgtype` from 1.6.2 to 1.14.4 - [Changelog](https://github.com/jackc/pgtype/blob/master/CHANGELOG.md) - [Commits](https://github.com/jackc/pgtype/compare/v1.6.2...v1.14.4) Updates `github.com/jackc/pgx/v4` from 4.6.1-0.20200606145419-4e5062306904 to 4.18.2 - [Release notes](https://github.com/jackc/pgx/releases) - [Changelog](https://github.com/jackc/pgx/blob/v4.18.2/CHANGELOG.md) - [Commits](https://github.com/jackc/pgx/commits/v4.18.2) Updates `github.com/pgvector/pgvector-go` from 0.1.1 to 0.4.1 - [Changelog](https://github.com/pgvector/pgvector-go/blob/master/CHANGELOG.md) - [Commits](https://github.com/pgvector/pgvector-go/compare/v0.1.1...v0.4.1) Updates `github.com/shopspring/decimal` from 1.4.0 to 1.5.0 - [Release notes](https://github.com/shopspring/decimal/releases) - [Changelog](https://github.com/shopspring/decimal/blob/master/CHANGELOG.md) - [Commits](https://github.com/shopspring/decimal/compare/v1.4.0...v1.5.0) Updates `github.com/sqlc-dev/pqtype` from 0.2.0 to 0.3.0 - [Release notes](https://github.com/sqlc-dev/pqtype/releases) - [Commits](https://github.com/sqlc-dev/pqtype/compare/v0.2.0...v0.3.0) Updates `github.com/go-sql-driver/mysql` from 1.10.0 to 1.10.1 - [Release notes](https://github.com/go-sql-driver/mysql/releases) - [Changelog](https://github.com/go-sql-driver/mysql/blob/master/CHANGELOG.md) - [Commits](https://github.com/go-sql-driver/mysql/compare/v1.7.0...v1.10.1) Updates `github.com/jackc/pgx/v5` from 5.10.0 to 5.11.0 - [Release notes](https://github.com/jackc/pgx/releases) - [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md) - [Commits](https://github.com/jackc/pgx/compare/v5.8.0...v5.11.0) Updates `google.golang.org/grpc` from 1.83.2 to 1.84.0 - [Release notes](https://github.com/grpc/grpc-go/releases) - [Commits](https://github.com/grpc/grpc-go/compare/v1.83.2...v1.84.0) Updates `cloud.google.com/go/spanner` from 1.95.1 to 1.96.1 - [Release notes](https://github.com/googleapis/google-cloud-go/releases) - [Changelog](https://github.com/googleapis/google-cloud-go/blob/main/CHANGES.md) - [Commits](https://github.com/googleapis/google-cloud-go/compare/spanner/v1.95.1...spanner/v1.96.1) Updates `github.com/microsoft/go-mssqldb` from 1.11.0 to 1.11.2 - [Release notes](https://github.com/microsoft/go-mssqldb/releases) - [Changelog](https://github.com/microsoft/go-mssqldb/blob/main/CHANGELOG.md) - [Commits](https://github.com/microsoft/go-mssqldb/compare/v1.11.0...v1.11.2) Updates `google.golang.org/api` from 0.297.0 to 0.301.0 - [Release notes](https://github.com/googleapis/google-api-go-client/releases) - [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md) - [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.298.0...v0.301.0) --- updated-dependencies: - dependency-name: cloud.google.com/go/spanner dependency-version: 1.96.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: github.com/ClickHouse/clickhouse-go/v2 dependency-version: 2.49.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: github.com/duckdb/duckdb-go/v2 dependency-version: 2.10506.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: github.com/microsoft/go-mssqldb dependency-version: 1.11.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: production-dependencies - dependency-name: google.golang.org/api dependency-version: 0.301.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: github.com/go-sql-driver/mysql dependency-version: 1.10.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: github.com/jackc/pgx/v5 dependency-version: 5.11.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: cloud.google.com/go/spanner dependency-version: 1.96.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: github.com/duckdb/duckdb-go/v2 dependency-version: 2.10506.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: github.com/lib/pq dependency-version: 1.12.3 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: github.com/microsoft/go-mssqldb dependency-version: 1.11.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: production-dependencies - dependency-name: github.com/gofrs/uuid dependency-version: 4.4.0+incompatible dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: github.com/hexon/mysqltsv dependency-version: 0.2.2 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: github.com/jackc/pgconn dependency-version: 1.14.3 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: github.com/jackc/pgtype dependency-version: 1.14.4 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: github.com/jackc/pgx/v4 dependency-version: 4.18.2 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: github.com/pgvector/pgvector-go dependency-version: 0.4.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: github.com/shopspring/decimal dependency-version: 1.5.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: github.com/sqlc-dev/pqtype dependency-version: 0.3.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: github.com/go-sql-driver/mysql dependency-version: 1.10.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: production-dependencies - dependency-name: github.com/jackc/pgx/v5 dependency-version: 5.11.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: google.golang.org/grpc dependency-version: 1.84.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: cloud.google.com/go/spanner dependency-version: 1.96.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: github.com/microsoft/go-mssqldb dependency-version: 1.11.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: production-dependencies - dependency-name: google.golang.org/api dependency-version: 0.301.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- examples/go.mod | 56 +++--- examples/go.sum | 128 ++++++------- internal/endtoend/testdata/go.mod | 87 ++++----- internal/endtoend/testdata/go.sum | 305 ++++++++++++++++-------------- internal/goldeneye/go.mod | 54 +++--- internal/goldeneye/go.sum | 128 ++++++------- 6 files changed, 393 insertions(+), 365 deletions(-) diff --git a/examples/go.mod b/examples/go.mod index 11a57c682a..0da4bcbdcc 100644 --- a/examples/go.mod +++ b/examples/go.mod @@ -7,26 +7,26 @@ module github.com/sqlc-dev/sqlc/examples go 1.26.0 require ( - cloud.google.com/go/spanner v1.95.1 - github.com/ClickHouse/clickhouse-go/v2 v2.48.0 - github.com/duckdb/duckdb-go/v2 v2.10505.0 + cloud.google.com/go/spanner v1.96.1 + github.com/ClickHouse/clickhouse-go/v2 v2.49.0 + github.com/duckdb/duckdb-go/v2 v2.10506.0 github.com/go-sql-driver/mysql v1.10.1 github.com/google/go-cmp v0.7.0 github.com/googleapis/go-sql-spanner v1.26.0 github.com/jackc/pgx/v5 v5.11.0 github.com/lib/pq v1.12.3 - github.com/microsoft/go-mssqldb v1.11.0 + github.com/microsoft/go-mssqldb v1.11.2 github.com/sqlc-dev/sqlc v0.0.0 - google.golang.org/api v0.298.0 + google.golang.org/api v0.301.0 google.golang.org/grpc v1.84.0 ) require ( cel.dev/expr v0.25.2 // indirect cloud.google.com/go v0.123.0 // indirect - cloud.google.com/go/auth v0.23.2 // indirect - cloud.google.com/go/auth/oauth2adapt v0.2.8 // indirect - cloud.google.com/go/compute/metadata v0.9.0 // indirect + cloud.google.com/go/auth v0.24.1-0.20261001053825-dbc26066f70a // indirect + cloud.google.com/go/auth/oauth2adapt v0.3.0 // indirect + cloud.google.com/go/compute/metadata v0.10.0 // indirect cloud.google.com/go/iam v1.12.0 // indirect cloud.google.com/go/longrunning v1.2.0 // indirect cloud.google.com/go/monitoring v1.30.0 // indirect @@ -34,33 +34,33 @@ require ( github.com/ClickHouse/ch-go v0.74.0 // indirect github.com/GoogleCloudPlatform/grpc-gcp-go/grpcgcp v1.6.0 // indirect github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.34.0 // indirect - github.com/andybalholm/brotli v1.2.2 // indirect + github.com/andybalholm/brotli v1.2.6 // indirect github.com/apache/arrow-go/v18 v18.5.1 // indirect github.com/cespare/xxhash/v2 v2.3.0 // indirect github.com/cncf/xds/go v0.0.0-20260202195803-dba9d589def2 // indirect - github.com/duckdb/duckdb-go-bindings v0.10505.0 // indirect - github.com/duckdb/duckdb-go-bindings/lib/darwin-amd64 v0.10505.0 // indirect - github.com/duckdb/duckdb-go-bindings/lib/darwin-arm64 v0.10505.0 // indirect - github.com/duckdb/duckdb-go-bindings/lib/linux-amd64 v0.10505.0 // indirect - github.com/duckdb/duckdb-go-bindings/lib/linux-arm64 v0.10505.0 // indirect - github.com/duckdb/duckdb-go-bindings/lib/windows-amd64 v0.10505.0 // indirect + github.com/duckdb/duckdb-go-bindings v0.10506.0 // indirect + github.com/duckdb/duckdb-go-bindings/lib/darwin-amd64 v0.10506.0 // indirect + github.com/duckdb/duckdb-go-bindings/lib/darwin-arm64 v0.10506.0 // indirect + github.com/duckdb/duckdb-go-bindings/lib/linux-amd64 v0.10506.0 // indirect + github.com/duckdb/duckdb-go-bindings/lib/linux-arm64 v0.10506.0 // indirect + github.com/duckdb/duckdb-go-bindings/lib/windows-amd64 v0.10506.0 // indirect github.com/envoyproxy/go-control-plane/envoy v1.37.0 // indirect github.com/envoyproxy/protoc-gen-validate v1.3.3 // indirect github.com/felixge/httpsnoop v1.1.0 // indirect github.com/go-faster/city v1.0.1 // indirect github.com/go-faster/errors v0.7.1 // indirect github.com/go-jose/go-jose/v4 v4.1.4 // indirect - github.com/go-logr/logr v1.4.3 // indirect + github.com/go-logr/logr v1.4.4 // indirect github.com/go-logr/stdr v1.2.2 // indirect github.com/go-viper/mapstructure/v2 v2.5.0 // indirect github.com/goccy/go-json v0.10.5 // indirect github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9 // indirect github.com/golang-sql/sqlexp v0.1.0 // indirect github.com/google/flatbuffers v25.12.19+incompatible // indirect - github.com/google/s2a-go v0.1.9 // indirect + github.com/google/s2a-go v0.1.11 // indirect github.com/google/uuid v1.6.0 // indirect - github.com/googleapis/enterprise-certificate-proxy v0.3.20 // indirect - github.com/googleapis/gax-go/v2 v2.24.0 // indirect + github.com/googleapis/enterprise-certificate-proxy v0.3.22 // indirect + github.com/googleapis/gax-go/v2 v2.26.2 // indirect github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect github.com/jackc/pgpassfile v1.0.0 // indirect github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect @@ -74,7 +74,7 @@ require ( github.com/pierrec/lz4/v4 v4.1.27 // indirect github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 // indirect github.com/segmentio/asm v1.2.1 // indirect - github.com/shopspring/decimal v1.4.0 // indirect + github.com/shopspring/decimal v1.5.0 // indirect github.com/spiffe/go-spiffe/v2 v2.8.1 // indirect github.com/zeebo/xxh3 v1.1.0 // indirect go.opencensus.io v0.24.0 // indirect @@ -82,26 +82,26 @@ require ( go.opentelemetry.io/contrib/detectors/gcp v1.44.0 // indirect go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.67.0 // indirect go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.69.0 // indirect - go.opentelemetry.io/otel v1.44.0 // indirect - go.opentelemetry.io/otel/metric v1.44.0 // indirect - go.opentelemetry.io/otel/sdk v1.44.0 // indirect - go.opentelemetry.io/otel/sdk/metric v1.44.0 // indirect - go.opentelemetry.io/otel/trace v1.44.0 // indirect + go.opentelemetry.io/otel v1.46.0 // indirect + go.opentelemetry.io/otel/metric v1.46.0 // indirect + go.opentelemetry.io/otel/sdk v1.45.0 // indirect + go.opentelemetry.io/otel/sdk/metric v1.45.0 // indirect + go.opentelemetry.io/otel/trace v1.46.0 // indirect golang.org/x/crypto v0.57.0 // indirect golang.org/x/exp v0.0.0-20260112195511-716be5621a96 // indirect golang.org/x/mod v0.41.0 // indirect golang.org/x/net v0.60.0 // indirect - golang.org/x/oauth2 v0.36.0 // indirect + golang.org/x/oauth2 v0.37.0 // indirect golang.org/x/sync v0.24.0 // indirect golang.org/x/sys v0.48.0 // indirect golang.org/x/telemetry v0.0.0-20260908163034-4bcc4b2ee518 // indirect golang.org/x/text v0.42.0 // indirect - golang.org/x/time v0.15.0 // indirect + golang.org/x/time v0.16.0 // indirect golang.org/x/tools v0.50.0 // indirect golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da // indirect google.golang.org/genproto v0.0.0-20260715232425-e75dac1f907d // indirect google.golang.org/genproto/googleapis/api v0.0.0-20260715232425-e75dac1f907d // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20260819154853-08b0e4226688 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20260928230214-8a89bd6388cc // indirect google.golang.org/protobuf v1.36.12 // indirect ) diff --git a/examples/go.sum b/examples/go.sum index 23e4f535f5..c2dc30ba01 100644 --- a/examples/go.sum +++ b/examples/go.sum @@ -3,45 +3,45 @@ cel.dev/expr v0.25.2/go.mod h1:hrXvqGP6G6gyx8UAHSHJ5RGk//1Oj5nXQ2NI02Nrsg4= cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.123.0 h1:2NAUJwPR47q+E35uaJeYoNhuNEM9kM8SjgRgdeOJUSE= cloud.google.com/go v0.123.0/go.mod h1:xBoMV08QcqUGuPW65Qfm1o9Y4zKZBpGS+7bImXLTAZU= -cloud.google.com/go/auth v0.23.2 h1:pxSCpfiji41hpzpPdMCftEUCezpgpqmmDdYiAjCKXxo= -cloud.google.com/go/auth v0.23.2/go.mod h1:4DhBRcqvtljQN3dJ57qtqbib5ZGCYE5f2crfiiC2EM0= -cloud.google.com/go/auth/oauth2adapt v0.2.8 h1:keo8NaayQZ6wimpNSmW5OPc283g65QNIiLpZnkHRbnc= -cloud.google.com/go/auth/oauth2adapt v0.2.8/go.mod h1:XQ9y31RkqZCcwJWNSx2Xvric3RrU88hAYYbjDWYDL+c= -cloud.google.com/go/compute/metadata v0.9.0 h1:pDUj4QMoPejqq20dK0Pg2N4yG9zIkYGdBtwLoEkH9Zs= -cloud.google.com/go/compute/metadata v0.9.0/go.mod h1:E0bWwX5wTnLPedCKqk3pJmVgCBSM6qQI1yTBdEb3C10= +cloud.google.com/go/auth v0.24.1-0.20261001053825-dbc26066f70a h1:jW1ZLFy9oa5ai8LOI40z6s+DL1cO/L1KSm9hVGnibn8= +cloud.google.com/go/auth v0.24.1-0.20261001053825-dbc26066f70a/go.mod h1:1dmBXa9xfBvBr39ZnDUDkaaA91ccq9CcqENDgJA4d7c= +cloud.google.com/go/auth/oauth2adapt v0.3.0 h1:FY8oSZpCYoUNv6QxVODuMjQz4IlSOVeiQtZ08vLPz88= +cloud.google.com/go/auth/oauth2adapt v0.3.0/go.mod h1:7+2uCm7++XFO+/lN06c2HXpDXb/NMNn2/UwyBPbTnkk= +cloud.google.com/go/compute/metadata v0.10.0 h1:pyKMUQSwchgkIBBJGdILqQbs/BNJXqwSA7Ej6LAvvtY= +cloud.google.com/go/compute/metadata v0.10.0/go.mod h1:rGFHRrIif570kSibjFTMbt6/4/tzgJWFGI/HVol4GIk= cloud.google.com/go/iam v1.12.0 h1:Aki3bX9aHUDKPHfnRJfDcTdVedvy6quGBQcTqx3DRXk= cloud.google.com/go/iam v1.12.0/go.mod h1:FEZ4lXpADAC2AIpQY7LANNjjwyQ2jK439CI2VaD+sLY= cloud.google.com/go/longrunning v1.2.0 h1:WjYH3YHBGCxGJP9M4dWGHBfXr/cFIjMkNgWcJj7/iMM= cloud.google.com/go/longrunning v1.2.0/go.mod h1:5KMQALFGOCtFoi2xSOA1u3H7WKlhmckgiyFw7+LGQp0= cloud.google.com/go/monitoring v1.30.0 h1:r/d+JUbyKmJ8b07iznuKfzVzrIXTWxHQ3lBRm3x2LlY= cloud.google.com/go/monitoring v1.30.0/go.mod h1:htlUR0QWVMrjFzZmN4LGnMAve9xB/eduwjmINxVZ8RM= -cloud.google.com/go/spanner v1.95.1 h1:9HYr+AAeAOubn0NZAYv34dFHQ3NbIUcWHZmgJvufPzk= -cloud.google.com/go/spanner v1.95.1/go.mod h1:Z2+83J5oVDmd1n5ntVMmjEuiNoXOpAyNeG7y1tuEHk0= +cloud.google.com/go/spanner v1.96.1 h1:pLmq5/Fj+Yu6YGRBz9oMPm3ZRQIeG14FYBWFwhZZaIA= +cloud.google.com/go/spanner v1.96.1/go.mod h1:VqMSp/YlTofUq1q6ekkXBAmhAs6X860YL0I8wo7i+k0= filippo.io/edwards25519 v1.2.0 h1:crnVqOiS4jqYleHd9vaKZ+HKtHfllngJIiOpNpoJsjo= filippo.io/edwards25519 v1.2.0/go.mod h1:xzAOLCNug/yB62zG1bQ8uziwrIqIuxhctzJT18Q77mc= -github.com/Azure/azure-sdk-for-go/sdk/azcore v1.23.0 h1:4gRPBpN1f6xt88yi4WR26m7XaD9OlWtVT6bWPdGUIok= -github.com/Azure/azure-sdk-for-go/sdk/azcore v1.23.0/go.mod h1:G7QVLxw1j1JVyrO1MA95S8m8HStaaleDZYTcfGgjB2o= -github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.14.0 h1:CU4+EJeJi3TKYWEcYuSdWsjzw0nVsK/H0MSQOiPcymU= -github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.14.0/go.mod h1:q0+UTSRvShwUCrR/s5HtyInYphN7Wvxb7snFM3u+SLA= +github.com/Azure/azure-sdk-for-go/sdk/azcore v1.23.1 h1:zvXfGJCWvywnCA814d8ZiVyt+fm9nnTE8xSb99zRyfo= +github.com/Azure/azure-sdk-for-go/sdk/azcore v1.23.1/go.mod h1:iptorS+VYKFL2N6PnebpS91dubG35eAOEERnT4PJbQU= +github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.14.1 h1:u93s+zU2JD62im61Bm5CZIc1ZrOJaIAWEg0WOrMVkEo= +github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.14.1/go.mod h1:oXtinPO4OLj9d1DOTrqrL1oRwGhcqadvAmrl6wTeGlk= github.com/Azure/azure-sdk-for-go/sdk/internal v1.12.0 h1:fhqpLE3UEXi9lPaBRpQ6XuRW0nU7hgg4zlmZZa+a9q4= github.com/Azure/azure-sdk-for-go/sdk/internal v1.12.0/go.mod h1:7dCRMLwisfRH3dBupKeNCioWYUZ4SS09Z14H+7i8ZoY= github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azkeys v1.5.0 h1:MaKvxE6D0KkjOg6Wd9M00iqP5PR0kUxCfiezes4JweM= github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azkeys v1.5.0/go.mod h1:i2h9fsTFKZorh8RdV2IcSUf/Qj98GlTkrTvUbX/s8as= github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/internal v1.2.0 h1:nCYfgcSyHZXJI8J0IWE5MsCGlb2xp9fJiXyxWgmOFg4= github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/internal v1.2.0/go.mod h1:ucUjca2JtSZboY8IoUqyQyuuXvwbMBVwFOm0vdQPNhA= -github.com/AzureAD/microsoft-authentication-library-for-go v1.7.2 h1:RHK7bS+HQMslb1sZpAokUt+zTVmue0hKSs2C791hhzU= -github.com/AzureAD/microsoft-authentication-library-for-go v1.7.2/go.mod h1:HKpQxkWaGLJ+D/5H8QRpyQXA1eKjxkFlOMwck5+33Jk= +github.com/AzureAD/microsoft-authentication-library-for-go v1.8.0 h1:Nljr4q1GRA/5vCrMONS+g4u4LRHNgOXVSh3O43J2CnI= +github.com/AzureAD/microsoft-authentication-library-for-go v1.8.0/go.mod h1:Y33QHnf0FfdVewFFISOGe20mkZbxX4H839o955/PoeI= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/ClickHouse/ch-go v0.74.0 h1:uYs2m4wIt0ZHSM1E72rg0maCfzhR2V3xWb/vZEgpeWE= github.com/ClickHouse/ch-go v0.74.0/go.mod h1:sZ/r+8ttZMjyrP9PuFbgoVbth1ywIu2LIQNA2vgko6M= -github.com/ClickHouse/clickhouse-go/v2 v2.48.0 h1:auzd4VkapQYhQF8F2Gog7s3x78Bi1JZmByxGbrw3C+4= -github.com/ClickHouse/clickhouse-go/v2 v2.48.0/go.mod h1:lBjUCPRG6RpRQdMbkXq+JV8rY0/O5lw+Z7jShgReFjM= +github.com/ClickHouse/clickhouse-go/v2 v2.49.0 h1:HgiLTraLGgMe8kYivQ6RzMHDUkU/uFUpsWEAuhVk34Q= +github.com/ClickHouse/clickhouse-go/v2 v2.49.0/go.mod h1:o8dSgGJGxY7CeWFNiKusF9a5RnLpgzuo7OaNyH0NQPE= github.com/GoogleCloudPlatform/grpc-gcp-go/grpcgcp v1.6.0 h1:BzsL0qE7LvtTEtXG7Dt5NS1EP0CQwI21HZfj9aGghhw= github.com/GoogleCloudPlatform/grpc-gcp-go/grpcgcp v1.6.0/go.mod h1:I7kE2kM3qCr9QPT4cU4cCFYkEpVyVr16YOGUHzy+nR0= github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.34.0 h1:yzIYdwuro811Z27D3T80Wkd3rqZzb0K43nner7Eh1yE= github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.34.0/go.mod h1:pJTkW8hEUIIi3Pf65lPZOnn4Y81yCllX6IWk2jNXdkM= -github.com/andybalholm/brotli v1.2.2 h1:HzTuoo2ErYQqf5qvcJInB8uvqSVxRttzkFexPWtnceM= -github.com/andybalholm/brotli v1.2.2/go.mod h1:rzTDkvFWvIrjDXZHkuS16NPggd91W3kUSvPlQ1pLaKY= +github.com/andybalholm/brotli v1.2.6 h1:ftYnfj6usCp+UGV5kSJ3+chpMQgU+gJf/AxsUQ52REI= +github.com/andybalholm/brotli v1.2.6/go.mod h1:rzTDkvFWvIrjDXZHkuS16NPggd91W3kUSvPlQ1pLaKY= github.com/apache/arrow-go/v18 v18.5.1 h1:yaQ6zxMGgf9YCYw4/oaeOU3AULySDlAYDOcnr4LdHdI= github.com/apache/arrow-go/v18 v18.5.1/go.mod h1:OCCJsmdq8AsRm8FkBSSmYTwL/s4zHW9CqxeBxEytkNE= github.com/apache/thrift v0.22.0 h1:r7mTJdj51TMDe6RtcmNdQxgn9XcyfGDOzegMDRg47uc= @@ -55,20 +55,20 @@ github.com/cncf/xds/go v0.0.0-20260202195803-dba9d589def2 h1:aBangftG7EVZoUb69Os github.com/cncf/xds/go v0.0.0-20260202195803-dba9d589def2/go.mod h1:qwXFYgsP6T7XnJtbKlf1HP8AjxZZyzxMmc+Lq5GjlU4= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/duckdb/duckdb-go-bindings v0.10505.0 h1:/0pPsTLrcCsTGxT0VrHgJWnOcPe1tQL1vrki1v3jbAI= -github.com/duckdb/duckdb-go-bindings v0.10505.0/go.mod h1:HoD5xePkDj3VZbBnVVfxVVYIljZ9khCprWA7FgwIiC4= -github.com/duckdb/duckdb-go-bindings/lib/darwin-amd64 v0.10505.0 h1:FrMqquFBQlMsi34h2KZgCku54rqA8xEbXZ0NLVDKwYs= -github.com/duckdb/duckdb-go-bindings/lib/darwin-amd64 v0.10505.0/go.mod h1:EnAvZh1kNJHp5yF+M1ZHNEvapnmt6anq1xXHVrAGqMo= -github.com/duckdb/duckdb-go-bindings/lib/darwin-arm64 v0.10505.0 h1:lbRbpQwT1MmUhh/VTwukV9K8bxKByV3UghAP3MvsbBo= -github.com/duckdb/duckdb-go-bindings/lib/darwin-arm64 v0.10505.0/go.mod h1:IGLSeEcFhNeZF16aVjQCULD7TsFZKG5G7SyKJAXKp5c= -github.com/duckdb/duckdb-go-bindings/lib/linux-amd64 v0.10505.0 h1:nrsaVYj3XYCRbS2FpdOMD/KHE7egRMr+/NR1IHmjT84= -github.com/duckdb/duckdb-go-bindings/lib/linux-amd64 v0.10505.0/go.mod h1:KAIynZ0GHCS7X5fRyuFnQMg/SZBPK/bS9OCOVojClxw= -github.com/duckdb/duckdb-go-bindings/lib/linux-arm64 v0.10505.0 h1:qM6oGDgwXBILJGbTY4fCy6QOczLpucUA6yn6g3ORjh4= -github.com/duckdb/duckdb-go-bindings/lib/linux-arm64 v0.10505.0/go.mod h1:81SGOYoEUs8qaAfSk1wRfM5oobrIJ5KI7AzYhK6/bvQ= -github.com/duckdb/duckdb-go-bindings/lib/windows-amd64 v0.10505.0 h1:DjqZl9rYreHkSOqnqLmkrqH5T8UdQNcxZLJVZzGmXXA= -github.com/duckdb/duckdb-go-bindings/lib/windows-amd64 v0.10505.0/go.mod h1:K25pJL26ARblGDeuAkrdblFvUen92+CwksLtPEHRqqQ= -github.com/duckdb/duckdb-go/v2 v2.10505.0 h1:SWwvLn2Qx/RQSnQNupwgIF8VbnJ5A6OQU9lYb/mDETI= -github.com/duckdb/duckdb-go/v2 v2.10505.0/go.mod h1:m0PW4J4FG9hlFlVdXi6Ds9owpyIDaBdE2jyce00fGcE= +github.com/duckdb/duckdb-go-bindings v0.10506.0 h1:+s/v55ghAy8MV/QJnwuafD9n+ZoYQkrRd/ceSU0KReA= +github.com/duckdb/duckdb-go-bindings v0.10506.0/go.mod h1:BKswa3lVlgeqO0nzDEQdtVPqPoUbXsVM6zdjhgEDFgU= +github.com/duckdb/duckdb-go-bindings/lib/darwin-amd64 v0.10506.0 h1:bMccC8xWnr/3BjUKQfQxD8MUJPeME3GSHvddWvBKK+M= +github.com/duckdb/duckdb-go-bindings/lib/darwin-amd64 v0.10506.0/go.mod h1:EnAvZh1kNJHp5yF+M1ZHNEvapnmt6anq1xXHVrAGqMo= +github.com/duckdb/duckdb-go-bindings/lib/darwin-arm64 v0.10506.0 h1:TzekQov7ntc+Xahq/puCqVHZgJh4ApJLsqEBpOiIXSA= +github.com/duckdb/duckdb-go-bindings/lib/darwin-arm64 v0.10506.0/go.mod h1:IGLSeEcFhNeZF16aVjQCULD7TsFZKG5G7SyKJAXKp5c= +github.com/duckdb/duckdb-go-bindings/lib/linux-amd64 v0.10506.0 h1:yy2TUU+YWxiBiOQryYseUl0AcUzoFFYRmmrCGijUxiU= +github.com/duckdb/duckdb-go-bindings/lib/linux-amd64 v0.10506.0/go.mod h1:KAIynZ0GHCS7X5fRyuFnQMg/SZBPK/bS9OCOVojClxw= +github.com/duckdb/duckdb-go-bindings/lib/linux-arm64 v0.10506.0 h1:HWUiLpeaZwUFg08Rs2eSpPbbaw3yEB2t96r+5NEbAgs= +github.com/duckdb/duckdb-go-bindings/lib/linux-arm64 v0.10506.0/go.mod h1:81SGOYoEUs8qaAfSk1wRfM5oobrIJ5KI7AzYhK6/bvQ= +github.com/duckdb/duckdb-go-bindings/lib/windows-amd64 v0.10506.0 h1:6PtbnpeUum+J/iNbI56QhZmSfbvy1syhvzWsoH1NKJc= +github.com/duckdb/duckdb-go-bindings/lib/windows-amd64 v0.10506.0/go.mod h1:K25pJL26ARblGDeuAkrdblFvUen92+CwksLtPEHRqqQ= +github.com/duckdb/duckdb-go/v2 v2.10506.0 h1:mcZjUQ/kSNeZdtGCqyj5/JEDUdj7/kvILfIOUTzQIu0= +github.com/duckdb/duckdb-go/v2 v2.10506.0/go.mod h1:6pLO+4GMcb0q36+z+RlQ7h+MMxum1lL0eAVf4GsPAxs= github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= @@ -90,8 +90,8 @@ github.com/go-faster/errors v0.7.1/go.mod h1:5ySTjWFiphBs07IKuiL69nxdfd5+fzh1u7F github.com/go-jose/go-jose/v4 v4.1.4 h1:moDMcTHmvE6Groj34emNPLs/qtYXRVcd6S7NHbHz3kA= github.com/go-jose/go-jose/v4 v4.1.4/go.mod h1:x4oUasVrzR7071A4TnHLGSPpNOm2a21K9Kf04k1rs08= github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= -github.com/go-logr/logr v1.4.3 h1:CjnDlHq8ikf6E492q6eKboGOC0T8CDaOvkHCIg8idEI= -github.com/go-logr/logr v1.4.3/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= +github.com/go-logr/logr v1.4.4 h1:tG4xh9yMsRCAiodLVTxyrkzSZ9+o0L1Kg/+cPVcbP/8= +github.com/go-logr/logr v1.4.4/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= github.com/go-sql-driver/mysql v1.10.1 h1:arlSnNLq6a5yxGxV7qg9lF4j0C+KwD6NbQyKr9QL6ME= @@ -136,15 +136,15 @@ github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8= github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU= -github.com/google/s2a-go v0.1.9 h1:LGD7gtMgezd8a/Xak7mEWL0PjoTQFvpRudN895yqKW0= -github.com/google/s2a-go v0.1.9/go.mod h1:YA0Ei2ZQL3acow2O62kdp9UlnvMmU7kA6Eutn0dXayM= +github.com/google/s2a-go v0.1.11 h1:7v1V1TraNGP63WptsAkNqr2w8jgm4vM6A6qx6Lsw9iM= +github.com/google/s2a-go v0.1.11/go.mod h1:pz4tyvwXvJLLbyrkh6FW1eS2zPUXMaTmyNhYtyP2tNw= github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/googleapis/enterprise-certificate-proxy v0.3.20 h1:t/xL64VUoN69MuMRQuJETqYGOw4Z9mSRJK9epIEtwFk= -github.com/googleapis/enterprise-certificate-proxy v0.3.20/go.mod h1:L3D/IQExI6LqEjBdXcZQ1WluSgigQmSwBboFstVPM4w= -github.com/googleapis/gax-go/v2 v2.24.0 h1:myMaPYyF9MecEmvQqMqomIwn9t/4KCZN9qnwsS76wlg= -github.com/googleapis/gax-go/v2 v2.24.0/go.mod h1:IaTHBDd7NHxSCiu0vEs8pQZu4dGZrWwuSoxCnk16OFM= +github.com/googleapis/enterprise-certificate-proxy v0.3.22 h1:NU4XpII6jD+Dxcot94fqjE+AfJoE/lQP9q3faYGzC/c= +github.com/googleapis/enterprise-certificate-proxy v0.3.22/go.mod h1:L3D/IQExI6LqEjBdXcZQ1WluSgigQmSwBboFstVPM4w= +github.com/googleapis/gax-go/v2 v2.26.2 h1:ydkmNXxj7bEmmeK5AihkKnWxyOyBR9TDebvp5L5izk8= +github.com/googleapis/gax-go/v2 v2.26.2/go.mod h1:sMKqnMesnKH+3wiRJROcttA+cJoZoGbZl1vDQ8XYtGk= github.com/googleapis/go-sql-spanner v1.26.0 h1:kJ82/XRqWYLNGW7GLfABG4j0HuP7POvklUDCYHSFATk= github.com/googleapis/go-sql-spanner v1.26.0/go.mod h1:QqG0NfeQbM5HOkKYti3YavRLDO1gQ8fke48IN3cnMfI= github.com/hashicorp/golang-lru/v2 v2.0.7 h1:a+bsQ5rvGLjzHuww6tVxozPZFVghXaHOwFs4luLUK2k= @@ -167,8 +167,8 @@ github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0 github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw= github.com/lib/pq v1.12.3 h1:tTWxr2YLKwIvK90ZXEw8GP7UFHtcbTtty8zsI+YjrfQ= github.com/lib/pq v1.12.3/go.mod h1:/p+8NSbOcwzAEI7wiMXFlgydTwcgTr3OSKMsD2BitpA= -github.com/microsoft/go-mssqldb v1.11.0 h1:YbDqolEjGH9hBfvKzONTf5/dbl9RKXmizMJE93lVxNs= -github.com/microsoft/go-mssqldb v1.11.0/go.mod h1:goQLDOPlMN/l1REhnNPElMoY/yX+fUWn1+7UoFJPH9Y= +github.com/microsoft/go-mssqldb v1.11.2 h1:FCgeBIK8um2+X4tbun6Q71N1KsfyCDPKY41e1yGVjSE= +github.com/microsoft/go-mssqldb v1.11.2/go.mod h1:CYgwG5AMXFojbjTg+GNP5G/y6uz1BhTyZaPqQWzkGnQ= github.com/minio/asm2plan9s v0.0.0-20200509001527-cdd76441f9d8 h1:AMFGa4R4MiIpspGNG7Z948v4n35fFGB3RR3G/ry4FWs= github.com/minio/asm2plan9s v0.0.0-20200509001527-cdd76441f9d8/go.mod h1:mC1jAcsrzbxHt8iiaC+zU4b1ylILSosueou12R++wfY= github.com/minio/c2goasm v0.0.0-20190812172519-36a3d3bbc4f3 h1:+n/aFZefKZp7spd8DFdX7uMikMLXX4oubIzJF4kv/wI= @@ -191,8 +191,8 @@ github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZN github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/segmentio/asm v1.2.1 h1:DTNbBqs57ioxAD4PrArqftgypG4/qNpXoJx8TVXxPR0= github.com/segmentio/asm v1.2.1/go.mod h1:BqMnlJP91P8d+4ibuonYZw9mfnzI9HfxselHZr5aAcs= -github.com/shopspring/decimal v1.4.0 h1:bxl37RwXBklmTi0C79JfXCEBD1cqqHt0bbgBAGFp81k= -github.com/shopspring/decimal v1.4.0/go.mod h1:gawqmDU56v4yIKSwfBSFip1HdCCXN8/+DMd9qYNcwME= +github.com/shopspring/decimal v1.5.0 h1:HxSWk31RmJv0EyY4oLiGQB9u7WPludUwPBdvQZnYFPc= +github.com/shopspring/decimal v1.5.0/go.mod h1:gawqmDU56v4yIKSwfBSFip1HdCCXN8/+DMd9qYNcwME= github.com/spiffe/go-spiffe/v2 v2.8.1 h1:eXZMLsu+3MLEPJyGJkolqtVrteZfQdUpOWj6LTiDl/E= github.com/spiffe/go-spiffe/v2 v2.8.1/go.mod h1:47Q0Q9/AqGha8QLHp+kxpH4Wca7X7EnOtlIJy3mxZ3U= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= @@ -221,18 +221,18 @@ go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.6 go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.67.0/go.mod h1:NoUCKYWK+3ecatC4HjkRktREheMeEtrXoQxrqYFeHSc= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.69.0 h1:8tvICD4vSTOOsNrsI4Ljf6C+6UKvpTEH5XY3JMoyPoo= go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.69.0/go.mod h1:z9+yiacE0IHRqM4qFfkbt/JYlmYXgss8GY/jXoNuPJI= -go.opentelemetry.io/otel v1.44.0 h1:JjwHmHpA4iZ3wBxluu2fbbE7j4kqlE8jXyAyPXH7HqU= -go.opentelemetry.io/otel v1.44.0/go.mod h1:BMgjTHL9WPRlRjL2oZCBTL4whCGtXch2H4BhOPIAyYc= -go.opentelemetry.io/otel/metric v1.44.0 h1:1w0gILTcHdr3YI+ixLyjemwrVnsMURbTZFrSYCdDdmc= -go.opentelemetry.io/otel/metric v1.44.0/go.mod h1:8O7hanEPBNgEMmybD3s2VBKcgWOCsA6tzHBPODAiquo= -go.opentelemetry.io/otel/metric/x v0.66.0 h1:YkCrx1zLOChi9ZcZ6euupOcsgzbVlec7D/xoEU1+cTA= -go.opentelemetry.io/otel/metric/x v0.66.0/go.mod h1:d1+BDj9t96do0/1LoU1ayfCv79ZgNE41qbhBvnMOBZk= -go.opentelemetry.io/otel/sdk v1.44.0 h1:nHYwb9lK+fJPU/dnT6s7W7Z8itMWyqrnVfbheVYrZ58= -go.opentelemetry.io/otel/sdk v1.44.0/go.mod h1:Osuydd3Se74nqjAKxid74N5eC+jfEqfTegHRnq58oK0= -go.opentelemetry.io/otel/sdk/metric v1.44.0 h1:3LlKgI+VjbVsjNRFZJZAJ30WjXC5VkNRks6si09iEfI= -go.opentelemetry.io/otel/sdk/metric v1.44.0/go.mod h1:5B5pMARnXxKhltooO4xUuCBorl65a4EpnTalObqOigA= -go.opentelemetry.io/otel/trace v1.44.0 h1:jxF5CsGYCe74MCRx2X4g7WsY/VBKRqqpNvXlX/6gtIk= -go.opentelemetry.io/otel/trace v1.44.0/go.mod h1:oLl1jrMQAVo6v3GAggN+1VH9VIz9iUSvW53sW1Q8PIE= +go.opentelemetry.io/otel v1.46.0 h1:FHt5/CDyVxi/8IM1CH7VE/rRgq3kLHa2mSTVMO8AWyc= +go.opentelemetry.io/otel v1.46.0/go.mod h1:Gj3SEScelsNC45tp4nSxRYlS+f5iez7W8XPMCt905kE= +go.opentelemetry.io/otel/metric v1.46.0 h1:yBnkXvgV7AXFILZc5K6IZe/CBFF3OS7BJ8ov6/lj0K8= +go.opentelemetry.io/otel/metric v1.46.0/go.mod h1:iPmdWqifKUdzziPkvvzIJXITl56fQx2mGM/DHLB3/2o= +go.opentelemetry.io/otel/metric/x v0.67.0 h1:PcicCNZFkZ4bXfSooXdo3WN7RBOVOtjVdo1wD358Uns= +go.opentelemetry.io/otel/metric/x v0.67.0/go.mod h1:FBjCWZe6wgcqxcMtjdGiClDKXb2YxxXii0CXftE4QtI= +go.opentelemetry.io/otel/sdk v1.45.0 h1:4VVSMgQ83dUgW2aoX5f6JgLvHwIvzcuLnF9lUdCSpCw= +go.opentelemetry.io/otel/sdk v1.45.0/go.mod h1:Sr40LgXV7DsKMMJMKOhUWOgMWTfAaqvm2kF0g7ilwuA= +go.opentelemetry.io/otel/sdk/metric v1.45.0 h1:oVFszMfyj1Am6s24Vtc7wBb8BKLcwepJjNEYILuiE3o= +go.opentelemetry.io/otel/sdk/metric v1.45.0/go.mod h1:vUWUxDZvu1WVRj8JA8S0AdhsPrZoDpA2DdZauIh4mDA= +go.opentelemetry.io/otel/trace v1.46.0 h1:OULy7ccdJnZtJ0UDYFOIGaCmiWzJ8Vi2G/Rsu60qs1c= +go.opentelemetry.io/otel/trace v1.46.0/go.mod h1:J7GAXweO77XSFkB/rmAqk9D6ihszhFjLU+d9WuUxDLI= go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto= go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE= go.yaml.in/yaml/v3 v3.0.5 h1:N6y/pJk8buWs9NY5ERU2HSMfm+IuD/OtfdAnq6kESPw= @@ -258,8 +258,8 @@ golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwY golang.org/x/net v0.60.0 h1:79p50tfZlm0J9YfoDsSi639qSXNGVwEzOPLCxM2FsYU= golang.org/x/net v0.60.0/go.mod h1:2DA/G1UfVbCpQPeWTmMPGY7Cs2PkBkwu743bVX5PIVg= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= -golang.org/x/oauth2 v0.36.0 h1:peZ/1z27fi9hUOFCAZaHyrpWG5lwe0RJEEEeH0ThlIs= -golang.org/x/oauth2 v0.36.0/go.mod h1:YDBUJMTkDnJS+A4BP4eZBjCqtokkg1hODuPjwiGPO7Q= +golang.org/x/oauth2 v0.37.0 h1:JUlcxA8oAtauLfiH8FX2/FkAWHAdi0QtGCGc+hofE98= +golang.org/x/oauth2 v0.37.0/go.mod h1:IxwZNxUULJmpBFf9K/9NTMSIfZZuvuTy1gGxhigP/58= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -277,8 +277,8 @@ golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.42.0 h1:JbOZXgfeCPU9gacVtYliJqOhD+zhrEqK4LfdpmlUZqI= golang.org/x/text v0.42.0/go.mod h1:ojzP1Z+2QtioaF8DTtO8K5q7JWVVYwZKenzujK0Zd0E= -golang.org/x/time v0.15.0 h1:bbrp8t3bGUeFOx08pvsMYRTCVSMk89u4tKbNOZbp88U= -golang.org/x/time v0.15.0/go.mod h1:Y4YMaQmXwGQZoFaVFk4YpCt4FLQMYKZe9oeV/f4MSno= +golang.org/x/time v0.16.0 h1:vMb6ptszcQMkcwiRTAuNNU50gom6++Q/6gY2hDM6VDE= +golang.org/x/time v0.16.0/go.mod h1:rVKOqvZeKvrDKTQiAHJ7wmwP0RzleSphoEA9RcdLA0s= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= @@ -291,8 +291,8 @@ golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da h1:noIWHXmPHxILtqtCOPIhS golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da/go.mod h1:NDW/Ps6MPRej6fsCIbMTohpP40sJ/P/vI1MoTEGwX90= gonum.org/v1/gonum v0.17.0 h1:VbpOemQlsSMrYmn7T2OUvQ4dqxQXU+ouZFQsZOx50z4= gonum.org/v1/gonum v0.17.0/go.mod h1:El3tOrEuMpv2UdMrbNlKEh9vd86bmQ6vqIcDwxEOc1E= -google.golang.org/api v0.298.0 h1:YW18RkHBMZBA1ergX0m4biagzgbiPTb2uTsRsDPWNRY= -google.golang.org/api v0.298.0/go.mod h1:02qB8+Ox1ZFzcaKFMguy1nQLJmSIyvV6Ff4txJEXtl4= +google.golang.org/api v0.301.0 h1:rTvI8szs17R7b09ggb34Bv4XrmFaFl9uCBncgxskqtw= +google.golang.org/api v0.301.0/go.mod h1:gGUTaOjgsaG/KNyyW1tFO+DSFm3EJw4BwyehlcmDCXs= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= @@ -302,8 +302,8 @@ google.golang.org/genproto v0.0.0-20260715232425-e75dac1f907d h1:C9v1o0/4quuhOAf google.golang.org/genproto v0.0.0-20260715232425-e75dac1f907d/go.mod h1:Wz2wFJntZFmLGo7pLDXZ3wYk5hyc0Mb+SkHhDDXT+lU= google.golang.org/genproto/googleapis/api v0.0.0-20260715232425-e75dac1f907d h1:QwnJwPte4XXAkhPu26LTDIahnsMSUV0kK8HkxbC+Pc4= google.golang.org/genproto/googleapis/api v0.0.0-20260715232425-e75dac1f907d/go.mod h1:WRrQ7/7N19PypuT0fxLOL5Lq0waoiRri4FbtHDEKrGE= -google.golang.org/genproto/googleapis/rpc v0.0.0-20260819154853-08b0e4226688 h1:cYNAzI2sUwhmCcoj9TxvihSrqsxt6uIkj3rDRhSDmW4= -google.golang.org/genproto/googleapis/rpc v0.0.0-20260819154853-08b0e4226688/go.mod h1:DjtHYE8FKJLivXcBEjGwndXfIC23G0VpXiXKqG179uA= +google.golang.org/genproto/googleapis/rpc v0.0.0-20260928230214-8a89bd6388cc h1:4bNTbnb44EqGVy9HaQxSY2jnafSUdgV3qHtedvNpDKg= +google.golang.org/genproto/googleapis/rpc v0.0.0-20260928230214-8a89bd6388cc/go.mod h1:OaIUM3+LpYcK2GXM4FTmhWoIq371Owdr+Cc7/BsYHHc= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= diff --git a/internal/endtoend/testdata/go.mod b/internal/endtoend/testdata/go.mod index ec94cd58d9..7e8a38d1c4 100644 --- a/internal/endtoend/testdata/go.mod +++ b/internal/endtoend/testdata/go.mod @@ -3,50 +3,51 @@ module github.com/sqlc-dev/sqlc/endtoend go 1.26.0 require ( - cloud.google.com/go/spanner v1.95.1 - github.com/duckdb/duckdb-go/v2 v2.10505.0 - github.com/go-sql-driver/mysql v1.7.0 - github.com/gofrs/uuid v4.0.0+incompatible + cloud.google.com/go/spanner v1.96.1 + github.com/duckdb/duckdb-go/v2 v2.10506.0 + github.com/go-sql-driver/mysql v1.10.1 + github.com/gofrs/uuid v4.4.0+incompatible github.com/google/uuid v1.6.0 - github.com/hexon/mysqltsv v0.1.0 - github.com/jackc/pgconn v1.5.1-0.20200601181101-fa742c524853 - github.com/jackc/pgtype v1.6.2 - github.com/jackc/pgx/v4 v4.6.1-0.20200606145419-4e5062306904 - github.com/jackc/pgx/v5 v5.8.0 - github.com/lib/pq v1.9.0 - github.com/microsoft/go-mssqldb v1.11.0 - github.com/pgvector/pgvector-go v0.1.1 - github.com/shopspring/decimal v1.4.0 - github.com/sqlc-dev/pqtype v0.2.0 + github.com/hexon/mysqltsv v0.2.2 + github.com/jackc/pgconn v1.14.3 + github.com/jackc/pgtype v1.14.4 + github.com/jackc/pgx/v4 v4.18.2 + github.com/jackc/pgx/v5 v5.11.0 + github.com/lib/pq v1.12.3 + github.com/microsoft/go-mssqldb v1.11.2 + github.com/pgvector/pgvector-go v0.4.1 + github.com/shopspring/decimal v1.5.0 + github.com/sqlc-dev/pqtype v0.3.0 github.com/sqlc-dev/sqlc-testdata v1.0.0 github.com/volatiletech/null/v8 v8.1.2 gopkg.in/guregu/null.v4 v4.0.0 ) require ( - cel.dev/expr v0.25.1 // indirect + cel.dev/expr v0.25.2 // indirect cloud.google.com/go v0.123.0 // indirect cloud.google.com/go/auth v0.20.0 // indirect cloud.google.com/go/auth/oauth2adapt v0.2.8 // indirect cloud.google.com/go/compute/metadata v0.9.0 // indirect - cloud.google.com/go/monitoring v1.29.0 // indirect + cloud.google.com/go/monitoring v1.30.0 // indirect + filippo.io/edwards25519 v1.2.0 // indirect github.com/GoogleCloudPlatform/grpc-gcp-go/grpcgcp v1.6.0 // indirect - github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.32.0 // indirect + github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.34.0 // indirect github.com/apache/arrow-go/v18 v18.5.1 // indirect github.com/cespare/xxhash/v2 v2.3.0 // indirect github.com/cncf/xds/go v0.0.0-20260202195803-dba9d589def2 // indirect - github.com/duckdb/duckdb-go-bindings v0.10505.0 // indirect - github.com/duckdb/duckdb-go-bindings/lib/darwin-amd64 v0.10505.0 // indirect - github.com/duckdb/duckdb-go-bindings/lib/darwin-arm64 v0.10505.0 // indirect - github.com/duckdb/duckdb-go-bindings/lib/linux-amd64 v0.10505.0 // indirect - github.com/duckdb/duckdb-go-bindings/lib/linux-arm64 v0.10505.0 // indirect - github.com/duckdb/duckdb-go-bindings/lib/windows-amd64 v0.10505.0 // indirect + github.com/duckdb/duckdb-go-bindings v0.10506.0 // indirect + github.com/duckdb/duckdb-go-bindings/lib/darwin-amd64 v0.10506.0 // indirect + github.com/duckdb/duckdb-go-bindings/lib/darwin-arm64 v0.10506.0 // indirect + github.com/duckdb/duckdb-go-bindings/lib/linux-amd64 v0.10506.0 // indirect + github.com/duckdb/duckdb-go-bindings/lib/linux-arm64 v0.10506.0 // indirect + github.com/duckdb/duckdb-go-bindings/lib/windows-amd64 v0.10506.0 // indirect github.com/envoyproxy/go-control-plane/envoy v1.37.0 // indirect github.com/envoyproxy/protoc-gen-validate v1.3.3 // indirect - github.com/felixge/httpsnoop v1.0.4 // indirect + github.com/felixge/httpsnoop v1.1.0 // indirect github.com/friendsofgo/errors v0.9.2 // indirect github.com/go-jose/go-jose/v4 v4.1.4 // indirect - github.com/go-logr/logr v1.4.3 // indirect + github.com/go-logr/logr v1.4.4 // indirect github.com/go-logr/stdr v1.2.2 // indirect github.com/go-viper/mapstructure/v2 v2.5.0 // indirect github.com/goccy/go-json v0.10.5 // indirect @@ -55,47 +56,47 @@ require ( github.com/google/flatbuffers v25.12.19+incompatible // indirect github.com/google/s2a-go v0.1.9 // indirect github.com/googleapis/enterprise-certificate-proxy v0.3.17 // indirect - github.com/googleapis/gax-go/v2 v2.23.0 // indirect + github.com/googleapis/gax-go/v2 v2.26.2 // indirect github.com/jackc/chunkreader/v2 v2.0.1 // indirect github.com/jackc/pgio v1.0.0 // indirect github.com/jackc/pgpassfile v1.0.0 // indirect - github.com/jackc/pgproto3/v2 v2.0.1 // indirect + github.com/jackc/pgproto3/v2 v2.3.3 // indirect github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect github.com/klauspost/compress v1.18.3 // indirect github.com/klauspost/cpuid/v2 v2.3.0 // indirect github.com/pierrec/lz4/v4 v4.1.25 // indirect github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 // indirect - github.com/spiffe/go-spiffe/v2 v2.6.0 // indirect + github.com/spiffe/go-spiffe/v2 v2.8.1 // indirect github.com/volatiletech/inflect v0.0.1 // indirect github.com/volatiletech/randomize v0.0.1 // indirect github.com/volatiletech/strmangle v0.0.1 // indirect github.com/zeebo/xxh3 v1.1.0 // indirect go.opencensus.io v0.24.0 // indirect go.opentelemetry.io/auto/sdk v1.2.1 // indirect - go.opentelemetry.io/contrib/detectors/gcp v1.43.0 // indirect + go.opentelemetry.io/contrib/detectors/gcp v1.44.0 // indirect go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.67.0 // indirect - go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.67.0 // indirect - go.opentelemetry.io/otel v1.44.0 // indirect - go.opentelemetry.io/otel/metric v1.44.0 // indirect - go.opentelemetry.io/otel/sdk v1.44.0 // indirect - go.opentelemetry.io/otel/sdk/metric v1.44.0 // indirect - go.opentelemetry.io/otel/trace v1.44.0 // indirect + go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.69.0 // indirect + go.opentelemetry.io/otel v1.45.0 // indirect + go.opentelemetry.io/otel/metric v1.45.0 // indirect + go.opentelemetry.io/otel/sdk v1.45.0 // indirect + go.opentelemetry.io/otel/sdk/metric v1.45.0 // indirect + go.opentelemetry.io/otel/trace v1.45.0 // indirect golang.org/x/crypto v0.55.0 // indirect golang.org/x/exp v0.0.0-20260112195511-716be5621a96 // indirect golang.org/x/mod v0.38.0 // indirect - golang.org/x/net v0.57.0 // indirect + golang.org/x/net v0.58.0 // indirect golang.org/x/oauth2 v0.36.0 // indirect - golang.org/x/sync v0.22.0 // indirect + golang.org/x/sync v0.24.0 // indirect golang.org/x/sys v0.47.0 // indirect golang.org/x/telemetry v0.0.0-20260708182218-49f421fb7959 // indirect golang.org/x/text v0.41.0 // indirect golang.org/x/time v0.15.0 // indirect golang.org/x/tools v0.48.0 // indirect golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da // indirect - google.golang.org/api v0.287.1 // indirect - google.golang.org/genproto v0.0.0-20260319201613-d00831a3d3e7 // indirect - google.golang.org/genproto/googleapis/api v0.0.0-20260630182238-925bb5da69e7 // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20260630182238-925bb5da69e7 // indirect - google.golang.org/grpc v1.82.1 // indirect - google.golang.org/protobuf v1.36.11 // indirect + google.golang.org/api v0.288.0 // indirect + google.golang.org/genproto v0.0.0-20260715232425-e75dac1f907d // indirect + google.golang.org/genproto/googleapis/api v0.0.0-20260715232425-e75dac1f907d // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20260715232425-e75dac1f907d // indirect + google.golang.org/grpc v1.84.0 // indirect + google.golang.org/protobuf v1.36.12 // indirect ) diff --git a/internal/endtoend/testdata/go.sum b/internal/endtoend/testdata/go.sum index 2aa53f319b..dcd47ca594 100644 --- a/internal/endtoend/testdata/go.sum +++ b/internal/endtoend/testdata/go.sum @@ -1,5 +1,5 @@ -cel.dev/expr v0.25.1 h1:1KrZg61W6TWSxuNZ37Xy49ps13NUovb66QLprthtwi4= -cel.dev/expr v0.25.1/go.mod h1:hrXvqGP6G6gyx8UAHSHJ5RGk//1Oj5nXQ2NI02Nrsg4= +cel.dev/expr v0.25.2 h1:K6j46C81hXtZQfuX60cVWQFBJahKSE2gfRbNuvr5bFs= +cel.dev/expr v0.25.2/go.mod h1:hrXvqGP6G6gyx8UAHSHJ5RGk//1Oj5nXQ2NI02Nrsg4= cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.123.0 h1:2NAUJwPR47q+E35uaJeYoNhuNEM9kM8SjgRgdeOJUSE= cloud.google.com/go v0.123.0/go.mod h1:xBoMV08QcqUGuPW65Qfm1o9Y4zKZBpGS+7bImXLTAZU= @@ -9,31 +9,34 @@ cloud.google.com/go/auth/oauth2adapt v0.2.8 h1:keo8NaayQZ6wimpNSmW5OPc283g65QNIi cloud.google.com/go/auth/oauth2adapt v0.2.8/go.mod h1:XQ9y31RkqZCcwJWNSx2Xvric3RrU88hAYYbjDWYDL+c= cloud.google.com/go/compute/metadata v0.9.0 h1:pDUj4QMoPejqq20dK0Pg2N4yG9zIkYGdBtwLoEkH9Zs= cloud.google.com/go/compute/metadata v0.9.0/go.mod h1:E0bWwX5wTnLPedCKqk3pJmVgCBSM6qQI1yTBdEb3C10= -cloud.google.com/go/iam v1.11.0 h1:KieQ9Pb+LLPak1O3Rv3GgCxhnmkYf7Xyh0P5HfF1jFM= -cloud.google.com/go/iam v1.11.0/go.mod h1:KP+nKGugNJW4LcLx1uEZcq1ok5sQHFaQehQNl4QDgV4= +cloud.google.com/go/iam v1.12.0 h1:Aki3bX9aHUDKPHfnRJfDcTdVedvy6quGBQcTqx3DRXk= +cloud.google.com/go/iam v1.12.0/go.mod h1:FEZ4lXpADAC2AIpQY7LANNjjwyQ2jK439CI2VaD+sLY= cloud.google.com/go/longrunning v1.2.0 h1:WjYH3YHBGCxGJP9M4dWGHBfXr/cFIjMkNgWcJj7/iMM= cloud.google.com/go/longrunning v1.2.0/go.mod h1:5KMQALFGOCtFoi2xSOA1u3H7WKlhmckgiyFw7+LGQp0= -cloud.google.com/go/monitoring v1.29.0 h1:AHhDsFaSax1/4k+qlIDX/SDGe6hggnfXJ9dkgD9qBPY= -cloud.google.com/go/monitoring v1.29.0/go.mod h1:72NOVjJXHY/HBfoLT0+qlCZBT059+9VXLeAnL2PeeVM= -cloud.google.com/go/spanner v1.95.1 h1:9HYr+AAeAOubn0NZAYv34dFHQ3NbIUcWHZmgJvufPzk= -cloud.google.com/go/spanner v1.95.1/go.mod h1:Z2+83J5oVDmd1n5ntVMmjEuiNoXOpAyNeG7y1tuEHk0= -github.com/Azure/azure-sdk-for-go/sdk/azcore v1.23.0 h1:4gRPBpN1f6xt88yi4WR26m7XaD9OlWtVT6bWPdGUIok= -github.com/Azure/azure-sdk-for-go/sdk/azcore v1.23.0/go.mod h1:G7QVLxw1j1JVyrO1MA95S8m8HStaaleDZYTcfGgjB2o= -github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.14.0 h1:CU4+EJeJi3TKYWEcYuSdWsjzw0nVsK/H0MSQOiPcymU= -github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.14.0/go.mod h1:q0+UTSRvShwUCrR/s5HtyInYphN7Wvxb7snFM3u+SLA= +cloud.google.com/go/monitoring v1.30.0 h1:r/d+JUbyKmJ8b07iznuKfzVzrIXTWxHQ3lBRm3x2LlY= +cloud.google.com/go/monitoring v1.30.0/go.mod h1:htlUR0QWVMrjFzZmN4LGnMAve9xB/eduwjmINxVZ8RM= +cloud.google.com/go/spanner v1.96.1 h1:pLmq5/Fj+Yu6YGRBz9oMPm3ZRQIeG14FYBWFwhZZaIA= +cloud.google.com/go/spanner v1.96.1/go.mod h1:VqMSp/YlTofUq1q6ekkXBAmhAs6X860YL0I8wo7i+k0= +filippo.io/edwards25519 v1.2.0 h1:crnVqOiS4jqYleHd9vaKZ+HKtHfllngJIiOpNpoJsjo= +filippo.io/edwards25519 v1.2.0/go.mod h1:xzAOLCNug/yB62zG1bQ8uziwrIqIuxhctzJT18Q77mc= +github.com/Azure/azure-sdk-for-go/sdk/azcore v1.23.1 h1:zvXfGJCWvywnCA814d8ZiVyt+fm9nnTE8xSb99zRyfo= +github.com/Azure/azure-sdk-for-go/sdk/azcore v1.23.1/go.mod h1:iptorS+VYKFL2N6PnebpS91dubG35eAOEERnT4PJbQU= +github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.14.1 h1:u93s+zU2JD62im61Bm5CZIc1ZrOJaIAWEg0WOrMVkEo= +github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.14.1/go.mod h1:oXtinPO4OLj9d1DOTrqrL1oRwGhcqadvAmrl6wTeGlk= github.com/Azure/azure-sdk-for-go/sdk/internal v1.12.0 h1:fhqpLE3UEXi9lPaBRpQ6XuRW0nU7hgg4zlmZZa+a9q4= github.com/Azure/azure-sdk-for-go/sdk/internal v1.12.0/go.mod h1:7dCRMLwisfRH3dBupKeNCioWYUZ4SS09Z14H+7i8ZoY= github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azkeys v1.5.0 h1:MaKvxE6D0KkjOg6Wd9M00iqP5PR0kUxCfiezes4JweM= github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azkeys v1.5.0/go.mod h1:i2h9fsTFKZorh8RdV2IcSUf/Qj98GlTkrTvUbX/s8as= github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/internal v1.2.0 h1:nCYfgcSyHZXJI8J0IWE5MsCGlb2xp9fJiXyxWgmOFg4= github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/internal v1.2.0/go.mod h1:ucUjca2JtSZboY8IoUqyQyuuXvwbMBVwFOm0vdQPNhA= -github.com/AzureAD/microsoft-authentication-library-for-go v1.7.2 h1:RHK7bS+HQMslb1sZpAokUt+zTVmue0hKSs2C791hhzU= -github.com/AzureAD/microsoft-authentication-library-for-go v1.7.2/go.mod h1:HKpQxkWaGLJ+D/5H8QRpyQXA1eKjxkFlOMwck5+33Jk= +github.com/AzureAD/microsoft-authentication-library-for-go v1.8.0 h1:Nljr4q1GRA/5vCrMONS+g4u4LRHNgOXVSh3O43J2CnI= +github.com/AzureAD/microsoft-authentication-library-for-go v1.8.0/go.mod h1:Y33QHnf0FfdVewFFISOGe20mkZbxX4H839o955/PoeI= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/GoogleCloudPlatform/grpc-gcp-go/grpcgcp v1.6.0 h1:BzsL0qE7LvtTEtXG7Dt5NS1EP0CQwI21HZfj9aGghhw= github.com/GoogleCloudPlatform/grpc-gcp-go/grpcgcp v1.6.0/go.mod h1:I7kE2kM3qCr9QPT4cU4cCFYkEpVyVr16YOGUHzy+nR0= -github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.32.0 h1:rIkQfkCOVKc1OiRCNcSDD8ml5RJlZbH/Xsq7lbpynwc= -github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.32.0/go.mod h1:RD2SsorTmYhF6HkTmDw7KmPYQk8OBYwTkuasChwv7R4= +github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.34.0 h1:yzIYdwuro811Z27D3T80Wkd3rqZzb0K43nner7Eh1yE= +github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.34.0/go.mod h1:pJTkW8hEUIIi3Pf65lPZOnn4Y81yCllX6IWk2jNXdkM= +github.com/Masterminds/semver/v3 v3.1.1/go.mod h1:VPu/7SZ7ePZ3QOrcuXROw5FAcLl4a0cBrbBpGY/8hQs= github.com/andybalholm/brotli v1.2.0 h1:ukwgCxwYrmACq68yiUqwIWnGY0cTPox/M94sVwToPjQ= github.com/andybalholm/brotli v1.2.0/go.mod h1:rzTDkvFWvIrjDXZHkuS16NPggd91W3kUSvPlQ1pLaKY= github.com/apache/arrow-go/v18 v18.5.1 h1:yaQ6zxMGgf9YCYw4/oaeOU3AULySDlAYDOcnr4LdHdI= @@ -54,20 +57,20 @@ github.com/coreos/go-systemd v0.0.0-20190719114852-fd7a80b32e1f/go.mod h1:F5haX7 github.com/creack/pty v1.1.7/go.mod h1:lj5s0c3V2DBrqTV7llrYr5NG6My20zk30Fl46Y7DoTY= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/duckdb/duckdb-go-bindings v0.10505.0 h1:/0pPsTLrcCsTGxT0VrHgJWnOcPe1tQL1vrki1v3jbAI= -github.com/duckdb/duckdb-go-bindings v0.10505.0/go.mod h1:HoD5xePkDj3VZbBnVVfxVVYIljZ9khCprWA7FgwIiC4= -github.com/duckdb/duckdb-go-bindings/lib/darwin-amd64 v0.10505.0 h1:FrMqquFBQlMsi34h2KZgCku54rqA8xEbXZ0NLVDKwYs= -github.com/duckdb/duckdb-go-bindings/lib/darwin-amd64 v0.10505.0/go.mod h1:EnAvZh1kNJHp5yF+M1ZHNEvapnmt6anq1xXHVrAGqMo= -github.com/duckdb/duckdb-go-bindings/lib/darwin-arm64 v0.10505.0 h1:lbRbpQwT1MmUhh/VTwukV9K8bxKByV3UghAP3MvsbBo= -github.com/duckdb/duckdb-go-bindings/lib/darwin-arm64 v0.10505.0/go.mod h1:IGLSeEcFhNeZF16aVjQCULD7TsFZKG5G7SyKJAXKp5c= -github.com/duckdb/duckdb-go-bindings/lib/linux-amd64 v0.10505.0 h1:nrsaVYj3XYCRbS2FpdOMD/KHE7egRMr+/NR1IHmjT84= -github.com/duckdb/duckdb-go-bindings/lib/linux-amd64 v0.10505.0/go.mod h1:KAIynZ0GHCS7X5fRyuFnQMg/SZBPK/bS9OCOVojClxw= -github.com/duckdb/duckdb-go-bindings/lib/linux-arm64 v0.10505.0 h1:qM6oGDgwXBILJGbTY4fCy6QOczLpucUA6yn6g3ORjh4= -github.com/duckdb/duckdb-go-bindings/lib/linux-arm64 v0.10505.0/go.mod h1:81SGOYoEUs8qaAfSk1wRfM5oobrIJ5KI7AzYhK6/bvQ= -github.com/duckdb/duckdb-go-bindings/lib/windows-amd64 v0.10505.0 h1:DjqZl9rYreHkSOqnqLmkrqH5T8UdQNcxZLJVZzGmXXA= -github.com/duckdb/duckdb-go-bindings/lib/windows-amd64 v0.10505.0/go.mod h1:K25pJL26ARblGDeuAkrdblFvUen92+CwksLtPEHRqqQ= -github.com/duckdb/duckdb-go/v2 v2.10505.0 h1:SWwvLn2Qx/RQSnQNupwgIF8VbnJ5A6OQU9lYb/mDETI= -github.com/duckdb/duckdb-go/v2 v2.10505.0/go.mod h1:m0PW4J4FG9hlFlVdXi6Ds9owpyIDaBdE2jyce00fGcE= +github.com/duckdb/duckdb-go-bindings v0.10506.0 h1:+s/v55ghAy8MV/QJnwuafD9n+ZoYQkrRd/ceSU0KReA= +github.com/duckdb/duckdb-go-bindings v0.10506.0/go.mod h1:BKswa3lVlgeqO0nzDEQdtVPqPoUbXsVM6zdjhgEDFgU= +github.com/duckdb/duckdb-go-bindings/lib/darwin-amd64 v0.10506.0 h1:bMccC8xWnr/3BjUKQfQxD8MUJPeME3GSHvddWvBKK+M= +github.com/duckdb/duckdb-go-bindings/lib/darwin-amd64 v0.10506.0/go.mod h1:EnAvZh1kNJHp5yF+M1ZHNEvapnmt6anq1xXHVrAGqMo= +github.com/duckdb/duckdb-go-bindings/lib/darwin-arm64 v0.10506.0 h1:TzekQov7ntc+Xahq/puCqVHZgJh4ApJLsqEBpOiIXSA= +github.com/duckdb/duckdb-go-bindings/lib/darwin-arm64 v0.10506.0/go.mod h1:IGLSeEcFhNeZF16aVjQCULD7TsFZKG5G7SyKJAXKp5c= +github.com/duckdb/duckdb-go-bindings/lib/linux-amd64 v0.10506.0 h1:yy2TUU+YWxiBiOQryYseUl0AcUzoFFYRmmrCGijUxiU= +github.com/duckdb/duckdb-go-bindings/lib/linux-amd64 v0.10506.0/go.mod h1:KAIynZ0GHCS7X5fRyuFnQMg/SZBPK/bS9OCOVojClxw= +github.com/duckdb/duckdb-go-bindings/lib/linux-arm64 v0.10506.0 h1:HWUiLpeaZwUFg08Rs2eSpPbbaw3yEB2t96r+5NEbAgs= +github.com/duckdb/duckdb-go-bindings/lib/linux-arm64 v0.10506.0/go.mod h1:81SGOYoEUs8qaAfSk1wRfM5oobrIJ5KI7AzYhK6/bvQ= +github.com/duckdb/duckdb-go-bindings/lib/windows-amd64 v0.10506.0 h1:6PtbnpeUum+J/iNbI56QhZmSfbvy1syhvzWsoH1NKJc= +github.com/duckdb/duckdb-go-bindings/lib/windows-amd64 v0.10506.0/go.mod h1:K25pJL26ARblGDeuAkrdblFvUen92+CwksLtPEHRqqQ= +github.com/duckdb/duckdb-go/v2 v2.10506.0 h1:mcZjUQ/kSNeZdtGCqyj5/JEDUdj7/kvILfIOUTzQIu0= +github.com/duckdb/duckdb-go/v2 v2.10506.0/go.mod h1:6pLO+4GMcb0q36+z+RlQ7h+MMxum1lL0eAVf4GsPAxs= github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4= github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98= @@ -80,31 +83,30 @@ github.com/envoyproxy/go-control-plane/ratelimit v0.1.0/go.mod h1:Wk+tMFAFbCXaJP github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod h1:iSmxcyjqTsJpI2R4NaDN7+kN2VEUnK/pcBlmesArF7c= github.com/envoyproxy/protoc-gen-validate v1.3.3 h1:MVQghNeW+LZcmXe7SY1V36Z+WFMDjpqGAGacLe2T0ds= github.com/envoyproxy/protoc-gen-validate v1.3.3/go.mod h1:TsndJ/ngyIdQRhMcVVGDDHINPLWB7C82oDArY51KfB0= -github.com/felixge/httpsnoop v1.0.4 h1:NFTV2Zj1bL4mc9sqWACXbQFVBBg2W3GPvqp8/ESS2Wg= -github.com/felixge/httpsnoop v1.0.4/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= +github.com/felixge/httpsnoop v1.1.0 h1:3YtUj32ZZkqZtt3sZZsClsymw/QDuVfpNhoA31zeORc= +github.com/felixge/httpsnoop v1.1.0/go.mod h1:Zqxgdd+1Rkcz8euOqdr7lqgCRJztwr5hp9vDSi5UZCE= github.com/friendsofgo/errors v0.9.2 h1:X6NYxef4efCBdwI7BgS820zFaN7Cphrmb+Pljdzjtgk= github.com/friendsofgo/errors v0.9.2/go.mod h1:yCvFW5AkDIL9qn7suHVLiI/gH228n7PC4Pn44IGoTOI= github.com/go-jose/go-jose/v4 v4.1.4 h1:moDMcTHmvE6Groj34emNPLs/qtYXRVcd6S7NHbHz3kA= github.com/go-jose/go-jose/v4 v4.1.4/go.mod h1:x4oUasVrzR7071A4TnHLGSPpNOm2a21K9Kf04k1rs08= +github.com/go-kit/log v0.1.0/go.mod h1:zbhenjAZHb184qTLMA9ZjW7ThYL0H2mk7Q6pNt4vbaY= +github.com/go-logfmt/logfmt v0.5.0/go.mod h1:wCYkCAKZfumFQihp8CzCvQ3paCTfi41vtzG1KdI/P7A= github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= -github.com/go-logr/logr v1.4.3 h1:CjnDlHq8ikf6E492q6eKboGOC0T8CDaOvkHCIg8idEI= -github.com/go-logr/logr v1.4.3/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= +github.com/go-logr/logr v1.4.4 h1:tG4xh9yMsRCAiodLVTxyrkzSZ9+o0L1Kg/+cPVcbP/8= +github.com/go-logr/logr v1.4.4/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= -github.com/go-pg/pg/v10 v10.11.0 h1:CMKJqLgTrfpE/aOVeLdybezR2om071Vh38OLZjsyMI0= -github.com/go-pg/pg/v10 v10.11.0/go.mod h1:4BpHRoxE61y4Onpof3x1a2SQvi9c+q1dJnrNdMjsroA= -github.com/go-pg/zerochecker v0.2.0 h1:pp7f72c3DobMWOb2ErtZsnrPaSvHd2W4o9//8HtF4mU= -github.com/go-pg/zerochecker v0.2.0/go.mod h1:NJZ4wKL0NmTtz0GKCoJ8kym6Xn/EQzXRl2OnAe7MmDo= -github.com/go-sql-driver/mysql v1.7.0 h1:ueSltNNllEqE3qcWBTD0iQd3IpL/6U+mJxLkazJ7YPc= -github.com/go-sql-driver/mysql v1.7.0/go.mod h1:OXbVy3sEdcQ2Doequ6Z5BW6fXNQTmx+9S1MCJN5yJMI= +github.com/go-sql-driver/mysql v1.10.1 h1:arlSnNLq6a5yxGxV7qg9lF4j0C+KwD6NbQyKr9QL6ME= +github.com/go-sql-driver/mysql v1.10.1/go.mod h1:M+cqaI7+xxXGG9swrdeUIoPG3Y3KCkF0pZej+SK+nWk= github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY= github.com/go-viper/mapstructure/v2 v2.5.0 h1:vM5IJoUAy3d7zRSVtIwQgBj7BiWtMPfmPEgAXnvj1Ro= github.com/go-viper/mapstructure/v2 v2.5.0/go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM= github.com/goccy/go-json v0.10.5 h1:Fq85nIqj+gXn/S5ahsiTlK3TmC85qgirsdTP/+DeaC4= github.com/goccy/go-json v0.10.5/go.mod h1:oq7eo15ShAhp70Anwd5lgX2pLfOS3QCiwU/PULtXL6M= github.com/gofrs/uuid v3.2.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= -github.com/gofrs/uuid v4.0.0+incompatible h1:1SD/1F5pU8p29ybwgQSwpQk+mwdRrXCYuPhW6m+TnJw= github.com/gofrs/uuid v4.0.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= +github.com/gofrs/uuid v4.4.0+incompatible h1:3qXRTX8/NbyulANqlc0lchS1gqAVxRgsuW1YrTJupqA= +github.com/gofrs/uuid v4.4.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM= github.com/golang-jwt/jwt/v5 v5.3.1 h1:kYf81DTWFe7t+1VvL7eS+jKFVWaUnK9cB1qbwn63YCY= github.com/golang-jwt/jwt/v5 v5.3.1/go.mod h1:fxCRLWMO43lRc8nhHWY6LGqRcf+1gQWArsqaEUEa5bE= github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9 h1:au07oEsX2xN0ktxqI+Sida1w446QrXBRJ0nee3SNZlA= @@ -149,10 +151,10 @@ github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/googleapis/enterprise-certificate-proxy v0.3.17 h1:73NfMHdiqo9JFU9+7a5ExpVa10/R29pXfZIaW559nrg= github.com/googleapis/enterprise-certificate-proxy v0.3.17/go.mod h1:rSEsBUemEBZEexP2y6jPp16LUmUbjmSbcPMQizR0o4k= -github.com/googleapis/gax-go/v2 v2.23.0 h1:Tchl7qkvE7Ip3y+ztvNufYFvkfqTe7NfLTYGIdJRLuE= -github.com/googleapis/gax-go/v2 v2.23.0/go.mod h1:rBQKOVJCdb8IFEzg+FCwlt1LP/xMDGuqUXhUG+XMXEg= -github.com/hexon/mysqltsv v0.1.0 h1:48wYQlsPH8ZEkKAVCdsOYzMYAlEoevw8ZWD8rqYPdlg= -github.com/hexon/mysqltsv v0.1.0/go.mod h1:p3vPBkpxebjHWF1bWKYNcXx5pFu+yAG89QZQEKSvVrY= +github.com/googleapis/gax-go/v2 v2.26.2 h1:ydkmNXxj7bEmmeK5AihkKnWxyOyBR9TDebvp5L5izk8= +github.com/googleapis/gax-go/v2 v2.26.2/go.mod h1:sMKqnMesnKH+3wiRJROcttA+cJoZoGbZl1vDQ8XYtGk= +github.com/hexon/mysqltsv v0.2.2 h1:oF4pNJfgjipAy7sqyp7JVt9r5rOVQe8mQJg8z2Bf+VY= +github.com/hexon/mysqltsv v0.2.2/go.mod h1:p3vPBkpxebjHWF1bWKYNcXx5pFu+yAG89QZQEKSvVrY= github.com/jackc/chunkreader v1.0.0/go.mod h1:RT6O25fNZIuasFJRyZ4R/Y2BbhasbmZXF9QQ7T3kePo= github.com/jackc/chunkreader/v2 v2.0.0/go.mod h1:odVSm741yZoC3dpHEUXIqA9tQRhFrgOHwnPIn9lDKlk= github.com/jackc/chunkreader/v2 v2.0.1 h1:i+RDz65UE+mmpjTfyz0MoVTnzeYxroil2G82ki7MGG8= @@ -160,14 +162,17 @@ github.com/jackc/chunkreader/v2 v2.0.1/go.mod h1:odVSm741yZoC3dpHEUXIqA9tQRhFrgO github.com/jackc/pgconn v0.0.0-20190420214824-7e0022ef6ba3/go.mod h1:jkELnwuX+w9qN5YIfX0fl88Ehu4XC3keFuOJJk9pcnA= github.com/jackc/pgconn v0.0.0-20190824142844-760dd75542eb/go.mod h1:lLjNuW/+OfW9/pnVKPazfWOgNfH2aPem8YQ7ilXGvJE= github.com/jackc/pgconn v0.0.0-20190831204454-2fabfa3c18b7/go.mod h1:ZJKsE/KZfsUgOEh9hBm+xYTstcNHg7UPMVJqRfQxq4s= -github.com/jackc/pgconn v1.4.0/go.mod h1:Y2O3ZDF0q4mMacyWV3AstPJpeHXWGEetiFttmq5lahk= -github.com/jackc/pgconn v1.5.0/go.mod h1:QeD3lBfpTFe8WUnPZWN5KY/mB8FGMIYRdd8P8Jr0fAI= -github.com/jackc/pgconn v1.5.1-0.20200601181101-fa742c524853 h1:LRlrfJW9S99uiOCY8F/qLvX1yEY1TVAaCBHFb79yHBQ= -github.com/jackc/pgconn v1.5.1-0.20200601181101-fa742c524853/go.mod h1:QeD3lBfpTFe8WUnPZWN5KY/mB8FGMIYRdd8P8Jr0fAI= +github.com/jackc/pgconn v1.8.0/go.mod h1:1C2Pb36bGIP9QHGBYCjnyhqu7Rv3sGshaQUvmfGIB/o= +github.com/jackc/pgconn v1.9.0/go.mod h1:YctiPyvzfU11JFxoXokUOOKQXQmDMoJL9vJzHH8/2JY= +github.com/jackc/pgconn v1.9.1-0.20210724152538-d89c8390a530/go.mod h1:4z2w8XhRbP1hYxkpTuBjTS3ne3J48K83+u0zoyvg2pI= +github.com/jackc/pgconn v1.14.3 h1:bVoTr12EGANZz66nZPkMInAV/KHD2TxH9npjXXgiB3w= +github.com/jackc/pgconn v1.14.3/go.mod h1:RZbme4uasqzybK2RK5c65VsHxoyaml09lx3tXOcO/VM= github.com/jackc/pgio v1.0.0 h1:g12B9UwVnzGhueNavwioyEEpAmqMe1E/BN9ES+8ovkE= github.com/jackc/pgio v1.0.0/go.mod h1:oP+2QK2wFfUWgr+gxjoBH9KGBb31Eio69xUb0w5bYf8= -github.com/jackc/pgmock v0.0.0-20190831213851-13a1b77aafa2 h1:JVX6jT/XfzNqIjye4717ITLaNwV9mWbJx0dLCpcRzdA= github.com/jackc/pgmock v0.0.0-20190831213851-13a1b77aafa2/go.mod h1:fGZlG77KXmcq05nJLRkk0+p82V8B8Dw8KN2/V9c/OAE= +github.com/jackc/pgmock v0.0.0-20201204152224-4fe30f7445fd/go.mod h1:hrBW0Enj2AZTNpt/7Y5rr2xe/9Mn757Wtb2xeBzPv2c= +github.com/jackc/pgmock v0.0.0-20210724152146-4ad1a8207f65 h1:DadwsjnMwFjfWc9y5Wi/+Zz7xoE5ALHsRQlOctkOiHc= +github.com/jackc/pgmock v0.0.0-20210724152146-4ad1a8207f65/go.mod h1:5R2h2EEX+qri8jOWMbJCtaPWkrrNc7OHwsp2TCqp7ak= github.com/jackc/pgpassfile v1.0.0 h1:/6Hmqy13Ss2zCq62VdNG8tM1wchn8zjSGOBJ6icpsIM= github.com/jackc/pgpassfile v1.0.0/go.mod h1:CEx0iS5ambNFdcRtxPj5JhEz+xB6uRky5eyVu/W2HEg= github.com/jackc/pgproto3 v1.1.0/go.mod h1:eR5FA3leWg7p9aeAqi37XOTgTIbkABlvcPB3E5rlc78= @@ -175,37 +180,36 @@ github.com/jackc/pgproto3/v2 v2.0.0-alpha1.0.20190420180111-c116219b62db/go.mod github.com/jackc/pgproto3/v2 v2.0.0-alpha1.0.20190609003834-432c2951c711/go.mod h1:uH0AWtUmuShn0bcesswc4aBTWGvw0cAxIJp+6OB//Wg= github.com/jackc/pgproto3/v2 v2.0.0-rc3/go.mod h1:ryONWYqW6dqSg1Lw6vXNMXoBJhpzvWKnT95C46ckYeM= github.com/jackc/pgproto3/v2 v2.0.0-rc3.0.20190831210041-4c03ce451f29/go.mod h1:ryONWYqW6dqSg1Lw6vXNMXoBJhpzvWKnT95C46ckYeM= -github.com/jackc/pgproto3/v2 v2.0.1 h1:Rdjp4NFjwHnEslx2b66FfCI2S0LhO4itac3hXz6WX9M= -github.com/jackc/pgproto3/v2 v2.0.1/go.mod h1:WfJCnwN3HIg9Ish/j3sgWXnAfK8A9Y0bwXYU5xKaEdA= -github.com/jackc/pgservicefile v0.0.0-20200307190119-3430c5407db8/go.mod h1:vsD4gTJCa9TptPL8sPkXrLZ+hDuNrZCnj29CQpr4X1E= +github.com/jackc/pgproto3/v2 v2.0.6/go.mod h1:WfJCnwN3HIg9Ish/j3sgWXnAfK8A9Y0bwXYU5xKaEdA= +github.com/jackc/pgproto3/v2 v2.1.1/go.mod h1:WfJCnwN3HIg9Ish/j3sgWXnAfK8A9Y0bwXYU5xKaEdA= +github.com/jackc/pgproto3/v2 v2.3.3 h1:1HLSx5H+tXR9pW3in3zaztoEwQYRC9SQaYUHjTSUOag= +github.com/jackc/pgproto3/v2 v2.3.3/go.mod h1:WfJCnwN3HIg9Ish/j3sgWXnAfK8A9Y0bwXYU5xKaEdA= +github.com/jackc/pgservicefile v0.0.0-20200714003250-2b9c44734f2b/go.mod h1:vsD4gTJCa9TptPL8sPkXrLZ+hDuNrZCnj29CQpr4X1E= +github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a/go.mod h1:5TJZWKEWniPve33vlWYSoGYefn3gLQRzjfDlhSJ9ZKM= github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 h1:iCEnooe7UlwOQYpKFhBabPMi4aNAfoODPEFNiAnClxo= github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761/go.mod h1:5TJZWKEWniPve33vlWYSoGYefn3gLQRzjfDlhSJ9ZKM= github.com/jackc/pgtype v0.0.0-20190421001408-4ed0de4755e0/go.mod h1:hdSHsc1V01CGwFsrv11mJRHWJ6aifDLfdV3aVjFF0zg= github.com/jackc/pgtype v0.0.0-20190824184912-ab885b375b90/go.mod h1:KcahbBH1nCMSo2DXpzsoWOAfFkdEtEJpPbVLq8eE+mc= github.com/jackc/pgtype v0.0.0-20190828014616-a8802b16cc59/go.mod h1:MWlu30kVJrUS8lot6TQqcg7mtthZ9T0EoIBFiJcmcyw= -github.com/jackc/pgtype v1.2.0/go.mod h1:5m2OfMh1wTK7x+Fk952IDmI4nw3nPrvtQdM0ZT4WpC0= -github.com/jackc/pgtype v1.3.1-0.20200510190516-8cd94a14c75a/go.mod h1:vaogEUkALtxZMCH411K+tKzNpwzCKU+AnPzBKZ+I+Po= -github.com/jackc/pgtype v1.3.1-0.20200606141011-f6355165a91c/go.mod h1:cvk9Bgu/VzJ9/lxTO5R5sf80p0DiucVtN7ZxvaC4GmQ= -github.com/jackc/pgtype v1.6.2 h1:b3pDeuhbbzBYcg5kwNmNDun4pFUD/0AAr1kLXZLeNt8= -github.com/jackc/pgtype v1.6.2/go.mod h1:JCULISAZBFGrHaOXIIFiyfzW5VY0GRitRr8NeJsrdig= +github.com/jackc/pgtype v1.8.1-0.20210724151600-32e20a603178/go.mod h1:C516IlIV9NKqfsMCXTdChteoXmwgUceqaLfjg2e3NlM= +github.com/jackc/pgtype v1.14.0/go.mod h1:LUMuVrfsFfdKGLw+AFFVv6KtHOFMwRgDDzBt76IqCA4= +github.com/jackc/pgtype v1.14.4 h1:fKuNiCumbKTAIxQwXfB/nsrnkEI6bPJrrSiMKgbJ2j8= +github.com/jackc/pgtype v1.14.4/go.mod h1:aKeozOde08iifGosdJpz9MBZonJOUJxqNpPBcMJTlVA= github.com/jackc/pgx/v4 v4.0.0-20190420224344-cc3461e65d96/go.mod h1:mdxmSJJuR08CZQyj1PVQBHy9XOp5p8/SHH6a0psbY9Y= github.com/jackc/pgx/v4 v4.0.0-20190421002000-1b8f0016e912/go.mod h1:no/Y67Jkk/9WuGR0JG/JseM9irFbnEPbuWV2EELPNuM= github.com/jackc/pgx/v4 v4.0.0-pre1.0.20190824185557-6972a5742186/go.mod h1:X+GQnOEnf1dqHGpw7JmHqHc1NxDoalibchSk9/RWuDc= -github.com/jackc/pgx/v4 v4.5.0/go.mod h1:EpAKPLdnTorwmPUUsqrPxy5fphV18j9q3wrfRXgo+kA= -github.com/jackc/pgx/v4 v4.6.1-0.20200510190926-94ba730bb1e9/go.mod h1:t3/cdRQl6fOLDxqtlyhe9UWgfIi9R8+8v8GKV5TRA/o= -github.com/jackc/pgx/v4 v4.6.1-0.20200606145419-4e5062306904 h1:SdGWuGg+Cpxq6Z+ArXt0nafaKeTvtKGEoW+yvycspUU= -github.com/jackc/pgx/v4 v4.6.1-0.20200606145419-4e5062306904/go.mod h1:ZDaNWkt9sW1JMiNn0kdYBaLelIhw7Pg4qd+Vk6tw7Hg= -github.com/jackc/pgx/v5 v5.8.0 h1:TYPDoleBBme0xGSAX3/+NujXXtpZn9HBONkQC7IEZSo= -github.com/jackc/pgx/v5 v5.8.0/go.mod h1:QVeDInX2m9VyzvNeiCJVjCkNFqzsNb43204HshNSZKw= +github.com/jackc/pgx/v4 v4.12.1-0.20210724153913-640aa07df17c/go.mod h1:1QD0+tgSXP7iUjYm9C1NxKhny7lq6ee99u/z+IHFcgs= +github.com/jackc/pgx/v4 v4.18.2 h1:xVpYkNR5pk5bMCZGfClbO962UIqVABcAGt7ha1s/FeU= +github.com/jackc/pgx/v4 v4.18.2/go.mod h1:Ey4Oru5tH5sB6tV7hDmfWFahwF15Eb7DNXlRKx2CkVw= +github.com/jackc/pgx/v5 v5.11.0 h1:IzBBtyK9AHqf98cctWFifYSci2hgQR/cd56wB4p+ogg= +github.com/jackc/pgx/v5 v5.11.0/go.mod h1:mal1tBGAFfLHvZzaYh77YS/eC6IX9OWbRV1QIIM0Jn4= github.com/jackc/puddle v0.0.0-20190413234325-e4ced69a3a2b/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= github.com/jackc/puddle v0.0.0-20190608224051-11cab39313c9/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= -github.com/jackc/puddle v1.1.0/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= -github.com/jackc/puddle v1.1.1 h1:PJAw7H/9hoWC4Kf3J8iNmL1SwA6E8vfsLqBiL+F6CtI= -github.com/jackc/puddle v1.1.1/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= +github.com/jackc/puddle v1.1.3/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= +github.com/jackc/puddle v1.3.0 h1:eHK/5clGOatcjX3oWGBO/MpxpbHzSwud5EWTSCI+MX0= +github.com/jackc/puddle v1.3.0/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= github.com/jackc/puddle/v2 v2.2.2 h1:PR8nw+E/1w0GLuRFSmiioY6UooMp6KJv0/61nB7icHo= github.com/jackc/puddle/v2 v2.2.2/go.mod h1:vriiEXHvEE654aYKXXjOvZM39qJ0q+azkZFrfEOc3H4= -github.com/jinzhu/inflection v1.0.0 h1:K317FqzuhWc8YvSVlFMCCUb36O/S9MCKRDI7QkRKD/E= -github.com/jinzhu/inflection v1.0.0/go.mod h1:h+uFLlag+Qp1Va5pdKtLDYj+kHp5pxUVkryuEj+Srlc= github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck= github.com/klauspost/asmfmt v1.3.2 h1:4Ri7ox3EwapiOjCki+hw14RyKk201CN4rzyCJRFLpK4= github.com/klauspost/asmfmt v1.3.2/go.mod h1:AG8TuvYojzulgDAMCnYn50l/5QV3Bs/tp6j0HLHbNSE= @@ -224,25 +228,22 @@ github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+ github.com/lib/pq v1.0.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= github.com/lib/pq v1.1.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= github.com/lib/pq v1.2.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= -github.com/lib/pq v1.3.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo= -github.com/lib/pq v1.9.0 h1:L8nSXQQzAYByakOFMTwpjRoHsMJklur4Gi59b6VivR8= -github.com/lib/pq v1.9.0/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= +github.com/lib/pq v1.10.2/go.mod h1:AlVN5x4E4T544tWzH6hKfbfQvm3HdbOxrmggDNAPY9o= +github.com/lib/pq v1.12.3 h1:tTWxr2YLKwIvK90ZXEw8GP7UFHtcbTtty8zsI+YjrfQ= +github.com/lib/pq v1.12.3/go.mod h1:/p+8NSbOcwzAEI7wiMXFlgydTwcgTr3OSKMsD2BitpA= github.com/mattn/go-colorable v0.1.1/go.mod h1:FuOcm+DKB9mbwrcAfNl7/TZVBZ6rcnceauSikq3lYCQ= -github.com/mattn/go-colorable v0.1.2/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE= github.com/mattn/go-colorable v0.1.6/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= github.com/mattn/go-isatty v0.0.5/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= github.com/mattn/go-isatty v0.0.7/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= -github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s= -github.com/mattn/go-isatty v0.0.9/go.mod h1:YNRxwqDuOph6SZLI9vUUz6OYw3QyUt7WiY2yME+cCiQ= github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= -github.com/microsoft/go-mssqldb v1.11.0 h1:YbDqolEjGH9hBfvKzONTf5/dbl9RKXmizMJE93lVxNs= -github.com/microsoft/go-mssqldb v1.11.0/go.mod h1:goQLDOPlMN/l1REhnNPElMoY/yX+fUWn1+7UoFJPH9Y= +github.com/microsoft/go-mssqldb v1.11.2 h1:FCgeBIK8um2+X4tbun6Q71N1KsfyCDPKY41e1yGVjSE= +github.com/microsoft/go-mssqldb v1.11.2/go.mod h1:CYgwG5AMXFojbjTg+GNP5G/y6uz1BhTyZaPqQWzkGnQ= github.com/minio/asm2plan9s v0.0.0-20200509001527-cdd76441f9d8 h1:AMFGa4R4MiIpspGNG7Z948v4n35fFGB3RR3G/ry4FWs= github.com/minio/asm2plan9s v0.0.0-20200509001527-cdd76441f9d8/go.mod h1:mC1jAcsrzbxHt8iiaC+zU4b1ylILSosueou12R++wfY= github.com/minio/c2goasm v0.0.0-20190812172519-36a3d3bbc4f3 h1:+n/aFZefKZp7spd8DFdX7uMikMLXX4oubIzJF4kv/wI= github.com/minio/c2goasm v0.0.0-20190812172519-36a3d3bbc4f3/go.mod h1:RagcQ7I8IeTMnF8JTXieKnO4Z6JCsikNEzj0DwauVzE= -github.com/pgvector/pgvector-go v0.1.1 h1:kqJigGctFnlWvskUiYIvJRNwUtQl/aMSUZVs0YWQe+g= -github.com/pgvector/pgvector-go v0.1.1/go.mod h1:wLJgD/ODkdtd2LJK4l6evHXTuG+8PxymYAVomKHOWac= +github.com/pgvector/pgvector-go v0.4.1 h1:Oaj0mC0Ky8KaTweNHHpLwyFlN6a0nUFoo1vgSFTEhPI= +github.com/pgvector/pgvector-go v0.4.1/go.mod h1:4fSXyjl1TYAIdByAql6JazKWRr2s7J0g4hcRY5cBFCk= github.com/pierrec/lz4/v4 v4.1.25 h1:kocOqRffaIbU5djlIBr7Wh+cx82C0vtFb0fOurZHqD0= github.com/pierrec/lz4/v4 v4.1.25/go.mod h1:EoQMVJgeeEOMsCqCzqFm2O0cJvljX2nGZjcRIPL34O4= github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c h1:+mdjkGKdHQG3305AYmdv1U2eRNDiU2ErMBj1gwrq8eQ= @@ -259,15 +260,15 @@ github.com/rs/zerolog v1.13.0/go.mod h1:YbFCdg8HfsridGWAh22vktObvhZbQsZXe4/zB0OK github.com/rs/zerolog v1.15.0/go.mod h1:xYTKnLHcpfU2225ny5qZjxnj9NvkumZYjJHlAThCjNc= github.com/satori/go.uuid v1.2.0/go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0= github.com/shopspring/decimal v0.0.0-20180709203117-cd690d0c9e24/go.mod h1:M+9NzErvs504Cn4c5DxATwIqPbtswREoFCre64PpcG4= -github.com/shopspring/decimal v0.0.0-20200227202807-02e2044944cc/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= -github.com/shopspring/decimal v1.4.0 h1:bxl37RwXBklmTi0C79JfXCEBD1cqqHt0bbgBAGFp81k= -github.com/shopspring/decimal v1.4.0/go.mod h1:gawqmDU56v4yIKSwfBSFip1HdCCXN8/+DMd9qYNcwME= +github.com/shopspring/decimal v1.2.0/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= +github.com/shopspring/decimal v1.5.0 h1:HxSWk31RmJv0EyY4oLiGQB9u7WPludUwPBdvQZnYFPc= +github.com/shopspring/decimal v1.5.0/go.mod h1:gawqmDU56v4yIKSwfBSFip1HdCCXN8/+DMd9qYNcwME= github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q= github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= -github.com/spiffe/go-spiffe/v2 v2.6.0 h1:l+DolpxNWYgruGQVV0xsfeya3CsC7m8iBzDnMpsbLuo= -github.com/spiffe/go-spiffe/v2 v2.6.0/go.mod h1:gm2SeUoMZEtpnzPNs2Csc0D/gX33k1xIx7lEzqblHEs= -github.com/sqlc-dev/pqtype v0.2.0 h1:zfzDpAxjCU0/GO7EgZ7ELUh0w28SrMSHzO3rH5Wd3is= -github.com/sqlc-dev/pqtype v0.2.0/go.mod h1:oyUjp5981ctiL9UYvj1bVvCKi8OXkCa0u645hce7CAs= +github.com/spiffe/go-spiffe/v2 v2.8.1 h1:eXZMLsu+3MLEPJyGJkolqtVrteZfQdUpOWj6LTiDl/E= +github.com/spiffe/go-spiffe/v2 v2.8.1/go.mod h1:47Q0Q9/AqGha8QLHp+kxpH4Wca7X7EnOtlIJy3mxZ3U= +github.com/sqlc-dev/pqtype v0.3.0 h1:b09TewZ3cSnO5+M1Kqq05y0+OjqIptxELaSayg7bmqk= +github.com/sqlc-dev/pqtype v0.3.0/go.mod h1:oyUjp5981ctiL9UYvj1bVvCKi8OXkCa0u645hce7CAs= github.com/sqlc-dev/sqlc-testdata v1.0.0 h1:NrfFkZ3xh2XHqDNqYE6Q87hhXd1n6GQr3XE0V+CveSQ= github.com/sqlc-dev/sqlc-testdata v1.0.0/go.mod h1:Ima4gy0tylq+cNW1VSV36/NoAHMbZZKjHNs7SfM9Pns= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= @@ -285,22 +286,6 @@ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/stretchr/testify v1.12.1 h1:EuwCh5fleGS7H32xRwO3wRGT7DxrDhLAT6FF8MpWDWE= github.com/stretchr/testify v1.12.1/go.mod h1:MDEgiDPPsNp5cuIrHPPCyornHKgEVbtFUmoNlxoYthg= -github.com/tmthrgd/go-hex v0.0.0-20190904060850-447a3041c3bc h1:9lRDQMhESg+zvGYmW5DyG0UqvY96Bu5QYsTLvCHdrgo= -github.com/tmthrgd/go-hex v0.0.0-20190904060850-447a3041c3bc/go.mod h1:bciPuU6GHm1iF1pBvUfxfsH0Wmnc2VbpgvbI9ZWuIRs= -github.com/uptrace/bun v1.1.12 h1:sOjDVHxNTuM6dNGaba0wUuz7KvDE1BmNu9Gqs2gJSXQ= -github.com/uptrace/bun v1.1.12/go.mod h1:NPG6JGULBeQ9IU6yHp7YGELRa5Agmd7ATZdz4tGZ6z0= -github.com/uptrace/bun/dialect/pgdialect v1.1.12 h1:m/CM1UfOkoBTglGO5CUTKnIKKOApOYxkcP2qn0F9tJk= -github.com/uptrace/bun/dialect/pgdialect v1.1.12/go.mod h1:Ij6WIxQILxLlL2frUBxUBOZJtLElD2QQNDcu/PWDHTc= -github.com/uptrace/bun/driver/pgdriver v1.1.12 h1:3rRWB1GK0psTJrHwxzNfEij2MLibggiLdTqjTtfHc1w= -github.com/uptrace/bun/driver/pgdriver v1.1.12/go.mod h1:ssYUP+qwSEgeDDS1xm2XBip9el1y9Mi5mTAvLoiADLM= -github.com/vmihailenco/bufpool v0.1.11 h1:gOq2WmBrq0i2yW5QJ16ykccQ4wH9UyEsgLm6czKAd94= -github.com/vmihailenco/bufpool v0.1.11/go.mod h1:AFf/MOy3l2CFTKbxwt0mp2MwnqjNEs5H/UxrkA5jxTQ= -github.com/vmihailenco/msgpack/v5 v5.3.5 h1:5gO0H1iULLWGhs2H5tbAHIZTV8/cYafcFOr9znI5mJU= -github.com/vmihailenco/msgpack/v5 v5.3.5/go.mod h1:7xyJ9e+0+9SaZT0Wt1RGleJXzli6Q/V5KbhBonMG9jc= -github.com/vmihailenco/tagparser v0.1.2 h1:gnjoVuB/kljJ5wICEEOpx98oXMWPLj22G67Vbd1qPqc= -github.com/vmihailenco/tagparser v0.1.2/go.mod h1:OeAg3pn3UbLjkWt+rN9oFYB6u/cQgqMEUPoW2WPyhdI= -github.com/vmihailenco/tagparser/v2 v2.0.0 h1:y09buUbR+b5aycVFQs/g70pqKVZNBmxwAhO7/IwNM9g= -github.com/vmihailenco/tagparser/v2 v2.0.0/go.mod h1:Wri+At7QHww0WTrCBeu4J6bNtoV6mEfg5OIWRZA9qds= github.com/volatiletech/inflect v0.0.1 h1:2a6FcMQyhmPZcLa+uet3VJ8gLn/9svWhJxJYwvE8KsU= github.com/volatiletech/inflect v0.0.1/go.mod h1:IBti31tG6phkHitLlr5j7shC5SOo//x0AjDzaJU1PLA= github.com/volatiletech/null/v8 v8.1.2 h1:kiTiX1PpwvuugKwfvUNX/SU/5A2KGZMXfGD0DUHdKEI= @@ -309,6 +294,7 @@ github.com/volatiletech/randomize v0.0.1 h1:eE5yajattWqTB2/eN8df4dw+8jwAzBtbdo5s github.com/volatiletech/randomize v0.0.1/go.mod h1:GN3U0QYqfZ9FOJ67bzax1cqZ5q2xuj2mXrXBjWaRTlY= github.com/volatiletech/strmangle v0.0.1 h1:UKQoHmY6be/R3tSvD2nQYrH41k43OJkidwEiC74KIzk= github.com/volatiletech/strmangle v0.0.1/go.mod h1:F6RA6IkB5vq0yTG4GQ0UsbbRcl3ni9P76i+JrTBKFFg= +github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= github.com/zeebo/assert v1.3.0 h1:g7C04CbJuIDKNPFHmsk4hwZDO5O+kntRxzaUoNXj+IQ= github.com/zeebo/assert v1.3.0/go.mod h1:Pq9JiuJQpG8JLJdtkwrJESF0Foym2/D9XMU5ciN/wJ0= github.com/zeebo/xxh3 v1.1.0 h1:s7DLGDK45Dyfg7++yxI0khrfwq9661w9EN78eP/UZVs= @@ -318,41 +304,49 @@ go.opencensus.io v0.24.0 h1:y73uSU6J157QMP2kn2r30vwW1A2W2WFwSCGnAVxeaD0= go.opencensus.io v0.24.0/go.mod h1:vNK8G9p7aAivkbmorf4v+7Hgx+Zs0yY+0fOtgBfjQKo= go.opentelemetry.io/auto/sdk v1.2.1 h1:jXsnJ4Lmnqd11kwkBV2LgLoFMZKizbCi5fNZ/ipaZ64= go.opentelemetry.io/auto/sdk v1.2.1/go.mod h1:KRTj+aOaElaLi+wW1kO/DZRXwkF4C5xPbEe3ZiIhN7Y= -go.opentelemetry.io/contrib/detectors/gcp v1.43.0 h1:62yY3dT7/ShwOxzA0RsKRgshBmfElKI4d/Myu2OxDFU= -go.opentelemetry.io/contrib/detectors/gcp v1.43.0/go.mod h1:RyaZMFY7yi1kAs45S6mbFGz8O8rqB0dTY14uzvG4LCs= +go.opentelemetry.io/contrib/detectors/gcp v1.44.0 h1:NmLfL734pJhM0JKaYd2Y28+nY9dPRWYAAbxhRCrKXPw= +go.opentelemetry.io/contrib/detectors/gcp v1.44.0/go.mod h1:tNAsgd8avTGke1+MndXlU5Cru4PQ9Ai/cCNWQv/ZJ/s= go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.67.0 h1:yI1/OhfEPy7J9eoa6Sj051C7n5dvpj0QX8g4sRchg04= go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.67.0/go.mod h1:NoUCKYWK+3ecatC4HjkRktREheMeEtrXoQxrqYFeHSc= -go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.67.0 h1:OyrsyzuttWTSur2qN/Lm0m2a8yqyIjUVBZcxFPuXq2o= -go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.67.0/go.mod h1:C2NGBr+kAB4bk3xtMXfZ94gqFDtg/GkI7e9zqGh5Beg= -go.opentelemetry.io/otel v1.44.0 h1:JjwHmHpA4iZ3wBxluu2fbbE7j4kqlE8jXyAyPXH7HqU= -go.opentelemetry.io/otel v1.44.0/go.mod h1:BMgjTHL9WPRlRjL2oZCBTL4whCGtXch2H4BhOPIAyYc= -go.opentelemetry.io/otel/metric v1.44.0 h1:1w0gILTcHdr3YI+ixLyjemwrVnsMURbTZFrSYCdDdmc= -go.opentelemetry.io/otel/metric v1.44.0/go.mod h1:8O7hanEPBNgEMmybD3s2VBKcgWOCsA6tzHBPODAiquo= -go.opentelemetry.io/otel/metric/x v0.66.0 h1:YkCrx1zLOChi9ZcZ6euupOcsgzbVlec7D/xoEU1+cTA= -go.opentelemetry.io/otel/metric/x v0.66.0/go.mod h1:d1+BDj9t96do0/1LoU1ayfCv79ZgNE41qbhBvnMOBZk= -go.opentelemetry.io/otel/sdk v1.44.0 h1:nHYwb9lK+fJPU/dnT6s7W7Z8itMWyqrnVfbheVYrZ58= -go.opentelemetry.io/otel/sdk v1.44.0/go.mod h1:Osuydd3Se74nqjAKxid74N5eC+jfEqfTegHRnq58oK0= -go.opentelemetry.io/otel/sdk/metric v1.44.0 h1:3LlKgI+VjbVsjNRFZJZAJ30WjXC5VkNRks6si09iEfI= -go.opentelemetry.io/otel/sdk/metric v1.44.0/go.mod h1:5B5pMARnXxKhltooO4xUuCBorl65a4EpnTalObqOigA= -go.opentelemetry.io/otel/trace v1.44.0 h1:jxF5CsGYCe74MCRx2X4g7WsY/VBKRqqpNvXlX/6gtIk= -go.opentelemetry.io/otel/trace v1.44.0/go.mod h1:oLl1jrMQAVo6v3GAggN+1VH9VIz9iUSvW53sW1Q8PIE= +go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.69.0 h1:8tvICD4vSTOOsNrsI4Ljf6C+6UKvpTEH5XY3JMoyPoo= +go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.69.0/go.mod h1:z9+yiacE0IHRqM4qFfkbt/JYlmYXgss8GY/jXoNuPJI= +go.opentelemetry.io/otel v1.45.0 h1:pdrWmLHofpubmArBv1LgFSv1Z0Ie/ppdZzu+kUN5EeU= +go.opentelemetry.io/otel v1.45.0/go.mod h1:XZxIqPapzEYnhNSScF5DIqXhm/rYi0FzCe2XddAwZfQ= +go.opentelemetry.io/otel/metric v1.45.0 h1:7Eg1uH7CJ5cXv9is6tnBe1FI6rj1nwUdbFypRm3br/M= +go.opentelemetry.io/otel/metric v1.45.0/go.mod h1:HAPbm1nd3p1PmFH7v2dR+6BjXxw+Lq4a2+pndMAm08s= +go.opentelemetry.io/otel/metric/x v0.67.0 h1:PcicCNZFkZ4bXfSooXdo3WN7RBOVOtjVdo1wD358Uns= +go.opentelemetry.io/otel/metric/x v0.67.0/go.mod h1:FBjCWZe6wgcqxcMtjdGiClDKXb2YxxXii0CXftE4QtI= +go.opentelemetry.io/otel/sdk v1.45.0 h1:4VVSMgQ83dUgW2aoX5f6JgLvHwIvzcuLnF9lUdCSpCw= +go.opentelemetry.io/otel/sdk v1.45.0/go.mod h1:Sr40LgXV7DsKMMJMKOhUWOgMWTfAaqvm2kF0g7ilwuA= +go.opentelemetry.io/otel/sdk/metric v1.45.0 h1:oVFszMfyj1Am6s24Vtc7wBb8BKLcwepJjNEYILuiE3o= +go.opentelemetry.io/otel/sdk/metric v1.45.0/go.mod h1:vUWUxDZvu1WVRj8JA8S0AdhsPrZoDpA2DdZauIh4mDA= +go.opentelemetry.io/otel/trace v1.45.0 h1:l/mP6Uv7oNO7/TblbhpbgMidxhq1uO/rPsikOyVhxag= +go.opentelemetry.io/otel/trace v1.45.0/go.mod h1:qoJJA2xNMnxRrdISU/kLtfUH2wNeQbiv+jhs/CxI8bc= go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= go.uber.org/atomic v1.4.0/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= +go.uber.org/atomic v1.5.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= go.uber.org/atomic v1.6.0/go.mod h1:sABNBOSYdrvTF6hTgEIbc7YasKWGhgEQZyfxyTvoXHQ= go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= +go.uber.org/multierr v1.3.0/go.mod h1:VgVr7evmIr6uPjLBxg28wmKNXyqE9akIJ5XnfpiKl+4= go.uber.org/multierr v1.5.0/go.mod h1:FeouvMocqHpRaaGuG9EjoKcStLC43Zu/fmqdUMPcKYU= go.uber.org/tools v0.0.0-20190618225709-2cfd321de3ee/go.mod h1:vJERXedbb3MVM5f9Ejo0C68/HhF8uaILCdgjnY+goOA= go.uber.org/zap v1.9.1/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= +go.uber.org/zap v1.13.0/go.mod h1:zwrFLgMcdUuIBviXEYEH1YKNaOBnKXsx2IPda5bBwHM= go.yaml.in/yaml/v3 v3.0.5 h1:N6y/pJk8buWs9NY5ERU2HSMfm+IuD/OtfdAnq6kESPw= go.yaml.in/yaml/v3 v3.0.5/go.mod h1:HVTZu1O7/Vkt2N+BFy8Zza+lnLsABggaTM2ZpNIGuKg= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190411191339-88737f569e3a/go.mod h1:WFFai1msRO1wXaEeE5yQxYXgSfI8pQAWXbQop6sCtWE= golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190820162420-60c769a6c586/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190911031432-227b76d455e7/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20200323165209-0ec3e9974c59/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= +golang.org/x/crypto v0.0.0-20201203163018-be400aefbc4c/go.mod h1:jdWPYTVW3xRLrWPugEBEK3UY2ZEsg3UU495nc5E+M+I= +golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= +golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= +golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= +golang.org/x/crypto v0.19.0/go.mod h1:Iy9bg/ha4yyC70EfRS8jz+B6ybOBKMaSxLj6P6oBDfU= +golang.org/x/crypto v0.20.0/go.mod h1:Xwo95rrVNIoSMx9wa1JroENMToLWn3RNVrTBpLHgZPQ= golang.org/x/crypto v0.55.0 h1:+KWHjbgOaAQ66dh/YlkZKHlz9ZUlq61AFirAR9ntP8M= golang.org/x/crypto v0.55.0/go.mod h1:uq0V9dE/fzQuJtbnL+2EhWOE63vo164FY8xqEnV9xis= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= @@ -363,6 +357,9 @@ golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvx golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKGUJ2LatrhH/nqhxcFungHvyanc= +golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= +golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= +golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= golang.org/x/mod v0.38.0 h1:MECBjubtXD7yj4HrhIUcywNaGeNVUdfVnxmPajOk4yk= golang.org/x/mod v0.38.0/go.mod h1:V6Xz0pq8TQ3dGqVQ1FVHuelZpAL0uNhSkk9ogYP3c40= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -373,16 +370,23 @@ golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20190813141303-74dc4d7220e7/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.57.0 h1:K5+3DljvIuDG9/Jv9rvyMywYNFCQ9RSUY6OOTTkT+tE= -golang.org/x/net v0.57.0/go.mod h1:KpXc8iv+r3XplLAG/f7Jsf9RPszJzdR0f58q9vGOuEU= +golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= +golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= +golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= +golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= +golang.org/x/net v0.21.0/go.mod h1:bIjVDfnllIU7BJ2DNgfnXvpSvtn8VRwhlsaeUTyUS44= +golang.org/x/net v0.58.0 h1:ynWG7rqYi4ccpTEuPZ2QGWHktVEM9DMCj9yzDE0Q7To= +golang.org/x/net v0.58.0/go.mod h1:YwCddHnFlT7eLQqVprV19OnhLGtc5xOKgE0RyqgfWAU= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.36.0 h1:peZ/1z27fi9hUOFCAZaHyrpWG5lwe0RJEEEeH0ThlIs= golang.org/x/oauth2 v0.36.0/go.mod h1:YDBUJMTkDnJS+A4BP4eZBjCqtokkg1hODuPjwiGPO7Q= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.22.0 h1:SZjpbeLmrCk4xhRSZFNZW5gFUeCeFgjekvI/+gfScek= -golang.org/x/sync v0.22.0/go.mod h1:9xrNwdLfx4jkKbNva9FpL6vEN7evnE43NNNJQ2LF3+0= +golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= +golang.org/x/sync v0.24.0 h1:iqiDrGoDgyuvAKrhLQthUEzU/R378N78gXbBjxed7oA= +golang.org/x/sync v0.24.0/go.mod h1:sUUOizhqBxiL6pEWpqNLUiaJn1ShEbZ6BBqskPbjZm0= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= @@ -391,17 +395,36 @@ golang.org/x/sys v0.0.0-20190403152447-81d4e9dc473e/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20190813064441-fde4db37ae7a/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20190826190057-c7b8b68b1456/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/sys v0.47.0 h1:o7XGOvZQCADBQQ4Y7VNq2dRWQR7JmOUW8Kxx4ZsNgWs= golang.org/x/sys v0.47.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw= golang.org/x/telemetry v0.0.0-20260708182218-49f421fb7959 h1:RJhm5l6Fo4rmEIcndxDllNhhf/fAx8qIm4t6A7vpm2A= golang.org/x/telemetry v0.0.0-20260708182218-49f421fb7959/go.mod h1:LV7u5Oco+Z/g6XI7PqN+EUUUGGkEcmB1uj2ceI0fOVg= +golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= +golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= +golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= +golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= +golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo= +golang.org/x/term v0.17.0/go.mod h1:lLRBjIVuehSbZlaOtGMbcMncT+aqLLLmKrsjNrUguwk= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= +golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= +golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= +golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= golang.org/x/text v0.41.0 h1:vz/seA0lnX87Othu2f/0L24RcgrXD9/YFTSuGjj3rH8= golang.org/x/text v0.41.0/go.mod h1:jvf1O8ajNzZqhSrQBPbutR/EB83Cc0CFrezNQIwbb5M= golang.org/x/time v0.15.0 h1:bbrp8t3bGUeFOx08pvsMYRTCVSMk89u4tKbNOZbp88U= @@ -416,36 +439,42 @@ golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgw golang.org/x/tools v0.0.0-20190823170909-c4a336ef6a2f/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191029041327-9cc4af7d6b2c/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.0.0-20191029190741-b9c20aec41a5/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= +golang.org/x/tools v0.0.0-20200103221440-774c71fcf114/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= +golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= +golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= golang.org/x/tools v0.48.0 h1:3+hClM1aLL5mjMKm5ovokw9epgRXPuu2tILgismM6RE= golang.org/x/tools v0.48.0/go.mod h1:08xX0orndb/F7jJxGDicx061tyd5pcMto75YMAXr6lk= golang.org/x/xerrors v0.0.0-20190410155217-1f06c39b4373/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20190513163551-3ee3066db522/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= +golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da h1:noIWHXmPHxILtqtCOPIhSt0ABwskkZKjD3bXGnZGpNY= golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da/go.mod h1:NDW/Ps6MPRej6fsCIbMTohpP40sJ/P/vI1MoTEGwX90= gonum.org/v1/gonum v0.17.0 h1:VbpOemQlsSMrYmn7T2OUvQ4dqxQXU+ouZFQsZOx50z4= gonum.org/v1/gonum v0.17.0/go.mod h1:El3tOrEuMpv2UdMrbNlKEh9vd86bmQ6vqIcDwxEOc1E= -google.golang.org/api v0.287.1 h1:LiyJx32VU3cwQfLchn/513qKhc25hq0pEANYJoWNnnI= -google.golang.org/api v0.287.1/go.mod h1:lM2kYRzYUCBY91P9h6VF1PYmvhxii3O5hji37qRvIcY= +google.golang.org/api v0.288.0 h1:glhO/J88obKP5I269W3hB73dvBKrjU56ZfmNlNXpgTU= +google.golang.org/api v0.288.0/go.mod h1:lM2kYRzYUCBY91P9h6VF1PYmvhxii3O5hji37qRvIcY= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= -google.golang.org/genproto v0.0.0-20260319201613-d00831a3d3e7 h1:XzmzkmB14QhVhgnawEVsOn6OFsnpyxNPRY9QV01dNB0= -google.golang.org/genproto v0.0.0-20260319201613-d00831a3d3e7/go.mod h1:L43LFes82YgSonw6iTXTxXUX1OlULt4AQtkik4ULL/I= -google.golang.org/genproto/googleapis/api v0.0.0-20260630182238-925bb5da69e7 h1:jQ9p21COKWjP3VwuFrNRiiOTMh3mPpN45R7SLrH/HUU= -google.golang.org/genproto/googleapis/api v0.0.0-20260630182238-925bb5da69e7/go.mod h1:KqHwBx2upmfa1XSi1WuRvC+2VGCLtooKkfmyvRbUmqA= -google.golang.org/genproto/googleapis/rpc v0.0.0-20260630182238-925bb5da69e7 h1:eM/YSd5bBFagF51o1E745Ta7RwzpW0h+z+QDNZOgmQ8= -google.golang.org/genproto/googleapis/rpc v0.0.0-20260630182238-925bb5da69e7/go.mod h1:4Hqkh8ycfw05ld/3BWL7rJOSfebL2Q+DVDeRgYgxUU8= +google.golang.org/genproto v0.0.0-20260715232425-e75dac1f907d h1:C9v1o0/4quuhOAfmRXA2j+we0PqZIp8traLdeogF3Ms= +google.golang.org/genproto v0.0.0-20260715232425-e75dac1f907d/go.mod h1:Wz2wFJntZFmLGo7pLDXZ3wYk5hyc0Mb+SkHhDDXT+lU= +google.golang.org/genproto/googleapis/api v0.0.0-20260715232425-e75dac1f907d h1:QwnJwPte4XXAkhPu26LTDIahnsMSUV0kK8HkxbC+Pc4= +google.golang.org/genproto/googleapis/api v0.0.0-20260715232425-e75dac1f907d/go.mod h1:WRrQ7/7N19PypuT0fxLOL5Lq0waoiRri4FbtHDEKrGE= +google.golang.org/genproto/googleapis/rpc v0.0.0-20260715232425-e75dac1f907d h1:Jkpk39hlTZOIp3RbfvNX9R8Hv+Sw0X89nlU/xFOErsc= +google.golang.org/genproto/googleapis/rpc v0.0.0-20260715232425-e75dac1f907d/go.mod h1:4Hqkh8ycfw05ld/3BWL7rJOSfebL2Q+DVDeRgYgxUU8= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc= -google.golang.org/grpc v1.82.1 h1:NnAxzGRA0677vCa4BUkOAnO5+FfQqVl9iUXeD0IqcGE= -google.golang.org/grpc v1.82.1/go.mod h1:yzTZ1TB1Z3SG+LIYaI+WiE8D5+PZ3ArnrSp8zF3+/ZA= +google.golang.org/grpc v1.84.0 h1:soMyaPJ8pAak5PIQ0DGBUir0XRo2fRoMqhNWMLlLxO0= +google.golang.org/grpc v1.84.0/go.mod h1:ljCht0DrxQrXBDRTZp52Qxh3Ffk8CdYm2sj4O2QN2C0= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= @@ -455,8 +484,8 @@ google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2 google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= -google.golang.org/protobuf v1.36.11 h1:fV6ZwhNocDyBLK0dj+fg8ektcVegBBuEolpbTQyBNVE= -google.golang.org/protobuf v1.36.11/go.mod h1:HTf+CrKn2C3g5S8VImy6tdcUvCska2kB7j23XfzDpco= +google.golang.org/protobuf v1.36.12 h1:pJOKDDOyeXErUroCihFAd5LQuwXBSpVnKGrj5o/fwxc= +google.golang.org/protobuf v1.36.12/go.mod h1:HTf+CrKn2C3g5S8VImy6tdcUvCska2kB7j23XfzDpco= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/errgo.v2 v2.1.0/go.mod h1:hNsd1EY+bozCKY1Ytp96fpM3vjJbqLJn88ws8XvfDNI= @@ -469,5 +498,3 @@ gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= -mellium.im/sasl v0.3.1 h1:wE0LW6g7U83vhvxjC1IY8DnXM+EU095yeo8XClvCdfo= -mellium.im/sasl v0.3.1/go.mod h1:xm59PUYpZHhgQ9ZqoJ5QaCqzWMi8IeS49dhp6plPCzw= diff --git a/internal/goldeneye/go.mod b/internal/goldeneye/go.mod index 58114729ef..9d6321aa7c 100644 --- a/internal/goldeneye/go.mod +++ b/internal/goldeneye/go.mod @@ -3,50 +3,50 @@ module github.com/sqlc-dev/sqlc/internal/goldeneye go 1.26.0 require ( - cloud.google.com/go/spanner v1.95.1 - github.com/go-sql-driver/mysql v1.10.0 - github.com/jackc/pgx/v5 v5.10.0 - github.com/microsoft/go-mssqldb v1.11.0 - google.golang.org/api v0.297.0 - google.golang.org/grpc v1.83.2 + cloud.google.com/go/spanner v1.96.1 + github.com/go-sql-driver/mysql v1.10.1 + github.com/jackc/pgx/v5 v5.11.0 + github.com/microsoft/go-mssqldb v1.11.2 + google.golang.org/api v0.301.0 + google.golang.org/grpc v1.84.0 google.golang.org/protobuf v1.36.12 ) require ( cloud.google.com/go v0.123.0 // indirect - cloud.google.com/go/auth v0.23.2 // indirect - cloud.google.com/go/auth/oauth2adapt v0.2.8 // indirect - cloud.google.com/go/compute/metadata v0.9.0 // indirect + cloud.google.com/go/auth v0.24.1-0.20261001053825-dbc26066f70a // indirect + cloud.google.com/go/auth/oauth2adapt v0.3.0 // indirect + cloud.google.com/go/compute/metadata v0.10.0 // indirect cloud.google.com/go/iam v1.12.0 // indirect cloud.google.com/go/longrunning v1.2.0 // indirect filippo.io/edwards25519 v1.2.0 // indirect github.com/cespare/xxhash/v2 v2.3.0 // indirect - github.com/felixge/httpsnoop v1.0.4 // indirect - github.com/go-logr/logr v1.4.3 // indirect + github.com/felixge/httpsnoop v1.1.0 // indirect + github.com/go-logr/logr v1.4.4 // indirect github.com/go-logr/stdr v1.2.2 // indirect github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9 // indirect github.com/golang-sql/sqlexp v0.1.0 // indirect - github.com/google/s2a-go v0.1.9 // indirect + github.com/google/s2a-go v0.1.11 // indirect github.com/google/uuid v1.6.0 // indirect - github.com/googleapis/enterprise-certificate-proxy v0.3.20 // indirect - github.com/googleapis/gax-go/v2 v2.24.0 // indirect + github.com/googleapis/enterprise-certificate-proxy v0.3.22 // indirect + github.com/googleapis/gax-go/v2 v2.26.2 // indirect github.com/jackc/pgpassfile v1.0.0 // indirect github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect - github.com/shopspring/decimal v1.4.0 // indirect + github.com/shopspring/decimal v1.5.0 // indirect go.opentelemetry.io/auto/sdk v1.2.1 // indirect go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.67.0 // indirect - go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.67.0 // indirect - go.opentelemetry.io/otel v1.44.0 // indirect - go.opentelemetry.io/otel/metric v1.44.0 // indirect - go.opentelemetry.io/otel/trace v1.44.0 // indirect - golang.org/x/crypto v0.55.0 // indirect - golang.org/x/net v0.58.0 // indirect - golang.org/x/oauth2 v0.36.0 // indirect - golang.org/x/sync v0.22.0 // indirect - golang.org/x/sys v0.47.0 // indirect - golang.org/x/text v0.41.0 // indirect - golang.org/x/time v0.15.0 // indirect + go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.69.0 // indirect + go.opentelemetry.io/otel v1.45.0 // indirect + go.opentelemetry.io/otel/metric v1.45.0 // indirect + go.opentelemetry.io/otel/trace v1.45.0 // indirect + golang.org/x/crypto v0.57.0 // indirect + golang.org/x/net v0.59.0 // indirect + golang.org/x/oauth2 v0.37.0 // indirect + golang.org/x/sync v0.24.0 // indirect + golang.org/x/sys v0.48.0 // indirect + golang.org/x/text v0.42.0 // indirect + golang.org/x/time v0.16.0 // indirect google.golang.org/genproto v0.0.0-20260715232425-e75dac1f907d // indirect google.golang.org/genproto/googleapis/api v0.0.0-20260715232425-e75dac1f907d // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20260819154853-08b0e4226688 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20260928230214-8a89bd6388cc // indirect ) diff --git a/internal/goldeneye/go.sum b/internal/goldeneye/go.sum index e312586f9b..fb2517481e 100644 --- a/internal/goldeneye/go.sum +++ b/internal/goldeneye/go.sum @@ -1,31 +1,31 @@ cloud.google.com/go v0.123.0 h1:2NAUJwPR47q+E35uaJeYoNhuNEM9kM8SjgRgdeOJUSE= cloud.google.com/go v0.123.0/go.mod h1:xBoMV08QcqUGuPW65Qfm1o9Y4zKZBpGS+7bImXLTAZU= -cloud.google.com/go/auth v0.23.2 h1:pxSCpfiji41hpzpPdMCftEUCezpgpqmmDdYiAjCKXxo= -cloud.google.com/go/auth v0.23.2/go.mod h1:4DhBRcqvtljQN3dJ57qtqbib5ZGCYE5f2crfiiC2EM0= -cloud.google.com/go/auth/oauth2adapt v0.2.8 h1:keo8NaayQZ6wimpNSmW5OPc283g65QNIiLpZnkHRbnc= -cloud.google.com/go/auth/oauth2adapt v0.2.8/go.mod h1:XQ9y31RkqZCcwJWNSx2Xvric3RrU88hAYYbjDWYDL+c= -cloud.google.com/go/compute/metadata v0.9.0 h1:pDUj4QMoPejqq20dK0Pg2N4yG9zIkYGdBtwLoEkH9Zs= -cloud.google.com/go/compute/metadata v0.9.0/go.mod h1:E0bWwX5wTnLPedCKqk3pJmVgCBSM6qQI1yTBdEb3C10= +cloud.google.com/go/auth v0.24.1-0.20261001053825-dbc26066f70a h1:jW1ZLFy9oa5ai8LOI40z6s+DL1cO/L1KSm9hVGnibn8= +cloud.google.com/go/auth v0.24.1-0.20261001053825-dbc26066f70a/go.mod h1:1dmBXa9xfBvBr39ZnDUDkaaA91ccq9CcqENDgJA4d7c= +cloud.google.com/go/auth/oauth2adapt v0.3.0 h1:FY8oSZpCYoUNv6QxVODuMjQz4IlSOVeiQtZ08vLPz88= +cloud.google.com/go/auth/oauth2adapt v0.3.0/go.mod h1:7+2uCm7++XFO+/lN06c2HXpDXb/NMNn2/UwyBPbTnkk= +cloud.google.com/go/compute/metadata v0.10.0 h1:pyKMUQSwchgkIBBJGdILqQbs/BNJXqwSA7Ej6LAvvtY= +cloud.google.com/go/compute/metadata v0.10.0/go.mod h1:rGFHRrIif570kSibjFTMbt6/4/tzgJWFGI/HVol4GIk= cloud.google.com/go/iam v1.12.0 h1:Aki3bX9aHUDKPHfnRJfDcTdVedvy6quGBQcTqx3DRXk= cloud.google.com/go/iam v1.12.0/go.mod h1:FEZ4lXpADAC2AIpQY7LANNjjwyQ2jK439CI2VaD+sLY= cloud.google.com/go/longrunning v1.2.0 h1:WjYH3YHBGCxGJP9M4dWGHBfXr/cFIjMkNgWcJj7/iMM= cloud.google.com/go/longrunning v1.2.0/go.mod h1:5KMQALFGOCtFoi2xSOA1u3H7WKlhmckgiyFw7+LGQp0= -cloud.google.com/go/spanner v1.95.1 h1:9HYr+AAeAOubn0NZAYv34dFHQ3NbIUcWHZmgJvufPzk= -cloud.google.com/go/spanner v1.95.1/go.mod h1:Z2+83J5oVDmd1n5ntVMmjEuiNoXOpAyNeG7y1tuEHk0= +cloud.google.com/go/spanner v1.96.1 h1:pLmq5/Fj+Yu6YGRBz9oMPm3ZRQIeG14FYBWFwhZZaIA= +cloud.google.com/go/spanner v1.96.1/go.mod h1:VqMSp/YlTofUq1q6ekkXBAmhAs6X860YL0I8wo7i+k0= filippo.io/edwards25519 v1.2.0 h1:crnVqOiS4jqYleHd9vaKZ+HKtHfllngJIiOpNpoJsjo= filippo.io/edwards25519 v1.2.0/go.mod h1:xzAOLCNug/yB62zG1bQ8uziwrIqIuxhctzJT18Q77mc= -github.com/Azure/azure-sdk-for-go/sdk/azcore v1.23.0 h1:4gRPBpN1f6xt88yi4WR26m7XaD9OlWtVT6bWPdGUIok= -github.com/Azure/azure-sdk-for-go/sdk/azcore v1.23.0/go.mod h1:G7QVLxw1j1JVyrO1MA95S8m8HStaaleDZYTcfGgjB2o= -github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.14.0 h1:CU4+EJeJi3TKYWEcYuSdWsjzw0nVsK/H0MSQOiPcymU= -github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.14.0/go.mod h1:q0+UTSRvShwUCrR/s5HtyInYphN7Wvxb7snFM3u+SLA= +github.com/Azure/azure-sdk-for-go/sdk/azcore v1.23.1 h1:zvXfGJCWvywnCA814d8ZiVyt+fm9nnTE8xSb99zRyfo= +github.com/Azure/azure-sdk-for-go/sdk/azcore v1.23.1/go.mod h1:iptorS+VYKFL2N6PnebpS91dubG35eAOEERnT4PJbQU= +github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.14.1 h1:u93s+zU2JD62im61Bm5CZIc1ZrOJaIAWEg0WOrMVkEo= +github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.14.1/go.mod h1:oXtinPO4OLj9d1DOTrqrL1oRwGhcqadvAmrl6wTeGlk= github.com/Azure/azure-sdk-for-go/sdk/internal v1.12.0 h1:fhqpLE3UEXi9lPaBRpQ6XuRW0nU7hgg4zlmZZa+a9q4= github.com/Azure/azure-sdk-for-go/sdk/internal v1.12.0/go.mod h1:7dCRMLwisfRH3dBupKeNCioWYUZ4SS09Z14H+7i8ZoY= github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azkeys v1.5.0 h1:MaKvxE6D0KkjOg6Wd9M00iqP5PR0kUxCfiezes4JweM= github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azkeys v1.5.0/go.mod h1:i2h9fsTFKZorh8RdV2IcSUf/Qj98GlTkrTvUbX/s8as= github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/internal v1.2.0 h1:nCYfgcSyHZXJI8J0IWE5MsCGlb2xp9fJiXyxWgmOFg4= github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/internal v1.2.0/go.mod h1:ucUjca2JtSZboY8IoUqyQyuuXvwbMBVwFOm0vdQPNhA= -github.com/AzureAD/microsoft-authentication-library-for-go v1.7.2 h1:RHK7bS+HQMslb1sZpAokUt+zTVmue0hKSs2C791hhzU= -github.com/AzureAD/microsoft-authentication-library-for-go v1.7.2/go.mod h1:HKpQxkWaGLJ+D/5H8QRpyQXA1eKjxkFlOMwck5+33Jk= +github.com/AzureAD/microsoft-authentication-library-for-go v1.8.0 h1:Nljr4q1GRA/5vCrMONS+g4u4LRHNgOXVSh3O43J2CnI= +github.com/AzureAD/microsoft-authentication-library-for-go v1.8.0/go.mod h1:Y33QHnf0FfdVewFFISOGe20mkZbxX4H839o955/PoeI= github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs= github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= github.com/cncf/xds/go v0.0.0-20260202195803-dba9d589def2 h1:aBangftG7EVZoUb69Os8IaYg++6uMOdKK83QtkkvJik= @@ -36,15 +36,15 @@ github.com/envoyproxy/go-control-plane/envoy v1.37.0 h1:u3riX6BoYRfF4Dr7dwSOroNf github.com/envoyproxy/go-control-plane/envoy v1.37.0/go.mod h1:DReE9MMrmecPy+YvQOAOHNYMALuowAnbjjEMkkWOi6A= github.com/envoyproxy/protoc-gen-validate v1.3.3 h1:MVQghNeW+LZcmXe7SY1V36Z+WFMDjpqGAGacLe2T0ds= github.com/envoyproxy/protoc-gen-validate v1.3.3/go.mod h1:TsndJ/ngyIdQRhMcVVGDDHINPLWB7C82oDArY51KfB0= -github.com/felixge/httpsnoop v1.0.4 h1:NFTV2Zj1bL4mc9sqWACXbQFVBBg2W3GPvqp8/ESS2Wg= -github.com/felixge/httpsnoop v1.0.4/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U= +github.com/felixge/httpsnoop v1.1.0 h1:3YtUj32ZZkqZtt3sZZsClsymw/QDuVfpNhoA31zeORc= +github.com/felixge/httpsnoop v1.1.0/go.mod h1:Zqxgdd+1Rkcz8euOqdr7lqgCRJztwr5hp9vDSi5UZCE= github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= -github.com/go-logr/logr v1.4.3 h1:CjnDlHq8ikf6E492q6eKboGOC0T8CDaOvkHCIg8idEI= -github.com/go-logr/logr v1.4.3/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= +github.com/go-logr/logr v1.4.4 h1:tG4xh9yMsRCAiodLVTxyrkzSZ9+o0L1Kg/+cPVcbP/8= +github.com/go-logr/logr v1.4.4/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= -github.com/go-sql-driver/mysql v1.10.0 h1:Q+1LV8DkHJvSYAdR83XzuhDaTykuDx0l6fkXxoWCWfw= -github.com/go-sql-driver/mysql v1.10.0/go.mod h1:M+cqaI7+xxXGG9swrdeUIoPG3Y3KCkF0pZej+SK+nWk= +github.com/go-sql-driver/mysql v1.10.1 h1:arlSnNLq6a5yxGxV7qg9lF4j0C+KwD6NbQyKr9QL6ME= +github.com/go-sql-driver/mysql v1.10.1/go.mod h1:M+cqaI7+xxXGG9swrdeUIoPG3Y3KCkF0pZej+SK+nWk= github.com/golang-jwt/jwt/v5 v5.3.1 h1:kYf81DTWFe7t+1VvL7eS+jKFVWaUnK9cB1qbwn63YCY= github.com/golang-jwt/jwt/v5 v5.3.1/go.mod h1:fxCRLWMO43lRc8nhHWY6LGqRcf+1gQWArsqaEUEa5bE= github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9 h1:au07oEsX2xN0ktxqI+Sida1w446QrXBRJ0nee3SNZlA= @@ -55,33 +55,33 @@ github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps= github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8= github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU= -github.com/google/s2a-go v0.1.9 h1:LGD7gtMgezd8a/Xak7mEWL0PjoTQFvpRudN895yqKW0= -github.com/google/s2a-go v0.1.9/go.mod h1:YA0Ei2ZQL3acow2O62kdp9UlnvMmU7kA6Eutn0dXayM= +github.com/google/s2a-go v0.1.11 h1:7v1V1TraNGP63WptsAkNqr2w8jgm4vM6A6qx6Lsw9iM= +github.com/google/s2a-go v0.1.11/go.mod h1:pz4tyvwXvJLLbyrkh6FW1eS2zPUXMaTmyNhYtyP2tNw= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/googleapis/enterprise-certificate-proxy v0.3.20 h1:t/xL64VUoN69MuMRQuJETqYGOw4Z9mSRJK9epIEtwFk= -github.com/googleapis/enterprise-certificate-proxy v0.3.20/go.mod h1:L3D/IQExI6LqEjBdXcZQ1WluSgigQmSwBboFstVPM4w= -github.com/googleapis/gax-go/v2 v2.24.0 h1:myMaPYyF9MecEmvQqMqomIwn9t/4KCZN9qnwsS76wlg= -github.com/googleapis/gax-go/v2 v2.24.0/go.mod h1:IaTHBDd7NHxSCiu0vEs8pQZu4dGZrWwuSoxCnk16OFM= +github.com/googleapis/enterprise-certificate-proxy v0.3.22 h1:NU4XpII6jD+Dxcot94fqjE+AfJoE/lQP9q3faYGzC/c= +github.com/googleapis/enterprise-certificate-proxy v0.3.22/go.mod h1:L3D/IQExI6LqEjBdXcZQ1WluSgigQmSwBboFstVPM4w= +github.com/googleapis/gax-go/v2 v2.26.2 h1:ydkmNXxj7bEmmeK5AihkKnWxyOyBR9TDebvp5L5izk8= +github.com/googleapis/gax-go/v2 v2.26.2/go.mod h1:sMKqnMesnKH+3wiRJROcttA+cJoZoGbZl1vDQ8XYtGk= github.com/jackc/pgpassfile v1.0.0 h1:/6Hmqy13Ss2zCq62VdNG8tM1wchn8zjSGOBJ6icpsIM= github.com/jackc/pgpassfile v1.0.0/go.mod h1:CEx0iS5ambNFdcRtxPj5JhEz+xB6uRky5eyVu/W2HEg= github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 h1:iCEnooe7UlwOQYpKFhBabPMi4aNAfoODPEFNiAnClxo= github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761/go.mod h1:5TJZWKEWniPve33vlWYSoGYefn3gLQRzjfDlhSJ9ZKM= -github.com/jackc/pgx/v5 v5.10.0 h1:VhSvgU2jSli8o3AqIEOTJr7rZwAEUVo4E4XhR94Zfr0= -github.com/jackc/pgx/v5 v5.10.0/go.mod h1:mal1tBGAFfLHvZzaYh77YS/eC6IX9OWbRV1QIIM0Jn4= +github.com/jackc/pgx/v5 v5.11.0 h1:IzBBtyK9AHqf98cctWFifYSci2hgQR/cd56wB4p+ogg= +github.com/jackc/pgx/v5 v5.11.0/go.mod h1:mal1tBGAFfLHvZzaYh77YS/eC6IX9OWbRV1QIIM0Jn4= github.com/jackc/puddle/v2 v2.2.2 h1:PR8nw+E/1w0GLuRFSmiioY6UooMp6KJv0/61nB7icHo= github.com/jackc/puddle/v2 v2.2.2/go.mod h1:vriiEXHvEE654aYKXXjOvZM39qJ0q+azkZFrfEOc3H4= github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc= github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw= -github.com/microsoft/go-mssqldb v1.11.0 h1:YbDqolEjGH9hBfvKzONTf5/dbl9RKXmizMJE93lVxNs= -github.com/microsoft/go-mssqldb v1.11.0/go.mod h1:goQLDOPlMN/l1REhnNPElMoY/yX+fUWn1+7UoFJPH9Y= +github.com/microsoft/go-mssqldb v1.11.2 h1:FCgeBIK8um2+X4tbun6Q71N1KsfyCDPKY41e1yGVjSE= +github.com/microsoft/go-mssqldb v1.11.2/go.mod h1:CYgwG5AMXFojbjTg+GNP5G/y6uz1BhTyZaPqQWzkGnQ= github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c h1:+mdjkGKdHQG3305AYmdv1U2eRNDiU2ErMBj1gwrq8eQ= github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c/go.mod h1:7rwL4CYBLnjLxUqIJNnCWiEdr3bn6IUYi15bNlnbCCU= github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 h1:GFCKgmp0tecUJ0sJuv4pzYCqS9+RGSn52M3FUwPs+uo= github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10/go.mod h1:t/avpk3KcrXxUnYOhZhMXJlSEyie6gQbtLq5NM3loB8= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/shopspring/decimal v1.4.0 h1:bxl37RwXBklmTi0C79JfXCEBD1cqqHt0bbgBAGFp81k= -github.com/shopspring/decimal v1.4.0/go.mod h1:gawqmDU56v4yIKSwfBSFip1HdCCXN8/+DMd9qYNcwME= +github.com/shopspring/decimal v1.5.0 h1:HxSWk31RmJv0EyY4oLiGQB9u7WPludUwPBdvQZnYFPc= +github.com/shopspring/decimal v1.5.0/go.mod h1:gawqmDU56v4yIKSwfBSFip1HdCCXN8/+DMd9qYNcwME= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= @@ -91,46 +91,46 @@ go.opentelemetry.io/auto/sdk v1.2.1 h1:jXsnJ4Lmnqd11kwkBV2LgLoFMZKizbCi5fNZ/ipaZ go.opentelemetry.io/auto/sdk v1.2.1/go.mod h1:KRTj+aOaElaLi+wW1kO/DZRXwkF4C5xPbEe3ZiIhN7Y= go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.67.0 h1:yI1/OhfEPy7J9eoa6Sj051C7n5dvpj0QX8g4sRchg04= go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.67.0/go.mod h1:NoUCKYWK+3ecatC4HjkRktREheMeEtrXoQxrqYFeHSc= -go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.67.0 h1:OyrsyzuttWTSur2qN/Lm0m2a8yqyIjUVBZcxFPuXq2o= -go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.67.0/go.mod h1:C2NGBr+kAB4bk3xtMXfZ94gqFDtg/GkI7e9zqGh5Beg= -go.opentelemetry.io/otel v1.44.0 h1:JjwHmHpA4iZ3wBxluu2fbbE7j4kqlE8jXyAyPXH7HqU= -go.opentelemetry.io/otel v1.44.0/go.mod h1:BMgjTHL9WPRlRjL2oZCBTL4whCGtXch2H4BhOPIAyYc= -go.opentelemetry.io/otel/metric v1.44.0 h1:1w0gILTcHdr3YI+ixLyjemwrVnsMURbTZFrSYCdDdmc= -go.opentelemetry.io/otel/metric v1.44.0/go.mod h1:8O7hanEPBNgEMmybD3s2VBKcgWOCsA6tzHBPODAiquo= -go.opentelemetry.io/otel/sdk v1.44.0 h1:nHYwb9lK+fJPU/dnT6s7W7Z8itMWyqrnVfbheVYrZ58= -go.opentelemetry.io/otel/sdk v1.44.0/go.mod h1:Osuydd3Se74nqjAKxid74N5eC+jfEqfTegHRnq58oK0= -go.opentelemetry.io/otel/sdk/metric v1.44.0 h1:3LlKgI+VjbVsjNRFZJZAJ30WjXC5VkNRks6si09iEfI= -go.opentelemetry.io/otel/sdk/metric v1.44.0/go.mod h1:5B5pMARnXxKhltooO4xUuCBorl65a4EpnTalObqOigA= -go.opentelemetry.io/otel/trace v1.44.0 h1:jxF5CsGYCe74MCRx2X4g7WsY/VBKRqqpNvXlX/6gtIk= -go.opentelemetry.io/otel/trace v1.44.0/go.mod h1:oLl1jrMQAVo6v3GAggN+1VH9VIz9iUSvW53sW1Q8PIE= +go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.69.0 h1:8tvICD4vSTOOsNrsI4Ljf6C+6UKvpTEH5XY3JMoyPoo= +go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.69.0/go.mod h1:z9+yiacE0IHRqM4qFfkbt/JYlmYXgss8GY/jXoNuPJI= +go.opentelemetry.io/otel v1.45.0 h1:pdrWmLHofpubmArBv1LgFSv1Z0Ie/ppdZzu+kUN5EeU= +go.opentelemetry.io/otel v1.45.0/go.mod h1:XZxIqPapzEYnhNSScF5DIqXhm/rYi0FzCe2XddAwZfQ= +go.opentelemetry.io/otel/metric v1.45.0 h1:7Eg1uH7CJ5cXv9is6tnBe1FI6rj1nwUdbFypRm3br/M= +go.opentelemetry.io/otel/metric v1.45.0/go.mod h1:HAPbm1nd3p1PmFH7v2dR+6BjXxw+Lq4a2+pndMAm08s= +go.opentelemetry.io/otel/sdk v1.45.0 h1:4VVSMgQ83dUgW2aoX5f6JgLvHwIvzcuLnF9lUdCSpCw= +go.opentelemetry.io/otel/sdk v1.45.0/go.mod h1:Sr40LgXV7DsKMMJMKOhUWOgMWTfAaqvm2kF0g7ilwuA= +go.opentelemetry.io/otel/sdk/metric v1.45.0 h1:oVFszMfyj1Am6s24Vtc7wBb8BKLcwepJjNEYILuiE3o= +go.opentelemetry.io/otel/sdk/metric v1.45.0/go.mod h1:vUWUxDZvu1WVRj8JA8S0AdhsPrZoDpA2DdZauIh4mDA= +go.opentelemetry.io/otel/trace v1.45.0 h1:l/mP6Uv7oNO7/TblbhpbgMidxhq1uO/rPsikOyVhxag= +go.opentelemetry.io/otel/trace v1.45.0/go.mod h1:qoJJA2xNMnxRrdISU/kLtfUH2wNeQbiv+jhs/CxI8bc= go.yaml.in/yaml/v3 v3.0.5 h1:N6y/pJk8buWs9NY5ERU2HSMfm+IuD/OtfdAnq6kESPw= go.yaml.in/yaml/v3 v3.0.5/go.mod h1:HVTZu1O7/Vkt2N+BFy8Zza+lnLsABggaTM2ZpNIGuKg= -golang.org/x/crypto v0.55.0 h1:+KWHjbgOaAQ66dh/YlkZKHlz9ZUlq61AFirAR9ntP8M= -golang.org/x/crypto v0.55.0/go.mod h1:uq0V9dE/fzQuJtbnL+2EhWOE63vo164FY8xqEnV9xis= -golang.org/x/net v0.58.0 h1:ynWG7rqYi4ccpTEuPZ2QGWHktVEM9DMCj9yzDE0Q7To= -golang.org/x/net v0.58.0/go.mod h1:YwCddHnFlT7eLQqVprV19OnhLGtc5xOKgE0RyqgfWAU= -golang.org/x/oauth2 v0.36.0 h1:peZ/1z27fi9hUOFCAZaHyrpWG5lwe0RJEEEeH0ThlIs= -golang.org/x/oauth2 v0.36.0/go.mod h1:YDBUJMTkDnJS+A4BP4eZBjCqtokkg1hODuPjwiGPO7Q= -golang.org/x/sync v0.22.0 h1:SZjpbeLmrCk4xhRSZFNZW5gFUeCeFgjekvI/+gfScek= -golang.org/x/sync v0.22.0/go.mod h1:9xrNwdLfx4jkKbNva9FpL6vEN7evnE43NNNJQ2LF3+0= -golang.org/x/sys v0.47.0 h1:o7XGOvZQCADBQQ4Y7VNq2dRWQR7JmOUW8Kxx4ZsNgWs= -golang.org/x/sys v0.47.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw= -golang.org/x/text v0.41.0 h1:vz/seA0lnX87Othu2f/0L24RcgrXD9/YFTSuGjj3rH8= -golang.org/x/text v0.41.0/go.mod h1:jvf1O8ajNzZqhSrQBPbutR/EB83Cc0CFrezNQIwbb5M= -golang.org/x/time v0.15.0 h1:bbrp8t3bGUeFOx08pvsMYRTCVSMk89u4tKbNOZbp88U= -golang.org/x/time v0.15.0/go.mod h1:Y4YMaQmXwGQZoFaVFk4YpCt4FLQMYKZe9oeV/f4MSno= +golang.org/x/crypto v0.57.0 h1:3ZVCjf8Ggz7zneR/EHRVx68Ctf+2pmIMP2UFhh9cC6M= +golang.org/x/crypto v0.57.0/go.mod h1:Fdz0i5U6CoizGwLda9DttjSk6qlZo25zYNtR+ycvuZA= +golang.org/x/net v0.59.0 h1:5zfYln+w5XCxwrnMMJPufRgNoXEaGxl0wo5GqPXyues= +golang.org/x/net v0.59.0/go.mod h1:2DA/G1UfVbCpQPeWTmMPGY7Cs2PkBkwu743bVX5PIVg= +golang.org/x/oauth2 v0.37.0 h1:JUlcxA8oAtauLfiH8FX2/FkAWHAdi0QtGCGc+hofE98= +golang.org/x/oauth2 v0.37.0/go.mod h1:IxwZNxUULJmpBFf9K/9NTMSIfZZuvuTy1gGxhigP/58= +golang.org/x/sync v0.24.0 h1:iqiDrGoDgyuvAKrhLQthUEzU/R378N78gXbBjxed7oA= +golang.org/x/sync v0.24.0/go.mod h1:sUUOizhqBxiL6pEWpqNLUiaJn1ShEbZ6BBqskPbjZm0= +golang.org/x/sys v0.48.0 h1:bbX/i/6MgT9BVLM9RT1thmxL04yeTAhbEz4SyadbXoo= +golang.org/x/sys v0.48.0/go.mod h1:hNLxWAXmnKAxqDtdwIYC4bM9oQPEecfsnNMuSxOs3og= +golang.org/x/text v0.42.0 h1:JbOZXgfeCPU9gacVtYliJqOhD+zhrEqK4LfdpmlUZqI= +golang.org/x/text v0.42.0/go.mod h1:ojzP1Z+2QtioaF8DTtO8K5q7JWVVYwZKenzujK0Zd0E= +golang.org/x/time v0.16.0 h1:vMb6ptszcQMkcwiRTAuNNU50gom6++Q/6gY2hDM6VDE= +golang.org/x/time v0.16.0/go.mod h1:rVKOqvZeKvrDKTQiAHJ7wmwP0RzleSphoEA9RcdLA0s= gonum.org/v1/gonum v0.17.0 h1:VbpOemQlsSMrYmn7T2OUvQ4dqxQXU+ouZFQsZOx50z4= gonum.org/v1/gonum v0.17.0/go.mod h1:El3tOrEuMpv2UdMrbNlKEh9vd86bmQ6vqIcDwxEOc1E= -google.golang.org/api v0.297.0 h1:WktxTsnnx0yZNnsR6j0q6hR21RnnK81FHTOPy/ux4OE= -google.golang.org/api v0.297.0/go.mod h1:S4m8x0M6OkQpkOzGk1y9JG2sm4fFQrMh6dxzjCTszhE= +google.golang.org/api v0.301.0 h1:rTvI8szs17R7b09ggb34Bv4XrmFaFl9uCBncgxskqtw= +google.golang.org/api v0.301.0/go.mod h1:gGUTaOjgsaG/KNyyW1tFO+DSFm3EJw4BwyehlcmDCXs= google.golang.org/genproto v0.0.0-20260715232425-e75dac1f907d h1:C9v1o0/4quuhOAfmRXA2j+we0PqZIp8traLdeogF3Ms= google.golang.org/genproto v0.0.0-20260715232425-e75dac1f907d/go.mod h1:Wz2wFJntZFmLGo7pLDXZ3wYk5hyc0Mb+SkHhDDXT+lU= google.golang.org/genproto/googleapis/api v0.0.0-20260715232425-e75dac1f907d h1:QwnJwPte4XXAkhPu26LTDIahnsMSUV0kK8HkxbC+Pc4= google.golang.org/genproto/googleapis/api v0.0.0-20260715232425-e75dac1f907d/go.mod h1:WRrQ7/7N19PypuT0fxLOL5Lq0waoiRri4FbtHDEKrGE= -google.golang.org/genproto/googleapis/rpc v0.0.0-20260819154853-08b0e4226688 h1:cYNAzI2sUwhmCcoj9TxvihSrqsxt6uIkj3rDRhSDmW4= -google.golang.org/genproto/googleapis/rpc v0.0.0-20260819154853-08b0e4226688/go.mod h1:DjtHYE8FKJLivXcBEjGwndXfIC23G0VpXiXKqG179uA= -google.golang.org/grpc v1.83.2 h1:EManeRomTObA0BU7I8vXgg/78uE5MJ9M8B39EX2WscU= -google.golang.org/grpc v1.83.2/go.mod h1:YPI1hK3kDked6iHvgX3tR0y+nX/qpMFKhPgFsokw1S8= +google.golang.org/genproto/googleapis/rpc v0.0.0-20260928230214-8a89bd6388cc h1:4bNTbnb44EqGVy9HaQxSY2jnafSUdgV3qHtedvNpDKg= +google.golang.org/genproto/googleapis/rpc v0.0.0-20260928230214-8a89bd6388cc/go.mod h1:OaIUM3+LpYcK2GXM4FTmhWoIq371Owdr+Cc7/BsYHHc= +google.golang.org/grpc v1.84.0 h1:soMyaPJ8pAak5PIQ0DGBUir0XRo2fRoMqhNWMLlLxO0= +google.golang.org/grpc v1.84.0/go.mod h1:ljCht0DrxQrXBDRTZp52Qxh3Ffk8CdYm2sj4O2QN2C0= google.golang.org/protobuf v1.36.12 h1:pJOKDDOyeXErUroCihFAd5LQuwXBSpVnKGrj5o/fwxc= google.golang.org/protobuf v1.36.12/go.mod h1:HTf+CrKn2C3g5S8VImy6tdcUvCska2kB7j23XfzDpco= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= From c69308b521a50f92fee48ae623702c5550c49d95 Mon Sep 17 00:00:00 2001 From: Kyle Gray Date: Wed, 14 Oct 2026 10:47:22 -0700 Subject: [PATCH 09/16] Upgrade zetajones to v0.2.0 (#4643) Claude-Session: https://claude.ai/code/session_013N61KD8Akhg8Wzybd7UZhE Co-authored-by: Claude --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 666494e140..63324a116a 100644 --- a/go.mod +++ b/go.mod @@ -23,7 +23,7 @@ require ( github.com/sqlc-dev/meyer v0.1.2 github.com/sqlc-dev/oliphant v0.2.0 github.com/sqlc-dev/teesql v1.1.0 - github.com/sqlc-dev/zetajones v0.1.0 + github.com/sqlc-dev/zetajones v0.2.0 github.com/tetratelabs/wazero v1.12.0 github.com/xeipuuv/gojsonschema v1.2.0 github.com/yuin/goldmark v1.8.6 diff --git a/go.sum b/go.sum index 46dc3ffd85..014545f708 100644 --- a/go.sum +++ b/go.sum @@ -68,8 +68,8 @@ github.com/sqlc-dev/oliphant v0.2.0 h1:jJ/s2fh4Plj3U1HsdqiY/clw/IHb4FCNaHfqirwxc github.com/sqlc-dev/oliphant v0.2.0/go.mod h1:fRM/t4FutRddTIq2YCuS4O9o+2rRwSwELRvLMqtPloo= github.com/sqlc-dev/teesql v1.1.0 h1:3sVYQ9FGxQVcqrqQOQ27bk0aF4c4yN1H1zLL79uaSxQ= github.com/sqlc-dev/teesql v1.1.0/go.mod h1:WwOp9UtnxG17+eNFT5KXu/AGBQ8ucdGc8wIOpnj4XCI= -github.com/sqlc-dev/zetajones v0.1.0 h1:VeG0atx6lNABr9V2bSI5vL9DvOKTHX0XjMqWUE/rv40= -github.com/sqlc-dev/zetajones v0.1.0/go.mod h1:dU1DxwqC6Cahbpnw16KpH1J2waWRDMdwyDSvovMZR4I= +github.com/sqlc-dev/zetajones v0.2.0 h1:MSOmZfik8ue884guNFXV1WoPydNA4kjHZN1U3arPBIM= +github.com/sqlc-dev/zetajones v0.2.0/go.mod h1:dU1DxwqC6Cahbpnw16KpH1J2waWRDMdwyDSvovMZR4I= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= From 40f5d7e54ea1e719c225fe8ef37297d5a3d3ccc4 Mon Sep 17 00:00:00 2001 From: Kyle Gray Date: Mon, 19 Oct 2026 10:25:10 -0700 Subject: [PATCH 10/16] googlesql: Spanner schemas, arrays, and a function seed from Spanner (#4645) * googlesql: convert ALTER TABLE, views, renames and HIDDEN columns ALTER TABLE was dropped as unsupported, so columns it added, dropped or retyped never reached the catalog. It now converts ADD/DROP COLUMN, Spanner's ALTER COLUMN (which restates the type and nullability), ALTER COLUMN ... DROP NOT NULL, RENAME COLUMN and RENAME TO; RENAME TABLE converts too. CREATE [OR REPLACE] VIEW and DROP VIEW convert, and a HIDDEN column is left out of SELECT * as Spanner does. The new googlesql cases' schemas were checked against Spanner Omni. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01L8QoGi6VRtADkb4jL3BFHP * googlesql: type arrays, UNNEST, subscripts and typed literals The converter now handles typed literals (DATE, TIMESTAMP, NUMERIC, JSON, bytes), array constructors, INTERVAL, the OFFSET/ORDINAL/SAFE_* subscripts and "x IN UNNEST(array)", which becomes "x = ANY(array)". In the analysis core: - A subscript is the array's element, nullable, with an integer index. - ARRAY(subquery) is an array of the column, not its first value. - "x = ANY(array)" types a placeholder as an array of x's type, as PostgreSQL does; sqlc.slice() still gets the element. - A polymorphic function taking anyarray and returning anyelement, as unnest does, returns the array's element, and a function in FROM takes that resolved type, with its alias naming the column. GoogleSQL gains an unnest seed. analyze_arrays is checked against Spanner Omni; the rest are in array_unnest, where Spanner's wire types lose the nullability and lengths the golden pins. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01L8QoGi6VRtADkb4jL3BFHP * googlesql: seed Spanner's functions and operators functions.jsonl held only count, so every other function typed as any. It now lists 291 signatures across aggregates, math, strings, dates and timestamps, JSON, arrays, hashing, search and vector distance. Their return types, and those of the operators, were read from Spanner Omni by compiling each call in PLAN mode; the search functions and PENDING_COMMIT_TIMESTAMP, which cannot be compiled in a select list, are typed from Spanner's reference. Spanner has no window functions, so none are listed. GoogleSQL now propagates NULL through function arguments, with the functions that return NULL from non-null input marked nullable. The converter maps COALESCE, IFNULL, NULLIF, IF, GREATEST and LEAST onto the nodes the core types them by, makes SAFE.f(...) nullable, passes date parts (DAY, WEEK(MONDAY)) as strings rather than columns, and converts EXTRACT. In the core, an operator a dialect lists now replaces the one its arithmetic rule generates for the same operands, which is how INT64 / INT64 is a FLOAT64; and a placeholder passed for a polymorphic parameter takes its type from the other arguments, so the value in array_includes(array, @v) is the array's element. analyze_functions is checked against Spanner Omni; func_nullability covers what Spanner's wire types cannot report. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01L8QoGi6VRtADkb4jL3BFHP * goldeneye: generate Spanner's types, functions and operators Spanner keeps no catalog of its library, so goldeneye now reads it by asking. spanner/library.jsonl lists the function signatures to try; each is compiled in PLAN mode against a probe database, and the ones Spanner accepts are written to functions.jsonl with the type it reports. A polymorphic signature is tried with INT64 and STRING and its result must hold for both. Calls a select list cannot make are compiled the way they can be: SEARCH in a WHERE clause, SCORE over a search index, PENDING_COMMIT_TIMESTAMP in an INSERT. operators.jsonl is every binary operator Spanner accepts over the operands tried, and types.jsonl the types the dialect lists, each one Spanner has checked by a cast; the GoogleSQL types only BigQuery has are kept as they are. The generated files hold the same records the seed already did; they are rewritten in goldeneye's compact form, and TestDialect now checks all four files against Spanner. The dialect package's Function gains never_null, which the seed already reads. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01L8QoGi6VRtADkb4jL3BFHP --------- Co-authored-by: Claude --- internal/compiler/parse_core.go | 8 + internal/core/analyzer/expr.go | 131 +++++- internal/core/analyzer/scope.go | 23 +- internal/core/seed/seed.go | 25 +- .../analyze_arrays/googlesql/exec.json | 5 + .../analyze_arrays/googlesql/query.sql | 8 + .../analyze_arrays/googlesql/schema.sql | 13 + .../analyze_arrays/googlesql/stdout.json | 109 +++++ .../analyze_functions/googlesql/exec.json | 5 + .../analyze_functions/googlesql/query.sql | 25 + .../analyze_functions/googlesql/schema.sql | 12 + .../analyze_functions/googlesql/stdout.json | 250 ++++++++++ .../analyze_types/bigquery/stdout.json | 12 +- .../testdata/array_unnest/googlesql/exec.json | 3 + .../testdata/array_unnest/googlesql/go/db.go | 31 ++ .../array_unnest/googlesql/go/models.go | 24 + .../array_unnest/googlesql/go/query.sql.go | 144 ++++++ .../testdata/array_unnest/googlesql/query.sql | 16 + .../array_unnest/googlesql/schema.sql | 13 + .../testdata/array_unnest/googlesql/sqlc.json | 12 + .../testdata/create_view/googlesql/exec.json | 3 + .../testdata/create_view/googlesql/go/db.go | 31 ++ .../create_view/googlesql/go/models.go | 15 + .../create_view/googlesql/go/query.sql.go | 44 ++ .../testdata/create_view/googlesql/query.sql | 2 + .../testdata/create_view/googlesql/schema.sql | 11 + .../testdata/create_view/googlesql/sqlc.json | 12 + .../googlesql/exec.json | 3 + .../googlesql/go/db.go | 31 ++ .../googlesql/go/models.go | 16 + .../googlesql/go/query.sql.go | 42 ++ .../googlesql/query.sql | 2 + .../googlesql/schema.sql | 6 + .../googlesql/sqlc.json | 12 + .../googlesql/exec.json | 3 + .../googlesql/go/db.go | 31 ++ .../googlesql/go/models.go | 16 + .../googlesql/go/query.sql.go | 42 ++ .../googlesql/query.sql | 2 + .../googlesql/schema.sql | 9 + .../googlesql/sqlc.json | 12 + .../googlesql/exec.json | 3 + .../googlesql/go/db.go | 31 ++ .../googlesql/go/models.go | 14 + .../googlesql/go/query.sql.go | 37 ++ .../googlesql/query.sql | 2 + .../googlesql/schema.sql | 6 + .../googlesql/sqlc.json | 12 + .../googlesql/exec.json | 3 + .../ddl_alter_table_rename/googlesql/go/db.go | 31 ++ .../googlesql/go/models.go | 13 + .../googlesql/go/query.sql.go | 64 +++ .../googlesql/query.sql | 5 + .../googlesql/schema.sql | 8 + .../googlesql/sqlc.json | 12 + .../testdata/ddl_spanner/googlesql/exec.json | 3 + .../testdata/ddl_spanner/googlesql/go/db.go | 31 ++ .../ddl_spanner/googlesql/go/models.go | 35 ++ .../ddl_spanner/googlesql/go/query.sql.go | 109 +++++ .../testdata/ddl_spanner/googlesql/query.sql | 8 + .../testdata/ddl_spanner/googlesql/schema.sql | 42 ++ .../testdata/ddl_spanner/googlesql/sqlc.json | 12 + .../func_nullability/googlesql/exec.json | 3 + .../func_nullability/googlesql/go/db.go | 31 ++ .../func_nullability/googlesql/go/models.go | 24 + .../googlesql/go/query.sql.go | 205 +++++++++ .../func_nullability/googlesql/query.sql | 23 + .../func_nullability/googlesql/schema.sql | 10 + .../func_nullability/googlesql/sqlc.json | 12 + internal/engine/googlesql/convert.go | 399 +++++++++++++++- .../engine/googlesql/dialect/dialect.json | 3 +- .../engine/googlesql/dialect/functions.jsonl | 292 +++++++++++- .../engine/googlesql/dialect/operators.jsonl | 84 +++- internal/engine/googlesql/dialect/types.jsonl | 46 +- internal/goldeneye/README.md | 12 +- internal/goldeneye/dialect/dialect.go | 3 + internal/goldeneye/spanner/library.go | 428 ++++++++++++++++++ internal/goldeneye/spanner/library.jsonl | 322 +++++++++++++ internal/goldeneye/spanner/spanner.go | 35 +- 79 files changed, 3570 insertions(+), 57 deletions(-) create mode 100644 internal/endtoend/testdata/analyze_arrays/googlesql/exec.json create mode 100644 internal/endtoend/testdata/analyze_arrays/googlesql/query.sql create mode 100644 internal/endtoend/testdata/analyze_arrays/googlesql/schema.sql create mode 100644 internal/endtoend/testdata/analyze_arrays/googlesql/stdout.json create mode 100644 internal/endtoend/testdata/analyze_functions/googlesql/exec.json create mode 100644 internal/endtoend/testdata/analyze_functions/googlesql/query.sql create mode 100644 internal/endtoend/testdata/analyze_functions/googlesql/schema.sql create mode 100644 internal/endtoend/testdata/analyze_functions/googlesql/stdout.json create mode 100644 internal/endtoend/testdata/array_unnest/googlesql/exec.json create mode 100644 internal/endtoend/testdata/array_unnest/googlesql/go/db.go create mode 100644 internal/endtoend/testdata/array_unnest/googlesql/go/models.go create mode 100644 internal/endtoend/testdata/array_unnest/googlesql/go/query.sql.go create mode 100644 internal/endtoend/testdata/array_unnest/googlesql/query.sql create mode 100644 internal/endtoend/testdata/array_unnest/googlesql/schema.sql create mode 100644 internal/endtoend/testdata/array_unnest/googlesql/sqlc.json create mode 100644 internal/endtoend/testdata/create_view/googlesql/exec.json create mode 100644 internal/endtoend/testdata/create_view/googlesql/go/db.go create mode 100644 internal/endtoend/testdata/create_view/googlesql/go/models.go create mode 100644 internal/endtoend/testdata/create_view/googlesql/go/query.sql.go create mode 100644 internal/endtoend/testdata/create_view/googlesql/query.sql create mode 100644 internal/endtoend/testdata/create_view/googlesql/schema.sql create mode 100644 internal/endtoend/testdata/create_view/googlesql/sqlc.json create mode 100644 internal/endtoend/testdata/ddl_alter_table_add_column/googlesql/exec.json create mode 100644 internal/endtoend/testdata/ddl_alter_table_add_column/googlesql/go/db.go create mode 100644 internal/endtoend/testdata/ddl_alter_table_add_column/googlesql/go/models.go create mode 100644 internal/endtoend/testdata/ddl_alter_table_add_column/googlesql/go/query.sql.go create mode 100644 internal/endtoend/testdata/ddl_alter_table_add_column/googlesql/query.sql create mode 100644 internal/endtoend/testdata/ddl_alter_table_add_column/googlesql/schema.sql create mode 100644 internal/endtoend/testdata/ddl_alter_table_add_column/googlesql/sqlc.json create mode 100644 internal/endtoend/testdata/ddl_alter_table_alter_type/googlesql/exec.json create mode 100644 internal/endtoend/testdata/ddl_alter_table_alter_type/googlesql/go/db.go create mode 100644 internal/endtoend/testdata/ddl_alter_table_alter_type/googlesql/go/models.go create mode 100644 internal/endtoend/testdata/ddl_alter_table_alter_type/googlesql/go/query.sql.go create mode 100644 internal/endtoend/testdata/ddl_alter_table_alter_type/googlesql/query.sql create mode 100644 internal/endtoend/testdata/ddl_alter_table_alter_type/googlesql/schema.sql create mode 100644 internal/endtoend/testdata/ddl_alter_table_alter_type/googlesql/sqlc.json create mode 100644 internal/endtoend/testdata/ddl_alter_table_drop_column/googlesql/exec.json create mode 100644 internal/endtoend/testdata/ddl_alter_table_drop_column/googlesql/go/db.go create mode 100644 internal/endtoend/testdata/ddl_alter_table_drop_column/googlesql/go/models.go create mode 100644 internal/endtoend/testdata/ddl_alter_table_drop_column/googlesql/go/query.sql.go create mode 100644 internal/endtoend/testdata/ddl_alter_table_drop_column/googlesql/query.sql create mode 100644 internal/endtoend/testdata/ddl_alter_table_drop_column/googlesql/schema.sql create mode 100644 internal/endtoend/testdata/ddl_alter_table_drop_column/googlesql/sqlc.json create mode 100644 internal/endtoend/testdata/ddl_alter_table_rename/googlesql/exec.json create mode 100644 internal/endtoend/testdata/ddl_alter_table_rename/googlesql/go/db.go create mode 100644 internal/endtoend/testdata/ddl_alter_table_rename/googlesql/go/models.go create mode 100644 internal/endtoend/testdata/ddl_alter_table_rename/googlesql/go/query.sql.go create mode 100644 internal/endtoend/testdata/ddl_alter_table_rename/googlesql/query.sql create mode 100644 internal/endtoend/testdata/ddl_alter_table_rename/googlesql/schema.sql create mode 100644 internal/endtoend/testdata/ddl_alter_table_rename/googlesql/sqlc.json create mode 100644 internal/endtoend/testdata/ddl_spanner/googlesql/exec.json create mode 100644 internal/endtoend/testdata/ddl_spanner/googlesql/go/db.go create mode 100644 internal/endtoend/testdata/ddl_spanner/googlesql/go/models.go create mode 100644 internal/endtoend/testdata/ddl_spanner/googlesql/go/query.sql.go create mode 100644 internal/endtoend/testdata/ddl_spanner/googlesql/query.sql create mode 100644 internal/endtoend/testdata/ddl_spanner/googlesql/schema.sql create mode 100644 internal/endtoend/testdata/ddl_spanner/googlesql/sqlc.json create mode 100644 internal/endtoend/testdata/func_nullability/googlesql/exec.json create mode 100644 internal/endtoend/testdata/func_nullability/googlesql/go/db.go create mode 100644 internal/endtoend/testdata/func_nullability/googlesql/go/models.go create mode 100644 internal/endtoend/testdata/func_nullability/googlesql/go/query.sql.go create mode 100644 internal/endtoend/testdata/func_nullability/googlesql/query.sql create mode 100644 internal/endtoend/testdata/func_nullability/googlesql/schema.sql create mode 100644 internal/endtoend/testdata/func_nullability/googlesql/sqlc.json create mode 100644 internal/goldeneye/spanner/library.go create mode 100644 internal/goldeneye/spanner/library.jsonl diff --git a/internal/compiler/parse_core.go b/internal/compiler/parse_core.go index 543ca5f3cc..2e1dfc7042 100644 --- a/internal/compiler/parse_core.go +++ b/internal/compiler/parse_core.go @@ -201,5 +201,13 @@ func coreParamColumn(p core.Parameter, params *named.ParamSet) *Column { col.IsSqlcSlice = param.IsSqlcSlice() col.IsNamedParam = true } + // sqlc.slice() already says the argument is a list of values, so a + // slice the analyzer typed as an array, as it does "= ANY(sqlc.slice(x))", + // is a slice of the array's elements. + if col.IsSqlcSlice && col.TypeExpr.IsArray() { + col.TypeExpr = col.TypeExpr.Element() + col.IsArray = false + describeType(col, col.TypeExpr) + } return col } diff --git a/internal/core/analyzer/expr.go b/internal/core/analyzer/expr.go index 4f0dd8ec8b..62a69b273d 100644 --- a/internal/core/analyzer/expr.go +++ b/internal/core/analyzer/expr.go @@ -79,6 +79,9 @@ func (a *analyzer) typeExpr(n ast.Node) (exprType, error) { case *ast.A_ArrayExpr: return a.typeArrayExpr(e) + case *ast.A_Indirection: + return a.typeIndirection(e) + case *ast.SubLink: return a.typeSubLink(e) @@ -366,7 +369,17 @@ func (a *analyzer) typeQuantifiedExpr(e *ast.A_Expr) (exprType, error) { if err != nil { return exprType{}, err } - if err := a.typeOperands(e.Rexpr, leftT); err != nil { + // "x = ANY(SELECT ...)" compares x against the subquery's column, but + // "x = ANY(array)" against the elements of an array, so a placeholder + // there is an array of x's type. + right := leftT + if _, sub := e.Rexpr.(*ast.SubLink); !sub { + right = a.arrayOf(leftT) + right.sourceClassOID = leftT.sourceClassOID + right.sourceAttributeOID = leftT.sourceAttributeOID + right.sourceTableAlias = leftT.sourceTableAlias + } + if err := a.typeOperands(e.Rexpr, right); err != nil { return exprType{}, err } return a.boolType(false) @@ -524,6 +537,51 @@ func (a *analyzer) typeArrayExpr(e *ast.A_ArrayExpr) (exprType, error) { return a.lookupType(core.Array(element.WithNullable(false))), nil } +// typeIndirection types an array subscript, arr[i], as the array's element, +// and a slice, arr[i:j], as the array itself. An element may be NULL, and a +// subscript past the end of the array yields NULL in the dialects that do not +// raise an error for it. The subscripts are integers. +func (a *analyzer) typeIndirection(e *ast.A_Indirection) (exprType, error) { + t, err := a.typeExpr(e.Arg) + if err != nil { + return exprType{}, err + } + intT := exprType{} + if oid, err := a.cat.ConstTypeOID(core.ConstInteger); err == nil { + intT.typeOID = oid + } + for _, item := range listItems(e.Indirection) { + idx, ok := item.(*ast.A_Indices) + if !ok { + return exprType{}, fmt.Errorf("typeExpr: unsupported indirection %T", item) + } + for _, bound := range []ast.Node{idx.Lidx, idx.Uidx} { + if err := a.typeOperands(bound, intT); err != nil { + return exprType{}, err + } + } + if idx.IsSlice { + continue + } + element := a.exprOf(t).Element() + if element == nil { + return exprType{nullable: true}, nil + } + t = a.lookupType(element) + t.nullable = true + } + return t, nil +} + +// arrayOf is the type of an array of t's type. +func (a *analyzer) arrayOf(t exprType) exprType { + element := a.exprOf(t) + if element == nil { + return exprType{} + } + return a.lookupType(core.Array(element.WithNullable(false))) +} + // lookupType is the type an expression refers to: its row when the catalog // holds one, its family's row when it holds only that, and the expression // alone when it holds neither. @@ -619,7 +677,7 @@ func (a *analyzer) typeSubLink(e *ast.SubLink) (exprType, error) { return exprType{}, err } switch e.SubLinkType { - case ast.EXPR_SUBLINK, ast.ARRAY_SUBLINK: + case ast.EXPR_SUBLINK: if len(cols) == 0 { return exprType{nullable: true}, nil } @@ -627,6 +685,13 @@ func (a *analyzer) typeSubLink(e *ast.SubLink) (exprType, error) { t := columnExprType(cols[0]) t.nullable = true return t, nil + case ast.ARRAY_SUBLINK: + // ARRAY(SELECT ...) collects the column into an array, which is + // empty rather than NULL when no row matches. + if len(cols) == 0 { + return exprType{}, nil + } + return a.arrayOf(columnExprType(cols[0])), nil default: return a.boolType(false) } @@ -831,12 +896,20 @@ func (a *analyzer) typeFuncCall(f *ast.FuncCall) (exprType, error) { } p := a.pickOverload(overloads, argOIDs) // An argument that is a bare placeholder takes the parameter's type, - // unless the parameter is polymorphic and says nothing. + // unless the parameter is polymorphic, when it takes what the other + // arguments say: the element of the array passed for an anyarray, or + // an array of the value passed for an anyelement, as + // array_includes(anyarray, anyelement) relates them. for i, arg := range args { if i >= len(p.ArgTypes) { break } if a.isPolymorphicOID(p.ArgTypes[i]) { + if t, ok := a.polymorphicArg(p, i, argTypes); ok { + if err := a.typeOperands(arg, t); err != nil { + return exprType{}, err + } + } continue } if err := a.typeOperands(arg, exprType{typeOID: p.ArgTypes[i]}); err != nil { @@ -916,11 +989,61 @@ func (a *analyzer) returnType(p core.ProcOverload, argTypes []exprType) exprType return exprType{} } if isPolymorphic(name) && (argTypes[0].typeOID != 0 || argTypes[0].expr != nil) { - return exprType{typeOID: argTypes[0].typeOID, expr: argTypes[0].expr} + arg := exprType{typeOID: argTypes[0].typeOID, expr: argTypes[0].expr} + // An element taken from an array argument, unnest(anyarray) + // returning anyelement, is the array's element; an array built from + // an element argument is an array of it. + paramName := "" + if len(p.ArgTypes) > 0 { + paramName, _ = a.cat.TypeName(p.ArgTypes[0]) + } + switch { + case isPolymorphicArray(paramName) && !isPolymorphicArray(name): + if element := a.exprOf(arg).Element(); element != nil { + return a.lookupType(element) + } + case !isPolymorphicArray(paramName) && isPolymorphicArray(name) && isPolymorphic(paramName): + return a.arrayOf(arg) + } + return arg } return exprType{typeOID: p.ReturnTypeOID} } +// polymorphicArg is the type the other arguments of a call give its i-th, +// polymorphic, parameter: the element of an array passed for an anyarray +// when the parameter is an element, or an array of an element passed for +// an anyelement when the parameter is an array. +func (a *analyzer) polymorphicArg(p core.ProcOverload, i int, argTypes []exprType) (exprType, bool) { + name, err := a.cat.TypeName(p.ArgTypes[i]) + if err != nil || !isPolymorphic(name) { + return exprType{}, false + } + for j, other := range p.ArgTypes { + if j == i || j >= len(argTypes) || (argTypes[j].typeOID == 0 && argTypes[j].expr == nil) { + continue + } + otherName, err := a.cat.TypeName(other) + if err != nil || !isPolymorphic(otherName) { + continue + } + switch { + case isPolymorphicArray(otherName) && !isPolymorphicArray(name): + if element := a.exprOf(argTypes[j]).Element(); element != nil { + return a.lookupType(element), true + } + case !isPolymorphicArray(otherName) && isPolymorphicArray(name): + return a.arrayOf(argTypes[j]), true + } + } + return exprType{}, false +} + +// isPolymorphicArray reports whether a polymorphic type stands for an array. +func isPolymorphicArray(typeName string) bool { + return typeName == "anyarray" || typeName == "anycompatiblearray" +} + // argIndex reads a seed's "$n" pseudo-type as the zero-based index of the // argument whose type it stands for. func argIndex(typeName string) (int, bool) { diff --git a/internal/core/analyzer/scope.go b/internal/core/analyzer/scope.go index 020d3d1f12..218a8e0b11 100644 --- a/internal/core/analyzer/scope.go +++ b/internal/core/analyzer/scope.go @@ -100,19 +100,28 @@ func (a *analyzer) bindRangeFunction(rf *ast.RangeFunction) (scopeRel, error) { } // The arguments are typed against the scope built so far, which is what - // gives a placeholder passed to the function its type. - if _, err := a.typeFuncCall(call); err != nil { + // gives a placeholder passed to the function its type, and what + // resolves a polymorphic result: unnest of an array of strings yields + // strings. + t, err := a.typeFuncCall(call) + if err != nil { return scopeRel{}, err } - p := overloads[0] - rel := scopeRel{ - alias: name, - cols: []core.ClassColumn{{Name: name, TypeOID: p.ReturnTypeOID, NotNull: !p.ReturnNullable}}, - } + // The relation's alias names its single column too, as "unnest(tags) + // AS tag" does. + colName := name + rel := scopeRel{alias: name} if rf.Alias != nil && rf.Alias.Aliasname != nil && *rf.Alias.Aliasname != "" { rel.alias = *rf.Alias.Aliasname + colName = rel.alias + } + col := core.ClassColumn{Name: colName, TypeOID: t.typeOID, Type: t.expr, NotNull: !t.nullable} + if t.typeOID == 0 && t.expr == nil { + p := overloads[0] + col.TypeOID, col.NotNull = p.ReturnTypeOID, !p.ReturnNullable } + rel.cols = []core.ClassColumn{col} return rel, nil } diff --git a/internal/core/seed/seed.go b/internal/core/seed/seed.go index e14f17aac8..064afedae8 100644 --- a/internal/core/seed/seed.go +++ b/internal/core/seed/seed.go @@ -320,12 +320,24 @@ func apply(cat *core.Catalog, fsys fs.FS, settings Settings) error { if err := b.rules(); err != nil { return err } - if err := b.categoryOperators(); err != nil { + // An operator the dialect lists replaces the one its rules would + // generate for the same operands, as GoogleSQL's INT64 / INT64 is a + // FLOAT64, so the list is read before the rules apply. + var operators []Operator + if err := stream(fsys, OperatorsFile, func(op Operator) error { + operators = append(operators, op) + return nil + }); err != nil { return err } - if err := stream(fsys, OperatorsFile, b.addOperator); err != nil { + if err := b.categoryOperators(operators); err != nil { return err } + for i, op := range operators { + if err := b.addOperator(op); err != nil { + return fmt.Errorf("seed: %s: record %d: %w", OperatorsFile, i+1, err) + } + } if err := stream(fsys, CastsFile, b.addCast); err != nil { return err } @@ -713,8 +725,12 @@ func (b *builder) rules() error { return nil } -func (b *builder) categoryOperators() error { +func (b *builder) categoryOperators(listed []Operator) error { s := b.settings + overridden := map[[3]string]bool{} + for _, op := range listed { + overridden[[3]string{op.Name, strings.ToLower(op.Left), strings.ToLower(op.Right)}] = true + } boolOID, ok := b.oids[strings.ToLower(s.Bool)] if len(s.Comparison) > 0 && !ok { return fmt.Errorf("seed %s: comparison operators need a bool type", s.Dialect) @@ -729,6 +745,9 @@ func (b *builder) categoryOperators() error { } if strings.Contains(s.ArithmeticCategories, t.category) { for _, op := range s.Arithmetic { + if overridden[[3]string{op, strings.ToLower(t.name), strings.ToLower(t.name)}] { + continue + } if err := b.operator(op, t.name, t.name, t.name, b.oids[t.name]); err != nil { return err } diff --git a/internal/endtoend/testdata/analyze_arrays/googlesql/exec.json b/internal/endtoend/testdata/analyze_arrays/googlesql/exec.json new file mode 100644 index 0000000000..a53ddddc6d --- /dev/null +++ b/internal/endtoend/testdata/analyze_arrays/googlesql/exec.json @@ -0,0 +1,5 @@ +{ + "command": "analyze", + "args": ["--dialect", "googlesql", "--schema", "schema.sql", "query.sql"], + "contexts": ["base"] +} diff --git a/internal/endtoend/testdata/analyze_arrays/googlesql/query.sql b/internal/endtoend/testdata/analyze_arrays/googlesql/query.sql new file mode 100644 index 0000000000..5d4666d91f --- /dev/null +++ b/internal/endtoend/testdata/analyze_arrays/googlesql/query.sql @@ -0,0 +1,8 @@ +-- name: AlbumIDs :one +SELECT singer_id, ARRAY(SELECT album_id FROM albums WHERE albums.singer_id = singers.singer_id) AS album_ids +FROM singers WHERE singer_id = @singer_id; + +-- name: Literals :one +SELECT [1, 2, 3] AS ints, ARRAY['a'] AS strs, DATE '2024-01-02' AS d, + TIMESTAMP '2024-01-02 03:04:05+00' AS ts, NUMERIC '1.5' AS n, JSON '{"a": 1}' AS j, + b'abc' AS raw, INTERVAL 3 DAY AS iv; diff --git a/internal/endtoend/testdata/analyze_arrays/googlesql/schema.sql b/internal/endtoend/testdata/analyze_arrays/googlesql/schema.sql new file mode 100644 index 0000000000..667e087fb6 --- /dev/null +++ b/internal/endtoend/testdata/analyze_arrays/googlesql/schema.sql @@ -0,0 +1,13 @@ +CREATE TABLE singers ( + singer_id INT64 NOT NULL, + name STRING(MAX) NOT NULL, + tags ARRAY, + scores ARRAY NOT NULL, +) PRIMARY KEY (singer_id); + +CREATE TABLE albums ( + singer_id INT64 NOT NULL, + album_id INT64 NOT NULL, + title STRING(MAX), +) PRIMARY KEY (singer_id, album_id), + INTERLEAVE IN PARENT singers ON DELETE CASCADE; diff --git a/internal/endtoend/testdata/analyze_arrays/googlesql/stdout.json b/internal/endtoend/testdata/analyze_arrays/googlesql/stdout.json new file mode 100644 index 0000000000..920fc64da6 --- /dev/null +++ b/internal/endtoend/testdata/analyze_arrays/googlesql/stdout.json @@ -0,0 +1,109 @@ +[ + { + "name": "AlbumIDs", + "cmd": ":one", + "columns": [ + { + "name": "singer_id", + "type": { + "name": "int64" + }, + "table": "singers" + }, + { + "name": "album_ids", + "type": { + "name": "array", + "args": [ + { + "type": { + "name": "int64" + } + } + ] + } + } + ], + "params": [ + { + "number": 1, + "column": { + "name": "singer_id", + "type": { + "name": "int64" + }, + "table": "singers" + } + } + ] + }, + { + "name": "Literals", + "cmd": ":one", + "columns": [ + { + "name": "ints", + "type": { + "name": "array", + "args": [ + { + "type": { + "name": "int64" + } + } + ] + } + }, + { + "name": "strs", + "type": { + "name": "array", + "args": [ + { + "type": { + "name": "string" + } + } + ] + } + }, + { + "name": "d", + "type": { + "name": "date" + } + }, + { + "name": "ts", + "type": { + "name": "timestamp" + } + }, + { + "name": "n", + "type": { + "name": "numeric" + } + }, + { + "name": "j", + "type": { + "name": "json" + } + }, + { + "name": "raw", + "type": { + "name": "bytes" + } + }, + { + "name": "iv", + "type": { + "name": "interval" + } + } + ], + "params": [] + } +] diff --git a/internal/endtoend/testdata/analyze_functions/googlesql/exec.json b/internal/endtoend/testdata/analyze_functions/googlesql/exec.json new file mode 100644 index 0000000000..a53ddddc6d --- /dev/null +++ b/internal/endtoend/testdata/analyze_functions/googlesql/exec.json @@ -0,0 +1,5 @@ +{ + "command": "analyze", + "args": ["--dialect", "googlesql", "--schema", "schema.sql", "query.sql"], + "contexts": ["base"] +} diff --git a/internal/endtoend/testdata/analyze_functions/googlesql/query.sql b/internal/endtoend/testdata/analyze_functions/googlesql/query.sql new file mode 100644 index 0000000000..d441415585 --- /dev/null +++ b/internal/endtoend/testdata/analyze_functions/googlesql/query.sql @@ -0,0 +1,25 @@ +-- name: Strings :many +SELECT LENGTH(name) AS len, UPPER(name) AS upper_name, CONCAT(name, '!') AS shout, + SPLIT(name, ',') AS parts, STARTS_WITH(name, 'a') AS starts, TO_HEX(SHA256(name)) AS digest, + FARM_FINGERPRINT(name) AS fingerprint, REPLACE(name, 'a', 'b') AS replaced, TO_BASE64(payload) AS b64 +FROM events; + +-- name: Numbers :many +SELECT ABS(id) AS abs_id, id / 2 AS half, amount * id AS scaled, ratio + id AS shifted, + ROUND(ratio, 2) AS rounded, MOD(id, 7) AS bucket, DIV(id, 2) AS halved, COSINE_DISTANCE(embedding, embedding) AS distance +FROM events; + +-- name: Times :many +SELECT DATE_ADD(happened_on, INTERVAL 1 DAY) AS next_day, DATE_DIFF(happened_on, happened_on, DAY) AS days, + TIMESTAMP_TRUNC(happened_at, HOUR) AS hour, EXTRACT(YEAR FROM happened_at) AS year, + EXTRACT(DATE FROM happened_at) AS day, UNIX_SECONDS(happened_at) AS epoch, + FORMAT_TIMESTAMP('%Y', happened_at) AS formatted +FROM events; + +-- name: Collections :many +SELECT ARRAY_LENGTH(scores) AS n, ARRAY_REVERSE(scores) AS reversed, GENERATE_ARRAY(1, id) AS series, + TO_JSON(id) AS as_json, JSON_TYPE(details) AS json_kind +FROM events; + +-- name: Counts :one +SELECT COUNT(*) AS total, COUNT(name) AS named, COUNTIF(ratio > 0.5) AS high FROM events; diff --git a/internal/endtoend/testdata/analyze_functions/googlesql/schema.sql b/internal/endtoend/testdata/analyze_functions/googlesql/schema.sql new file mode 100644 index 0000000000..ea03d7fcef --- /dev/null +++ b/internal/endtoend/testdata/analyze_functions/googlesql/schema.sql @@ -0,0 +1,12 @@ +CREATE TABLE events ( + id INT64 NOT NULL, + name STRING(MAX) NOT NULL, + payload BYTES(MAX) NOT NULL, + amount NUMERIC NOT NULL, + ratio FLOAT64 NOT NULL, + happened_on DATE NOT NULL, + happened_at TIMESTAMP NOT NULL, + details JSON NOT NULL, + scores ARRAY NOT NULL, + embedding ARRAY NOT NULL, +) PRIMARY KEY (id); diff --git a/internal/endtoend/testdata/analyze_functions/googlesql/stdout.json b/internal/endtoend/testdata/analyze_functions/googlesql/stdout.json new file mode 100644 index 0000000000..5e44b966d9 --- /dev/null +++ b/internal/endtoend/testdata/analyze_functions/googlesql/stdout.json @@ -0,0 +1,250 @@ +[ + { + "name": "Strings", + "cmd": ":many", + "columns": [ + { + "name": "len", + "type": { + "name": "int64" + } + }, + { + "name": "upper_name", + "type": { + "name": "string" + } + }, + { + "name": "shout", + "type": { + "name": "string" + } + }, + { + "name": "parts", + "type": { + "name": "array", + "args": [ + { + "type": { + "name": "string" + } + } + ] + } + }, + { + "name": "starts", + "type": { + "name": "bool" + } + }, + { + "name": "digest", + "type": { + "name": "string" + } + }, + { + "name": "fingerprint", + "type": { + "name": "int64" + } + }, + { + "name": "replaced", + "type": { + "name": "string" + } + }, + { + "name": "b64", + "type": { + "name": "string" + } + } + ], + "params": [] + }, + { + "name": "Numbers", + "cmd": ":many", + "columns": [ + { + "name": "abs_id", + "type": { + "name": "int64" + } + }, + { + "name": "half", + "type": { + "name": "float64" + } + }, + { + "name": "scaled", + "type": { + "name": "numeric" + } + }, + { + "name": "shifted", + "type": { + "name": "float64" + } + }, + { + "name": "rounded", + "type": { + "name": "float64" + } + }, + { + "name": "bucket", + "type": { + "name": "int64" + } + }, + { + "name": "halved", + "type": { + "name": "int64" + } + }, + { + "name": "distance", + "type": { + "name": "float64" + } + } + ], + "params": [] + }, + { + "name": "Times", + "cmd": ":many", + "columns": [ + { + "name": "next_day", + "type": { + "name": "date" + } + }, + { + "name": "days", + "type": { + "name": "int64" + } + }, + { + "name": "hour", + "type": { + "name": "timestamp" + } + }, + { + "name": "year", + "type": { + "name": "int64" + } + }, + { + "name": "day", + "type": { + "name": "date" + } + }, + { + "name": "epoch", + "type": { + "name": "int64" + } + }, + { + "name": "formatted", + "type": { + "name": "string" + } + } + ], + "params": [] + }, + { + "name": "Collections", + "cmd": ":many", + "columns": [ + { + "name": "n", + "type": { + "name": "int64" + } + }, + { + "name": "reversed", + "type": { + "name": "array", + "args": [ + { + "type": { + "name": "int64" + } + } + ] + } + }, + { + "name": "series", + "type": { + "name": "array", + "args": [ + { + "type": { + "name": "int64" + } + } + ] + } + }, + { + "name": "as_json", + "type": { + "name": "json" + } + }, + { + "name": "json_kind", + "type": { + "name": "string" + } + } + ], + "params": [] + }, + { + "name": "Counts", + "cmd": ":one", + "columns": [ + { + "name": "total", + "type": { + "name": "int64" + } + }, + { + "name": "named", + "type": { + "name": "int64" + } + }, + { + "name": "high", + "type": { + "name": "int64" + } + } + ], + "params": [] + } +] diff --git a/internal/endtoend/testdata/analyze_types/bigquery/stdout.json b/internal/endtoend/testdata/analyze_types/bigquery/stdout.json index 8119ad12a2..34ebaf0b24 100644 --- a/internal/endtoend/testdata/analyze_types/bigquery/stdout.json +++ b/internal/endtoend/testdata/analyze_types/bigquery/stdout.json @@ -291,7 +291,17 @@ } }, { - "name": "f" + "name": "f", + "type": { + "name": "array", + "args": [ + { + "type": { + "name": "int64" + } + } + ] + } } ], "params": [ diff --git a/internal/endtoend/testdata/array_unnest/googlesql/exec.json b/internal/endtoend/testdata/array_unnest/googlesql/exec.json new file mode 100644 index 0000000000..2e996ca79d --- /dev/null +++ b/internal/endtoend/testdata/array_unnest/googlesql/exec.json @@ -0,0 +1,3 @@ +{ + "contexts": ["base"] +} diff --git a/internal/endtoend/testdata/array_unnest/googlesql/go/db.go b/internal/endtoend/testdata/array_unnest/googlesql/go/db.go new file mode 100644 index 0000000000..32faa9f2b8 --- /dev/null +++ b/internal/endtoend/testdata/array_unnest/googlesql/go/db.go @@ -0,0 +1,31 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 + +package querytest + +import ( + "context" + "database/sql" +) + +type DBTX interface { + ExecContext(context.Context, string, ...any) (sql.Result, error) + PrepareContext(context.Context, string) (*sql.Stmt, error) + QueryContext(context.Context, string, ...any) (*sql.Rows, error) + QueryRowContext(context.Context, string, ...any) *sql.Row +} + +func New(db DBTX) *Queries { + return &Queries{db: db} +} + +type Queries struct { + db DBTX +} + +func (q *Queries) WithTx(tx *sql.Tx) *Queries { + return &Queries{ + db: tx, + } +} diff --git a/internal/endtoend/testdata/array_unnest/googlesql/go/models.go b/internal/endtoend/testdata/array_unnest/googlesql/go/models.go new file mode 100644 index 0000000000..62304209ba --- /dev/null +++ b/internal/endtoend/testdata/array_unnest/googlesql/go/models.go @@ -0,0 +1,24 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 + +package querytest + +import ( + "database/sql" + + "cloud.google.com/go/spanner" +) + +type Album struct { + SingerID int64 + AlbumID int64 + Title sql.NullString +} + +type Singer struct { + SingerID int64 + Name string + Tags []spanner.NullString + Scores []spanner.NullInt64 +} diff --git a/internal/endtoend/testdata/array_unnest/googlesql/go/query.sql.go b/internal/endtoend/testdata/array_unnest/googlesql/go/query.sql.go new file mode 100644 index 0000000000..3443ac6d1a --- /dev/null +++ b/internal/endtoend/testdata/array_unnest/googlesql/go/query.sql.go @@ -0,0 +1,144 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 +// source: query.sql + +package querytest + +import ( + "context" + "database/sql" + + "cloud.google.com/go/spanner" +) + +const albumTitles = `-- name: AlbumTitles :one +SELECT singer_id, ARRAY(SELECT title FROM albums WHERE albums.singer_id = singers.singer_id) AS titles +FROM singers WHERE singer_id = @singer_id +` + +type AlbumTitlesRow struct { + SingerID int64 + Titles []spanner.NullString +} + +func (q *Queries) AlbumTitles(ctx context.Context, singerID int64) (AlbumTitlesRow, error) { + row := q.db.QueryRowContext(ctx, albumTitles, sql.Named("singer_id", singerID)) + var i AlbumTitlesRow + err := row.Scan(&i.SingerID, &i.Titles) + return i, err +} + +const firstTag = `-- name: FirstTag :one +SELECT tags[OFFSET(0)] AS first_tag, tags[SAFE_ORDINAL(@n)] AS nth_tag, scores[SAFE_OFFSET(0)] AS first_score +FROM singers WHERE singer_id = @singer_id +` + +type FirstTagParams struct { + N int64 + SingerID int64 +} + +type FirstTagRow struct { + FirstTag sql.NullString + NthTag sql.NullString + FirstScore sql.NullInt64 +} + +func (q *Queries) FirstTag(ctx context.Context, arg FirstTagParams) (FirstTagRow, error) { + row := q.db.QueryRowContext(ctx, firstTag, sql.Named("n", arg.N), sql.Named("singer_id", arg.SingerID)) + var i FirstTagRow + err := row.Scan(&i.FirstTag, &i.NthTag, &i.FirstScore) + return i, err +} + +const singerTags = `-- name: SingerTags :many +SELECT singer_id, tag FROM singers, UNNEST(tags) AS tag +` + +type SingerTagsRow struct { + SingerID int64 + Tag sql.NullString +} + +func (q *Queries) SingerTags(ctx context.Context) ([]SingerTagsRow, error) { + rows, err := q.db.QueryContext(ctx, singerTags) + if err != nil { + return nil, err + } + defer rows.Close() + var items []SingerTagsRow + for rows.Next() { + var i SingerTagsRow + if err := rows.Scan(&i.SingerID, &i.Tag); err != nil { + return nil, err + } + items = append(items, i) + } + if err := rows.Close(); err != nil { + return nil, err + } + if err := rows.Err(); err != nil { + return nil, err + } + return items, nil +} + +const singersByIDs = `-- name: SingersByIDs :many +SELECT singer_id, name FROM singers WHERE singer_id IN UNNEST(@ids) +` + +type SingersByIDsRow struct { + SingerID int64 + Name string +} + +func (q *Queries) SingersByIDs(ctx context.Context, ids []spanner.NullInt64) ([]SingersByIDsRow, error) { + rows, err := q.db.QueryContext(ctx, singersByIDs, sql.Named("ids", ids)) + if err != nil { + return nil, err + } + defer rows.Close() + var items []SingersByIDsRow + for rows.Next() { + var i SingersByIDsRow + if err := rows.Scan(&i.SingerID, &i.Name); err != nil { + return nil, err + } + items = append(items, i) + } + if err := rows.Close(); err != nil { + return nil, err + } + if err := rows.Err(); err != nil { + return nil, err + } + return items, nil +} + +const singersNotIn = `-- name: SingersNotIn :many +SELECT singer_id FROM singers WHERE singer_id NOT IN UNNEST(@ids) +` + +func (q *Queries) SingersNotIn(ctx context.Context, ids []spanner.NullInt64) ([]int64, error) { + rows, err := q.db.QueryContext(ctx, singersNotIn, sql.Named("ids", ids)) + if err != nil { + return nil, err + } + defer rows.Close() + var items []int64 + for rows.Next() { + var singer_id int64 + if err := rows.Scan(&singer_id); err != nil { + return nil, err + } + items = append(items, singer_id) + } + if err := rows.Close(); err != nil { + return nil, err + } + if err := rows.Err(); err != nil { + return nil, err + } + return items, nil +} diff --git a/internal/endtoend/testdata/array_unnest/googlesql/query.sql b/internal/endtoend/testdata/array_unnest/googlesql/query.sql new file mode 100644 index 0000000000..caf34a04a2 --- /dev/null +++ b/internal/endtoend/testdata/array_unnest/googlesql/query.sql @@ -0,0 +1,16 @@ +-- name: SingersByIDs :many +SELECT singer_id, name FROM singers WHERE singer_id IN UNNEST(@ids); + +-- name: SingersNotIn :many +SELECT singer_id FROM singers WHERE singer_id NOT IN UNNEST(@ids); + +-- name: SingerTags :many +SELECT singer_id, tag FROM singers, UNNEST(tags) AS tag; + +-- name: AlbumTitles :one +SELECT singer_id, ARRAY(SELECT title FROM albums WHERE albums.singer_id = singers.singer_id) AS titles +FROM singers WHERE singer_id = @singer_id; + +-- name: FirstTag :one +SELECT tags[OFFSET(0)] AS first_tag, tags[SAFE_ORDINAL(@n)] AS nth_tag, scores[SAFE_OFFSET(0)] AS first_score +FROM singers WHERE singer_id = @singer_id; diff --git a/internal/endtoend/testdata/array_unnest/googlesql/schema.sql b/internal/endtoend/testdata/array_unnest/googlesql/schema.sql new file mode 100644 index 0000000000..667e087fb6 --- /dev/null +++ b/internal/endtoend/testdata/array_unnest/googlesql/schema.sql @@ -0,0 +1,13 @@ +CREATE TABLE singers ( + singer_id INT64 NOT NULL, + name STRING(MAX) NOT NULL, + tags ARRAY, + scores ARRAY NOT NULL, +) PRIMARY KEY (singer_id); + +CREATE TABLE albums ( + singer_id INT64 NOT NULL, + album_id INT64 NOT NULL, + title STRING(MAX), +) PRIMARY KEY (singer_id, album_id), + INTERLEAVE IN PARENT singers ON DELETE CASCADE; diff --git a/internal/endtoend/testdata/array_unnest/googlesql/sqlc.json b/internal/endtoend/testdata/array_unnest/googlesql/sqlc.json new file mode 100644 index 0000000000..40d6c76211 --- /dev/null +++ b/internal/endtoend/testdata/array_unnest/googlesql/sqlc.json @@ -0,0 +1,12 @@ +{ + "version": "1", + "packages": [ + { + "path": "go", + "engine": "googlesql", + "name": "querytest", + "schema": "schema.sql", + "queries": "query.sql" + } + ] +} diff --git a/internal/endtoend/testdata/create_view/googlesql/exec.json b/internal/endtoend/testdata/create_view/googlesql/exec.json new file mode 100644 index 0000000000..2e996ca79d --- /dev/null +++ b/internal/endtoend/testdata/create_view/googlesql/exec.json @@ -0,0 +1,3 @@ +{ + "contexts": ["base"] +} diff --git a/internal/endtoend/testdata/create_view/googlesql/go/db.go b/internal/endtoend/testdata/create_view/googlesql/go/db.go new file mode 100644 index 0000000000..32faa9f2b8 --- /dev/null +++ b/internal/endtoend/testdata/create_view/googlesql/go/db.go @@ -0,0 +1,31 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 + +package querytest + +import ( + "context" + "database/sql" +) + +type DBTX interface { + ExecContext(context.Context, string, ...any) (sql.Result, error) + PrepareContext(context.Context, string) (*sql.Stmt, error) + QueryContext(context.Context, string, ...any) (*sql.Rows, error) + QueryRowContext(context.Context, string, ...any) *sql.Row +} + +func New(db DBTX) *Queries { + return &Queries{db: db} +} + +type Queries struct { + db DBTX +} + +func (q *Queries) WithTx(tx *sql.Tx) *Queries { + return &Queries{ + db: tx, + } +} diff --git a/internal/endtoend/testdata/create_view/googlesql/go/models.go b/internal/endtoend/testdata/create_view/googlesql/go/models.go new file mode 100644 index 0000000000..522a07f37d --- /dev/null +++ b/internal/endtoend/testdata/create_view/googlesql/go/models.go @@ -0,0 +1,15 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 + +package querytest + +import ( + "database/sql" +) + +type Venue struct { + ID int64 + Name string + City sql.NullString +} diff --git a/internal/endtoend/testdata/create_view/googlesql/go/query.sql.go b/internal/endtoend/testdata/create_view/googlesql/go/query.sql.go new file mode 100644 index 0000000000..da7ee04904 --- /dev/null +++ b/internal/endtoend/testdata/create_view/googlesql/go/query.sql.go @@ -0,0 +1,44 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 +// source: query.sql + +package querytest + +import ( + "context" + "database/sql" +) + +const listVenueNames = `-- name: ListVenueNames :many +SELECT id, name, city FROM venue_names +` + +type ListVenueNamesRow struct { + ID int64 + Name string + City sql.NullString +} + +func (q *Queries) ListVenueNames(ctx context.Context) ([]ListVenueNamesRow, error) { + rows, err := q.db.QueryContext(ctx, listVenueNames) + if err != nil { + return nil, err + } + defer rows.Close() + var items []ListVenueNamesRow + for rows.Next() { + var i ListVenueNamesRow + if err := rows.Scan(&i.ID, &i.Name, &i.City); err != nil { + return nil, err + } + items = append(items, i) + } + if err := rows.Close(); err != nil { + return nil, err + } + if err := rows.Err(); err != nil { + return nil, err + } + return items, nil +} diff --git a/internal/endtoend/testdata/create_view/googlesql/query.sql b/internal/endtoend/testdata/create_view/googlesql/query.sql new file mode 100644 index 0000000000..c82210095d --- /dev/null +++ b/internal/endtoend/testdata/create_view/googlesql/query.sql @@ -0,0 +1,2 @@ +-- name: ListVenueNames :many +SELECT * FROM venue_names; diff --git a/internal/endtoend/testdata/create_view/googlesql/schema.sql b/internal/endtoend/testdata/create_view/googlesql/schema.sql new file mode 100644 index 0000000000..6919db659e --- /dev/null +++ b/internal/endtoend/testdata/create_view/googlesql/schema.sql @@ -0,0 +1,11 @@ +CREATE TABLE venues ( + id INT64 NOT NULL, + name STRING(MAX) NOT NULL, + city STRING(MAX), +) PRIMARY KEY (id); +CREATE VIEW venue_names SQL SECURITY INVOKER AS +SELECT venues.id, venues.name FROM venues; +CREATE OR REPLACE VIEW venue_names SQL SECURITY INVOKER AS +SELECT venues.id, venues.name, venues.city FROM venues; +CREATE VIEW dropped SQL SECURITY INVOKER AS SELECT venues.id FROM venues; +DROP VIEW dropped; diff --git a/internal/endtoend/testdata/create_view/googlesql/sqlc.json b/internal/endtoend/testdata/create_view/googlesql/sqlc.json new file mode 100644 index 0000000000..40d6c76211 --- /dev/null +++ b/internal/endtoend/testdata/create_view/googlesql/sqlc.json @@ -0,0 +1,12 @@ +{ + "version": "1", + "packages": [ + { + "path": "go", + "engine": "googlesql", + "name": "querytest", + "schema": "schema.sql", + "queries": "query.sql" + } + ] +} diff --git a/internal/endtoend/testdata/ddl_alter_table_add_column/googlesql/exec.json b/internal/endtoend/testdata/ddl_alter_table_add_column/googlesql/exec.json new file mode 100644 index 0000000000..2e996ca79d --- /dev/null +++ b/internal/endtoend/testdata/ddl_alter_table_add_column/googlesql/exec.json @@ -0,0 +1,3 @@ +{ + "contexts": ["base"] +} diff --git a/internal/endtoend/testdata/ddl_alter_table_add_column/googlesql/go/db.go b/internal/endtoend/testdata/ddl_alter_table_add_column/googlesql/go/db.go new file mode 100644 index 0000000000..32faa9f2b8 --- /dev/null +++ b/internal/endtoend/testdata/ddl_alter_table_add_column/googlesql/go/db.go @@ -0,0 +1,31 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 + +package querytest + +import ( + "context" + "database/sql" +) + +type DBTX interface { + ExecContext(context.Context, string, ...any) (sql.Result, error) + PrepareContext(context.Context, string) (*sql.Stmt, error) + QueryContext(context.Context, string, ...any) (*sql.Rows, error) + QueryRowContext(context.Context, string, ...any) *sql.Row +} + +func New(db DBTX) *Queries { + return &Queries{db: db} +} + +type Queries struct { + db DBTX +} + +func (q *Queries) WithTx(tx *sql.Tx) *Queries { + return &Queries{ + db: tx, + } +} diff --git a/internal/endtoend/testdata/ddl_alter_table_add_column/googlesql/go/models.go b/internal/endtoend/testdata/ddl_alter_table_add_column/googlesql/go/models.go new file mode 100644 index 0000000000..36f498a442 --- /dev/null +++ b/internal/endtoend/testdata/ddl_alter_table_add_column/googlesql/go/models.go @@ -0,0 +1,16 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 + +package querytest + +import ( + "database/sql" +) + +type Venue struct { + ID int64 + Name sql.NullString + Location sql.NullString + Size int64 +} diff --git a/internal/endtoend/testdata/ddl_alter_table_add_column/googlesql/go/query.sql.go b/internal/endtoend/testdata/ddl_alter_table_add_column/googlesql/go/query.sql.go new file mode 100644 index 0000000000..a197546f8a --- /dev/null +++ b/internal/endtoend/testdata/ddl_alter_table_add_column/googlesql/go/query.sql.go @@ -0,0 +1,42 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 +// source: query.sql + +package querytest + +import ( + "context" +) + +const placeholder = `-- name: Placeholder :many +SELECT id, name, location, size FROM venues +` + +func (q *Queries) Placeholder(ctx context.Context) ([]Venue, error) { + rows, err := q.db.QueryContext(ctx, placeholder) + if err != nil { + return nil, err + } + defer rows.Close() + var items []Venue + for rows.Next() { + var i Venue + if err := rows.Scan( + &i.ID, + &i.Name, + &i.Location, + &i.Size, + ); err != nil { + return nil, err + } + items = append(items, i) + } + if err := rows.Close(); err != nil { + return nil, err + } + if err := rows.Err(); err != nil { + return nil, err + } + return items, nil +} diff --git a/internal/endtoend/testdata/ddl_alter_table_add_column/googlesql/query.sql b/internal/endtoend/testdata/ddl_alter_table_add_column/googlesql/query.sql new file mode 100644 index 0000000000..3564511e10 --- /dev/null +++ b/internal/endtoend/testdata/ddl_alter_table_add_column/googlesql/query.sql @@ -0,0 +1,2 @@ +-- name: Placeholder :many +SELECT * FROM venues; diff --git a/internal/endtoend/testdata/ddl_alter_table_add_column/googlesql/schema.sql b/internal/endtoend/testdata/ddl_alter_table_add_column/googlesql/schema.sql new file mode 100644 index 0000000000..d4a74b1bf5 --- /dev/null +++ b/internal/endtoend/testdata/ddl_alter_table_add_column/googlesql/schema.sql @@ -0,0 +1,6 @@ +CREATE TABLE venues ( + id INT64 NOT NULL, + name STRING(MAX), +) PRIMARY KEY (id); +ALTER TABLE venues ADD COLUMN location STRING(MAX); +ALTER TABLE venues ADD COLUMN IF NOT EXISTS size INT64 NOT NULL DEFAULT (0); diff --git a/internal/endtoend/testdata/ddl_alter_table_add_column/googlesql/sqlc.json b/internal/endtoend/testdata/ddl_alter_table_add_column/googlesql/sqlc.json new file mode 100644 index 0000000000..40d6c76211 --- /dev/null +++ b/internal/endtoend/testdata/ddl_alter_table_add_column/googlesql/sqlc.json @@ -0,0 +1,12 @@ +{ + "version": "1", + "packages": [ + { + "path": "go", + "engine": "googlesql", + "name": "querytest", + "schema": "schema.sql", + "queries": "query.sql" + } + ] +} diff --git a/internal/endtoend/testdata/ddl_alter_table_alter_type/googlesql/exec.json b/internal/endtoend/testdata/ddl_alter_table_alter_type/googlesql/exec.json new file mode 100644 index 0000000000..2e996ca79d --- /dev/null +++ b/internal/endtoend/testdata/ddl_alter_table_alter_type/googlesql/exec.json @@ -0,0 +1,3 @@ +{ + "contexts": ["base"] +} diff --git a/internal/endtoend/testdata/ddl_alter_table_alter_type/googlesql/go/db.go b/internal/endtoend/testdata/ddl_alter_table_alter_type/googlesql/go/db.go new file mode 100644 index 0000000000..32faa9f2b8 --- /dev/null +++ b/internal/endtoend/testdata/ddl_alter_table_alter_type/googlesql/go/db.go @@ -0,0 +1,31 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 + +package querytest + +import ( + "context" + "database/sql" +) + +type DBTX interface { + ExecContext(context.Context, string, ...any) (sql.Result, error) + PrepareContext(context.Context, string) (*sql.Stmt, error) + QueryContext(context.Context, string, ...any) (*sql.Rows, error) + QueryRowContext(context.Context, string, ...any) *sql.Row +} + +func New(db DBTX) *Queries { + return &Queries{db: db} +} + +type Queries struct { + db DBTX +} + +func (q *Queries) WithTx(tx *sql.Tx) *Queries { + return &Queries{ + db: tx, + } +} diff --git a/internal/endtoend/testdata/ddl_alter_table_alter_type/googlesql/go/models.go b/internal/endtoend/testdata/ddl_alter_table_alter_type/googlesql/go/models.go new file mode 100644 index 0000000000..8e18cbc391 --- /dev/null +++ b/internal/endtoend/testdata/ddl_alter_table_alter_type/googlesql/go/models.go @@ -0,0 +1,16 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 + +package querytest + +import ( + "database/sql" +) + +type Venue struct { + ID int64 + Name string + Capacity int64 + Notes sql.NullString +} diff --git a/internal/endtoend/testdata/ddl_alter_table_alter_type/googlesql/go/query.sql.go b/internal/endtoend/testdata/ddl_alter_table_alter_type/googlesql/go/query.sql.go new file mode 100644 index 0000000000..92690255c1 --- /dev/null +++ b/internal/endtoend/testdata/ddl_alter_table_alter_type/googlesql/go/query.sql.go @@ -0,0 +1,42 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 +// source: query.sql + +package querytest + +import ( + "context" +) + +const placeholder = `-- name: Placeholder :many +SELECT id, name, capacity, notes FROM venues +` + +func (q *Queries) Placeholder(ctx context.Context) ([]Venue, error) { + rows, err := q.db.QueryContext(ctx, placeholder) + if err != nil { + return nil, err + } + defer rows.Close() + var items []Venue + for rows.Next() { + var i Venue + if err := rows.Scan( + &i.ID, + &i.Name, + &i.Capacity, + &i.Notes, + ); err != nil { + return nil, err + } + items = append(items, i) + } + if err := rows.Close(); err != nil { + return nil, err + } + if err := rows.Err(); err != nil { + return nil, err + } + return items, nil +} diff --git a/internal/endtoend/testdata/ddl_alter_table_alter_type/googlesql/query.sql b/internal/endtoend/testdata/ddl_alter_table_alter_type/googlesql/query.sql new file mode 100644 index 0000000000..3564511e10 --- /dev/null +++ b/internal/endtoend/testdata/ddl_alter_table_alter_type/googlesql/query.sql @@ -0,0 +1,2 @@ +-- name: Placeholder :many +SELECT * FROM venues; diff --git a/internal/endtoend/testdata/ddl_alter_table_alter_type/googlesql/schema.sql b/internal/endtoend/testdata/ddl_alter_table_alter_type/googlesql/schema.sql new file mode 100644 index 0000000000..3571469d9e --- /dev/null +++ b/internal/endtoend/testdata/ddl_alter_table_alter_type/googlesql/schema.sql @@ -0,0 +1,9 @@ +CREATE TABLE venues ( + id INT64 NOT NULL, + name STRING(10) NOT NULL, + capacity INT64, + notes STRING(MAX) NOT NULL, +) PRIMARY KEY (id); +ALTER TABLE venues ALTER COLUMN name STRING(MAX) NOT NULL; +ALTER TABLE venues ALTER COLUMN capacity INT64 NOT NULL DEFAULT (0); +ALTER TABLE venues ALTER COLUMN notes STRING(MAX); diff --git a/internal/endtoend/testdata/ddl_alter_table_alter_type/googlesql/sqlc.json b/internal/endtoend/testdata/ddl_alter_table_alter_type/googlesql/sqlc.json new file mode 100644 index 0000000000..40d6c76211 --- /dev/null +++ b/internal/endtoend/testdata/ddl_alter_table_alter_type/googlesql/sqlc.json @@ -0,0 +1,12 @@ +{ + "version": "1", + "packages": [ + { + "path": "go", + "engine": "googlesql", + "name": "querytest", + "schema": "schema.sql", + "queries": "query.sql" + } + ] +} diff --git a/internal/endtoend/testdata/ddl_alter_table_drop_column/googlesql/exec.json b/internal/endtoend/testdata/ddl_alter_table_drop_column/googlesql/exec.json new file mode 100644 index 0000000000..2e996ca79d --- /dev/null +++ b/internal/endtoend/testdata/ddl_alter_table_drop_column/googlesql/exec.json @@ -0,0 +1,3 @@ +{ + "contexts": ["base"] +} diff --git a/internal/endtoend/testdata/ddl_alter_table_drop_column/googlesql/go/db.go b/internal/endtoend/testdata/ddl_alter_table_drop_column/googlesql/go/db.go new file mode 100644 index 0000000000..32faa9f2b8 --- /dev/null +++ b/internal/endtoend/testdata/ddl_alter_table_drop_column/googlesql/go/db.go @@ -0,0 +1,31 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 + +package querytest + +import ( + "context" + "database/sql" +) + +type DBTX interface { + ExecContext(context.Context, string, ...any) (sql.Result, error) + PrepareContext(context.Context, string) (*sql.Stmt, error) + QueryContext(context.Context, string, ...any) (*sql.Rows, error) + QueryRowContext(context.Context, string, ...any) *sql.Row +} + +func New(db DBTX) *Queries { + return &Queries{db: db} +} + +type Queries struct { + db DBTX +} + +func (q *Queries) WithTx(tx *sql.Tx) *Queries { + return &Queries{ + db: tx, + } +} diff --git a/internal/endtoend/testdata/ddl_alter_table_drop_column/googlesql/go/models.go b/internal/endtoend/testdata/ddl_alter_table_drop_column/googlesql/go/models.go new file mode 100644 index 0000000000..c67630d1c3 --- /dev/null +++ b/internal/endtoend/testdata/ddl_alter_table_drop_column/googlesql/go/models.go @@ -0,0 +1,14 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 + +package querytest + +import ( + "database/sql" +) + +type Venue struct { + ID int64 + Name sql.NullString +} diff --git a/internal/endtoend/testdata/ddl_alter_table_drop_column/googlesql/go/query.sql.go b/internal/endtoend/testdata/ddl_alter_table_drop_column/googlesql/go/query.sql.go new file mode 100644 index 0000000000..d0eefdd98e --- /dev/null +++ b/internal/endtoend/testdata/ddl_alter_table_drop_column/googlesql/go/query.sql.go @@ -0,0 +1,37 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 +// source: query.sql + +package querytest + +import ( + "context" +) + +const placeholder = `-- name: Placeholder :many +SELECT id, name FROM venues +` + +func (q *Queries) Placeholder(ctx context.Context) ([]Venue, error) { + rows, err := q.db.QueryContext(ctx, placeholder) + if err != nil { + return nil, err + } + defer rows.Close() + var items []Venue + for rows.Next() { + var i Venue + if err := rows.Scan(&i.ID, &i.Name); err != nil { + return nil, err + } + items = append(items, i) + } + if err := rows.Close(); err != nil { + return nil, err + } + if err := rows.Err(); err != nil { + return nil, err + } + return items, nil +} diff --git a/internal/endtoend/testdata/ddl_alter_table_drop_column/googlesql/query.sql b/internal/endtoend/testdata/ddl_alter_table_drop_column/googlesql/query.sql new file mode 100644 index 0000000000..3564511e10 --- /dev/null +++ b/internal/endtoend/testdata/ddl_alter_table_drop_column/googlesql/query.sql @@ -0,0 +1,2 @@ +-- name: Placeholder :many +SELECT * FROM venues; diff --git a/internal/endtoend/testdata/ddl_alter_table_drop_column/googlesql/schema.sql b/internal/endtoend/testdata/ddl_alter_table_drop_column/googlesql/schema.sql new file mode 100644 index 0000000000..6cd6d76fff --- /dev/null +++ b/internal/endtoend/testdata/ddl_alter_table_drop_column/googlesql/schema.sql @@ -0,0 +1,6 @@ +CREATE TABLE venues ( + id INT64 NOT NULL, + name STRING(MAX), + slug STRING(MAX), +) PRIMARY KEY (id); +ALTER TABLE venues DROP COLUMN slug; diff --git a/internal/endtoend/testdata/ddl_alter_table_drop_column/googlesql/sqlc.json b/internal/endtoend/testdata/ddl_alter_table_drop_column/googlesql/sqlc.json new file mode 100644 index 0000000000..40d6c76211 --- /dev/null +++ b/internal/endtoend/testdata/ddl_alter_table_drop_column/googlesql/sqlc.json @@ -0,0 +1,12 @@ +{ + "version": "1", + "packages": [ + { + "path": "go", + "engine": "googlesql", + "name": "querytest", + "schema": "schema.sql", + "queries": "query.sql" + } + ] +} diff --git a/internal/endtoend/testdata/ddl_alter_table_rename/googlesql/exec.json b/internal/endtoend/testdata/ddl_alter_table_rename/googlesql/exec.json new file mode 100644 index 0000000000..2e996ca79d --- /dev/null +++ b/internal/endtoend/testdata/ddl_alter_table_rename/googlesql/exec.json @@ -0,0 +1,3 @@ +{ + "contexts": ["base"] +} diff --git a/internal/endtoend/testdata/ddl_alter_table_rename/googlesql/go/db.go b/internal/endtoend/testdata/ddl_alter_table_rename/googlesql/go/db.go new file mode 100644 index 0000000000..32faa9f2b8 --- /dev/null +++ b/internal/endtoend/testdata/ddl_alter_table_rename/googlesql/go/db.go @@ -0,0 +1,31 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 + +package querytest + +import ( + "context" + "database/sql" +) + +type DBTX interface { + ExecContext(context.Context, string, ...any) (sql.Result, error) + PrepareContext(context.Context, string) (*sql.Stmt, error) + QueryContext(context.Context, string, ...any) (*sql.Rows, error) + QueryRowContext(context.Context, string, ...any) *sql.Row +} + +func New(db DBTX) *Queries { + return &Queries{db: db} +} + +type Queries struct { + db DBTX +} + +func (q *Queries) WithTx(tx *sql.Tx) *Queries { + return &Queries{ + db: tx, + } +} diff --git a/internal/endtoend/testdata/ddl_alter_table_rename/googlesql/go/models.go b/internal/endtoend/testdata/ddl_alter_table_rename/googlesql/go/models.go new file mode 100644 index 0000000000..b6eccd45e1 --- /dev/null +++ b/internal/endtoend/testdata/ddl_alter_table_rename/googlesql/go/models.go @@ -0,0 +1,13 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 + +package querytest + +type Arena struct { + ID int64 +} + +type Venue struct { + ID int64 +} diff --git a/internal/endtoend/testdata/ddl_alter_table_rename/googlesql/go/query.sql.go b/internal/endtoend/testdata/ddl_alter_table_rename/googlesql/go/query.sql.go new file mode 100644 index 0000000000..ef6ecead1f --- /dev/null +++ b/internal/endtoend/testdata/ddl_alter_table_rename/googlesql/go/query.sql.go @@ -0,0 +1,64 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 +// source: query.sql + +package querytest + +import ( + "context" +) + +const listArenas = `-- name: ListArenas :many +SELECT id FROM arena +` + +func (q *Queries) ListArenas(ctx context.Context) ([]int64, error) { + rows, err := q.db.QueryContext(ctx, listArenas) + if err != nil { + return nil, err + } + defer rows.Close() + var items []int64 + for rows.Next() { + var id int64 + if err := rows.Scan(&id); err != nil { + return nil, err + } + items = append(items, id) + } + if err := rows.Close(); err != nil { + return nil, err + } + if err := rows.Err(); err != nil { + return nil, err + } + return items, nil +} + +const listVenues = `-- name: ListVenues :many +SELECT id FROM venue +` + +func (q *Queries) ListVenues(ctx context.Context) ([]int64, error) { + rows, err := q.db.QueryContext(ctx, listVenues) + if err != nil { + return nil, err + } + defer rows.Close() + var items []int64 + for rows.Next() { + var id int64 + if err := rows.Scan(&id); err != nil { + return nil, err + } + items = append(items, id) + } + if err := rows.Close(); err != nil { + return nil, err + } + if err := rows.Err(); err != nil { + return nil, err + } + return items, nil +} diff --git a/internal/endtoend/testdata/ddl_alter_table_rename/googlesql/query.sql b/internal/endtoend/testdata/ddl_alter_table_rename/googlesql/query.sql new file mode 100644 index 0000000000..274ee7b250 --- /dev/null +++ b/internal/endtoend/testdata/ddl_alter_table_rename/googlesql/query.sql @@ -0,0 +1,5 @@ +-- name: ListVenues :many +SELECT * FROM venue; + +-- name: ListArenas :many +SELECT * FROM arena; diff --git a/internal/endtoend/testdata/ddl_alter_table_rename/googlesql/schema.sql b/internal/endtoend/testdata/ddl_alter_table_rename/googlesql/schema.sql new file mode 100644 index 0000000000..d6da5181dd --- /dev/null +++ b/internal/endtoend/testdata/ddl_alter_table_rename/googlesql/schema.sql @@ -0,0 +1,8 @@ +CREATE TABLE venues ( + id INT64 NOT NULL, +) PRIMARY KEY (id); +CREATE TABLE arenas ( + id INT64 NOT NULL, +) PRIMARY KEY (id); +ALTER TABLE venues RENAME TO venue; +RENAME TABLE arenas TO stadiums, stadiums TO arena; diff --git a/internal/endtoend/testdata/ddl_alter_table_rename/googlesql/sqlc.json b/internal/endtoend/testdata/ddl_alter_table_rename/googlesql/sqlc.json new file mode 100644 index 0000000000..40d6c76211 --- /dev/null +++ b/internal/endtoend/testdata/ddl_alter_table_rename/googlesql/sqlc.json @@ -0,0 +1,12 @@ +{ + "version": "1", + "packages": [ + { + "path": "go", + "engine": "googlesql", + "name": "querytest", + "schema": "schema.sql", + "queries": "query.sql" + } + ] +} diff --git a/internal/endtoend/testdata/ddl_spanner/googlesql/exec.json b/internal/endtoend/testdata/ddl_spanner/googlesql/exec.json new file mode 100644 index 0000000000..2e996ca79d --- /dev/null +++ b/internal/endtoend/testdata/ddl_spanner/googlesql/exec.json @@ -0,0 +1,3 @@ +{ + "contexts": ["base"] +} diff --git a/internal/endtoend/testdata/ddl_spanner/googlesql/go/db.go b/internal/endtoend/testdata/ddl_spanner/googlesql/go/db.go new file mode 100644 index 0000000000..32faa9f2b8 --- /dev/null +++ b/internal/endtoend/testdata/ddl_spanner/googlesql/go/db.go @@ -0,0 +1,31 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 + +package querytest + +import ( + "context" + "database/sql" +) + +type DBTX interface { + ExecContext(context.Context, string, ...any) (sql.Result, error) + PrepareContext(context.Context, string) (*sql.Stmt, error) + QueryContext(context.Context, string, ...any) (*sql.Rows, error) + QueryRowContext(context.Context, string, ...any) *sql.Row +} + +func New(db DBTX) *Queries { + return &Queries{db: db} +} + +type Queries struct { + db DBTX +} + +func (q *Queries) WithTx(tx *sql.Tx) *Queries { + return &Queries{ + db: tx, + } +} diff --git a/internal/endtoend/testdata/ddl_spanner/googlesql/go/models.go b/internal/endtoend/testdata/ddl_spanner/googlesql/go/models.go new file mode 100644 index 0000000000..973faeb46e --- /dev/null +++ b/internal/endtoend/testdata/ddl_spanner/googlesql/go/models.go @@ -0,0 +1,35 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 + +package querytest + +import ( + "database/sql" + "time" + + "cloud.google.com/go/spanner" +) + +type Album struct { + SingerID int64 + AlbumID int64 + Title sql.NullString + CreatedAt sql.NullTime +} + +type Singer struct { + SingerID int64 + FirstName sql.NullString + LastName string + FullName string + Active bool + UpdatedAt time.Time +} + +type Ticket struct { + TicketID int64 + SingerID int64 + SeatID sql.NullInt64 + Embedding []spanner.NullFloat32 +} diff --git a/internal/endtoend/testdata/ddl_spanner/googlesql/go/query.sql.go b/internal/endtoend/testdata/ddl_spanner/googlesql/go/query.sql.go new file mode 100644 index 0000000000..34ff922f61 --- /dev/null +++ b/internal/endtoend/testdata/ddl_spanner/googlesql/go/query.sql.go @@ -0,0 +1,109 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 +// source: query.sql + +package querytest + +import ( + "context" + "database/sql" +) + +const listAlbums = `-- name: ListAlbums :many +SELECT singer_id, album_id, title, created_at FROM albums WHERE singer_id = @singer_id +` + +func (q *Queries) ListAlbums(ctx context.Context, singerID int64) ([]Album, error) { + rows, err := q.db.QueryContext(ctx, listAlbums, sql.Named("singer_id", singerID)) + if err != nil { + return nil, err + } + defer rows.Close() + var items []Album + for rows.Next() { + var i Album + if err := rows.Scan( + &i.SingerID, + &i.AlbumID, + &i.Title, + &i.CreatedAt, + ); err != nil { + return nil, err + } + items = append(items, i) + } + if err := rows.Close(); err != nil { + return nil, err + } + if err := rows.Err(); err != nil { + return nil, err + } + return items, nil +} + +const listSingers = `-- name: ListSingers :many +SELECT singer_id, first_name, last_name, full_name, active, updated_at FROM singers +` + +func (q *Queries) ListSingers(ctx context.Context) ([]Singer, error) { + rows, err := q.db.QueryContext(ctx, listSingers) + if err != nil { + return nil, err + } + defer rows.Close() + var items []Singer + for rows.Next() { + var i Singer + if err := rows.Scan( + &i.SingerID, + &i.FirstName, + &i.LastName, + &i.FullName, + &i.Active, + &i.UpdatedAt, + ); err != nil { + return nil, err + } + items = append(items, i) + } + if err := rows.Close(); err != nil { + return nil, err + } + if err := rows.Err(); err != nil { + return nil, err + } + return items, nil +} + +const listTickets = `-- name: ListTickets :many +SELECT ticket_id, singer_id, seat_id, embedding FROM tickets +` + +func (q *Queries) ListTickets(ctx context.Context) ([]Ticket, error) { + rows, err := q.db.QueryContext(ctx, listTickets) + if err != nil { + return nil, err + } + defer rows.Close() + var items []Ticket + for rows.Next() { + var i Ticket + if err := rows.Scan( + &i.TicketID, + &i.SingerID, + &i.SeatID, + &i.Embedding, + ); err != nil { + return nil, err + } + items = append(items, i) + } + if err := rows.Close(); err != nil { + return nil, err + } + if err := rows.Err(); err != nil { + return nil, err + } + return items, nil +} diff --git a/internal/endtoend/testdata/ddl_spanner/googlesql/query.sql b/internal/endtoend/testdata/ddl_spanner/googlesql/query.sql new file mode 100644 index 0000000000..c42d016638 --- /dev/null +++ b/internal/endtoend/testdata/ddl_spanner/googlesql/query.sql @@ -0,0 +1,8 @@ +-- name: ListSingers :many +SELECT * FROM singers; + +-- name: ListAlbums :many +SELECT * FROM albums WHERE singer_id = @singer_id; + +-- name: ListTickets :many +SELECT * FROM tickets; diff --git a/internal/endtoend/testdata/ddl_spanner/googlesql/schema.sql b/internal/endtoend/testdata/ddl_spanner/googlesql/schema.sql new file mode 100644 index 0000000000..fb0203267e --- /dev/null +++ b/internal/endtoend/testdata/ddl_spanner/googlesql/schema.sql @@ -0,0 +1,42 @@ +CREATE SEQUENCE ticket_ids OPTIONS (sequence_kind = 'bit_reversed_positive'); + +CREATE TABLE singers ( + singer_id INT64 NOT NULL, + first_name STRING(1024), + last_name STRING(1024) NOT NULL, + full_name STRING(2048) NOT NULL AS (ARRAY_TO_STRING([first_name, last_name], ' ')) STORED, + active BOOL NOT NULL DEFAULT (true), + updated_at TIMESTAMP NOT NULL OPTIONS (allow_commit_timestamp = true), + name_tokens TOKENLIST AS (TOKENIZE_FULLTEXT(last_name)) HIDDEN, +) PRIMARY KEY (singer_id); + +CREATE TABLE albums ( + singer_id INT64 NOT NULL, + album_id INT64 NOT NULL, + title STRING(MAX), + created_at TIMESTAMP, + CONSTRAINT title_not_empty CHECK (title != ''), +) PRIMARY KEY (singer_id, album_id), + INTERLEAVE IN PARENT singers ON DELETE CASCADE, + ROW DELETION POLICY (OLDER_THAN(created_at, INTERVAL 30 DAY)); + +CREATE TABLE tickets ( + ticket_id INT64 NOT NULL DEFAULT (GET_NEXT_SEQUENCE_VALUE(SEQUENCE ticket_ids)), + singer_id INT64 NOT NULL, + seat_id INT64 GENERATED BY DEFAULT AS IDENTITY (BIT_REVERSED_POSITIVE), + embedding ARRAY(vector_length=>3), + CONSTRAINT fk_singer FOREIGN KEY (singer_id) REFERENCES singers (singer_id), +) PRIMARY KEY (ticket_id); + +CREATE INDEX albums_by_title ON albums(title); +CREATE UNIQUE NULL_FILTERED INDEX singers_by_last_name ON singers(last_name) STORING (first_name); +CREATE SEARCH INDEX singers_by_name_tokens ON singers(name_tokens); +CREATE VECTOR INDEX tickets_by_embedding ON tickets(embedding) WHERE embedding IS NOT NULL OPTIONS (distance_type = 'COSINE'); + +CREATE CHANGE STREAM everything FOR ALL; +CREATE CHANGE STREAM singer_changes FOR singers(first_name, last_name) OPTIONS (retention_period = '7d'); + +CREATE ROLE reader; +GRANT SELECT ON TABLE singers, albums TO ROLE reader; + +ALTER TABLE albums REPLACE ROW DELETION POLICY (OLDER_THAN(created_at, INTERVAL 60 DAY)); diff --git a/internal/endtoend/testdata/ddl_spanner/googlesql/sqlc.json b/internal/endtoend/testdata/ddl_spanner/googlesql/sqlc.json new file mode 100644 index 0000000000..40d6c76211 --- /dev/null +++ b/internal/endtoend/testdata/ddl_spanner/googlesql/sqlc.json @@ -0,0 +1,12 @@ +{ + "version": "1", + "packages": [ + { + "path": "go", + "engine": "googlesql", + "name": "querytest", + "schema": "schema.sql", + "queries": "query.sql" + } + ] +} diff --git a/internal/endtoend/testdata/func_nullability/googlesql/exec.json b/internal/endtoend/testdata/func_nullability/googlesql/exec.json new file mode 100644 index 0000000000..2e996ca79d --- /dev/null +++ b/internal/endtoend/testdata/func_nullability/googlesql/exec.json @@ -0,0 +1,3 @@ +{ + "contexts": ["base"] +} diff --git a/internal/endtoend/testdata/func_nullability/googlesql/go/db.go b/internal/endtoend/testdata/func_nullability/googlesql/go/db.go new file mode 100644 index 0000000000..32faa9f2b8 --- /dev/null +++ b/internal/endtoend/testdata/func_nullability/googlesql/go/db.go @@ -0,0 +1,31 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 + +package querytest + +import ( + "context" + "database/sql" +) + +type DBTX interface { + ExecContext(context.Context, string, ...any) (sql.Result, error) + PrepareContext(context.Context, string) (*sql.Stmt, error) + QueryContext(context.Context, string, ...any) (*sql.Rows, error) + QueryRowContext(context.Context, string, ...any) *sql.Row +} + +func New(db DBTX) *Queries { + return &Queries{db: db} +} + +type Queries struct { + db DBTX +} + +func (q *Queries) WithTx(tx *sql.Tx) *Queries { + return &Queries{ + db: tx, + } +} diff --git a/internal/endtoend/testdata/func_nullability/googlesql/go/models.go b/internal/endtoend/testdata/func_nullability/googlesql/go/models.go new file mode 100644 index 0000000000..2880a343dc --- /dev/null +++ b/internal/endtoend/testdata/func_nullability/googlesql/go/models.go @@ -0,0 +1,24 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 + +package querytest + +import ( + "database/sql" + "math/big" + "time" + + "cloud.google.com/go/spanner" +) + +type Event struct { + ID int64 + Name string + Nickname sql.NullString + Amount big.Rat + Ratio sql.NullFloat64 + HappenedAt time.Time + Details spanner.NullJSON + Scores []spanner.NullInt64 +} diff --git a/internal/endtoend/testdata/func_nullability/googlesql/go/query.sql.go b/internal/endtoend/testdata/func_nullability/googlesql/go/query.sql.go new file mode 100644 index 0000000000..62cd454cf2 --- /dev/null +++ b/internal/endtoend/testdata/func_nullability/googlesql/go/query.sql.go @@ -0,0 +1,205 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 +// source: query.sql + +package querytest + +import ( + "context" + "database/sql" + "time" + + "cloud.google.com/go/civil" + "cloud.google.com/go/spanner" +) + +const aggregates = `-- name: Aggregates :one +SELECT COUNT(*) AS total, SUM(amount) AS total_amount, AVG(id) AS mean_id, MAX(name) AS last_name, + ARRAY_AGG(id) AS ids, STRING_AGG(name, ',') AS names +FROM events +` + +type AggregatesRow struct { + Total int64 + TotalAmount spanner.NullNumeric + MeanID sql.NullFloat64 + LastName sql.NullString + Ids []spanner.NullInt64 + Names sql.NullString +} + +func (q *Queries) Aggregates(ctx context.Context) (AggregatesRow, error) { + row := q.db.QueryRowContext(ctx, aggregates) + var i AggregatesRow + err := row.Scan( + &i.Total, + &i.TotalAmount, + &i.MeanID, + &i.LastName, + &i.Ids, + &i.Names, + ) + return i, err +} + +const conditionals = `-- name: Conditionals :many +SELECT COALESCE(nickname, name) AS display_name, IFNULL(ratio, 0) AS ratio_or_zero, + NULLIF(name, '') AS non_empty, IF(id > 10, name, nickname) AS chosen, GREATEST(id, 1) AS at_least_one +FROM events +` + +type ConditionalsRow struct { + DisplayName string + RatioOrZero float64 + NonEmpty sql.NullString + Chosen sql.NullString + AtLeastOne int64 +} + +func (q *Queries) Conditionals(ctx context.Context) ([]ConditionalsRow, error) { + rows, err := q.db.QueryContext(ctx, conditionals) + if err != nil { + return nil, err + } + defer rows.Close() + var items []ConditionalsRow + for rows.Next() { + var i ConditionalsRow + if err := rows.Scan( + &i.DisplayName, + &i.RatioOrZero, + &i.NonEmpty, + &i.Chosen, + &i.AtLeastOne, + ); err != nil { + return nil, err + } + items = append(items, i) + } + if err := rows.Close(); err != nil { + return nil, err + } + if err := rows.Err(); err != nil { + return nil, err + } + return items, nil +} + +const mayBeNull = `-- name: MayBeNull :many +SELECT JSON_VALUE(details, '$.kind') AS kind, REGEXP_EXTRACT(name, 'a+') AS run, + SAFE_DIVIDE(id, 0) AS ratio, SAFE.SUBSTR(name, 1, 3) AS prefix, ARRAY_FIRST(scores) AS first_score +FROM events +` + +type MayBeNullRow struct { + Kind sql.NullString + Run sql.NullString + Ratio sql.NullFloat64 + Prefix sql.NullString + FirstScore sql.NullInt64 +} + +func (q *Queries) MayBeNull(ctx context.Context) ([]MayBeNullRow, error) { + rows, err := q.db.QueryContext(ctx, mayBeNull) + if err != nil { + return nil, err + } + defer rows.Close() + var items []MayBeNullRow + for rows.Next() { + var i MayBeNullRow + if err := rows.Scan( + &i.Kind, + &i.Run, + &i.Ratio, + &i.Prefix, + &i.FirstScore, + ); err != nil { + return nil, err + } + items = append(items, i) + } + if err := rows.Close(); err != nil { + return nil, err + } + if err := rows.Err(); err != nil { + return nil, err + } + return items, nil +} + +const paramsFromFunctions = `-- name: ParamsFromFunctions :many +SELECT id FROM events +WHERE STARTS_WITH(name, @prefix) AND TIMESTAMP_TRUNC(happened_at, DAY) = @day + AND EXTRACT(DATE FROM happened_at) = @on AND ARRAY_INCLUDES(scores, @score) +` + +type ParamsFromFunctionsParams struct { + Prefix string + Day time.Time + On civil.Date + Score int64 +} + +func (q *Queries) ParamsFromFunctions(ctx context.Context, arg ParamsFromFunctionsParams) ([]int64, error) { + rows, err := q.db.QueryContext(ctx, paramsFromFunctions, + sql.Named("prefix", arg.Prefix), + sql.Named("day", arg.Day), + sql.Named("on", arg.On), + sql.Named("score", arg.Score), + ) + if err != nil { + return nil, err + } + defer rows.Close() + var items []int64 + for rows.Next() { + var id int64 + if err := rows.Scan(&id); err != nil { + return nil, err + } + items = append(items, id) + } + if err := rows.Close(); err != nil { + return nil, err + } + if err := rows.Err(); err != nil { + return nil, err + } + return items, nil +} + +const propagates = `-- name: Propagates :many +SELECT UPPER(name) AS upper_name, UPPER(nickname) AS upper_nickname, LENGTH(nickname) AS nickname_length +FROM events +` + +type PropagatesRow struct { + UpperName string + UpperNickname sql.NullString + NicknameLength sql.NullInt64 +} + +func (q *Queries) Propagates(ctx context.Context) ([]PropagatesRow, error) { + rows, err := q.db.QueryContext(ctx, propagates) + if err != nil { + return nil, err + } + defer rows.Close() + var items []PropagatesRow + for rows.Next() { + var i PropagatesRow + if err := rows.Scan(&i.UpperName, &i.UpperNickname, &i.NicknameLength); err != nil { + return nil, err + } + items = append(items, i) + } + if err := rows.Close(); err != nil { + return nil, err + } + if err := rows.Err(); err != nil { + return nil, err + } + return items, nil +} diff --git a/internal/endtoend/testdata/func_nullability/googlesql/query.sql b/internal/endtoend/testdata/func_nullability/googlesql/query.sql new file mode 100644 index 0000000000..517af79cc8 --- /dev/null +++ b/internal/endtoend/testdata/func_nullability/googlesql/query.sql @@ -0,0 +1,23 @@ +-- name: Aggregates :one +SELECT COUNT(*) AS total, SUM(amount) AS total_amount, AVG(id) AS mean_id, MAX(name) AS last_name, + ARRAY_AGG(id) AS ids, STRING_AGG(name, ',') AS names +FROM events; + +-- name: Propagates :many +SELECT UPPER(name) AS upper_name, UPPER(nickname) AS upper_nickname, LENGTH(nickname) AS nickname_length +FROM events; + +-- name: MayBeNull :many +SELECT JSON_VALUE(details, '$.kind') AS kind, REGEXP_EXTRACT(name, 'a+') AS run, + SAFE_DIVIDE(id, 0) AS ratio, SAFE.SUBSTR(name, 1, 3) AS prefix, ARRAY_FIRST(scores) AS first_score +FROM events; + +-- name: Conditionals :many +SELECT COALESCE(nickname, name) AS display_name, IFNULL(ratio, 0) AS ratio_or_zero, + NULLIF(name, '') AS non_empty, IF(id > 10, name, nickname) AS chosen, GREATEST(id, 1) AS at_least_one +FROM events; + +-- name: ParamsFromFunctions :many +SELECT id FROM events +WHERE STARTS_WITH(name, @prefix) AND TIMESTAMP_TRUNC(happened_at, DAY) = @day + AND EXTRACT(DATE FROM happened_at) = @on AND ARRAY_INCLUDES(scores, @score); diff --git a/internal/endtoend/testdata/func_nullability/googlesql/schema.sql b/internal/endtoend/testdata/func_nullability/googlesql/schema.sql new file mode 100644 index 0000000000..cce2a7cf8e --- /dev/null +++ b/internal/endtoend/testdata/func_nullability/googlesql/schema.sql @@ -0,0 +1,10 @@ +CREATE TABLE events ( + id INT64 NOT NULL, + name STRING(MAX) NOT NULL, + nickname STRING(MAX), + amount NUMERIC NOT NULL, + ratio FLOAT64, + happened_at TIMESTAMP NOT NULL, + details JSON NOT NULL, + scores ARRAY NOT NULL, +) PRIMARY KEY (id); diff --git a/internal/endtoend/testdata/func_nullability/googlesql/sqlc.json b/internal/endtoend/testdata/func_nullability/googlesql/sqlc.json new file mode 100644 index 0000000000..40d6c76211 --- /dev/null +++ b/internal/endtoend/testdata/func_nullability/googlesql/sqlc.json @@ -0,0 +1,12 @@ +{ + "version": "1", + "packages": [ + { + "path": "go", + "engine": "googlesql", + "name": "querytest", + "schema": "schema.sql", + "queries": "query.sql" + } + ] +} diff --git a/internal/engine/googlesql/convert.go b/internal/engine/googlesql/convert.go index abce8d5bdf..aa694299b6 100644 --- a/internal/engine/googlesql/convert.go +++ b/internal/engine/googlesql/convert.go @@ -28,6 +28,12 @@ func (c *cc) convert(node zjast.Node) ast.Node { return c.convertDeleteStatement(n) case *zjast.CreateTableStatement: return c.convertCreateTableStatement(n) + case *zjast.CreateViewStatement: + return c.convertCreateViewStatement(n) + case *zjast.AlterStatement: + return c.convertAlterStatement(n) + case *zjast.RenameStatement: + return c.convertRenameStatement(n) case *zjast.DropStatement: return c.convertDropStatement(n) case *zjast.TruncateStatement: @@ -473,10 +479,45 @@ func (c *cc) convertExpr(node zjast.Node) ast.Node { Arg: c.convertExpr(n.Array), Indirection: &ast.List{ Items: []ast.Node{ - &ast.A_Indices{Uidx: c.convertExpr(n.Position)}, + &ast.A_Indices{Uidx: c.convertExpr(arrayPosition(n.Position))}, }, }, } + case *zjast.ArrayConstructor: + return c.convertArrayConstructor(n) + case *zjast.ExtractExpression: + return c.convertExtractExpression(n) + case *zjast.DateOrTimeLiteral: + kind := strings.ToLower(strings.TrimPrefix(n.TypeKind, "TYPE_")) + return c.typedLiteral(n.Value, kind, n.Pos()) + case *zjast.NumericLiteral: + return c.typedLiteral(n.Value, "numeric", n.Pos()) + case *zjast.BigNumericLiteral: + return c.typedLiteral(n.Value, "bignumeric", n.Pos()) + case *zjast.JSONLiteral: + return c.typedLiteral(n.Value, "json", n.Pos()) + case *zjast.BytesLiteral: + var sb strings.Builder + for _, comp := range n.Components { + if comp != nil { + sb.WriteString(unquote(comp.Image)) + } + } + return &ast.TypeCast{ + Arg: &ast.A_Const{Val: &ast.String{Str: sb.String()}, Location: n.Pos()}, + TypeName: spelledTypeName("bytes"), + Location: n.Pos(), + } + case *zjast.IntervalExpr: + unit := "" + if n.DatePart != nil { + unit = strings.ToLower(n.DatePart.Name) + } + return &ast.IntervalExpr{ + Value: c.convertExpr(n.Value), + Unit: unit, + Location: n.Pos(), + } case *zjast.NamedArgument: return c.convertExpr(n.Value) case *zjast.ExpressionWithAlias: @@ -613,6 +654,25 @@ func (c *cc) convertBoolExpr(op ast.BoolExprType, operands []zjast.Node, loc int } func (c *cc) convertInExpression(n *zjast.InExpression) ast.Node { + // "x IN UNNEST(array)" tests membership of an array, which is what + // "x = ANY(array)" says. + if n.UnnestExpr != nil && len(n.UnnestExpr.Expressions) == 1 && n.UnnestExpr.Expressions[0] != nil { + var expr ast.Node = &ast.A_Expr{ + Kind: ast.A_Expr_Kind_OP_ANY, + Name: &ast.List{Items: []ast.Node{&ast.String{Str: "="}}}, + Lexpr: c.convertExpr(n.Lhs), + Rexpr: c.convertExpr(n.UnnestExpr.Expressions[0].Expr), + Location: n.Pos(), + } + if n.IsNot { + expr = &ast.BoolExpr{ + Boolop: ast.BoolExprTypeNot, + Args: &ast.List{Items: []ast.Node{expr}}, + Location: n.Pos(), + } + } + return expr + } in := &ast.In{ Expr: c.convertExpr(n.Lhs), Not: n.IsNot, @@ -690,6 +750,89 @@ func (c *cc) newFuncCall(parts []string, loc int) *ast.FuncCall { } } +// convertConditional converts the conditional functions whose result is one +// of their arguments to the nodes that say so, which is what types the +// result after the arguments and makes it nullable only when it can be: +// COALESCE and IFNULL, NULLIF, IF, GREATEST and LEAST. It returns nil for +// anything else. +func (c *cc) convertConditional(name string, args []zjast.Node, loc int) ast.Node { + convert := func() *ast.List { + list := &ast.List{} + for _, arg := range args { + list.Items = append(list.Items, c.convertExpr(arg)) + } + return list + } + switch { + case (name == "coalesce" && len(args) > 0) || (name == "ifnull" && len(args) == 2): + return &ast.CoalesceExpr{Args: convert(), Location: loc} + case name == "nullif" && len(args) == 2: + return &ast.A_Expr{ + Kind: ast.A_Expr_Kind_NULLIF, + Name: &ast.List{Items: []ast.Node{&ast.String{Str: "="}}}, + Lexpr: c.convertExpr(args[0]), + Rexpr: c.convertExpr(args[1]), + Location: loc, + } + case name == "if" && len(args) == 3: + return c.buildCaseExpr(nil, args, loc) + case (name == "greatest" || name == "least") && len(args) > 0: + // The ops number as PostgreSQL's do: IS_GREATEST, then IS_LEAST. + op := ast.MinMaxOp(0) + if name == "least" { + op = 1 + } + return &ast.MinMaxExpr{Op: op, Args: convert(), Location: loc} + } + return nil +} + +// typedLiteral converts a literal spelled with its type, DATE '2024-01-01' +// or JSON '{}', to its string cast to that type. +func (c *cc) typedLiteral(value *zjast.StringLiteral, typ string, loc int) ast.Node { + if value == nil || typ == "" { + return todo(value) + } + return &ast.TypeCast{ + Arg: &ast.A_Const{Val: &ast.String{Str: stringLiteralValue(value)}, Location: value.Pos()}, + TypeName: spelledTypeName(typ), + Location: loc, + } +} + +// convertArrayConstructor converts [a, b] and ARRAY[a, b]. An explicit +// element type is a cast of the array to it, which is what gives an empty +// array its type. +func (c *cc) convertArrayConstructor(n *zjast.ArrayConstructor) ast.Node { + arr := &ast.A_ArrayExpr{Elements: &ast.List{}, Location: n.Pos()} + for _, elem := range n.Elements { + arr.Elements.Items = append(arr.Elements.Items, c.convertExpr(elem)) + } + if n.Type == nil { + return arr + } + return &ast.TypeCast{ + Arg: arr, + TypeName: spelledTypeName(typeName(n.Type)), + Location: n.Pos(), + } +} + +// arrayPosition unwraps the OFFSET, ORDINAL, SAFE_OFFSET or SAFE_ORDINAL +// that says how an array subscript counts to the position it wraps. They all +// address one element, so they type alike. +func arrayPosition(node zjast.Node) zjast.Node { + call, ok := node.(*zjast.FunctionCall) + if !ok || call.IsChained || len(call.Args) != 1 { + return node + } + switch strings.ToUpper(strings.Join(pathParts(call.Function), ".")) { + case "OFFSET", "ORDINAL", "SAFE_OFFSET", "SAFE_ORDINAL": + return call.Args[0] + } + return node +} + func (c *cc) convertFunctionCall(n *zjast.FunctionCall) ast.Node { // Chained calls ("expr.method(...)") have no sqlc AST equivalent. if n.IsChained { @@ -699,13 +842,38 @@ func (c *cc) convertFunctionCall(n *zjast.FunctionCall) ast.Node { if len(parts) == 0 { return todo(n) } + // SAFE.f(...) is f(...), except that it returns NULL where f raises an + // error, so its result is f's made nullable: a CASE with no ELSE. + if len(parts) == 2 && strings.EqualFold(parts[0], "SAFE") { + call := *n + call.Function = &zjast.PathExpression{Names: n.Function.Names[1:]} + return &ast.CaseExpr{ + Args: &ast.List{Items: []ast.Node{&ast.CaseWhen{ + Expr: &ast.A_Const{Val: &ast.Boolean{Boolval: true}, Location: n.Pos()}, + Result: c.convertFunctionCall(&call), + }}}, + Location: n.Pos(), + } + } + if len(parts) == 1 && !n.Distinct && n.OrderBy == nil { + if expr := c.convertConditional(strings.ToLower(parts[0]), n.Args, n.Pos()); expr != nil { + return expr + } + } fc := c.newFuncCall(parts, n.Pos()) fc.AggDistinct = n.Distinct - for _, arg := range n.Args { + partArg, hasPart := datePartArg[fc.Func.Name] + for i, arg := range n.Args { if _, ok := arg.(*zjast.Star); ok { fc.AggStar = true continue } + if hasPart && i == partArg { + if part, ok := datePart(arg); ok { + fc.Args.Items = append(fc.Args.Items, &ast.A_Const{Val: &ast.String{Str: part}, Location: arg.Pos()}) + continue + } + } fc.Args.Items = append(fc.Args.Items, c.convertExpr(arg)) } if n.OrderBy != nil { @@ -714,6 +882,56 @@ func (c *cc) convertFunctionCall(n *zjast.FunctionCall) ast.Node { return fc } +// datePartArg is the position of the argument naming a date part, DAY or +// WEEK(MONDAY), in the functions that take one. The part is a keyword, not +// a column, so it is converted to a string. +var datePartArg = map[string]int{ + "date_diff": 2, + "date_trunc": 1, + "timestamp_diff": 2, + "timestamp_trunc": 1, + "last_day": 1, +} + +// datePart spells a date part argument: DAY, or WEEK(MONDAY). +func datePart(node zjast.Node) (string, bool) { + switch n := node.(type) { + case *zjast.PathExpression: + if parts := pathParts(n); len(parts) == 1 { + return strings.ToUpper(parts[0]), true + } + case *zjast.FunctionCall: + parts := pathParts(n.Function) + if len(parts) == 1 && len(n.Args) == 1 { + if arg, ok := datePart(n.Args[0]); ok { + return strings.ToUpper(parts[0]) + "(" + arg + ")", true + } + } + } + return "", false +} + +// convertExtractExpression converts EXTRACT(part FROM expr). Every part is +// an INT64 but DATE, which is the date of a timestamp, so EXTRACT is the +// extract function the dialect seeds as INT64, and EXTRACT(DATE FROM ts) +// is date(ts). +func (c *cc) convertExtractExpression(n *zjast.ExtractExpression) ast.Node { + part, ok := datePart(n.LhsExpr) + if !ok || n.RhsExpr == nil { + return todo(n) + } + name := "extract" + if part == "DATE" { + name = "date" + } + fc := c.newFuncCall([]string{name}, n.Pos()) + fc.Args.Items = append(fc.Args.Items, c.convertExpr(n.RhsExpr)) + if n.TimeZone != nil { + fc.Args.Items = append(fc.Args.Items, c.convertExpr(n.TimeZone)) + } + return fc +} + func (c *cc) convertAnalyticFunctionCall(n *zjast.AnalyticFunctionCall) ast.Node { base := c.convertExpr(n.Expr) fc, ok := base.(*ast.FuncCall) @@ -932,12 +1150,17 @@ func (c *cc) convertColumnDefinition(n *zjast.ColumnDefinition) *ast.ColumnDef { col.IsNotNull = true case *zjast.PrimaryKeyColumnAttribute: col.PrimaryKey = true + case *zjast.HiddenColumnAttribute: + // Spanner leaves a HIDDEN column out of SELECT *. + col.IsHidden = true } } } if simple, ok := n.Schema.(*zjast.SimpleColumnSchema); ok { - if simple.DefaultExpression != nil { + // A generated column's "AS (expression) STORED" and an identity + // column's IDENTITY(...) arrive here too; neither is a default. + if _, generated := simple.DefaultExpression.(*zjast.GeneratedColumnInfo); !generated && simple.DefaultExpression != nil { col.RawDefault = c.convertExpr(simple.DefaultExpression) } } @@ -945,10 +1168,174 @@ func (c *cc) convertColumnDefinition(n *zjast.ColumnDefinition) *ast.ColumnDef { return col } +// convertCreateViewStatement converts CREATE [OR REPLACE] VIEW. Spanner's +// SQL SECURITY clause says nothing about the view's columns. +func (c *cc) convertCreateViewStatement(n *zjast.CreateViewStatement) ast.Node { + if n.ViewKind != "" || n.Query == nil || n.Name == nil { + return todo(n) + } + stmt := &ast.ViewStmt{ + View: parseRangeVar(n.Name), + Query: c.convertQuery(n.Query), + Replace: n.IsOrReplace, + } + if n.Columns != nil { + stmt.Aliases = &ast.List{} + for _, col := range n.Columns.Columns { + if col == nil || col.Name == nil { + continue + } + stmt.Aliases.Items = append(stmt.Aliases.Items, NewIdentifier(col.Name.Name)) + } + } + return stmt +} + +// convertAlterStatement converts ALTER TABLE. Its column actions become one +// AlterTableStmt; RENAME COLUMN and RENAME TO, which the sqlc AST spells as +// statements of their own, follow it in a list. Actions that change nothing +// about a column's name, type or nullability, such as constraints, options, +// defaults and row deletion policies, are dropped. +func (c *cc) convertAlterStatement(n *zjast.AlterStatement) ast.Node { + if n.NodeName != "AlterTableStatement" || n.Path == nil || n.Actions == nil { + return todo(n) + } + table := parseTableName(n.Path) + alter := &ast.AlterTableStmt{ + Table: table, + Cmds: &ast.List{}, + MissingOk: n.IsIfExists, + } + stmts := []ast.Node{alter} + for _, action := range n.Actions.Actions { + switch a := action.(type) { + case *zjast.AddColumnAction: + if a.Column == nil { + continue + } + def := c.convertColumnDefinition(a.Column) + alter.Cmds.Items = append(alter.Cmds.Items, &ast.AlterTableCmd{ + Name: &def.Colname, + Subtype: ast.AT_AddColumn, + Def: def, + MissingOk: a.IsIfNotExists, + }) + case *zjast.DropColumnAction: + if a.Name == nil { + continue + } + name := identifier(a.Name.Name) + alter.Cmds.Items = append(alter.Cmds.Items, &ast.AlterTableCmd{ + Name: &name, + Subtype: ast.AT_DropColumn, + MissingOk: a.IsIfExists, + }) + case *zjast.SpannerAlterColumnAction: + // Spanner's "ALTER COLUMN c [NOT NULL] ..." restates the + // column's whole definition, nullability included. + if a.Column == nil { + continue + } + def := c.convertColumnDefinition(a.Column) + alter.Cmds.Items = append(alter.Cmds.Items, &ast.AlterTableCmd{ + Name: &def.Colname, + Subtype: ast.AT_AlterColumnType, + Def: def, + }) + if !def.IsNotNull { + alter.Cmds.Items = append(alter.Cmds.Items, &ast.AlterTableCmd{ + Name: &def.Colname, + Subtype: ast.AT_DropNotNull, + }) + } + case *zjast.AlterColumnTypeAction: + if a.Column == nil { + continue + } + name := identifier(a.Column.Name) + alter.Cmds.Items = append(alter.Cmds.Items, &ast.AlterTableCmd{ + Name: &name, + Subtype: ast.AT_AlterColumnType, + MissingOk: a.IsIfExists, + Def: &ast.ColumnDef{ + Colname: name, + TypeName: spelledTypeName(columnSchemaTypeName(a.Schema)), + }, + }) + case *zjast.AlterColumnDropNotNullAction: + if a.Column == nil { + continue + } + name := identifier(a.Column.Name) + alter.Cmds.Items = append(alter.Cmds.Items, &ast.AlterTableCmd{ + Name: &name, + Subtype: ast.AT_DropNotNull, + MissingOk: a.IsIfExists, + }) + case *zjast.RenameColumnAction: + if a.Name == nil || a.NewName == nil { + continue + } + newName := identifier(a.NewName.Name) + stmts = append(stmts, &ast.RenameColumnStmt{ + Table: table, + Col: &ast.ColumnRef{Name: identifier(a.Name.Name)}, + NewName: &newName, + MissingOk: n.IsIfExists, + }) + case *zjast.RenameToClause: + parts := pathParts(a.NewName) + if len(parts) == 0 { + continue + } + newName := identifier(parts[len(parts)-1]) + stmts = append(stmts, &ast.RenameTableStmt{ + Table: table, + NewName: &newName, + MissingOk: n.IsIfExists, + }) + } + } + if len(stmts) == 1 { + return alter + } + return &ast.List{Items: stmts} +} + +// convertRenameStatement converts Spanner's "RENAME TABLE a TO b [, c TO +// d ...]", which renames each table in turn. +func (c *cc) convertRenameStatement(n *zjast.RenameStatement) ast.Node { + if n.Identifier == nil || !strings.EqualFold(n.Identifier.Name, "TABLE") { + return todo(n) + } + list := &ast.List{} + add := func(oldName, newName *zjast.PathExpression) { + parts := pathParts(newName) + if oldName == nil || len(parts) == 0 { + return + } + name := identifier(parts[len(parts)-1]) + list.Items = append(list.Items, &ast.RenameTableStmt{ + Table: parseTableName(oldName), + NewName: &name, + }) + } + add(n.OldName, n.NewName) + for _, more := range n.MoreRenames { + add(more.OldName, more.NewName) + } + if len(list.Items) == 0 { + return todo(n) + } + return list +} + func (c *cc) convertDropStatement(n *zjast.DropStatement) ast.Node { - // Only DROP TABLE maps onto the sqlc AST; other object kinds (views, - // functions, schemas, ...) fall through to TODO. - if strings.EqualFold(n.ObjectKind, "TABLE") && n.Path != nil { + // DROP TABLE and DROP VIEW map onto the sqlc AST, which drops both + // kinds of relation alike; other object kinds (indexes, sequences, + // schemas, ...) fall through to TODO. + kind := strings.ToUpper(n.ObjectKind) + if (kind == "TABLE" || kind == "VIEW") && n.Path != nil { return &ast.DropTableStmt{ IfExists: n.IsIfExists, Tables: []*ast.TableName{parseTableName(n.Path)}, diff --git a/internal/engine/googlesql/dialect/dialect.json b/internal/engine/googlesql/dialect/dialect.json index 728546d80b..ef0e61426a 100644 --- a/internal/engine/googlesql/dialect/dialect.json +++ b/internal/engine/googlesql/dialect/dialect.json @@ -11,5 +11,6 @@ "comparison_categories": "BNSDTU", "arithmetic": ["+", "-", "*", "/"], "arithmetic_categories": "N", - "idents": ["max"] + "idents": ["max"], + "propagate_nullable": true } diff --git a/internal/engine/googlesql/dialect/functions.jsonl b/internal/engine/googlesql/dialect/functions.jsonl index 42bf28990e..e01d9a0fba 100644 --- a/internal/engine/googlesql/dialect/functions.jsonl +++ b/internal/engine/googlesql/dialect/functions.jsonl @@ -1 +1,291 @@ -{"name": "count", "kind": "a", "returns": "int64"} +{"name":"abs","args":[{"type":"int64"}],"returns":"int64"} +{"name":"abs","args":[{"type":"float64"}],"returns":"float64"} +{"name":"abs","args":[{"type":"float32"}],"returns":"float32"} +{"name":"abs","args":[{"type":"numeric"}],"returns":"numeric"} +{"name":"acos","args":[{"type":"float64"}],"returns":"float64"} +{"name":"any_value","kind":"a","args":[{"type":"anyelement"}],"returns":"$1","nullable":true} +{"name":"array_agg","kind":"a","args":[{"type":"anyelement"}],"returns":"array($1)","nullable":true} +{"name":"array_concat","args":[{"type":"anyarray"},{"type":"anyarray"}],"returns":"$1"} +{"name":"array_concat_agg","kind":"a","args":[{"type":"anyarray"}],"returns":"$1","nullable":true} +{"name":"array_first","args":[{"type":"anyarray"}],"returns":"anyelement","nullable":true} +{"name":"array_includes","args":[{"type":"anyarray"},{"type":"anyelement"}],"returns":"bool"} +{"name":"array_includes_all","args":[{"type":"anyarray"},{"type":"anyarray"}],"returns":"bool"} +{"name":"array_includes_any","args":[{"type":"anyarray"},{"type":"anyarray"}],"returns":"bool"} +{"name":"array_is_distinct","args":[{"type":"anyarray"}],"returns":"bool"} +{"name":"array_last","args":[{"type":"anyarray"}],"returns":"anyelement","nullable":true} +{"name":"array_length","args":[{"type":"anyarray"}],"returns":"int64"} +{"name":"array_max","args":[{"type":"anyarray"}],"returns":"anyelement","nullable":true} +{"name":"array_min","args":[{"type":"anyarray"}],"returns":"anyelement","nullable":true} +{"name":"array_reverse","args":[{"type":"anyarray"}],"returns":"$1"} +{"name":"array_slice","args":[{"type":"anyarray"},{"type":"int64"},{"type":"int64"}],"returns":"$1"} +{"name":"array_to_string","args":[{"type":"array(string)"},{"type":"string"}],"returns":"string"} +{"name":"array_to_string","args":[{"type":"array(bytes)"},{"type":"bytes"}],"returns":"bytes"} +{"name":"array_to_string","args":[{"type":"array(string)"},{"type":"string"},{"type":"string"}],"returns":"string"} +{"name":"asin","args":[{"type":"float64"}],"returns":"float64"} +{"name":"atan","args":[{"type":"float64"}],"returns":"float64"} +{"name":"atan2","args":[{"type":"float64"},{"type":"float64"}],"returns":"float64"} +{"name":"avg","kind":"a","args":[{"type":"int64"}],"returns":"float64","nullable":true} +{"name":"avg","kind":"a","args":[{"type":"float64"}],"returns":"float64","nullable":true} +{"name":"avg","kind":"a","args":[{"type":"float32"}],"returns":"float64","nullable":true} +{"name":"avg","kind":"a","args":[{"type":"numeric"}],"returns":"numeric","nullable":true} +{"name":"avg","kind":"a","args":[{"type":"interval"}],"returns":"interval","nullable":true} +{"name":"bit_and","kind":"a","args":[{"type":"int64"}],"returns":"int64","nullable":true} +{"name":"bit_count","args":[{"type":"int64"}],"returns":"int64"} +{"name":"bit_count","args":[{"type":"bytes"}],"returns":"int64"} +{"name":"bit_or","kind":"a","args":[{"type":"int64"}],"returns":"int64","nullable":true} +{"name":"bit_reverse","args":[{"type":"int64"},{"type":"bool"}],"returns":"int64"} +{"name":"bit_xor","kind":"a","args":[{"type":"int64"}],"returns":"int64","nullable":true} +{"name":"bool","args":[{"type":"json"}],"returns":"bool"} +{"name":"byte_length","args":[{"type":"string"}],"returns":"int64"} +{"name":"byte_length","args":[{"type":"bytes"}],"returns":"int64"} +{"name":"ceil","args":[{"type":"float64"}],"returns":"float64"} +{"name":"ceil","args":[{"type":"numeric"}],"returns":"numeric"} +{"name":"ceiling","args":[{"type":"float64"}],"returns":"float64"} +{"name":"ceiling","args":[{"type":"numeric"}],"returns":"numeric"} +{"name":"char_length","args":[{"type":"string"}],"returns":"int64"} +{"name":"character_length","args":[{"type":"string"}],"returns":"int64"} +{"name":"code_points_to_bytes","args":[{"type":"array(int64)"}],"returns":"bytes"} +{"name":"code_points_to_string","args":[{"type":"array(int64)"}],"returns":"string"} +{"name":"concat","args":[{"type":"string"},{"type":"string"}],"returns":"string"} +{"name":"concat","args":[{"type":"bytes"},{"type":"bytes"}],"returns":"bytes"} +{"name":"cos","args":[{"type":"float64"}],"returns":"float64"} +{"name":"cosine_distance","args":[{"type":"array(float64)"},{"type":"array(float64)"}],"returns":"float64"} +{"name":"cosine_distance","args":[{"type":"array(float32)"},{"type":"array(float32)"}],"returns":"float64"} +{"name":"count","kind":"a","args":[{"type":"anyelement"}],"returns":"int64","never_null":true} +{"name":"countif","kind":"a","args":[{"type":"bool"}],"returns":"int64","never_null":true} +{"name":"current_date","returns":"date"} +{"name":"current_timestamp","returns":"timestamp"} +{"name":"date","args":[{"type":"timestamp"}],"returns":"date"} +{"name":"date","args":[{"type":"timestamp"},{"type":"string"}],"returns":"date"} +{"name":"date","args":[{"type":"int64"},{"type":"int64"},{"type":"int64"}],"returns":"date"} +{"name":"date_add","args":[{"type":"date"},{"type":"interval"}],"returns":"date"} +{"name":"date_diff","args":[{"type":"date"},{"type":"date"},{"type":"string"}],"returns":"int64"} +{"name":"date_from_unix_date","args":[{"type":"int64"}],"returns":"date"} +{"name":"date_sub","args":[{"type":"date"},{"type":"interval"}],"returns":"date"} +{"name":"date_trunc","args":[{"type":"date"},{"type":"string"}],"returns":"date"} +{"name":"div","args":[{"type":"int64"},{"type":"int64"}],"returns":"int64"} +{"name":"div","args":[{"type":"numeric"},{"type":"numeric"}],"returns":"numeric"} +{"name":"dot_product","args":[{"type":"array(float64)"},{"type":"array(float64)"}],"returns":"float64"} +{"name":"dot_product","args":[{"type":"array(float32)"},{"type":"array(float32)"}],"returns":"float64"} +{"name":"dot_product","args":[{"type":"array(int64)"},{"type":"array(int64)"}],"returns":"float64"} +{"name":"ends_with","args":[{"type":"string"},{"type":"string"}],"returns":"bool"} +{"name":"ends_with","args":[{"type":"bytes"},{"type":"bytes"}],"returns":"bool"} +{"name":"euclidean_distance","args":[{"type":"array(float64)"},{"type":"array(float64)"}],"returns":"float64"} +{"name":"euclidean_distance","args":[{"type":"array(float32)"},{"type":"array(float32)"}],"returns":"float64"} +{"name":"exp","args":[{"type":"float64"}],"returns":"float64"} +{"name":"exp","args":[{"type":"numeric"}],"returns":"numeric"} +{"name":"extract","args":[{"type":"timestamp"}],"returns":"int64"} +{"name":"extract","args":[{"type":"date"}],"returns":"int64"} +{"name":"extract","args":[{"type":"timestamp"},{"type":"string"}],"returns":"int64"} +{"name":"farm_fingerprint","args":[{"type":"string"}],"returns":"int64"} +{"name":"farm_fingerprint","args":[{"type":"bytes"}],"returns":"int64"} +{"name":"float32","args":[{"type":"json"}],"returns":"float32"} +{"name":"float64","args":[{"type":"json"}],"returns":"float64"} +{"name":"floor","args":[{"type":"float64"}],"returns":"float64"} +{"name":"floor","args":[{"type":"numeric"}],"returns":"numeric"} +{"name":"format","args":[{"type":"string"}],"returns":"string"} +{"name":"format_date","args":[{"type":"string"},{"type":"date"}],"returns":"string"} +{"name":"format_timestamp","args":[{"type":"string"},{"type":"timestamp"}],"returns":"string"} +{"name":"format_timestamp","args":[{"type":"string"},{"type":"timestamp"},{"type":"string"}],"returns":"string"} +{"name":"from_base32","args":[{"type":"string"}],"returns":"bytes"} +{"name":"from_base64","args":[{"type":"string"}],"returns":"bytes"} +{"name":"from_hex","args":[{"type":"string"}],"returns":"bytes"} +{"name":"generate_array","args":[{"type":"int64"},{"type":"int64"}],"returns":"array(int64)"} +{"name":"generate_array","args":[{"type":"int64"},{"type":"int64"},{"type":"int64"}],"returns":"array(int64)"} +{"name":"generate_array","args":[{"type":"float64"},{"type":"float64"},{"type":"float64"}],"returns":"array(float64)"} +{"name":"generate_date_array","args":[{"type":"date"},{"type":"date"}],"returns":"array(date)"} +{"name":"generate_date_array","args":[{"type":"date"},{"type":"date"},{"type":"interval"}],"returns":"array(date)"} +{"name":"generate_uuid","returns":"string","never_null":true} +{"name":"get_next_sequence_value","args":[{"type":"anyelement"}],"returns":"int64","never_null":true} +{"name":"ieee_divide","args":[{"type":"float64"},{"type":"float64"}],"returns":"float64"} +{"name":"int64","args":[{"type":"json"}],"returns":"int64"} +{"name":"is_inf","args":[{"type":"float64"}],"returns":"bool"} +{"name":"is_nan","args":[{"type":"float64"}],"returns":"bool"} +{"name":"json_array","args":[{"type":"anyelement"}],"returns":"json"} +{"name":"json_array_append","args":[{"type":"json"},{"type":"string"},{"type":"anyelement"}],"returns":"json"} +{"name":"json_array_insert","args":[{"type":"json"},{"type":"string"},{"type":"anyelement"}],"returns":"json"} +{"name":"json_contains","args":[{"type":"json"},{"type":"json"}],"returns":"bool"} +{"name":"json_keys","args":[{"type":"json"}],"returns":"array(string)"} +{"name":"json_object","args":[{"type":"string"},{"type":"anyelement"}],"returns":"json"} +{"name":"json_query","args":[{"type":"json"},{"type":"string"}],"returns":"json","nullable":true} +{"name":"json_query","args":[{"type":"string"},{"type":"string"}],"returns":"string","nullable":true} +{"name":"json_query_array","args":[{"type":"json"}],"returns":"array(json)","nullable":true} +{"name":"json_query_array","args":[{"type":"json"},{"type":"string"}],"returns":"array(json)","nullable":true} +{"name":"json_remove","args":[{"type":"json"},{"type":"string"}],"returns":"json"} +{"name":"json_set","args":[{"type":"json"},{"type":"string"},{"type":"anyelement"}],"returns":"json"} +{"name":"json_strip_nulls","args":[{"type":"json"}],"returns":"json"} +{"name":"json_type","args":[{"type":"json"}],"returns":"string"} +{"name":"json_value","args":[{"type":"json"},{"type":"string"}],"returns":"string","nullable":true} +{"name":"json_value","args":[{"type":"string"},{"type":"string"}],"returns":"string","nullable":true} +{"name":"json_value_array","args":[{"type":"json"}],"returns":"array(string)","nullable":true} +{"name":"json_value_array","args":[{"type":"json"},{"type":"string"}],"returns":"array(string)","nullable":true} +{"name":"justify_days","args":[{"type":"interval"}],"returns":"interval"} +{"name":"justify_hours","args":[{"type":"interval"}],"returns":"interval"} +{"name":"justify_interval","args":[{"type":"interval"}],"returns":"interval"} +{"name":"lax_bool","args":[{"type":"json"}],"returns":"bool","nullable":true} +{"name":"lax_float64","args":[{"type":"json"}],"returns":"float64","nullable":true} +{"name":"lax_int64","args":[{"type":"json"}],"returns":"int64","nullable":true} +{"name":"lax_string","args":[{"type":"json"}],"returns":"string","nullable":true} +{"name":"length","args":[{"type":"string"}],"returns":"int64"} +{"name":"length","args":[{"type":"bytes"}],"returns":"int64"} +{"name":"ln","args":[{"type":"float64"}],"returns":"float64"} +{"name":"ln","args":[{"type":"numeric"}],"returns":"numeric"} +{"name":"log","args":[{"type":"float64"}],"returns":"float64"} +{"name":"log","args":[{"type":"numeric"}],"returns":"numeric"} +{"name":"log","args":[{"type":"float64"},{"type":"float64"}],"returns":"float64"} +{"name":"log10","args":[{"type":"float64"}],"returns":"float64"} +{"name":"log10","args":[{"type":"numeric"}],"returns":"numeric"} +{"name":"logical_and","kind":"a","args":[{"type":"bool"}],"returns":"bool","nullable":true} +{"name":"logical_or","kind":"a","args":[{"type":"bool"}],"returns":"bool","nullable":true} +{"name":"lower","args":[{"type":"string"}],"returns":"string"} +{"name":"lower","args":[{"type":"bytes"}],"returns":"bytes"} +{"name":"lpad","args":[{"type":"string"},{"type":"int64"}],"returns":"string"} +{"name":"lpad","args":[{"type":"string"},{"type":"int64"},{"type":"string"}],"returns":"string"} +{"name":"lpad","args":[{"type":"bytes"},{"type":"int64"},{"type":"bytes"}],"returns":"bytes"} +{"name":"ltrim","args":[{"type":"string"}],"returns":"string"} +{"name":"ltrim","args":[{"type":"string"},{"type":"string"}],"returns":"string"} +{"name":"ltrim","args":[{"type":"bytes"},{"type":"bytes"}],"returns":"bytes"} +{"name":"make_interval","args":[{"type":"int64"},{"type":"int64"},{"type":"int64"}],"returns":"interval"} +{"name":"max","kind":"a","args":[{"type":"anyelement"}],"returns":"$1","nullable":true} +{"name":"md5","args":[{"type":"string"}],"returns":"bytes"} +{"name":"md5","args":[{"type":"bytes"}],"returns":"bytes"} +{"name":"min","kind":"a","args":[{"type":"anyelement"}],"returns":"$1","nullable":true} +{"name":"mod","args":[{"type":"int64"},{"type":"int64"}],"returns":"int64"} +{"name":"mod","args":[{"type":"numeric"},{"type":"numeric"}],"returns":"numeric"} +{"name":"new_uuid","returns":"uuid","never_null":true} +{"name":"normalize","args":[{"type":"string"}],"returns":"string"} +{"name":"normalize_and_casefold","args":[{"type":"string"}],"returns":"string"} +{"name":"parse_date","args":[{"type":"string"},{"type":"string"}],"returns":"date"} +{"name":"parse_json","args":[{"type":"string"}],"returns":"json"} +{"name":"parse_timestamp","args":[{"type":"string"},{"type":"string"}],"returns":"timestamp"} +{"name":"parse_timestamp","args":[{"type":"string"},{"type":"string"},{"type":"string"}],"returns":"timestamp"} +{"name":"pending_commit_timestamp","returns":"timestamp","never_null":true} +{"name":"pow","args":[{"type":"float64"},{"type":"float64"}],"returns":"float64"} +{"name":"pow","args":[{"type":"numeric"},{"type":"numeric"}],"returns":"numeric"} +{"name":"power","args":[{"type":"float64"},{"type":"float64"}],"returns":"float64"} +{"name":"power","args":[{"type":"numeric"},{"type":"numeric"}],"returns":"numeric"} +{"name":"regexp_contains","args":[{"type":"string"},{"type":"string"}],"returns":"bool"} +{"name":"regexp_contains","args":[{"type":"bytes"},{"type":"bytes"}],"returns":"bool"} +{"name":"regexp_extract","args":[{"type":"string"},{"type":"string"}],"returns":"string","nullable":true} +{"name":"regexp_extract","args":[{"type":"bytes"},{"type":"bytes"}],"returns":"bytes","nullable":true} +{"name":"regexp_extract_all","args":[{"type":"string"},{"type":"string"}],"returns":"array(string)"} +{"name":"regexp_extract_all","args":[{"type":"bytes"},{"type":"bytes"}],"returns":"array(bytes)"} +{"name":"regexp_replace","args":[{"type":"string"},{"type":"string"},{"type":"string"}],"returns":"string"} +{"name":"regexp_replace","args":[{"type":"bytes"},{"type":"bytes"},{"type":"bytes"}],"returns":"bytes"} +{"name":"repeat","args":[{"type":"string"},{"type":"int64"}],"returns":"string"} +{"name":"repeat","args":[{"type":"bytes"},{"type":"int64"}],"returns":"bytes"} +{"name":"replace","args":[{"type":"string"},{"type":"string"},{"type":"string"}],"returns":"string"} +{"name":"replace","args":[{"type":"bytes"},{"type":"bytes"},{"type":"bytes"}],"returns":"bytes"} +{"name":"reverse","args":[{"type":"string"}],"returns":"string"} +{"name":"reverse","args":[{"type":"bytes"}],"returns":"bytes"} +{"name":"round","args":[{"type":"float64"}],"returns":"float64"} +{"name":"round","args":[{"type":"numeric"}],"returns":"numeric"} +{"name":"round","args":[{"type":"float64"},{"type":"int64"}],"returns":"float64"} +{"name":"round","args":[{"type":"numeric"},{"type":"int64"}],"returns":"numeric"} +{"name":"rpad","args":[{"type":"string"},{"type":"int64"}],"returns":"string"} +{"name":"rpad","args":[{"type":"string"},{"type":"int64"},{"type":"string"}],"returns":"string"} +{"name":"rpad","args":[{"type":"bytes"},{"type":"int64"},{"type":"bytes"}],"returns":"bytes"} +{"name":"rtrim","args":[{"type":"string"}],"returns":"string"} +{"name":"rtrim","args":[{"type":"string"},{"type":"string"}],"returns":"string"} +{"name":"rtrim","args":[{"type":"bytes"},{"type":"bytes"}],"returns":"bytes"} +{"name":"safe_add","args":[{"type":"int64"},{"type":"int64"}],"returns":"int64","nullable":true} +{"name":"safe_add","args":[{"type":"float64"},{"type":"float64"}],"returns":"float64","nullable":true} +{"name":"safe_add","args":[{"type":"numeric"},{"type":"numeric"}],"returns":"numeric","nullable":true} +{"name":"safe_convert_bytes_to_string","args":[{"type":"bytes"}],"returns":"string"} +{"name":"safe_divide","args":[{"type":"int64"},{"type":"int64"}],"returns":"float64","nullable":true} +{"name":"safe_divide","args":[{"type":"float64"},{"type":"float64"}],"returns":"float64","nullable":true} +{"name":"safe_divide","args":[{"type":"numeric"},{"type":"numeric"}],"returns":"numeric","nullable":true} +{"name":"safe_multiply","args":[{"type":"int64"},{"type":"int64"}],"returns":"int64","nullable":true} +{"name":"safe_multiply","args":[{"type":"float64"},{"type":"float64"}],"returns":"float64","nullable":true} +{"name":"safe_multiply","args":[{"type":"numeric"},{"type":"numeric"}],"returns":"numeric","nullable":true} +{"name":"safe_negate","args":[{"type":"int64"}],"returns":"int64","nullable":true} +{"name":"safe_negate","args":[{"type":"float64"}],"returns":"float64","nullable":true} +{"name":"safe_negate","args":[{"type":"numeric"}],"returns":"numeric","nullable":true} +{"name":"safe_subtract","args":[{"type":"int64"},{"type":"int64"}],"returns":"int64","nullable":true} +{"name":"safe_subtract","args":[{"type":"float64"},{"type":"float64"}],"returns":"float64","nullable":true} +{"name":"safe_subtract","args":[{"type":"numeric"},{"type":"numeric"}],"returns":"numeric","nullable":true} +{"name":"safe_to_json","args":[{"type":"anyelement"}],"returns":"json","never_null":true} +{"name":"score","args":[{"type":"tokenlist"},{"type":"string"}],"returns":"float64"} +{"name":"score_ngrams","args":[{"type":"tokenlist"},{"type":"string"}],"returns":"float64"} +{"name":"search","args":[{"type":"tokenlist"},{"type":"string"}],"returns":"bool"} +{"name":"search_ngrams","args":[{"type":"tokenlist"},{"type":"string"}],"returns":"bool"} +{"name":"search_substring","args":[{"type":"tokenlist"},{"type":"string"}],"returns":"bool"} +{"name":"sha1","args":[{"type":"string"}],"returns":"bytes"} +{"name":"sha1","args":[{"type":"bytes"}],"returns":"bytes"} +{"name":"sha256","args":[{"type":"string"}],"returns":"bytes"} +{"name":"sha256","args":[{"type":"bytes"}],"returns":"bytes"} +{"name":"sha512","args":[{"type":"string"}],"returns":"bytes"} +{"name":"sha512","args":[{"type":"bytes"}],"returns":"bytes"} +{"name":"sign","args":[{"type":"int64"}],"returns":"int64"} +{"name":"sign","args":[{"type":"float64"}],"returns":"float64"} +{"name":"sign","args":[{"type":"numeric"}],"returns":"numeric"} +{"name":"sin","args":[{"type":"float64"}],"returns":"float64"} +{"name":"snippet","args":[{"type":"string"},{"type":"string"}],"returns":"json"} +{"name":"soundex","args":[{"type":"string"}],"returns":"string"} +{"name":"split","args":[{"type":"string"}],"returns":"array(string)"} +{"name":"split","args":[{"type":"string"},{"type":"string"}],"returns":"array(string)"} +{"name":"split","args":[{"type":"bytes"},{"type":"bytes"}],"returns":"array(bytes)"} +{"name":"split_substr","args":[{"type":"string"},{"type":"string"},{"type":"int64"}],"returns":"string"} +{"name":"split_substr","args":[{"type":"string"},{"type":"string"},{"type":"int64"},{"type":"int64"}],"returns":"string"} +{"name":"sqrt","args":[{"type":"float64"}],"returns":"float64"} +{"name":"sqrt","args":[{"type":"numeric"}],"returns":"numeric"} +{"name":"starts_with","args":[{"type":"string"},{"type":"string"}],"returns":"bool"} +{"name":"starts_with","args":[{"type":"bytes"},{"type":"bytes"}],"returns":"bool"} +{"name":"stddev","kind":"a","args":[{"type":"float64"}],"returns":"float64","nullable":true} +{"name":"stddev_samp","kind":"a","args":[{"type":"float64"}],"returns":"float64","nullable":true} +{"name":"string","args":[{"type":"timestamp"}],"returns":"string"} +{"name":"string","args":[{"type":"json"}],"returns":"string"} +{"name":"string","args":[{"type":"timestamp"},{"type":"string"}],"returns":"string"} +{"name":"string_agg","kind":"a","args":[{"type":"string"}],"returns":"string","nullable":true} +{"name":"string_agg","kind":"a","args":[{"type":"bytes"}],"returns":"bytes","nullable":true} +{"name":"string_agg","kind":"a","args":[{"type":"string"},{"type":"string"}],"returns":"string","nullable":true} +{"name":"string_agg","kind":"a","args":[{"type":"bytes"},{"type":"bytes"}],"returns":"bytes","nullable":true} +{"name":"strpos","args":[{"type":"string"},{"type":"string"}],"returns":"int64"} +{"name":"strpos","args":[{"type":"bytes"},{"type":"bytes"}],"returns":"int64"} +{"name":"substr","args":[{"type":"string"},{"type":"int64"}],"returns":"string"} +{"name":"substr","args":[{"type":"bytes"},{"type":"int64"}],"returns":"bytes"} +{"name":"substr","args":[{"type":"string"},{"type":"int64"},{"type":"int64"}],"returns":"string"} +{"name":"substr","args":[{"type":"bytes"},{"type":"int64"},{"type":"int64"}],"returns":"bytes"} +{"name":"substring","args":[{"type":"string"},{"type":"int64"}],"returns":"string"} +{"name":"substring","args":[{"type":"string"},{"type":"int64"},{"type":"int64"}],"returns":"string"} +{"name":"sum","kind":"a","args":[{"type":"int64"}],"returns":"int64","nullable":true} +{"name":"sum","kind":"a","args":[{"type":"float64"}],"returns":"float64","nullable":true} +{"name":"sum","kind":"a","args":[{"type":"float32"}],"returns":"float64","nullable":true} +{"name":"sum","kind":"a","args":[{"type":"numeric"}],"returns":"numeric","nullable":true} +{"name":"sum","kind":"a","args":[{"type":"interval"}],"returns":"interval","nullable":true} +{"name":"tan","args":[{"type":"float64"}],"returns":"float64"} +{"name":"timestamp","args":[{"type":"string"}],"returns":"timestamp"} +{"name":"timestamp","args":[{"type":"date"}],"returns":"timestamp"} +{"name":"timestamp","args":[{"type":"string"},{"type":"string"}],"returns":"timestamp"} +{"name":"timestamp","args":[{"type":"date"},{"type":"string"}],"returns":"timestamp"} +{"name":"timestamp_add","args":[{"type":"timestamp"},{"type":"interval"}],"returns":"timestamp"} +{"name":"timestamp_diff","args":[{"type":"timestamp"},{"type":"timestamp"},{"type":"string"}],"returns":"int64"} +{"name":"timestamp_micros","args":[{"type":"int64"}],"returns":"timestamp"} +{"name":"timestamp_millis","args":[{"type":"int64"}],"returns":"timestamp"} +{"name":"timestamp_seconds","args":[{"type":"int64"}],"returns":"timestamp"} +{"name":"timestamp_sub","args":[{"type":"timestamp"},{"type":"interval"}],"returns":"timestamp"} +{"name":"timestamp_trunc","args":[{"type":"timestamp"},{"type":"string"}],"returns":"timestamp"} +{"name":"timestamp_trunc","args":[{"type":"timestamp"},{"type":"string"},{"type":"string"}],"returns":"timestamp"} +{"name":"to_base32","args":[{"type":"bytes"}],"returns":"string"} +{"name":"to_base64","args":[{"type":"bytes"}],"returns":"string"} +{"name":"to_code_points","args":[{"type":"string"}],"returns":"array(int64)"} +{"name":"to_code_points","args":[{"type":"bytes"}],"returns":"array(int64)"} +{"name":"to_hex","args":[{"type":"bytes"}],"returns":"string"} +{"name":"to_json","args":[{"type":"anyelement"}],"returns":"json","never_null":true} +{"name":"to_json_string","args":[{"type":"json"}],"returns":"string","never_null":true} +{"name":"trim","args":[{"type":"string"}],"returns":"string"} +{"name":"trim","args":[{"type":"string"},{"type":"string"}],"returns":"string"} +{"name":"trim","args":[{"type":"bytes"},{"type":"bytes"}],"returns":"bytes"} +{"name":"trunc","args":[{"type":"float64"}],"returns":"float64"} +{"name":"trunc","args":[{"type":"numeric"}],"returns":"numeric"} +{"name":"trunc","args":[{"type":"float64"},{"type":"int64"}],"returns":"float64"} +{"name":"trunc","args":[{"type":"numeric"},{"type":"int64"}],"returns":"numeric"} +{"name":"unix_date","args":[{"type":"date"}],"returns":"int64"} +{"name":"unix_micros","args":[{"type":"timestamp"}],"returns":"int64"} +{"name":"unix_millis","args":[{"type":"timestamp"}],"returns":"int64"} +{"name":"unix_seconds","args":[{"type":"timestamp"}],"returns":"int64"} +{"name":"unnest","args":[{"type":"anyarray"}],"returns":"anyelement","nullable":true} +{"name":"upper","args":[{"type":"string"}],"returns":"string"} +{"name":"upper","args":[{"type":"bytes"}],"returns":"bytes"} +{"name":"var_samp","kind":"a","args":[{"type":"float64"}],"returns":"float64","nullable":true} +{"name":"variance","kind":"a","args":[{"type":"float64"}],"returns":"float64","nullable":true} diff --git a/internal/engine/googlesql/dialect/operators.jsonl b/internal/engine/googlesql/dialect/operators.jsonl index 5967f9f055..7a414883bc 100644 --- a/internal/engine/googlesql/dialect/operators.jsonl +++ b/internal/engine/googlesql/dialect/operators.jsonl @@ -1 +1,83 @@ -{"name": "||", "left": "string", "right": "string", "result": "string"} +{"name":"+","left":"int64","right":"int64","result":"int64"} +{"name":"+","left":"int64","right":"float64","result":"float64"} +{"name":"+","left":"int64","right":"float32","result":"float64"} +{"name":"+","left":"int64","right":"numeric","result":"numeric"} +{"name":"+","left":"float64","right":"int64","result":"float64"} +{"name":"+","left":"float64","right":"float64","result":"float64"} +{"name":"+","left":"float64","right":"float32","result":"float64"} +{"name":"+","left":"float64","right":"numeric","result":"float64"} +{"name":"+","left":"float32","right":"int64","result":"float64"} +{"name":"+","left":"float32","right":"float64","result":"float64"} +{"name":"+","left":"float32","right":"float32","result":"float64"} +{"name":"+","left":"float32","right":"numeric","result":"float64"} +{"name":"+","left":"numeric","right":"int64","result":"numeric"} +{"name":"+","left":"numeric","right":"float64","result":"float64"} +{"name":"+","left":"numeric","right":"float32","result":"float64"} +{"name":"+","left":"numeric","right":"numeric","result":"numeric"} +{"name":"-","left":"int64","right":"int64","result":"int64"} +{"name":"-","left":"int64","right":"float64","result":"float64"} +{"name":"-","left":"int64","right":"float32","result":"float64"} +{"name":"-","left":"int64","right":"numeric","result":"numeric"} +{"name":"-","left":"float64","right":"int64","result":"float64"} +{"name":"-","left":"float64","right":"float64","result":"float64"} +{"name":"-","left":"float64","right":"float32","result":"float64"} +{"name":"-","left":"float64","right":"numeric","result":"float64"} +{"name":"-","left":"float32","right":"int64","result":"float64"} +{"name":"-","left":"float32","right":"float64","result":"float64"} +{"name":"-","left":"float32","right":"float32","result":"float64"} +{"name":"-","left":"float32","right":"numeric","result":"float64"} +{"name":"-","left":"numeric","right":"int64","result":"numeric"} +{"name":"-","left":"numeric","right":"float64","result":"float64"} +{"name":"-","left":"numeric","right":"float32","result":"float64"} +{"name":"-","left":"numeric","right":"numeric","result":"numeric"} +{"name":"*","left":"int64","right":"int64","result":"int64"} +{"name":"*","left":"int64","right":"float64","result":"float64"} +{"name":"*","left":"int64","right":"float32","result":"float64"} +{"name":"*","left":"int64","right":"numeric","result":"numeric"} +{"name":"*","left":"float64","right":"int64","result":"float64"} +{"name":"*","left":"float64","right":"float64","result":"float64"} +{"name":"*","left":"float64","right":"float32","result":"float64"} +{"name":"*","left":"float64","right":"numeric","result":"float64"} +{"name":"*","left":"float32","right":"int64","result":"float64"} +{"name":"*","left":"float32","right":"float64","result":"float64"} +{"name":"*","left":"float32","right":"float32","result":"float64"} +{"name":"*","left":"float32","right":"numeric","result":"float64"} +{"name":"*","left":"numeric","right":"int64","result":"numeric"} +{"name":"*","left":"numeric","right":"float64","result":"float64"} +{"name":"*","left":"numeric","right":"float32","result":"float64"} +{"name":"*","left":"numeric","right":"numeric","result":"numeric"} +{"name":"/","left":"int64","right":"int64","result":"float64"} +{"name":"/","left":"int64","right":"float64","result":"float64"} +{"name":"/","left":"int64","right":"float32","result":"float64"} +{"name":"/","left":"int64","right":"numeric","result":"numeric"} +{"name":"/","left":"float64","right":"int64","result":"float64"} +{"name":"/","left":"float64","right":"float64","result":"float64"} +{"name":"/","left":"float64","right":"float32","result":"float64"} +{"name":"/","left":"float64","right":"numeric","result":"float64"} +{"name":"/","left":"float32","right":"int64","result":"float64"} +{"name":"/","left":"float32","right":"float64","result":"float64"} +{"name":"/","left":"float32","right":"float32","result":"float64"} +{"name":"/","left":"float32","right":"numeric","result":"float64"} +{"name":"/","left":"numeric","right":"int64","result":"numeric"} +{"name":"/","left":"numeric","right":"float64","result":"float64"} +{"name":"/","left":"numeric","right":"float32","result":"float64"} +{"name":"/","left":"numeric","right":"numeric","result":"numeric"} +{"name":"||","left":"string","right":"string","result":"string"} +{"name":"||","left":"bytes","right":"bytes","result":"bytes"} +{"name":"+","left":"timestamp","right":"interval","result":"timestamp"} +{"name":"+","left":"interval","right":"interval","result":"interval"} +{"name":"-","left":"timestamp","right":"interval","result":"timestamp"} +{"name":"-","left":"interval","right":"interval","result":"interval"} +{"name":"+","left":"interval","right":"timestamp","result":"timestamp"} +{"name":"-","left":"date","right":"date","result":"interval"} +{"name":"-","left":"timestamp","right":"timestamp","result":"interval"} +{"name":"*","left":"interval","right":"int64","result":"interval"} +{"name":"/","left":"interval","right":"int64","result":"interval"} +{"name":"\u0026","left":"int64","right":"int64","result":"int64"} +{"name":"|","left":"int64","right":"int64","result":"int64"} +{"name":"^","left":"int64","right":"int64","result":"int64"} +{"name":"\u003c\u003c","left":"int64","right":"int64","result":"int64"} +{"name":"\u003e\u003e","left":"int64","right":"int64","result":"int64"} +{"name":"\u0026","left":"bytes","right":"bytes","result":"bytes"} +{"name":"|","left":"bytes","right":"bytes","result":"bytes"} +{"name":"^","left":"bytes","right":"bytes","result":"bytes"} diff --git a/internal/engine/googlesql/dialect/types.jsonl b/internal/engine/googlesql/dialect/types.jsonl index 8c6dac4005..10f671d9a7 100644 --- a/internal/engine/googlesql/dialect/types.jsonl +++ b/internal/engine/googlesql/dialect/types.jsonl @@ -1,23 +1,23 @@ -{"name": "bool", "category": "B"} -{"name": "int64", "category": "N"} -{"name": "float32", "category": "N"} -{"name": "float64", "category": "N"} -{"name": "numeric", "category": "N"} -{"name": "bignumeric", "category": "N"} -{"name": "string", "category": "S"} -{"name": "bytes", "category": "S"} -{"name": "uuid", "category": "S"} -{"name": "date", "category": "D"} -{"name": "datetime", "category": "D"} -{"name": "time", "category": "D"} -{"name": "timestamp", "category": "D"} -{"name": "interval", "category": "T"} -{"name": "json", "category": "U"} -{"name": "geography", "category": "U"} -{"name": "struct", "category": "U"} -{"name": "enum", "category": "U"} -{"name": "proto", "category": "U"} -{"name": "tokenlist", "category": "U"} -{"name": "array", "category": "A"} -{"name": "range", "category": "U"} -{"name": "map", "category": "U"} +{"name":"bool","category":"B"} +{"name":"int64","category":"N"} +{"name":"float32","category":"N"} +{"name":"float64","category":"N"} +{"name":"numeric","category":"N"} +{"name":"bignumeric","category":"N"} +{"name":"string","category":"S"} +{"name":"bytes","category":"S"} +{"name":"uuid","category":"S"} +{"name":"date","category":"D"} +{"name":"datetime","category":"D"} +{"name":"time","category":"D"} +{"name":"timestamp","category":"D"} +{"name":"interval","category":"T"} +{"name":"json","category":"U"} +{"name":"geography","category":"U"} +{"name":"struct","category":"U"} +{"name":"enum","category":"U"} +{"name":"proto","category":"U"} +{"name":"tokenlist","category":"U"} +{"name":"array","category":"A"} +{"name":"range","category":"U"} +{"name":"map","category":"U"} diff --git a/internal/goldeneye/README.md b/internal/goldeneye/README.md index e4e8374fff..ed2c67d040 100644 --- a/internal/goldeneye/README.md +++ b/internal/goldeneye/README.md @@ -110,9 +110,15 @@ the hand-written files alone, and the checks do not look at them. the gRPC endpoint such as `localhost:15000`, reached without TLS or credentials as Omni is, and writes into `internal/engine/googlesql/dialect`, since sqlc's engine is named after the language Spanner speaks. Spanner - keeps no catalog of its types, functions or operators, so `types.jsonl`, - `functions.jsonl` and `operators.jsonl` are hand-written. What it does - describe is its information schema: `relations.jsonl` is every view of + keeps no catalog of its types, functions or operators, so they are read + by asking: `spanner/library.jsonl` lists the function signatures to try, + and each is compiled in PLAN mode against a probe database, the ones + Spanner accepts written to `functions.jsonl` with the type it reports; + `operators.jsonl` is every binary operator Spanner accepts over the + operands tried, and `types.jsonl` the types the dialect lists, each one + Spanner has checked by a cast. Whether a result can be NULL is what + Spanner does not say, so `library.jsonl` says it. Spanner also + describes its information schema: `relations.jsonl` is every view of `INFORMATION_SCHEMA` and `SPANNER_SYS`, read from `INFORMATION_SCHEMA` itself in a database created for the purpose in the instance Omni's single server provides, `projects/default/instances/default`. Names are diff --git a/internal/goldeneye/dialect/dialect.go b/internal/goldeneye/dialect/dialect.go index 6b053a120a..59a530cd47 100644 --- a/internal/goldeneye/dialect/dialect.go +++ b/internal/goldeneye/dialect/dialect.go @@ -69,6 +69,9 @@ type Function struct { Args []Arg `json:"args,omitempty"` Returns string `json:"returns"` Nullable bool `json:"nullable,omitempty"` + // NeverNull marks a result that is never NULL even when an argument + // is, in a dialect that propagates nullability. + NeverNull bool `json:"never_null,omitempty"` } // Arg is one of a function's parameters. Mode is 'i'n, 'o'ut, 'b'oth, diff --git a/internal/goldeneye/spanner/library.go b/internal/goldeneye/spanner/library.go new file mode 100644 index 0000000000..6aaadc5d4a --- /dev/null +++ b/internal/goldeneye/spanner/library.go @@ -0,0 +1,428 @@ +package spanner + +import ( + "bufio" + "bytes" + "context" + _ "embed" + "encoding/json" + "fmt" + "sort" + "strconv" + "strings" + + "cloud.google.com/go/spanner/apiv1/spannerpb" + + "github.com/sqlc-dev/sqlc/internal/goldeneye/dialect" +) + +// Spanner keeps no catalog of its types, functions or operators, so the +// library is read by asking: each candidate is compiled in PLAN mode, which +// runs nothing, against a probe database, and what Spanner accepts is kept +// with the type it reports. + +// libraryDatabase is the probe database the library is read from. +const libraryDatabase = "goldeneye_library" + +// librarySchema is the probe database: a table with a NOT NULL column of +// each type a candidate's argument can be, the search indexes SCORE and +// SEARCH need, the sequence GET_NEXT_SEQUENCE_VALUE draws from, and a +// commit timestamp column for PENDING_COMMIT_TIMESTAMP. +var librarySchema = []string{ + `CREATE TABLE probe ( + id INT64 NOT NULL, + i INT64 NOT NULL, + s STRING(MAX) NOT NULL, + f FLOAT64 NOT NULL, + f32 FLOAT32 NOT NULL, + n NUMERIC NOT NULL, + b BOOL NOT NULL, + byt BYTES(MAX) NOT NULL, + d DATE NOT NULL, + ts TIMESTAMP NOT NULL, + j JSON NOT NULL, + ai ARRAY NOT NULL, + ast ARRAY NOT NULL, + af ARRAY NOT NULL, + af32 ARRAY NOT NULL, + aj ARRAY NOT NULL, + ab ARRAY NOT NULL, + tl TOKENLIST AS (TOKENIZE_FULLTEXT(s)) HIDDEN, + tl_substring TOKENLIST AS (TOKENIZE_SUBSTRING(s)) HIDDEN, + tl_ngrams TOKENLIST AS (TOKENIZE_NGRAMS(s)) HIDDEN, +) PRIMARY KEY (id)`, + `CREATE SEARCH INDEX probe_search ON probe(tl, tl_substring, tl_ngrams)`, + `CREATE SEQUENCE probe_sequence OPTIONS (sequence_kind = 'bit_reversed_positive')`, + `CREATE TABLE probe_commits ( + id INT64 NOT NULL, + committed_at TIMESTAMP OPTIONS (allow_commit_timestamp = true), +) PRIMARY KEY (id)`, +} + +// probeValues is the expression a candidate's argument of each type is +// called with: the probe table's column of that type, so that the call is +// made the way a query makes it, on a value rather than a constant. +var probeValues = map[string]string{ + "int64": "i", + "string": "s", + "float64": "f", + "float32": "f32", + "numeric": "n", + "bool": "b", + "bytes": "byt", + "date": "d", + "timestamp": "ts", + "json": "j", + "interval": "INTERVAL 1 DAY", + "tokenlist": "tl", + "array(int64)": "ai", + "array(string)": "ast", + "array(float64)": "af", + "array(float32)": "af32", + "array(json)": "aj", + "array(bytes)": "ab", +} + +// libraryTypes are the types the dialect lists, in the order types.jsonl +// does, with the category sqlc groups each in and the spelling Spanner is +// asked to cast to. A type Spanner does not have, BigQuery's BIGNUMERIC or +// DATETIME, is GoogleSQL's all the same, and the engine is GoogleSQL's, +// shared with BigQuery; those have no probe and are listed as they are. +var libraryTypes = []struct { + dialect.Type + probe string +}{ + {dialect.Type{Name: "bool", Category: "B"}, "BOOL"}, + {dialect.Type{Name: "int64", Category: "N"}, "INT64"}, + {dialect.Type{Name: "float32", Category: "N"}, "FLOAT32"}, + {dialect.Type{Name: "float64", Category: "N"}, "FLOAT64"}, + {dialect.Type{Name: "numeric", Category: "N"}, "NUMERIC"}, + {dialect.Type{Name: "bignumeric", Category: "N"}, ""}, + {dialect.Type{Name: "string", Category: "S"}, "STRING"}, + {dialect.Type{Name: "bytes", Category: "S"}, "BYTES"}, + {dialect.Type{Name: "uuid", Category: "S"}, "UUID"}, + {dialect.Type{Name: "date", Category: "D"}, "DATE"}, + {dialect.Type{Name: "datetime", Category: "D"}, ""}, + {dialect.Type{Name: "time", Category: "D"}, ""}, + {dialect.Type{Name: "timestamp", Category: "D"}, "TIMESTAMP"}, + {dialect.Type{Name: "interval", Category: "T"}, "INTERVAL"}, + {dialect.Type{Name: "json", Category: "U"}, "JSON"}, + {dialect.Type{Name: "geography", Category: "U"}, ""}, + {dialect.Type{Name: "struct", Category: "U"}, "STRUCT"}, + {dialect.Type{Name: "enum", Category: "U"}, ""}, + {dialect.Type{Name: "proto", Category: "U"}, ""}, + {dialect.Type{Name: "tokenlist", Category: "U"}, ""}, + {dialect.Type{Name: "array", Category: "A"}, "ARRAY"}, + {dialect.Type{Name: "range", Category: "U"}, ""}, + {dialect.Type{Name: "map", Category: "U"}, ""}, +} + +//go:embed library.jsonl +var libraryCandidates []byte + +// candidate is one line of library.jsonl. +type candidate struct { + Name string `json:"name"` + Kind string `json:"kind,omitempty"` + Args []string `json:"args,omitempty"` + Returns string `json:"returns,omitempty"` + Nullable bool `json:"nullable,omitempty"` + NeverNull bool `json:"never_null,omitempty"` + // Expr is the expression to compile in place of name(args), and Query + // the whole statement, with $1, $2... standing for the arguments. + Expr string `json:"expr,omitempty"` + Query string `json:"query,omitempty"` +} + +// polymorphic reports whether a candidate takes a T or an AT. +func (c candidate) polymorphic() bool { + for _, a := range c.Args { + if a == "T" || a == "AT" { + return true + } + } + return false +} + +// sql is the statement that compiles a call of the candidate with the +// arguments given, as types. +func (c candidate) sql(args []string) (string, error) { + vals := make([]string, len(args)) + for i, a := range args { + if typ, lit, ok := strings.Cut(a, "="); ok { + _ = typ + vals[i] = lit + continue + } + v, ok := probeValues[a] + if !ok { + if c.Expr == "" && c.Query == "" { + return "", fmt.Errorf("%s: no probe value for %s", c.Name, a) + } + v = "NULL" + } + vals[i] = v + } + fill := func(tmpl string) string { + for i := len(vals); i >= 1; i-- { + tmpl = strings.ReplaceAll(tmpl, "$"+strconv.Itoa(i), vals[i-1]) + } + return tmpl + } + if c.Query != "" { + return fill(c.Query), nil + } + call := c.Name + "(" + strings.Join(vals, ", ") + ")" + if c.Expr != "" { + call = fill(c.Expr) + } + return "SELECT " + call + " AS r FROM probe", nil +} + +// seedType is the type an argument is written as in functions.jsonl. +func seedType(arg string) string { + switch arg { + case "T": + return "anyelement" + case "AT": + return "anyarray" + } + typ, _, _ := strings.Cut(arg, "=") + return typ +} + +// readLibrary reads types.jsonl, functions.jsonl and operators.jsonl from +// the probe database. +func readLibrary(ctx context.Context, s *server, session string) (dialect.Files, error) { + compile := func(sql string) (*spannerpb.Type, error) { + req := &spannerpb.ExecuteSqlRequest{Session: session, Sql: sql, QueryMode: spannerpb.ExecuteSqlRequest_PLAN} + if isDML(sql) { + req.Transaction = &spannerpb.TransactionSelector{Selector: &spannerpb.TransactionSelector_Begin{ + Begin: &spannerpb.TransactionOptions{Mode: &spannerpb.TransactionOptions_ReadWrite_{ReadWrite: &spannerpb.TransactionOptions_ReadWrite{}}}, + }} + req.Seqno = 1 + } + rs, err := s.data.ExecuteSql(ctx, req) + if err != nil { + return nil, err + } + if rs.Metadata != nil && rs.Metadata.Transaction != nil && len(rs.Metadata.Transaction.Id) > 0 { + s.data.Rollback(context.WithoutCancel(ctx), &spannerpb.RollbackRequest{Session: session, TransactionId: rs.Metadata.Transaction.Id}) + } + if rs.Metadata == nil || rs.Metadata.RowType == nil || len(rs.Metadata.RowType.Fields) == 0 { + return nil, nil + } + return rs.Metadata.RowType.Fields[0].Type, nil + } + + types, err := readLibraryTypes(compile) + if err != nil { + return nil, err + } + funcs, err := readLibraryFunctions(compile) + if err != nil { + return nil, err + } + operators, err := readLibraryOperators(compile) + if err != nil { + return nil, err + } + files := dialect.Files{} + for name, records := range map[string]any{ + dialect.TypesFile: types, + dialect.FunctionsFile: funcs, + dialect.OperatorsFile: operators, + } { + var blob []byte + var err error + switch r := records.(type) { + case []dialect.Type: + blob, err = dialect.JSONL(r) + case []dialect.Function: + blob, err = dialect.JSONL(r) + case []dialect.Operator: + blob, err = dialect.JSONL(r) + } + if err != nil { + return nil, err + } + files[name] = blob + } + return files, nil +} + +type compiler func(sql string) (*spannerpb.Type, error) + +// readLibraryTypes checks that Spanner has each type the dialect lists with +// a probe, failing when one is gone, since sqlc would then accept a schema +// Spanner rejects. +func readLibraryTypes(compile compiler) ([]dialect.Type, error) { + types := make([]dialect.Type, 0, len(libraryTypes)) + for _, t := range libraryTypes { + if t.probe != "" { + // IS NULL, since Spanner returns no STRUCT as a column. + if _, err := compile("SELECT CAST(NULL AS " + t.probe + ") IS NULL AS r"); err != nil { + return nil, fmt.Errorf("type %s: %w", t.Name, err) + } + } + types = append(types, t.Type) + } + return types, nil +} + +// readLibraryFunctions compiles every candidate in library.jsonl and lists +// the ones Spanner accepts, sorted by name and then by arity, the order the +// candidates give otherwise kept. +func readLibraryFunctions(compile compiler) ([]dialect.Function, error) { + var funcs []dialect.Function + scanner := bufio.NewScanner(bytes.NewReader(libraryCandidates)) + for line := 1; scanner.Scan(); line++ { + text := strings.TrimSpace(scanner.Text()) + if text == "" || strings.HasPrefix(text, "#") { + continue + } + var c candidate + if err := json.Unmarshal([]byte(text), &c); err != nil { + return nil, fmt.Errorf("library.jsonl:%d: %w", line, err) + } + returns, ok, err := probeCandidate(compile, c) + if err != nil { + return nil, fmt.Errorf("library.jsonl:%d: %w", line, err) + } + if !ok { + continue + } + fn := dialect.Function{Name: c.Name, Kind: c.Kind, Returns: returns, Nullable: c.Nullable, NeverNull: c.NeverNull} + for _, a := range c.Args { + fn.Args = append(fn.Args, dialect.Arg{Type: seedType(a)}) + } + funcs = append(funcs, fn) + } + if err := scanner.Err(); err != nil { + return nil, err + } + sort.SliceStable(funcs, func(i, j int) bool { + if funcs[i].Name != funcs[j].Name { + return funcs[i].Name < funcs[j].Name + } + return len(funcs[i].Args) < len(funcs[j].Args) + }) + return funcs, nil +} + +// probeCandidate compiles a candidate and returns the type it is seeded +// with, or false when Spanner rejects it. A candidate that is not there is +// left out rather than failing the run: a release of Spanner that drops a +// function shows in the diff of functions.jsonl. +func probeCandidate(compile compiler, c candidate) (string, bool, error) { + if !c.polymorphic() { + sql, err := c.sql(c.Args) + if err != nil { + return "", false, err + } + t, err := compile(sql) + if err != nil { + return "", false, nil + } + got := typeSpelling(t) + if c.Query != "" && c.Returns != "" { + // The statement's result, if it has one, is not the call's. + return c.Returns, true, nil + } + if c.Returns != "" && c.Returns != got { + return "", false, fmt.Errorf("%s returns %s, not %s", c.Name, got, c.Returns) + } + return got, true, nil + } + for _, elem := range []string{"int64", "string"} { + args := make([]string, len(c.Args)) + for i, a := range c.Args { + switch a { + case "T": + args[i] = elem + case "AT": + args[i] = "array(" + elem + ")" + default: + args[i] = a + } + } + sql, err := c.sql(args) + if err != nil { + return "", false, err + } + t, err := compile(sql) + if err != nil { + return "", false, nil + } + want := c.Returns + for i := len(args); i >= 1; i-- { + want = strings.ReplaceAll(want, "$"+strconv.Itoa(i), args[i-1]) + } + switch want { + case "anyelement": + want = elem + case "anyarray": + want = "array(" + elem + ")" + } + if got := typeSpelling(t); got != want { + return "", false, fmt.Errorf("%s(%s) returns %s, not %s", c.Name, strings.Join(args, ", "), got, want) + } + } + return c.Returns, true, nil +} + +// typeSpelling spells a type the way functions.jsonl does. +func typeSpelling(t *spannerpb.Type) string { + if t == nil { + return "" + } + if t.Code == spannerpb.TypeCode_ARRAY { + return "array(" + typeSpelling(t.ArrayElementType) + ")" + } + return strings.ToLower(t.Code.String()) +} + +// libraryOperandTypes are the operands each operator is tried with. +var ( + numericOperands = []string{"int64", "float64", "float32", "numeric"} + operatorPairs = func() [][3]string { + var pairs [][3]string + for _, op := range []string{"+", "-", "*", "/"} { + for _, l := range numericOperands { + for _, r := range numericOperands { + pairs = append(pairs, [3]string{op, l, r}) + } + } + } + for _, t := range []string{"string", "bytes"} { + pairs = append(pairs, [3]string{"||", t, t}) + } + for _, op := range []string{"+", "-"} { + pairs = append(pairs, [3]string{op, "timestamp", "interval"}, [3]string{op, "interval", "interval"}) + } + return append(pairs, + [3]string{"+", "interval", "timestamp"}, + [3]string{"-", "date", "date"}, [3]string{"-", "timestamp", "timestamp"}, + [3]string{"*", "interval", "int64"}, [3]string{"/", "interval", "int64"}, + [3]string{"&", "int64", "int64"}, [3]string{"|", "int64", "int64"}, [3]string{"^", "int64", "int64"}, + [3]string{"<<", "int64", "int64"}, [3]string{">>", "int64", "int64"}, + [3]string{"&", "bytes", "bytes"}, [3]string{"|", "bytes", "bytes"}, [3]string{"^", "bytes", "bytes"}, + ) + }() +) + +// readLibraryOperators compiles each binary operator over the operands it +// is tried with and lists the ones Spanner accepts with their result. The +// comparisons are left to dialect.json's rules, which make every one of +// them a BOOL. +func readLibraryOperators(compile compiler) ([]dialect.Operator, error) { + var ops []dialect.Operator + for _, p := range operatorPairs { + t, err := compile("SELECT " + probeValues[p[1]] + " " + p[0] + " " + probeValues[p[2]] + " AS r FROM probe") + if err != nil { + continue + } + ops = append(ops, dialect.Operator{Name: p[0], Left: p[1], Right: p[2], Result: typeSpelling(t)}) + } + return ops, nil +} diff --git a/internal/goldeneye/spanner/library.jsonl b/internal/goldeneye/spanner/library.jsonl new file mode 100644 index 0000000000..a0a9c286b9 --- /dev/null +++ b/internal/goldeneye/spanner/library.jsonl @@ -0,0 +1,322 @@ +# Candidate signatures of Spanner's GoogleSQL functions. Spanner keeps no +# catalog of its functions, so this file lists the calls to try; goldeneye +# compiles each one in PLAN mode against the probe table in library.go, +# keeps the ones Spanner accepts and writes the result type Spanner reports. +# +# An argument is a type, a type=literal for an argument Spanner wants as a +# literal, T for a polymorphic value or AT for an array of one. A +# polymorphic signature is tried with INT64 and STRING, and its returns +# ($1 for the first argument's type, array($1), anyelement for an AT's +# element) must match what Spanner reports for both. nullable and +# never_null say what Spanner cannot: whether the result can be NULL when +# the arguments are not, or is never NULL when they are. +# Aggregates: NULL over no rows, except the counts. +{"name": "count", "kind": "a", "args": ["T"], "returns": "int64", "never_null": true} +{"name": "countif", "kind": "a", "args": ["bool"], "never_null": true} +{"name": "any_value", "kind": "a", "args": ["T"], "returns": "$1", "nullable": true} +{"name": "array_agg", "kind": "a", "args": ["T"], "returns": "array($1)", "nullable": true} +{"name": "array_concat_agg", "kind": "a", "args": ["AT"], "returns": "$1", "nullable": true} +{"name": "avg", "kind": "a", "args": ["int64"], "nullable": true} +{"name": "avg", "kind": "a", "args": ["float64"], "nullable": true} +{"name": "avg", "kind": "a", "args": ["float32"], "nullable": true} +{"name": "avg", "kind": "a", "args": ["numeric"], "nullable": true} +{"name": "avg", "kind": "a", "args": ["interval"], "nullable": true} +{"name": "bit_and", "kind": "a", "args": ["int64"], "nullable": true} +{"name": "bit_or", "kind": "a", "args": ["int64"], "nullable": true} +{"name": "bit_xor", "kind": "a", "args": ["int64"], "nullable": true} +{"name": "logical_and", "kind": "a", "args": ["bool"], "nullable": true} +{"name": "logical_or", "kind": "a", "args": ["bool"], "nullable": true} +{"name": "max", "kind": "a", "args": ["T"], "returns": "$1", "nullable": true} +{"name": "min", "kind": "a", "args": ["T"], "returns": "$1", "nullable": true} +{"name": "string_agg", "kind": "a", "args": ["string"], "nullable": true} +{"name": "string_agg", "kind": "a", "args": ["string", "string=','"], "nullable": true} +{"name": "string_agg", "kind": "a", "args": ["bytes"], "nullable": true} +{"name": "string_agg", "kind": "a", "args": ["bytes", "bytes=b','"], "nullable": true} +{"name": "sum", "kind": "a", "args": ["int64"], "nullable": true} +{"name": "sum", "kind": "a", "args": ["float64"], "nullable": true} +{"name": "sum", "kind": "a", "args": ["float32"], "nullable": true} +{"name": "sum", "kind": "a", "args": ["numeric"], "nullable": true} +{"name": "sum", "kind": "a", "args": ["interval"], "nullable": true} +{"name": "stddev", "kind": "a", "args": ["float64"], "nullable": true} +{"name": "stddev_samp", "kind": "a", "args": ["float64"], "nullable": true} +{"name": "variance", "kind": "a", "args": ["float64"], "nullable": true} +{"name": "var_samp", "kind": "a", "args": ["float64"], "nullable": true} +# Window functions. +# Math. +{"name": "abs", "args": ["int64"]} +{"name": "abs", "args": ["float64"]} +{"name": "abs", "args": ["float32"]} +{"name": "abs", "args": ["numeric"]} +{"name": "sign", "args": ["int64"]} +{"name": "sign", "args": ["float64"]} +{"name": "sign", "args": ["numeric"]} +{"name": "mod", "args": ["int64", "int64"]} +{"name": "mod", "args": ["numeric", "numeric"]} +{"name": "div", "args": ["int64", "int64"]} +{"name": "div", "args": ["numeric", "numeric"]} +{"name": "round", "args": ["float64"]} +{"name": "round", "args": ["numeric"]} +{"name": "round", "args": ["float64", "int64"]} +{"name": "round", "args": ["numeric", "int64"]} +{"name": "trunc", "args": ["float64"]} +{"name": "trunc", "args": ["numeric"]} +{"name": "trunc", "args": ["float64", "int64"]} +{"name": "trunc", "args": ["numeric", "int64"]} +{"name": "ceil", "args": ["float64"]} +{"name": "ceil", "args": ["numeric"]} +{"name": "ceiling", "args": ["float64"]} +{"name": "ceiling", "args": ["numeric"]} +{"name": "floor", "args": ["float64"]} +{"name": "floor", "args": ["numeric"]} +{"name": "sqrt", "args": ["float64"]} +{"name": "sqrt", "args": ["numeric"]} +{"name": "pow", "args": ["float64", "float64"]} +{"name": "pow", "args": ["numeric", "numeric"]} +{"name": "power", "args": ["float64", "float64"]} +{"name": "power", "args": ["numeric", "numeric"]} +{"name": "exp", "args": ["float64"]} +{"name": "exp", "args": ["numeric"]} +{"name": "ln", "args": ["float64"]} +{"name": "ln", "args": ["numeric"]} +{"name": "log", "args": ["float64"]} +{"name": "log", "args": ["numeric"]} +{"name": "log", "args": ["float64", "float64"]} +{"name": "log10", "args": ["float64"]} +{"name": "log10", "args": ["numeric"]} +{"name": "ieee_divide", "args": ["float64", "float64"]} +{"name": "safe_divide", "args": ["int64", "int64"], "nullable": true} +{"name": "safe_divide", "args": ["float64", "float64"], "nullable": true} +{"name": "safe_divide", "args": ["numeric", "numeric"], "nullable": true} +{"name": "safe_add", "args": ["int64", "int64"], "nullable": true} +{"name": "safe_add", "args": ["float64", "float64"], "nullable": true} +{"name": "safe_add", "args": ["numeric", "numeric"], "nullable": true} +{"name": "safe_subtract", "args": ["int64", "int64"], "nullable": true} +{"name": "safe_subtract", "args": ["float64", "float64"], "nullable": true} +{"name": "safe_subtract", "args": ["numeric", "numeric"], "nullable": true} +{"name": "safe_multiply", "args": ["int64", "int64"], "nullable": true} +{"name": "safe_multiply", "args": ["float64", "float64"], "nullable": true} +{"name": "safe_multiply", "args": ["numeric", "numeric"], "nullable": true} +{"name": "safe_negate", "args": ["int64"], "nullable": true} +{"name": "safe_negate", "args": ["float64"], "nullable": true} +{"name": "safe_negate", "args": ["numeric"], "nullable": true} +{"name": "is_inf", "args": ["float64"]} +{"name": "is_nan", "args": ["float64"]} +{"name": "sin", "args": ["float64"]} +{"name": "cos", "args": ["float64"]} +{"name": "tan", "args": ["float64"]} +{"name": "asin", "args": ["float64"]} +{"name": "acos", "args": ["float64"]} +{"name": "atan", "args": ["float64"]} +{"name": "atan2", "args": ["float64", "float64"]} +{"name": "bit_count", "args": ["int64"]} +{"name": "bit_count", "args": ["bytes"]} +{"name": "bit_reverse", "args": ["int64", "bool"]} +# Strings. +{"name": "length", "args": ["string"]} +{"name": "length", "args": ["bytes"]} +{"name": "byte_length", "args": ["string"]} +{"name": "byte_length", "args": ["bytes"]} +{"name": "char_length", "args": ["string"]} +{"name": "character_length", "args": ["string"]} +{"name": "concat", "args": ["string", "string"]} +{"name": "concat", "args": ["bytes", "bytes"]} +{"name": "lower", "args": ["string"]} +{"name": "lower", "args": ["bytes"]} +{"name": "upper", "args": ["string"]} +{"name": "upper", "args": ["bytes"]} +{"name": "trim", "args": ["string"]} +{"name": "trim", "args": ["string", "string"]} +{"name": "trim", "args": ["bytes", "bytes"]} +{"name": "ltrim", "args": ["string"]} +{"name": "ltrim", "args": ["string", "string"]} +{"name": "rtrim", "args": ["string"]} +{"name": "rtrim", "args": ["string", "string"]} +{"name": "lpad", "args": ["string", "int64"]} +{"name": "lpad", "args": ["string", "int64", "string"]} +{"name": "lpad", "args": ["bytes", "int64", "bytes"]} +{"name": "rpad", "args": ["string", "int64"]} +{"name": "rpad", "args": ["string", "int64", "string"]} +{"name": "rpad", "args": ["bytes", "int64", "bytes"]} +{"name": "substr", "args": ["string", "int64"]} +{"name": "substr", "args": ["string", "int64", "int64"]} +{"name": "substr", "args": ["bytes", "int64"]} +{"name": "substr", "args": ["bytes", "int64", "int64"]} +{"name": "substring", "args": ["string", "int64"]} +{"name": "substring", "args": ["string", "int64", "int64"]} +{"name": "strpos", "args": ["string", "string"]} +{"name": "strpos", "args": ["bytes", "bytes"]} +{"name": "starts_with", "args": ["string", "string"]} +{"name": "starts_with", "args": ["bytes", "bytes"]} +{"name": "ends_with", "args": ["string", "string"]} +{"name": "ends_with", "args": ["bytes", "bytes"]} +{"name": "replace", "args": ["string", "string", "string"]} +{"name": "replace", "args": ["bytes", "bytes", "bytes"]} +{"name": "repeat", "args": ["string", "int64"]} +{"name": "repeat", "args": ["bytes", "int64"]} +{"name": "reverse", "args": ["string"]} +{"name": "reverse", "args": ["bytes"]} +{"name": "split", "args": ["string"]} +{"name": "split", "args": ["string", "string"]} +{"name": "split", "args": ["bytes", "bytes"]} +{"name": "split_substr", "args": ["string", "string", "int64"]} +{"name": "split_substr", "args": ["string", "string", "int64", "int64"]} +{"name": "regexp_contains", "args": ["string", "string='a'"]} +{"name": "regexp_contains", "args": ["bytes", "bytes=b'a'"]} +{"name": "regexp_extract", "args": ["string", "string='a'"], "nullable": true} +{"name": "regexp_extract", "args": ["bytes", "bytes=b'a'"], "nullable": true} +{"name": "regexp_extract_all", "args": ["string", "string='a'"]} +{"name": "regexp_extract_all", "args": ["bytes", "bytes=b'a'"]} +{"name": "regexp_replace", "args": ["string", "string='a'", "string"]} +{"name": "regexp_replace", "args": ["bytes", "bytes=b'a'", "bytes"]} +{"name": "format", "args": ["string"]} +{"name": "to_base64", "args": ["bytes"]} +{"name": "from_base64", "args": ["string"]} +{"name": "to_base32", "args": ["bytes"]} +{"name": "from_base32", "args": ["string"]} +{"name": "to_hex", "args": ["bytes"]} +{"name": "from_hex", "args": ["string"]} +{"name": "to_code_points", "args": ["string"]} +{"name": "to_code_points", "args": ["bytes"]} +{"name": "code_points_to_string", "args": ["array(int64)"]} +{"name": "code_points_to_bytes", "args": ["array(int64)"]} +{"name": "safe_convert_bytes_to_string", "args": ["bytes"]} +{"name": "soundex", "args": ["string"]} +{"name": "normalize", "args": ["string"]} +{"name": "normalize_and_casefold", "args": ["string"]} +{"name": "ltrim", "args": ["bytes", "bytes"]} +{"name": "rtrim", "args": ["bytes", "bytes"]} +# Dates and timestamps; date parts are passed as their keyword. +{"name": "current_date"} +{"name": "current_timestamp"} +{"name": "date", "args": ["int64", "int64", "int64"]} +{"name": "date", "args": ["timestamp"]} +{"name": "date", "args": ["timestamp", "string"]} +{"name": "date_add", "args": ["date", "interval"]} +{"name": "date_sub", "args": ["date", "interval"]} +{"name": "date_diff", "args": ["date", "date", "string=DAY"]} +{"name": "date_trunc", "args": ["date", "string=MONTH"]} +{"name": "date_from_unix_date", "args": ["int64"]} +{"name": "unix_date", "args": ["date"]} +{"name": "format_date", "args": ["string", "date"]} +{"name": "parse_date", "args": ["string", "string"]} +{"name": "timestamp", "args": ["string"]} +{"name": "timestamp", "args": ["date"]} +{"name": "timestamp", "args": ["string", "string"]} +{"name": "timestamp", "args": ["date", "string"]} +{"name": "timestamp_add", "args": ["timestamp", "interval"]} +{"name": "timestamp_sub", "args": ["timestamp", "interval"]} +{"name": "timestamp_diff", "args": ["timestamp", "timestamp", "string=SECOND"]} +{"name": "timestamp_trunc", "args": ["timestamp", "string=DAY"]} +{"name": "timestamp_trunc", "args": ["timestamp", "string=DAY", "string"]} +{"name": "timestamp_seconds", "args": ["int64"]} +{"name": "timestamp_millis", "args": ["int64"]} +{"name": "timestamp_micros", "args": ["int64"]} +{"name": "unix_seconds", "args": ["timestamp"]} +{"name": "unix_millis", "args": ["timestamp"]} +{"name": "unix_micros", "args": ["timestamp"]} +{"name": "format_timestamp", "args": ["string", "timestamp"]} +{"name": "format_timestamp", "args": ["string", "timestamp", "string"]} +{"name": "parse_timestamp", "args": ["string", "string"]} +{"name": "parse_timestamp", "args": ["string", "string", "string"]} +{"name": "string", "args": ["timestamp"]} +{"name": "string", "args": ["timestamp", "string"]} +{"name": "string", "args": ["json"]} +{"name": "make_interval", "args": ["int64", "int64", "int64"]} +{"name": "justify_days", "args": ["interval"]} +{"name": "justify_hours", "args": ["interval"]} +{"name": "justify_interval", "args": ["interval"]} +# JSON. +{"name": "json_value", "args": ["json", "string='$.a'"], "nullable": true} +{"name": "json_value", "args": ["string", "string='$.a'"], "nullable": true} +{"name": "json_query", "args": ["json", "string='$.a'"], "nullable": true} +{"name": "json_query", "args": ["string", "string='$.a'"], "nullable": true} +{"name": "json_query_array", "args": ["json", "string='$.a'"], "nullable": true} +{"name": "json_query_array", "args": ["json"], "nullable": true} +{"name": "json_value_array", "args": ["json", "string='$.a'"], "nullable": true} +{"name": "json_value_array", "args": ["json"], "nullable": true} +{"name": "json_type", "args": ["json"]} +{"name": "json_keys", "args": ["json"]} +{"name": "json_strip_nulls", "args": ["json"]} +{"name": "parse_json", "args": ["string"]} +{"name": "to_json", "args": ["T"], "returns": "json", "never_null": true} +{"name": "to_json_string", "args": ["json"], "never_null": true} +{"name": "safe_to_json", "args": ["T"], "returns": "json", "never_null": true} +{"name": "bool", "args": ["json"]} +{"name": "int64", "args": ["json"]} +{"name": "float64", "args": ["json"]} +{"name": "float32", "args": ["json"]} +{"name": "lax_bool", "args": ["json"], "nullable": true} +{"name": "lax_int64", "args": ["json"], "nullable": true} +{"name": "lax_float64", "args": ["json"], "nullable": true} +{"name": "lax_string", "args": ["json"], "nullable": true} +{"name": "json_array", "args": ["T"], "returns": "json"} +{"name": "json_object", "args": ["string", "T"], "returns": "json"} +{"name": "json_set", "args": ["json", "string='$.a'", "T"], "returns": "json"} +{"name": "json_remove", "args": ["json", "string='$.a'"]} +{"name": "json_array_append", "args": ["json", "string='$'", "T"], "returns": "json"} +{"name": "json_array_insert", "args": ["json", "string='$[0]'", "T"], "returns": "json"} +{"name": "json_contains", "args": ["json", "json"]} +# Arrays. +{"name": "array_length", "args": ["AT"], "returns": "int64"} +{"name": "array_to_string", "args": ["array(string)", "string"]} +{"name": "array_to_string", "args": ["array(string)", "string", "string"]} +{"name": "array_to_string", "args": ["array(bytes)", "bytes"]} +{"name": "array_reverse", "args": ["AT"], "returns": "$1"} +{"name": "array_concat", "args": ["AT", "AT"], "returns": "$1"} +{"name": "array_first", "args": ["AT"], "returns": "anyelement", "nullable": true} +{"name": "array_last", "args": ["AT"], "returns": "anyelement", "nullable": true} +{"name": "array_min", "args": ["AT"], "returns": "anyelement", "nullable": true} +{"name": "array_max", "args": ["AT"], "returns": "anyelement", "nullable": true} +{"name": "array_slice", "args": ["AT", "int64", "int64"], "returns": "$1"} +{"name": "array_includes", "args": ["AT", "T"], "returns": "bool"} +{"name": "array_includes_any", "args": ["AT", "AT"], "returns": "bool"} +{"name": "array_includes_all", "args": ["AT", "AT"], "returns": "bool"} +{"name": "array_is_distinct", "args": ["AT"], "returns": "bool"} +{"name": "generate_array", "args": ["int64", "int64"]} +{"name": "generate_array", "args": ["int64", "int64", "int64"]} +{"name": "generate_array", "args": ["float64", "float64", "float64"]} +{"name": "generate_date_array", "args": ["date", "date"]} +{"name": "generate_date_array", "args": ["date", "date", "interval"]} +# Hashing, ids and sequences. +{"name": "farm_fingerprint", "args": ["string"]} +{"name": "farm_fingerprint", "args": ["bytes"]} +{"name": "md5", "args": ["string"]} +{"name": "md5", "args": ["bytes"]} +{"name": "sha1", "args": ["string"]} +{"name": "sha1", "args": ["bytes"]} +{"name": "sha256", "args": ["string"]} +{"name": "sha256", "args": ["bytes"]} +{"name": "sha512", "args": ["string"]} +{"name": "sha512", "args": ["bytes"]} +{"name": "generate_uuid", "never_null": true} +{"name": "new_uuid", "never_null": true} +# Search and vectors. +{"name": "search", "args": ["tokenlist", "string='a'"]} +{"name": "search_substring", "args": ["tokenlist", "string='a'"]} +{"name": "search_ngrams", "args": ["tokenlist", "string='a'"]} +{"name": "score", "args": ["tokenlist", "string='a'"]} +{"name": "score_ngrams", "args": ["tokenlist", "string='a'"]} +{"name": "snippet", "args": ["string", "string='a'"]} +{"name": "cosine_distance", "args": ["array(float64)", "array(float64)"]} +{"name": "cosine_distance", "args": ["array(float32)", "array(float32)"]} +{"name": "euclidean_distance", "args": ["array(float64)", "array(float64)"]} +{"name": "euclidean_distance", "args": ["array(float32)", "array(float32)"]} +{"name": "dot_product", "args": ["array(float64)", "array(float64)"]} +{"name": "dot_product", "args": ["array(float32)", "array(float32)"]} +{"name": "dot_product", "args": ["array(int64)", "array(int64)"]} +# Calls a select list cannot spell as name(args): the expression or the +# whole statement to compile instead, with $1, $2... for the arguments. A +# statement whose result is not the call names what the call returns. +{"name": "extract", "args": ["timestamp"], "expr": "EXTRACT(YEAR FROM $1)"} +{"name": "extract", "args": ["timestamp", "string"], "expr": "EXTRACT(YEAR FROM $1 AT TIME ZONE $2)"} +{"name": "extract", "args": ["date"], "expr": "EXTRACT(YEAR FROM $1)"} +{"name": "get_next_sequence_value", "args": ["anyelement"], "expr": "GET_NEXT_SEQUENCE_VALUE(SEQUENCE probe_sequence)", "never_null": true} +{"name": "pending_commit_timestamp", "query": "INSERT INTO probe_commits (id, committed_at) VALUES (1, PENDING_COMMIT_TIMESTAMP())", "returns": "timestamp", "never_null": true} +{"name": "search", "args": ["tokenlist", "string='a'"], "query": "SELECT id FROM probe WHERE SEARCH($1, $2)", "returns": "bool"} +{"name": "search_substring", "args": ["tokenlist", "string='a'"], "query": "SELECT id FROM probe WHERE SEARCH_SUBSTRING(tl_substring, $2)", "returns": "bool"} +{"name": "search_ngrams", "args": ["tokenlist", "string='a'"], "query": "SELECT id FROM probe WHERE SEARCH_NGRAMS(tl_ngrams, $2)", "returns": "bool"} +{"name": "score", "args": ["tokenlist", "string='a'"], "query": "SELECT SCORE($1, $2) FROM probe WHERE SEARCH($1, $2)"} +{"name": "score_ngrams", "args": ["tokenlist", "string='a'"], "query": "SELECT SCORE_NGRAMS(tl_ngrams, $2) FROM probe WHERE SEARCH_NGRAMS(tl_ngrams, $2)"} +# unnest stands for UNNEST(array) in FROM and IN, which sqlc reads as a +# call; its element can be NULL. +{"name": "unnest", "args": ["AT"], "returns": "anyelement", "expr": "(SELECT e FROM UNNEST($1) AS e LIMIT 1)", "nullable": true} diff --git a/internal/goldeneye/spanner/spanner.go b/internal/goldeneye/spanner/spanner.go index 90d82a13fe..61a8858fd0 100644 --- a/internal/goldeneye/spanner/spanner.go +++ b/internal/goldeneye/spanner/spanner.go @@ -6,11 +6,13 @@ // googlesql directory, since sqlc's engine is named after the language // Spanner speaks rather than the database. // -// Spanner keeps no catalog of its types, functions or operators, so -// types.jsonl, functions.jsonl and operators.jsonl are written by hand and -// are not this package's business. What it does describe is its -// information schema: relations.jsonl is every view of INFORMATION_SCHEMA -// and SPANNER_SYS, read from INFORMATION_SCHEMA itself. +// relations.jsonl is every view of INFORMATION_SCHEMA and SPANNER_SYS, +// read from INFORMATION_SCHEMA itself. Spanner keeps no catalog of its +// types, functions or operators, so types.jsonl, functions.jsonl and +// operators.jsonl are read by asking: library.jsonl lists the function +// signatures to try, and each is compiled in PLAN mode against a probe +// database, the ones Spanner accepts kept with the type it reports; the +// operators and types are tried the same way (see library.go). // // The package also verifies the GoogleSQL analyze cases against the same // server: each case's schema becomes a database of its own, its fixture is @@ -193,7 +195,8 @@ func (s *server) query(ctx context.Context, session, sql string) ([][]*structpb. // Generate reads the dialect from the server: relations.jsonl, the views of // INFORMATION_SCHEMA and SPANNER_SYS, read from a database of their own, -// since every database has the same ones. +// since every database has the same ones, and the types, functions and +// operators, read from a probe database. func Generate(ctx context.Context, endpoint string) (dialect.Files, error) { s, err := open(ctx, endpoint) if err != nil { @@ -220,5 +223,23 @@ func Generate(ctx context.Context, endpoint string) (dialect.Files, error) { if err != nil { return nil, err } - return dialect.Files{dialect.RelationsFile: blob}, nil + + lib := Instance + "/databases/" + libraryDatabase + if err := s.dropDatabase(ctx, lib); err != nil { + return nil, err + } + if _, err := s.createDatabase(ctx, libraryDatabase, librarySchema); err != nil { + return nil, err + } + defer s.dropDatabase(context.WithoutCancel(ctx), lib) + libSession, err := s.session(ctx, lib) + if err != nil { + return nil, err + } + files, err := readLibrary(ctx, s, libSession) + if err != nil { + return nil, err + } + files[dialect.RelationsFile] = blob + return files, nil } From 0f1602fe1a4b780336e3e878dde720892fd8578d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 19 Oct 2026 10:25:23 -0700 Subject: [PATCH 11/16] build(deps): bump github.com/jackc/pgx/v4 (#4644) Bumps the production-dependencies group with 1 update in the /internal/endtoend/testdata directory: [github.com/jackc/pgx/v4](https://github.com/jackc/pgx). Updates `github.com/jackc/pgx/v4` from 4.18.2 to 4.18.3 - [Release notes](https://github.com/jackc/pgx/releases) - [Changelog](https://github.com/jackc/pgx/blob/v4.18.3/CHANGELOG.md) - [Commits](https://github.com/jackc/pgx/compare/v4.18.2...v4.18.3) --- updated-dependencies: - dependency-name: github.com/jackc/pgx/v4 dependency-version: 4.18.3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: production-dependencies ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- internal/endtoend/testdata/go.mod | 34 ++++++++-------- internal/endtoend/testdata/go.sum | 67 ++++++++++++++++--------------- 2 files changed, 51 insertions(+), 50 deletions(-) diff --git a/internal/endtoend/testdata/go.mod b/internal/endtoend/testdata/go.mod index 7e8a38d1c4..c637ec8b23 100644 --- a/internal/endtoend/testdata/go.mod +++ b/internal/endtoend/testdata/go.mod @@ -11,7 +11,7 @@ require ( github.com/hexon/mysqltsv v0.2.2 github.com/jackc/pgconn v1.14.3 github.com/jackc/pgtype v1.14.4 - github.com/jackc/pgx/v4 v4.18.2 + github.com/jackc/pgx/v4 v4.18.3 github.com/jackc/pgx/v5 v5.11.0 github.com/lib/pq v1.12.3 github.com/microsoft/go-mssqldb v1.11.2 @@ -26,9 +26,9 @@ require ( require ( cel.dev/expr v0.25.2 // indirect cloud.google.com/go v0.123.0 // indirect - cloud.google.com/go/auth v0.20.0 // indirect - cloud.google.com/go/auth/oauth2adapt v0.2.8 // indirect - cloud.google.com/go/compute/metadata v0.9.0 // indirect + cloud.google.com/go/auth v0.24.1-0.20261001053825-dbc26066f70a // indirect + cloud.google.com/go/auth/oauth2adapt v0.3.0 // indirect + cloud.google.com/go/compute/metadata v0.10.0 // indirect cloud.google.com/go/monitoring v1.30.0 // indirect filippo.io/edwards25519 v1.2.0 // indirect github.com/GoogleCloudPlatform/grpc-gcp-go/grpcgcp v1.6.0 // indirect @@ -54,8 +54,8 @@ require ( github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9 // indirect github.com/golang-sql/sqlexp v0.1.0 // indirect github.com/google/flatbuffers v25.12.19+incompatible // indirect - github.com/google/s2a-go v0.1.9 // indirect - github.com/googleapis/enterprise-certificate-proxy v0.3.17 // indirect + github.com/google/s2a-go v0.1.11 // indirect + github.com/googleapis/enterprise-certificate-proxy v0.3.22 // indirect github.com/googleapis/gax-go/v2 v2.26.2 // indirect github.com/jackc/chunkreader/v2 v2.0.1 // indirect github.com/jackc/pgio v1.0.0 // indirect @@ -81,22 +81,22 @@ require ( go.opentelemetry.io/otel/sdk v1.45.0 // indirect go.opentelemetry.io/otel/sdk/metric v1.45.0 // indirect go.opentelemetry.io/otel/trace v1.45.0 // indirect - golang.org/x/crypto v0.55.0 // indirect + golang.org/x/crypto v0.57.0 // indirect golang.org/x/exp v0.0.0-20260112195511-716be5621a96 // indirect - golang.org/x/mod v0.38.0 // indirect - golang.org/x/net v0.58.0 // indirect - golang.org/x/oauth2 v0.36.0 // indirect + golang.org/x/mod v0.41.0 // indirect + golang.org/x/net v0.59.0 // indirect + golang.org/x/oauth2 v0.37.0 // indirect golang.org/x/sync v0.24.0 // indirect - golang.org/x/sys v0.47.0 // indirect - golang.org/x/telemetry v0.0.0-20260708182218-49f421fb7959 // indirect - golang.org/x/text v0.41.0 // indirect - golang.org/x/time v0.15.0 // indirect - golang.org/x/tools v0.48.0 // indirect + golang.org/x/sys v0.48.0 // indirect + golang.org/x/telemetry v0.0.0-20260811182544-a038080d80e5 // indirect + golang.org/x/text v0.42.0 // indirect + golang.org/x/time v0.16.0 // indirect + golang.org/x/tools v0.49.0 // indirect golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da // indirect - google.golang.org/api v0.288.0 // indirect + google.golang.org/api v0.301.0 // indirect google.golang.org/genproto v0.0.0-20260715232425-e75dac1f907d // indirect google.golang.org/genproto/googleapis/api v0.0.0-20260715232425-e75dac1f907d // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20260715232425-e75dac1f907d // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20260928230214-8a89bd6388cc // indirect google.golang.org/grpc v1.84.0 // indirect google.golang.org/protobuf v1.36.12 // indirect ) diff --git a/internal/endtoend/testdata/go.sum b/internal/endtoend/testdata/go.sum index dcd47ca594..0ffd00be89 100644 --- a/internal/endtoend/testdata/go.sum +++ b/internal/endtoend/testdata/go.sum @@ -3,12 +3,12 @@ cel.dev/expr v0.25.2/go.mod h1:hrXvqGP6G6gyx8UAHSHJ5RGk//1Oj5nXQ2NI02Nrsg4= cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw= cloud.google.com/go v0.123.0 h1:2NAUJwPR47q+E35uaJeYoNhuNEM9kM8SjgRgdeOJUSE= cloud.google.com/go v0.123.0/go.mod h1:xBoMV08QcqUGuPW65Qfm1o9Y4zKZBpGS+7bImXLTAZU= -cloud.google.com/go/auth v0.20.0 h1:kXTssoVb4azsVDoUiF8KvxAqrsQcQtB53DcSgta74CA= -cloud.google.com/go/auth v0.20.0/go.mod h1:942/yi/itH1SsmpyrbnTMDgGfdy2BUqIKyd0cyYLc5Q= -cloud.google.com/go/auth/oauth2adapt v0.2.8 h1:keo8NaayQZ6wimpNSmW5OPc283g65QNIiLpZnkHRbnc= -cloud.google.com/go/auth/oauth2adapt v0.2.8/go.mod h1:XQ9y31RkqZCcwJWNSx2Xvric3RrU88hAYYbjDWYDL+c= -cloud.google.com/go/compute/metadata v0.9.0 h1:pDUj4QMoPejqq20dK0Pg2N4yG9zIkYGdBtwLoEkH9Zs= -cloud.google.com/go/compute/metadata v0.9.0/go.mod h1:E0bWwX5wTnLPedCKqk3pJmVgCBSM6qQI1yTBdEb3C10= +cloud.google.com/go/auth v0.24.1-0.20261001053825-dbc26066f70a h1:jW1ZLFy9oa5ai8LOI40z6s+DL1cO/L1KSm9hVGnibn8= +cloud.google.com/go/auth v0.24.1-0.20261001053825-dbc26066f70a/go.mod h1:1dmBXa9xfBvBr39ZnDUDkaaA91ccq9CcqENDgJA4d7c= +cloud.google.com/go/auth/oauth2adapt v0.3.0 h1:FY8oSZpCYoUNv6QxVODuMjQz4IlSOVeiQtZ08vLPz88= +cloud.google.com/go/auth/oauth2adapt v0.3.0/go.mod h1:7+2uCm7++XFO+/lN06c2HXpDXb/NMNn2/UwyBPbTnkk= +cloud.google.com/go/compute/metadata v0.10.0 h1:pyKMUQSwchgkIBBJGdILqQbs/BNJXqwSA7Ej6LAvvtY= +cloud.google.com/go/compute/metadata v0.10.0/go.mod h1:rGFHRrIif570kSibjFTMbt6/4/tzgJWFGI/HVol4GIk= cloud.google.com/go/iam v1.12.0 h1:Aki3bX9aHUDKPHfnRJfDcTdVedvy6quGBQcTqx3DRXk= cloud.google.com/go/iam v1.12.0/go.mod h1:FEZ4lXpADAC2AIpQY7LANNjjwyQ2jK439CI2VaD+sLY= cloud.google.com/go/longrunning v1.2.0 h1:WjYH3YHBGCxGJP9M4dWGHBfXr/cFIjMkNgWcJj7/iMM= @@ -144,13 +144,13 @@ github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/ github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8= github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU= github.com/google/renameio v0.1.0/go.mod h1:KWCgfxg9yswjAJkECMjeO8J8rahYeXnNhOm40UhjYkI= -github.com/google/s2a-go v0.1.9 h1:LGD7gtMgezd8a/Xak7mEWL0PjoTQFvpRudN895yqKW0= -github.com/google/s2a-go v0.1.9/go.mod h1:YA0Ei2ZQL3acow2O62kdp9UlnvMmU7kA6Eutn0dXayM= +github.com/google/s2a-go v0.1.11 h1:7v1V1TraNGP63WptsAkNqr2w8jgm4vM6A6qx6Lsw9iM= +github.com/google/s2a-go v0.1.11/go.mod h1:pz4tyvwXvJLLbyrkh6FW1eS2zPUXMaTmyNhYtyP2tNw= github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/googleapis/enterprise-certificate-proxy v0.3.17 h1:73NfMHdiqo9JFU9+7a5ExpVa10/R29pXfZIaW559nrg= -github.com/googleapis/enterprise-certificate-proxy v0.3.17/go.mod h1:rSEsBUemEBZEexP2y6jPp16LUmUbjmSbcPMQizR0o4k= +github.com/googleapis/enterprise-certificate-proxy v0.3.22 h1:NU4XpII6jD+Dxcot94fqjE+AfJoE/lQP9q3faYGzC/c= +github.com/googleapis/enterprise-certificate-proxy v0.3.22/go.mod h1:L3D/IQExI6LqEjBdXcZQ1WluSgigQmSwBboFstVPM4w= github.com/googleapis/gax-go/v2 v2.26.2 h1:ydkmNXxj7bEmmeK5AihkKnWxyOyBR9TDebvp5L5izk8= github.com/googleapis/gax-go/v2 v2.26.2/go.mod h1:sMKqnMesnKH+3wiRJROcttA+cJoZoGbZl1vDQ8XYtGk= github.com/hexon/mysqltsv v0.2.2 h1:oF4pNJfgjipAy7sqyp7JVt9r5rOVQe8mQJg8z2Bf+VY= @@ -199,8 +199,9 @@ github.com/jackc/pgx/v4 v4.0.0-20190420224344-cc3461e65d96/go.mod h1:mdxmSJJuR08 github.com/jackc/pgx/v4 v4.0.0-20190421002000-1b8f0016e912/go.mod h1:no/Y67Jkk/9WuGR0JG/JseM9irFbnEPbuWV2EELPNuM= github.com/jackc/pgx/v4 v4.0.0-pre1.0.20190824185557-6972a5742186/go.mod h1:X+GQnOEnf1dqHGpw7JmHqHc1NxDoalibchSk9/RWuDc= github.com/jackc/pgx/v4 v4.12.1-0.20210724153913-640aa07df17c/go.mod h1:1QD0+tgSXP7iUjYm9C1NxKhny7lq6ee99u/z+IHFcgs= -github.com/jackc/pgx/v4 v4.18.2 h1:xVpYkNR5pk5bMCZGfClbO962UIqVABcAGt7ha1s/FeU= github.com/jackc/pgx/v4 v4.18.2/go.mod h1:Ey4Oru5tH5sB6tV7hDmfWFahwF15Eb7DNXlRKx2CkVw= +github.com/jackc/pgx/v4 v4.18.3 h1:dE2/TrEsGX3RBprb3qryqSV9Y60iZN1C6i8IrmW9/BA= +github.com/jackc/pgx/v4 v4.18.3/go.mod h1:Ey4Oru5tH5sB6tV7hDmfWFahwF15Eb7DNXlRKx2CkVw= github.com/jackc/pgx/v5 v5.11.0 h1:IzBBtyK9AHqf98cctWFifYSci2hgQR/cd56wB4p+ogg= github.com/jackc/pgx/v5 v5.11.0/go.mod h1:mal1tBGAFfLHvZzaYh77YS/eC6IX9OWbRV1QIIM0Jn4= github.com/jackc/puddle v0.0.0-20190413234325-e4ced69a3a2b/go.mod h1:m4B5Dj62Y0fbyuIc15OsIqK0+JU8nkqQjsgx7dvjSWk= @@ -347,8 +348,8 @@ golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97/go.mod h1:GvvjBRRGRdwPK5y golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.19.0/go.mod h1:Iy9bg/ha4yyC70EfRS8jz+B6ybOBKMaSxLj6P6oBDfU= golang.org/x/crypto v0.20.0/go.mod h1:Xwo95rrVNIoSMx9wa1JroENMToLWn3RNVrTBpLHgZPQ= -golang.org/x/crypto v0.55.0 h1:+KWHjbgOaAQ66dh/YlkZKHlz9ZUlq61AFirAR9ntP8M= -golang.org/x/crypto v0.55.0/go.mod h1:uq0V9dE/fzQuJtbnL+2EhWOE63vo164FY8xqEnV9xis= +golang.org/x/crypto v0.57.0 h1:3ZVCjf8Ggz7zneR/EHRVx68Ctf+2pmIMP2UFhh9cC6M= +golang.org/x/crypto v0.57.0/go.mod h1:Fdz0i5U6CoizGwLda9DttjSk6qlZo25zYNtR+ycvuZA= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20260112195511-716be5621a96 h1:Z/6YuSHTLOHfNFdb8zVZomZr7cqNgTJvA8+Qz75D8gU= golang.org/x/exp v0.0.0-20260112195511-716be5621a96/go.mod h1:nzimsREAkjBCIEFtHiYkrJyT+2uy9YZJB7H1k68CXZU= @@ -360,8 +361,8 @@ golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKG golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= -golang.org/x/mod v0.38.0 h1:MECBjubtXD7yj4HrhIUcywNaGeNVUdfVnxmPajOk4yk= -golang.org/x/mod v0.38.0/go.mod h1:V6Xz0pq8TQ3dGqVQ1FVHuelZpAL0uNhSkk9ogYP3c40= +golang.org/x/mod v0.41.0 h1:qJmnOUb4YB+FsEuM3HcWucdZASCPGhsX6uljO6pog0c= +golang.org/x/mod v0.41.0/go.mod h1:Ek9pY8RKWXwsWvd3rQiHYtMqkjSUV+s1Rj7j4H5Ur6o= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -375,11 +376,11 @@ golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= golang.org/x/net v0.21.0/go.mod h1:bIjVDfnllIU7BJ2DNgfnXvpSvtn8VRwhlsaeUTyUS44= -golang.org/x/net v0.58.0 h1:ynWG7rqYi4ccpTEuPZ2QGWHktVEM9DMCj9yzDE0Q7To= -golang.org/x/net v0.58.0/go.mod h1:YwCddHnFlT7eLQqVprV19OnhLGtc5xOKgE0RyqgfWAU= +golang.org/x/net v0.59.0 h1:5zfYln+w5XCxwrnMMJPufRgNoXEaGxl0wo5GqPXyues= +golang.org/x/net v0.59.0/go.mod h1:2DA/G1UfVbCpQPeWTmMPGY7Cs2PkBkwu743bVX5PIVg= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= -golang.org/x/oauth2 v0.36.0 h1:peZ/1z27fi9hUOFCAZaHyrpWG5lwe0RJEEEeH0ThlIs= -golang.org/x/oauth2 v0.36.0/go.mod h1:YDBUJMTkDnJS+A4BP4eZBjCqtokkg1hODuPjwiGPO7Q= +golang.org/x/oauth2 v0.37.0 h1:JUlcxA8oAtauLfiH8FX2/FkAWHAdi0QtGCGc+hofE98= +golang.org/x/oauth2 v0.37.0/go.mod h1:IxwZNxUULJmpBFf9K/9NTMSIfZZuvuTy1gGxhigP/58= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -406,10 +407,10 @@ golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/sys v0.47.0 h1:o7XGOvZQCADBQQ4Y7VNq2dRWQR7JmOUW8Kxx4ZsNgWs= -golang.org/x/sys v0.47.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw= -golang.org/x/telemetry v0.0.0-20260708182218-49f421fb7959 h1:RJhm5l6Fo4rmEIcndxDllNhhf/fAx8qIm4t6A7vpm2A= -golang.org/x/telemetry v0.0.0-20260708182218-49f421fb7959/go.mod h1:LV7u5Oco+Z/g6XI7PqN+EUUUGGkEcmB1uj2ceI0fOVg= +golang.org/x/sys v0.48.0 h1:bbX/i/6MgT9BVLM9RT1thmxL04yeTAhbEz4SyadbXoo= +golang.org/x/sys v0.48.0/go.mod h1:hNLxWAXmnKAxqDtdwIYC4bM9oQPEecfsnNMuSxOs3og= +golang.org/x/telemetry v0.0.0-20260811182544-a038080d80e5 h1:ZUSxONxc981v7AW7QUg+I9WwZzSTTJ019ENBYr5pV/Q= +golang.org/x/telemetry v0.0.0-20260811182544-a038080d80e5/go.mod h1:LVehoXe41cL5SCVQilsV7Gg6BNG+Js6P9PhSbYTIUkQ= golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= @@ -425,10 +426,10 @@ golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= -golang.org/x/text v0.41.0 h1:vz/seA0lnX87Othu2f/0L24RcgrXD9/YFTSuGjj3rH8= -golang.org/x/text v0.41.0/go.mod h1:jvf1O8ajNzZqhSrQBPbutR/EB83Cc0CFrezNQIwbb5M= -golang.org/x/time v0.15.0 h1:bbrp8t3bGUeFOx08pvsMYRTCVSMk89u4tKbNOZbp88U= -golang.org/x/time v0.15.0/go.mod h1:Y4YMaQmXwGQZoFaVFk4YpCt4FLQMYKZe9oeV/f4MSno= +golang.org/x/text v0.42.0 h1:JbOZXgfeCPU9gacVtYliJqOhD+zhrEqK4LfdpmlUZqI= +golang.org/x/text v0.42.0/go.mod h1:ojzP1Z+2QtioaF8DTtO8K5q7JWVVYwZKenzujK0Zd0E= +golang.org/x/time v0.16.0 h1:vMb6ptszcQMkcwiRTAuNNU50gom6++Q/6gY2hDM6VDE= +golang.org/x/time v0.16.0/go.mod h1:rVKOqvZeKvrDKTQiAHJ7wmwP0RzleSphoEA9RcdLA0s= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= @@ -443,8 +444,8 @@ golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtn golang.org/x/tools v0.0.0-20200103221440-774c71fcf114/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= -golang.org/x/tools v0.48.0 h1:3+hClM1aLL5mjMKm5ovokw9epgRXPuu2tILgismM6RE= -golang.org/x/tools v0.48.0/go.mod h1:08xX0orndb/F7jJxGDicx061tyd5pcMto75YMAXr6lk= +golang.org/x/tools v0.49.0 h1:3NI7VXzL9+1WZD52Dx2ttoPwD5DWrFGpl9mFZDlmisI= +golang.org/x/tools v0.49.0/go.mod h1:SJNXV9DBKT0UbdttsQjbfJlAE/q+y36++zo3uL3N0Oo= golang.org/x/xerrors v0.0.0-20190410155217-1f06c39b4373/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20190513163551-3ee3066db522/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= @@ -455,8 +456,8 @@ golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da h1:noIWHXmPHxILtqtCOPIhS golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da/go.mod h1:NDW/Ps6MPRej6fsCIbMTohpP40sJ/P/vI1MoTEGwX90= gonum.org/v1/gonum v0.17.0 h1:VbpOemQlsSMrYmn7T2OUvQ4dqxQXU+ouZFQsZOx50z4= gonum.org/v1/gonum v0.17.0/go.mod h1:El3tOrEuMpv2UdMrbNlKEh9vd86bmQ6vqIcDwxEOc1E= -google.golang.org/api v0.288.0 h1:glhO/J88obKP5I269W3hB73dvBKrjU56ZfmNlNXpgTU= -google.golang.org/api v0.288.0/go.mod h1:lM2kYRzYUCBY91P9h6VF1PYmvhxii3O5hji37qRvIcY= +google.golang.org/api v0.301.0 h1:rTvI8szs17R7b09ggb34Bv4XrmFaFl9uCBncgxskqtw= +google.golang.org/api v0.301.0/go.mod h1:gGUTaOjgsaG/KNyyW1tFO+DSFm3EJw4BwyehlcmDCXs= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= @@ -466,8 +467,8 @@ google.golang.org/genproto v0.0.0-20260715232425-e75dac1f907d h1:C9v1o0/4quuhOAf google.golang.org/genproto v0.0.0-20260715232425-e75dac1f907d/go.mod h1:Wz2wFJntZFmLGo7pLDXZ3wYk5hyc0Mb+SkHhDDXT+lU= google.golang.org/genproto/googleapis/api v0.0.0-20260715232425-e75dac1f907d h1:QwnJwPte4XXAkhPu26LTDIahnsMSUV0kK8HkxbC+Pc4= google.golang.org/genproto/googleapis/api v0.0.0-20260715232425-e75dac1f907d/go.mod h1:WRrQ7/7N19PypuT0fxLOL5Lq0waoiRri4FbtHDEKrGE= -google.golang.org/genproto/googleapis/rpc v0.0.0-20260715232425-e75dac1f907d h1:Jkpk39hlTZOIp3RbfvNX9R8Hv+Sw0X89nlU/xFOErsc= -google.golang.org/genproto/googleapis/rpc v0.0.0-20260715232425-e75dac1f907d/go.mod h1:4Hqkh8ycfw05ld/3BWL7rJOSfebL2Q+DVDeRgYgxUU8= +google.golang.org/genproto/googleapis/rpc v0.0.0-20260928230214-8a89bd6388cc h1:4bNTbnb44EqGVy9HaQxSY2jnafSUdgV3qHtedvNpDKg= +google.golang.org/genproto/googleapis/rpc v0.0.0-20260928230214-8a89bd6388cc/go.mod h1:OaIUM3+LpYcK2GXM4FTmhWoIq371Owdr+Cc7/BsYHHc= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= From 1911a764fc85c114260529868e148b1c9ace2d3c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 20 Oct 2026 20:38:22 -0700 Subject: [PATCH 12/16] build(deps): bump the production-dependencies group across 2 directories with 2 updates (#4650) Bumps the production-dependencies group with 2 updates in the /examples directory: [github.com/googleapis/go-sql-spanner](https://github.com/googleapis/go-sql-spanner) and [google.golang.org/api](https://github.com/googleapis/google-api-go-client). Bumps the production-dependencies group with 1 update in the /internal/goldeneye directory: [google.golang.org/api](https://github.com/googleapis/google-api-go-client). Updates `github.com/googleapis/go-sql-spanner` from 1.26.0 to 1.27.0 - [Release notes](https://github.com/googleapis/go-sql-spanner/releases) - [Changelog](https://github.com/googleapis/go-sql-spanner/blob/main/CHANGES.md) - [Commits](https://github.com/googleapis/go-sql-spanner/compare/v1.26.0...v1.27.0) Updates `google.golang.org/api` from 0.301.0 to 0.304.0 - [Release notes](https://github.com/googleapis/google-api-go-client/releases) - [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md) - [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.301.0...v0.304.0) Updates `google.golang.org/api` from 0.301.0 to 0.304.0 - [Release notes](https://github.com/googleapis/google-api-go-client/releases) - [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md) - [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.301.0...v0.304.0) --- updated-dependencies: - dependency-name: github.com/googleapis/go-sql-spanner dependency-version: 1.27.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: google.golang.org/api dependency-version: 0.304.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies - dependency-name: google.golang.org/api dependency-version: 0.304.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- examples/go.mod | 22 ++++++++-------- examples/go.sum | 44 +++++++++++++++---------------- internal/endtoend/testdata/go.mod | 22 ++++++++-------- internal/endtoend/testdata/go.sum | 40 ++++++++++++++-------------- internal/goldeneye/go.mod | 14 +++++----- internal/goldeneye/go.sum | 28 ++++++++++---------- 6 files changed, 85 insertions(+), 85 deletions(-) diff --git a/examples/go.mod b/examples/go.mod index 0da4bcbdcc..e80ace7f45 100644 --- a/examples/go.mod +++ b/examples/go.mod @@ -12,12 +12,12 @@ require ( github.com/duckdb/duckdb-go/v2 v2.10506.0 github.com/go-sql-driver/mysql v1.10.1 github.com/google/go-cmp v0.7.0 - github.com/googleapis/go-sql-spanner v1.26.0 + github.com/googleapis/go-sql-spanner v1.27.0 github.com/jackc/pgx/v5 v5.11.0 github.com/lib/pq v1.12.3 github.com/microsoft/go-mssqldb v1.11.2 github.com/sqlc-dev/sqlc v0.0.0 - google.golang.org/api v0.301.0 + google.golang.org/api v0.304.0 google.golang.org/grpc v1.84.0 ) @@ -59,7 +59,7 @@ require ( github.com/google/flatbuffers v25.12.19+incompatible // indirect github.com/google/s2a-go v0.1.11 // indirect github.com/google/uuid v1.6.0 // indirect - github.com/googleapis/enterprise-certificate-proxy v0.3.22 // indirect + github.com/googleapis/enterprise-certificate-proxy v0.3.23 // indirect github.com/googleapis/gax-go/v2 v2.26.2 // indirect github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect github.com/jackc/pgpassfile v1.0.0 // indirect @@ -87,21 +87,21 @@ require ( go.opentelemetry.io/otel/sdk v1.45.0 // indirect go.opentelemetry.io/otel/sdk/metric v1.45.0 // indirect go.opentelemetry.io/otel/trace v1.46.0 // indirect - golang.org/x/crypto v0.57.0 // indirect + golang.org/x/crypto v0.58.0 // indirect golang.org/x/exp v0.0.0-20260112195511-716be5621a96 // indirect - golang.org/x/mod v0.41.0 // indirect - golang.org/x/net v0.60.0 // indirect + golang.org/x/mod v0.42.0 // indirect + golang.org/x/net v0.61.0 // indirect golang.org/x/oauth2 v0.37.0 // indirect golang.org/x/sync v0.24.0 // indirect - golang.org/x/sys v0.48.0 // indirect - golang.org/x/telemetry v0.0.0-20260908163034-4bcc4b2ee518 // indirect - golang.org/x/text v0.42.0 // indirect + golang.org/x/sys v0.49.0 // indirect + golang.org/x/telemetry v0.0.0-20260924152758-ed294f943157 // indirect + golang.org/x/text v0.43.0 // indirect golang.org/x/time v0.16.0 // indirect - golang.org/x/tools v0.50.0 // indirect + golang.org/x/tools v0.51.0 // indirect golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da // indirect google.golang.org/genproto v0.0.0-20260715232425-e75dac1f907d // indirect google.golang.org/genproto/googleapis/api v0.0.0-20260715232425-e75dac1f907d // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20260928230214-8a89bd6388cc // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20261005182115-fad411399dd8 // indirect google.golang.org/protobuf v1.36.12 // indirect ) diff --git a/examples/go.sum b/examples/go.sum index c2dc30ba01..8e2c3214e4 100644 --- a/examples/go.sum +++ b/examples/go.sum @@ -141,12 +141,12 @@ github.com/google/s2a-go v0.1.11/go.mod h1:pz4tyvwXvJLLbyrkh6FW1eS2zPUXMaTmyNhYt github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/googleapis/enterprise-certificate-proxy v0.3.22 h1:NU4XpII6jD+Dxcot94fqjE+AfJoE/lQP9q3faYGzC/c= -github.com/googleapis/enterprise-certificate-proxy v0.3.22/go.mod h1:L3D/IQExI6LqEjBdXcZQ1WluSgigQmSwBboFstVPM4w= +github.com/googleapis/enterprise-certificate-proxy v0.3.23 h1:J+VGF1wjAM2dU2kKUXZxJdDppRLReWP7KWcclfngQhc= +github.com/googleapis/enterprise-certificate-proxy v0.3.23/go.mod h1:Y8NO/15GNLkrXI3OR5xOFmeU3XLX1sLSdtlXgJ0zmIw= github.com/googleapis/gax-go/v2 v2.26.2 h1:ydkmNXxj7bEmmeK5AihkKnWxyOyBR9TDebvp5L5izk8= github.com/googleapis/gax-go/v2 v2.26.2/go.mod h1:sMKqnMesnKH+3wiRJROcttA+cJoZoGbZl1vDQ8XYtGk= -github.com/googleapis/go-sql-spanner v1.26.0 h1:kJ82/XRqWYLNGW7GLfABG4j0HuP7POvklUDCYHSFATk= -github.com/googleapis/go-sql-spanner v1.26.0/go.mod h1:QqG0NfeQbM5HOkKYti3YavRLDO1gQ8fke48IN3cnMfI= +github.com/googleapis/go-sql-spanner v1.27.0 h1:ACs1Pp02Tmod15e/++0s3X3JhjiROCAIXg6Y8uTaYK0= +github.com/googleapis/go-sql-spanner v1.27.0/go.mod h1:zWt0MMR7eFlB9P37yuhbBtEgdJTkm/mlutYQvKjIfOE= github.com/hashicorp/golang-lru/v2 v2.0.7 h1:a+bsQ5rvGLjzHuww6tVxozPZFVghXaHOwFs4luLUK2k= github.com/hashicorp/golang-lru/v2 v2.0.7/go.mod h1:QeFd9opnmA6QUJc5vARoKUSoFhyfM2/ZepoAG6RGpeM= github.com/jackc/pgpassfile v1.0.0 h1:/6Hmqy13Ss2zCq62VdNG8tM1wchn8zjSGOBJ6icpsIM= @@ -239,24 +239,24 @@ go.yaml.in/yaml/v3 v3.0.5 h1:N6y/pJk8buWs9NY5ERU2HSMfm+IuD/OtfdAnq6kESPw= go.yaml.in/yaml/v3 v3.0.5/go.mod h1:HVTZu1O7/Vkt2N+BFy8Zza+lnLsABggaTM2ZpNIGuKg= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= -golang.org/x/crypto v0.57.0 h1:3ZVCjf8Ggz7zneR/EHRVx68Ctf+2pmIMP2UFhh9cC6M= -golang.org/x/crypto v0.57.0/go.mod h1:Fdz0i5U6CoizGwLda9DttjSk6qlZo25zYNtR+ycvuZA= +golang.org/x/crypto v0.58.0 h1:COkYLr4k7nDI4r6QtMML2AfzeIswWHAJthLS6K/M/54= +golang.org/x/crypto v0.58.0/go.mod h1:Xh+kl5A+M0gMiWDytH2Hhr5Z7WbNCpv/eB/EFgfSk+w= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20260112195511-716be5621a96 h1:Z/6YuSHTLOHfNFdb8zVZomZr7cqNgTJvA8+Qz75D8gU= golang.org/x/exp v0.0.0-20260112195511-716be5621a96/go.mod h1:nzimsREAkjBCIEFtHiYkrJyT+2uy9YZJB7H1k68CXZU= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU= golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod h1:6SW0HCj/g11FgYtHlgUYUwCkIfeOF89ocIRzGO/8vkc= -golang.org/x/mod v0.41.0 h1:qJmnOUb4YB+FsEuM3HcWucdZASCPGhsX6uljO6pog0c= -golang.org/x/mod v0.41.0/go.mod h1:Ek9pY8RKWXwsWvd3rQiHYtMqkjSUV+s1Rj7j4H5Ur6o= +golang.org/x/mod v0.42.0 h1:ICeL3t2L30ljSPHHxDnR4fqVcBt/zR2zJAb9juavmQg= +golang.org/x/mod v0.42.0/go.mod h1:u5fzIrRInkL8MaO1cbRkUHT64v303YIT5KEqpNr7jRs= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU= -golang.org/x/net v0.60.0 h1:79p50tfZlm0J9YfoDsSi639qSXNGVwEzOPLCxM2FsYU= -golang.org/x/net v0.60.0/go.mod h1:2DA/G1UfVbCpQPeWTmMPGY7Cs2PkBkwu743bVX5PIVg= +golang.org/x/net v0.61.0 h1:RR+6j/BTBCrggOLugxa+66R8FvoN6MHlzDlZIbN9YFw= +golang.org/x/net v0.61.0/go.mod h1:WgDCOTH8iwtB66T4/GfI94AHo/hhdb7Hah9NDseQfiI= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.37.0 h1:JUlcxA8oAtauLfiH8FX2/FkAWHAdi0QtGCGc+hofE98= golang.org/x/oauth2 v0.37.0/go.mod h1:IxwZNxUULJmpBFf9K/9NTMSIfZZuvuTy1gGxhigP/58= @@ -269,14 +269,14 @@ golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5h golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.48.0 h1:bbX/i/6MgT9BVLM9RT1thmxL04yeTAhbEz4SyadbXoo= -golang.org/x/sys v0.48.0/go.mod h1:hNLxWAXmnKAxqDtdwIYC4bM9oQPEecfsnNMuSxOs3og= -golang.org/x/telemetry v0.0.0-20260908163034-4bcc4b2ee518 h1:F5BWKvW126NXR74uxkxuc1jQHhm/rwm/J3rSiFyuRs4= -golang.org/x/telemetry v0.0.0-20260908163034-4bcc4b2ee518/go.mod h1:i+ivNqjDnTF3WTElsdk5g9V5DTSBYgdNo7xTU9SDwYA= +golang.org/x/sys v0.49.0 h1:XbzkgYJHdqh/8m2Uu0W/dQv8nktxx4BFHp1M0gROTXA= +golang.org/x/sys v0.49.0/go.mod h1:hNLxWAXmnKAxqDtdwIYC4bM9oQPEecfsnNMuSxOs3og= +golang.org/x/telemetry v0.0.0-20260924152758-ed294f943157 h1:DftxASHKl6JolFPqoN+2WrFO53JvkHwRXvFqf8gsivA= +golang.org/x/telemetry v0.0.0-20260924152758-ed294f943157/go.mod h1:i+ivNqjDnTF3WTElsdk5g9V5DTSBYgdNo7xTU9SDwYA= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= -golang.org/x/text v0.42.0 h1:JbOZXgfeCPU9gacVtYliJqOhD+zhrEqK4LfdpmlUZqI= -golang.org/x/text v0.42.0/go.mod h1:ojzP1Z+2QtioaF8DTtO8K5q7JWVVYwZKenzujK0Zd0E= +golang.org/x/text v0.43.0 h1:1QivrlhwAsnMOcqgOdl9my7s9OyZl8O5/UGUTJVXoWc= +golang.org/x/text v0.43.0/go.mod h1:hbSIYA/amXcRXTFSZqh8tWHEoqRvvbKPJ2uz/KU+a+s= golang.org/x/time v0.16.0 h1:vMb6ptszcQMkcwiRTAuNNU50gom6++Q/6gY2hDM6VDE= golang.org/x/time v0.16.0/go.mod h1:rVKOqvZeKvrDKTQiAHJ7wmwP0RzleSphoEA9RcdLA0s= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= @@ -284,15 +284,15 @@ golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGm golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY= golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= -golang.org/x/tools v0.50.0 h1:c2ifzfcuY7L90lZ2aKd8S4K2NpASF08SZx9ZuJkHmSU= -golang.org/x/tools v0.50.0/go.mod h1:7ulVMw3831Mwi5EZD6RomGyffr4VFjuNYXf2BbCEAV0= +golang.org/x/tools v0.51.0 h1:k4Xc/1Om9jwkBJBo4NVLMSARBoWtK10mx+W5BnXCeAI= +golang.org/x/tools v0.51.0/go.mod h1:9eEncMayCV6zRMGhR5eZEC2iBx98qWcF1HZ9Z7wJOoA= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da h1:noIWHXmPHxILtqtCOPIhSt0ABwskkZKjD3bXGnZGpNY= golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da/go.mod h1:NDW/Ps6MPRej6fsCIbMTohpP40sJ/P/vI1MoTEGwX90= gonum.org/v1/gonum v0.17.0 h1:VbpOemQlsSMrYmn7T2OUvQ4dqxQXU+ouZFQsZOx50z4= gonum.org/v1/gonum v0.17.0/go.mod h1:El3tOrEuMpv2UdMrbNlKEh9vd86bmQ6vqIcDwxEOc1E= -google.golang.org/api v0.301.0 h1:rTvI8szs17R7b09ggb34Bv4XrmFaFl9uCBncgxskqtw= -google.golang.org/api v0.301.0/go.mod h1:gGUTaOjgsaG/KNyyW1tFO+DSFm3EJw4BwyehlcmDCXs= +google.golang.org/api v0.304.0 h1:2R1dYSiIVQRGcKN901u9yPFEdJu5h90oGY5X4TcgbmA= +google.golang.org/api v0.304.0/go.mod h1:dcjRWAy1QdjGb3Z67Qu0gdBWH2gL8Qoy/RI2ZVuvdeE= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= @@ -302,8 +302,8 @@ google.golang.org/genproto v0.0.0-20260715232425-e75dac1f907d h1:C9v1o0/4quuhOAf google.golang.org/genproto v0.0.0-20260715232425-e75dac1f907d/go.mod h1:Wz2wFJntZFmLGo7pLDXZ3wYk5hyc0Mb+SkHhDDXT+lU= google.golang.org/genproto/googleapis/api v0.0.0-20260715232425-e75dac1f907d h1:QwnJwPte4XXAkhPu26LTDIahnsMSUV0kK8HkxbC+Pc4= google.golang.org/genproto/googleapis/api v0.0.0-20260715232425-e75dac1f907d/go.mod h1:WRrQ7/7N19PypuT0fxLOL5Lq0waoiRri4FbtHDEKrGE= -google.golang.org/genproto/googleapis/rpc v0.0.0-20260928230214-8a89bd6388cc h1:4bNTbnb44EqGVy9HaQxSY2jnafSUdgV3qHtedvNpDKg= -google.golang.org/genproto/googleapis/rpc v0.0.0-20260928230214-8a89bd6388cc/go.mod h1:OaIUM3+LpYcK2GXM4FTmhWoIq371Owdr+Cc7/BsYHHc= +google.golang.org/genproto/googleapis/rpc v0.0.0-20261005182115-fad411399dd8 h1:0SXBqli5dnuCKMjI/X3FM226zEaEa0GUcSCJtN1vL2o= +google.golang.org/genproto/googleapis/rpc v0.0.0-20261005182115-fad411399dd8/go.mod h1:OaIUM3+LpYcK2GXM4FTmhWoIq371Owdr+Cc7/BsYHHc= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= diff --git a/internal/endtoend/testdata/go.mod b/internal/endtoend/testdata/go.mod index c637ec8b23..f5d036fa3a 100644 --- a/internal/endtoend/testdata/go.mod +++ b/internal/endtoend/testdata/go.mod @@ -3,6 +3,7 @@ module github.com/sqlc-dev/sqlc/endtoend go 1.26.0 require ( + cloud.google.com/go v0.123.0 cloud.google.com/go/spanner v1.96.1 github.com/duckdb/duckdb-go/v2 v2.10506.0 github.com/go-sql-driver/mysql v1.10.1 @@ -25,7 +26,6 @@ require ( require ( cel.dev/expr v0.25.2 // indirect - cloud.google.com/go v0.123.0 // indirect cloud.google.com/go/auth v0.24.1-0.20261001053825-dbc26066f70a // indirect cloud.google.com/go/auth/oauth2adapt v0.3.0 // indirect cloud.google.com/go/compute/metadata v0.10.0 // indirect @@ -55,7 +55,7 @@ require ( github.com/golang-sql/sqlexp v0.1.0 // indirect github.com/google/flatbuffers v25.12.19+incompatible // indirect github.com/google/s2a-go v0.1.11 // indirect - github.com/googleapis/enterprise-certificate-proxy v0.3.22 // indirect + github.com/googleapis/enterprise-certificate-proxy v0.3.23 // indirect github.com/googleapis/gax-go/v2 v2.26.2 // indirect github.com/jackc/chunkreader/v2 v2.0.1 // indirect github.com/jackc/pgio v1.0.0 // indirect @@ -81,22 +81,22 @@ require ( go.opentelemetry.io/otel/sdk v1.45.0 // indirect go.opentelemetry.io/otel/sdk/metric v1.45.0 // indirect go.opentelemetry.io/otel/trace v1.45.0 // indirect - golang.org/x/crypto v0.57.0 // indirect + golang.org/x/crypto v0.58.0 // indirect golang.org/x/exp v0.0.0-20260112195511-716be5621a96 // indirect - golang.org/x/mod v0.41.0 // indirect - golang.org/x/net v0.59.0 // indirect + golang.org/x/mod v0.42.0 // indirect + golang.org/x/net v0.61.0 // indirect golang.org/x/oauth2 v0.37.0 // indirect golang.org/x/sync v0.24.0 // indirect - golang.org/x/sys v0.48.0 // indirect - golang.org/x/telemetry v0.0.0-20260811182544-a038080d80e5 // indirect - golang.org/x/text v0.42.0 // indirect + golang.org/x/sys v0.49.0 // indirect + golang.org/x/telemetry v0.0.0-20260924152758-ed294f943157 // indirect + golang.org/x/text v0.43.0 // indirect golang.org/x/time v0.16.0 // indirect - golang.org/x/tools v0.49.0 // indirect + golang.org/x/tools v0.51.0 // indirect golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da // indirect - google.golang.org/api v0.301.0 // indirect + google.golang.org/api v0.304.0 // indirect google.golang.org/genproto v0.0.0-20260715232425-e75dac1f907d // indirect google.golang.org/genproto/googleapis/api v0.0.0-20260715232425-e75dac1f907d // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20260928230214-8a89bd6388cc // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20261005182115-fad411399dd8 // indirect google.golang.org/grpc v1.84.0 // indirect google.golang.org/protobuf v1.36.12 // indirect ) diff --git a/internal/endtoend/testdata/go.sum b/internal/endtoend/testdata/go.sum index 0ffd00be89..8a236a327b 100644 --- a/internal/endtoend/testdata/go.sum +++ b/internal/endtoend/testdata/go.sum @@ -149,8 +149,8 @@ github.com/google/s2a-go v0.1.11/go.mod h1:pz4tyvwXvJLLbyrkh6FW1eS2zPUXMaTmyNhYt github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/googleapis/enterprise-certificate-proxy v0.3.22 h1:NU4XpII6jD+Dxcot94fqjE+AfJoE/lQP9q3faYGzC/c= -github.com/googleapis/enterprise-certificate-proxy v0.3.22/go.mod h1:L3D/IQExI6LqEjBdXcZQ1WluSgigQmSwBboFstVPM4w= +github.com/googleapis/enterprise-certificate-proxy v0.3.23 h1:J+VGF1wjAM2dU2kKUXZxJdDppRLReWP7KWcclfngQhc= +github.com/googleapis/enterprise-certificate-proxy v0.3.23/go.mod h1:Y8NO/15GNLkrXI3OR5xOFmeU3XLX1sLSdtlXgJ0zmIw= github.com/googleapis/gax-go/v2 v2.26.2 h1:ydkmNXxj7bEmmeK5AihkKnWxyOyBR9TDebvp5L5izk8= github.com/googleapis/gax-go/v2 v2.26.2/go.mod h1:sMKqnMesnKH+3wiRJROcttA+cJoZoGbZl1vDQ8XYtGk= github.com/hexon/mysqltsv v0.2.2 h1:oF4pNJfgjipAy7sqyp7JVt9r5rOVQe8mQJg8z2Bf+VY= @@ -348,8 +348,8 @@ golang.org/x/crypto v0.0.0-20210711020723-a769d52b0f97/go.mod h1:GvvjBRRGRdwPK5y golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc= golang.org/x/crypto v0.19.0/go.mod h1:Iy9bg/ha4yyC70EfRS8jz+B6ybOBKMaSxLj6P6oBDfU= golang.org/x/crypto v0.20.0/go.mod h1:Xwo95rrVNIoSMx9wa1JroENMToLWn3RNVrTBpLHgZPQ= -golang.org/x/crypto v0.57.0 h1:3ZVCjf8Ggz7zneR/EHRVx68Ctf+2pmIMP2UFhh9cC6M= -golang.org/x/crypto v0.57.0/go.mod h1:Fdz0i5U6CoizGwLda9DttjSk6qlZo25zYNtR+ycvuZA= +golang.org/x/crypto v0.58.0 h1:COkYLr4k7nDI4r6QtMML2AfzeIswWHAJthLS6K/M/54= +golang.org/x/crypto v0.58.0/go.mod h1:Xh+kl5A+M0gMiWDytH2Hhr5Z7WbNCpv/eB/EFgfSk+w= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20260112195511-716be5621a96 h1:Z/6YuSHTLOHfNFdb8zVZomZr7cqNgTJvA8+Qz75D8gU= golang.org/x/exp v0.0.0-20260112195511-716be5621a96/go.mod h1:nzimsREAkjBCIEFtHiYkrJyT+2uy9YZJB7H1k68CXZU= @@ -361,8 +361,8 @@ golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod h1:mXi4GBBbnImb6dmsKG golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= -golang.org/x/mod v0.41.0 h1:qJmnOUb4YB+FsEuM3HcWucdZASCPGhsX6uljO6pog0c= -golang.org/x/mod v0.41.0/go.mod h1:Ek9pY8RKWXwsWvd3rQiHYtMqkjSUV+s1Rj7j4H5Ur6o= +golang.org/x/mod v0.42.0 h1:ICeL3t2L30ljSPHHxDnR4fqVcBt/zR2zJAb9juavmQg= +golang.org/x/mod v0.42.0/go.mod h1:u5fzIrRInkL8MaO1cbRkUHT64v303YIT5KEqpNr7jRs= golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= @@ -376,8 +376,8 @@ golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg= golang.org/x/net v0.21.0/go.mod h1:bIjVDfnllIU7BJ2DNgfnXvpSvtn8VRwhlsaeUTyUS44= -golang.org/x/net v0.59.0 h1:5zfYln+w5XCxwrnMMJPufRgNoXEaGxl0wo5GqPXyues= -golang.org/x/net v0.59.0/go.mod h1:2DA/G1UfVbCpQPeWTmMPGY7Cs2PkBkwu743bVX5PIVg= +golang.org/x/net v0.61.0 h1:RR+6j/BTBCrggOLugxa+66R8FvoN6MHlzDlZIbN9YFw= +golang.org/x/net v0.61.0/go.mod h1:WgDCOTH8iwtB66T4/GfI94AHo/hhdb7Hah9NDseQfiI= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.37.0 h1:JUlcxA8oAtauLfiH8FX2/FkAWHAdi0QtGCGc+hofE98= golang.org/x/oauth2 v0.37.0/go.mod h1:IxwZNxUULJmpBFf9K/9NTMSIfZZuvuTy1gGxhigP/58= @@ -407,10 +407,10 @@ golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/sys v0.48.0 h1:bbX/i/6MgT9BVLM9RT1thmxL04yeTAhbEz4SyadbXoo= -golang.org/x/sys v0.48.0/go.mod h1:hNLxWAXmnKAxqDtdwIYC4bM9oQPEecfsnNMuSxOs3og= -golang.org/x/telemetry v0.0.0-20260811182544-a038080d80e5 h1:ZUSxONxc981v7AW7QUg+I9WwZzSTTJ019ENBYr5pV/Q= -golang.org/x/telemetry v0.0.0-20260811182544-a038080d80e5/go.mod h1:LVehoXe41cL5SCVQilsV7Gg6BNG+Js6P9PhSbYTIUkQ= +golang.org/x/sys v0.49.0 h1:XbzkgYJHdqh/8m2Uu0W/dQv8nktxx4BFHp1M0gROTXA= +golang.org/x/sys v0.49.0/go.mod h1:hNLxWAXmnKAxqDtdwIYC4bM9oQPEecfsnNMuSxOs3og= +golang.org/x/telemetry v0.0.0-20260924152758-ed294f943157 h1:DftxASHKl6JolFPqoN+2WrFO53JvkHwRXvFqf8gsivA= +golang.org/x/telemetry v0.0.0-20260924152758-ed294f943157/go.mod h1:i+ivNqjDnTF3WTElsdk5g9V5DTSBYgdNo7xTU9SDwYA= golang.org/x/term v0.0.0-20201117132131-f5c789dd3221/go.mod h1:Nr5EML6q2oocZ2LXRh80K7BxOlk5/8JxuGnuhpl+muw= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= @@ -426,8 +426,8 @@ golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8= golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= -golang.org/x/text v0.42.0 h1:JbOZXgfeCPU9gacVtYliJqOhD+zhrEqK4LfdpmlUZqI= -golang.org/x/text v0.42.0/go.mod h1:ojzP1Z+2QtioaF8DTtO8K5q7JWVVYwZKenzujK0Zd0E= +golang.org/x/text v0.43.0 h1:1QivrlhwAsnMOcqgOdl9my7s9OyZl8O5/UGUTJVXoWc= +golang.org/x/text v0.43.0/go.mod h1:hbSIYA/amXcRXTFSZqh8tWHEoqRvvbKPJ2uz/KU+a+s= golang.org/x/time v0.16.0 h1:vMb6ptszcQMkcwiRTAuNNU50gom6++Q/6gY2hDM6VDE= golang.org/x/time v0.16.0/go.mod h1:rVKOqvZeKvrDKTQiAHJ7wmwP0RzleSphoEA9RcdLA0s= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= @@ -444,8 +444,8 @@ golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtn golang.org/x/tools v0.0.0-20200103221440-774c71fcf114/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= -golang.org/x/tools v0.49.0 h1:3NI7VXzL9+1WZD52Dx2ttoPwD5DWrFGpl9mFZDlmisI= -golang.org/x/tools v0.49.0/go.mod h1:SJNXV9DBKT0UbdttsQjbfJlAE/q+y36++zo3uL3N0Oo= +golang.org/x/tools v0.51.0 h1:k4Xc/1Om9jwkBJBo4NVLMSARBoWtK10mx+W5BnXCeAI= +golang.org/x/tools v0.51.0/go.mod h1:9eEncMayCV6zRMGhR5eZEC2iBx98qWcF1HZ9Z7wJOoA= golang.org/x/xerrors v0.0.0-20190410155217-1f06c39b4373/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20190513163551-3ee3066db522/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= @@ -456,8 +456,8 @@ golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da h1:noIWHXmPHxILtqtCOPIhS golang.org/x/xerrors v0.0.0-20240903120638-7835f813f4da/go.mod h1:NDW/Ps6MPRej6fsCIbMTohpP40sJ/P/vI1MoTEGwX90= gonum.org/v1/gonum v0.17.0 h1:VbpOemQlsSMrYmn7T2OUvQ4dqxQXU+ouZFQsZOx50z4= gonum.org/v1/gonum v0.17.0/go.mod h1:El3tOrEuMpv2UdMrbNlKEh9vd86bmQ6vqIcDwxEOc1E= -google.golang.org/api v0.301.0 h1:rTvI8szs17R7b09ggb34Bv4XrmFaFl9uCBncgxskqtw= -google.golang.org/api v0.301.0/go.mod h1:gGUTaOjgsaG/KNyyW1tFO+DSFm3EJw4BwyehlcmDCXs= +google.golang.org/api v0.304.0 h1:2R1dYSiIVQRGcKN901u9yPFEdJu5h90oGY5X4TcgbmA= +google.golang.org/api v0.304.0/go.mod h1:dcjRWAy1QdjGb3Z67Qu0gdBWH2gL8Qoy/RI2ZVuvdeE= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= @@ -467,8 +467,8 @@ google.golang.org/genproto v0.0.0-20260715232425-e75dac1f907d h1:C9v1o0/4quuhOAf google.golang.org/genproto v0.0.0-20260715232425-e75dac1f907d/go.mod h1:Wz2wFJntZFmLGo7pLDXZ3wYk5hyc0Mb+SkHhDDXT+lU= google.golang.org/genproto/googleapis/api v0.0.0-20260715232425-e75dac1f907d h1:QwnJwPte4XXAkhPu26LTDIahnsMSUV0kK8HkxbC+Pc4= google.golang.org/genproto/googleapis/api v0.0.0-20260715232425-e75dac1f907d/go.mod h1:WRrQ7/7N19PypuT0fxLOL5Lq0waoiRri4FbtHDEKrGE= -google.golang.org/genproto/googleapis/rpc v0.0.0-20260928230214-8a89bd6388cc h1:4bNTbnb44EqGVy9HaQxSY2jnafSUdgV3qHtedvNpDKg= -google.golang.org/genproto/googleapis/rpc v0.0.0-20260928230214-8a89bd6388cc/go.mod h1:OaIUM3+LpYcK2GXM4FTmhWoIq371Owdr+Cc7/BsYHHc= +google.golang.org/genproto/googleapis/rpc v0.0.0-20261005182115-fad411399dd8 h1:0SXBqli5dnuCKMjI/X3FM226zEaEa0GUcSCJtN1vL2o= +google.golang.org/genproto/googleapis/rpc v0.0.0-20261005182115-fad411399dd8/go.mod h1:OaIUM3+LpYcK2GXM4FTmhWoIq371Owdr+Cc7/BsYHHc= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY= diff --git a/internal/goldeneye/go.mod b/internal/goldeneye/go.mod index 9d6321aa7c..fffba1afa9 100644 --- a/internal/goldeneye/go.mod +++ b/internal/goldeneye/go.mod @@ -7,7 +7,7 @@ require ( github.com/go-sql-driver/mysql v1.10.1 github.com/jackc/pgx/v5 v5.11.0 github.com/microsoft/go-mssqldb v1.11.2 - google.golang.org/api v0.301.0 + google.golang.org/api v0.304.0 google.golang.org/grpc v1.84.0 google.golang.org/protobuf v1.36.12 ) @@ -28,7 +28,7 @@ require ( github.com/golang-sql/sqlexp v0.1.0 // indirect github.com/google/s2a-go v0.1.11 // indirect github.com/google/uuid v1.6.0 // indirect - github.com/googleapis/enterprise-certificate-proxy v0.3.22 // indirect + github.com/googleapis/enterprise-certificate-proxy v0.3.23 // indirect github.com/googleapis/gax-go/v2 v2.26.2 // indirect github.com/jackc/pgpassfile v1.0.0 // indirect github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect @@ -39,14 +39,14 @@ require ( go.opentelemetry.io/otel v1.45.0 // indirect go.opentelemetry.io/otel/metric v1.45.0 // indirect go.opentelemetry.io/otel/trace v1.45.0 // indirect - golang.org/x/crypto v0.57.0 // indirect - golang.org/x/net v0.59.0 // indirect + golang.org/x/crypto v0.58.0 // indirect + golang.org/x/net v0.61.0 // indirect golang.org/x/oauth2 v0.37.0 // indirect golang.org/x/sync v0.24.0 // indirect - golang.org/x/sys v0.48.0 // indirect - golang.org/x/text v0.42.0 // indirect + golang.org/x/sys v0.49.0 // indirect + golang.org/x/text v0.43.0 // indirect golang.org/x/time v0.16.0 // indirect google.golang.org/genproto v0.0.0-20260715232425-e75dac1f907d // indirect google.golang.org/genproto/googleapis/api v0.0.0-20260715232425-e75dac1f907d // indirect - google.golang.org/genproto/googleapis/rpc v0.0.0-20260928230214-8a89bd6388cc // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20261005182115-fad411399dd8 // indirect ) diff --git a/internal/goldeneye/go.sum b/internal/goldeneye/go.sum index fb2517481e..3ce2a9fb49 100644 --- a/internal/goldeneye/go.sum +++ b/internal/goldeneye/go.sum @@ -59,8 +59,8 @@ github.com/google/s2a-go v0.1.11 h1:7v1V1TraNGP63WptsAkNqr2w8jgm4vM6A6qx6Lsw9iM= github.com/google/s2a-go v0.1.11/go.mod h1:pz4tyvwXvJLLbyrkh6FW1eS2zPUXMaTmyNhYtyP2tNw= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/googleapis/enterprise-certificate-proxy v0.3.22 h1:NU4XpII6jD+Dxcot94fqjE+AfJoE/lQP9q3faYGzC/c= -github.com/googleapis/enterprise-certificate-proxy v0.3.22/go.mod h1:L3D/IQExI6LqEjBdXcZQ1WluSgigQmSwBboFstVPM4w= +github.com/googleapis/enterprise-certificate-proxy v0.3.23 h1:J+VGF1wjAM2dU2kKUXZxJdDppRLReWP7KWcclfngQhc= +github.com/googleapis/enterprise-certificate-proxy v0.3.23/go.mod h1:Y8NO/15GNLkrXI3OR5xOFmeU3XLX1sLSdtlXgJ0zmIw= github.com/googleapis/gax-go/v2 v2.26.2 h1:ydkmNXxj7bEmmeK5AihkKnWxyOyBR9TDebvp5L5izk8= github.com/googleapis/gax-go/v2 v2.26.2/go.mod h1:sMKqnMesnKH+3wiRJROcttA+cJoZoGbZl1vDQ8XYtGk= github.com/jackc/pgpassfile v1.0.0 h1:/6Hmqy13Ss2zCq62VdNG8tM1wchn8zjSGOBJ6icpsIM= @@ -105,30 +105,30 @@ go.opentelemetry.io/otel/trace v1.45.0 h1:l/mP6Uv7oNO7/TblbhpbgMidxhq1uO/rPsikOy go.opentelemetry.io/otel/trace v1.45.0/go.mod h1:qoJJA2xNMnxRrdISU/kLtfUH2wNeQbiv+jhs/CxI8bc= go.yaml.in/yaml/v3 v3.0.5 h1:N6y/pJk8buWs9NY5ERU2HSMfm+IuD/OtfdAnq6kESPw= go.yaml.in/yaml/v3 v3.0.5/go.mod h1:HVTZu1O7/Vkt2N+BFy8Zza+lnLsABggaTM2ZpNIGuKg= -golang.org/x/crypto v0.57.0 h1:3ZVCjf8Ggz7zneR/EHRVx68Ctf+2pmIMP2UFhh9cC6M= -golang.org/x/crypto v0.57.0/go.mod h1:Fdz0i5U6CoizGwLda9DttjSk6qlZo25zYNtR+ycvuZA= -golang.org/x/net v0.59.0 h1:5zfYln+w5XCxwrnMMJPufRgNoXEaGxl0wo5GqPXyues= -golang.org/x/net v0.59.0/go.mod h1:2DA/G1UfVbCpQPeWTmMPGY7Cs2PkBkwu743bVX5PIVg= +golang.org/x/crypto v0.58.0 h1:COkYLr4k7nDI4r6QtMML2AfzeIswWHAJthLS6K/M/54= +golang.org/x/crypto v0.58.0/go.mod h1:Xh+kl5A+M0gMiWDytH2Hhr5Z7WbNCpv/eB/EFgfSk+w= +golang.org/x/net v0.61.0 h1:RR+6j/BTBCrggOLugxa+66R8FvoN6MHlzDlZIbN9YFw= +golang.org/x/net v0.61.0/go.mod h1:WgDCOTH8iwtB66T4/GfI94AHo/hhdb7Hah9NDseQfiI= golang.org/x/oauth2 v0.37.0 h1:JUlcxA8oAtauLfiH8FX2/FkAWHAdi0QtGCGc+hofE98= golang.org/x/oauth2 v0.37.0/go.mod h1:IxwZNxUULJmpBFf9K/9NTMSIfZZuvuTy1gGxhigP/58= golang.org/x/sync v0.24.0 h1:iqiDrGoDgyuvAKrhLQthUEzU/R378N78gXbBjxed7oA= golang.org/x/sync v0.24.0/go.mod h1:sUUOizhqBxiL6pEWpqNLUiaJn1ShEbZ6BBqskPbjZm0= -golang.org/x/sys v0.48.0 h1:bbX/i/6MgT9BVLM9RT1thmxL04yeTAhbEz4SyadbXoo= -golang.org/x/sys v0.48.0/go.mod h1:hNLxWAXmnKAxqDtdwIYC4bM9oQPEecfsnNMuSxOs3og= -golang.org/x/text v0.42.0 h1:JbOZXgfeCPU9gacVtYliJqOhD+zhrEqK4LfdpmlUZqI= -golang.org/x/text v0.42.0/go.mod h1:ojzP1Z+2QtioaF8DTtO8K5q7JWVVYwZKenzujK0Zd0E= +golang.org/x/sys v0.49.0 h1:XbzkgYJHdqh/8m2Uu0W/dQv8nktxx4BFHp1M0gROTXA= +golang.org/x/sys v0.49.0/go.mod h1:hNLxWAXmnKAxqDtdwIYC4bM9oQPEecfsnNMuSxOs3og= +golang.org/x/text v0.43.0 h1:1QivrlhwAsnMOcqgOdl9my7s9OyZl8O5/UGUTJVXoWc= +golang.org/x/text v0.43.0/go.mod h1:hbSIYA/amXcRXTFSZqh8tWHEoqRvvbKPJ2uz/KU+a+s= golang.org/x/time v0.16.0 h1:vMb6ptszcQMkcwiRTAuNNU50gom6++Q/6gY2hDM6VDE= golang.org/x/time v0.16.0/go.mod h1:rVKOqvZeKvrDKTQiAHJ7wmwP0RzleSphoEA9RcdLA0s= gonum.org/v1/gonum v0.17.0 h1:VbpOemQlsSMrYmn7T2OUvQ4dqxQXU+ouZFQsZOx50z4= gonum.org/v1/gonum v0.17.0/go.mod h1:El3tOrEuMpv2UdMrbNlKEh9vd86bmQ6vqIcDwxEOc1E= -google.golang.org/api v0.301.0 h1:rTvI8szs17R7b09ggb34Bv4XrmFaFl9uCBncgxskqtw= -google.golang.org/api v0.301.0/go.mod h1:gGUTaOjgsaG/KNyyW1tFO+DSFm3EJw4BwyehlcmDCXs= +google.golang.org/api v0.304.0 h1:2R1dYSiIVQRGcKN901u9yPFEdJu5h90oGY5X4TcgbmA= +google.golang.org/api v0.304.0/go.mod h1:dcjRWAy1QdjGb3Z67Qu0gdBWH2gL8Qoy/RI2ZVuvdeE= google.golang.org/genproto v0.0.0-20260715232425-e75dac1f907d h1:C9v1o0/4quuhOAfmRXA2j+we0PqZIp8traLdeogF3Ms= google.golang.org/genproto v0.0.0-20260715232425-e75dac1f907d/go.mod h1:Wz2wFJntZFmLGo7pLDXZ3wYk5hyc0Mb+SkHhDDXT+lU= google.golang.org/genproto/googleapis/api v0.0.0-20260715232425-e75dac1f907d h1:QwnJwPte4XXAkhPu26LTDIahnsMSUV0kK8HkxbC+Pc4= google.golang.org/genproto/googleapis/api v0.0.0-20260715232425-e75dac1f907d/go.mod h1:WRrQ7/7N19PypuT0fxLOL5Lq0waoiRri4FbtHDEKrGE= -google.golang.org/genproto/googleapis/rpc v0.0.0-20260928230214-8a89bd6388cc h1:4bNTbnb44EqGVy9HaQxSY2jnafSUdgV3qHtedvNpDKg= -google.golang.org/genproto/googleapis/rpc v0.0.0-20260928230214-8a89bd6388cc/go.mod h1:OaIUM3+LpYcK2GXM4FTmhWoIq371Owdr+Cc7/BsYHHc= +google.golang.org/genproto/googleapis/rpc v0.0.0-20261005182115-fad411399dd8 h1:0SXBqli5dnuCKMjI/X3FM226zEaEa0GUcSCJtN1vL2o= +google.golang.org/genproto/googleapis/rpc v0.0.0-20261005182115-fad411399dd8/go.mod h1:OaIUM3+LpYcK2GXM4FTmhWoIq371Owdr+Cc7/BsYHHc= google.golang.org/grpc v1.84.0 h1:soMyaPJ8pAak5PIQ0DGBUir0XRo2fRoMqhNWMLlLxO0= google.golang.org/grpc v1.84.0/go.mod h1:ljCht0DrxQrXBDRTZp52Qxh3Ffk8CdYm2sj4O2QN2C0= google.golang.org/protobuf v1.36.12 h1:pJOKDDOyeXErUroCihFAd5LQuwXBSpVnKGrj5o/fwxc= From 3ad8b20fb02b5bea81591b673da0758b8685d951 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 22 Oct 2026 20:02:06 -0700 Subject: [PATCH 13/16] build(deps): bump github.com/shopspring/decimal (#4652) Bumps the production-dependencies group with 1 update in the /internal/endtoend/testdata directory: [github.com/shopspring/decimal](https://github.com/shopspring/decimal). Updates `github.com/shopspring/decimal` from 1.5.0 to 1.6.0 - [Release notes](https://github.com/shopspring/decimal/releases) - [Changelog](https://github.com/shopspring/decimal/blob/master/CHANGELOG.md) - [Commits](https://github.com/shopspring/decimal/compare/v1.5.0...v1.6.0) --- updated-dependencies: - dependency-name: github.com/shopspring/decimal dependency-version: 1.6.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: production-dependencies ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- examples/go.mod | 2 +- examples/go.sum | 4 ++-- internal/endtoend/testdata/go.mod | 2 +- internal/endtoend/testdata/go.sum | 4 ++-- internal/goldeneye/go.mod | 2 +- internal/goldeneye/go.sum | 4 ++-- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/examples/go.mod b/examples/go.mod index e80ace7f45..ada17c9f0d 100644 --- a/examples/go.mod +++ b/examples/go.mod @@ -74,7 +74,7 @@ require ( github.com/pierrec/lz4/v4 v4.1.27 // indirect github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 // indirect github.com/segmentio/asm v1.2.1 // indirect - github.com/shopspring/decimal v1.5.0 // indirect + github.com/shopspring/decimal v1.6.0 // indirect github.com/spiffe/go-spiffe/v2 v2.8.1 // indirect github.com/zeebo/xxh3 v1.1.0 // indirect go.opencensus.io v0.24.0 // indirect diff --git a/examples/go.sum b/examples/go.sum index 8e2c3214e4..19b8476b6d 100644 --- a/examples/go.sum +++ b/examples/go.sum @@ -191,8 +191,8 @@ github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZN github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/segmentio/asm v1.2.1 h1:DTNbBqs57ioxAD4PrArqftgypG4/qNpXoJx8TVXxPR0= github.com/segmentio/asm v1.2.1/go.mod h1:BqMnlJP91P8d+4ibuonYZw9mfnzI9HfxselHZr5aAcs= -github.com/shopspring/decimal v1.5.0 h1:HxSWk31RmJv0EyY4oLiGQB9u7WPludUwPBdvQZnYFPc= -github.com/shopspring/decimal v1.5.0/go.mod h1:gawqmDU56v4yIKSwfBSFip1HdCCXN8/+DMd9qYNcwME= +github.com/shopspring/decimal v1.6.0 h1:DcTwjCj4tJPLuGZYsR9W0hyX9pQwMIkdo26Ig1T9xX4= +github.com/shopspring/decimal v1.6.0/go.mod h1:gawqmDU56v4yIKSwfBSFip1HdCCXN8/+DMd9qYNcwME= github.com/spiffe/go-spiffe/v2 v2.8.1 h1:eXZMLsu+3MLEPJyGJkolqtVrteZfQdUpOWj6LTiDl/E= github.com/spiffe/go-spiffe/v2 v2.8.1/go.mod h1:47Q0Q9/AqGha8QLHp+kxpH4Wca7X7EnOtlIJy3mxZ3U= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= diff --git a/internal/endtoend/testdata/go.mod b/internal/endtoend/testdata/go.mod index f5d036fa3a..be73d51809 100644 --- a/internal/endtoend/testdata/go.mod +++ b/internal/endtoend/testdata/go.mod @@ -17,7 +17,7 @@ require ( github.com/lib/pq v1.12.3 github.com/microsoft/go-mssqldb v1.11.2 github.com/pgvector/pgvector-go v0.4.1 - github.com/shopspring/decimal v1.5.0 + github.com/shopspring/decimal v1.6.0 github.com/sqlc-dev/pqtype v0.3.0 github.com/sqlc-dev/sqlc-testdata v1.0.0 github.com/volatiletech/null/v8 v8.1.2 diff --git a/internal/endtoend/testdata/go.sum b/internal/endtoend/testdata/go.sum index 8a236a327b..2510bf5c7c 100644 --- a/internal/endtoend/testdata/go.sum +++ b/internal/endtoend/testdata/go.sum @@ -262,8 +262,8 @@ github.com/rs/zerolog v1.15.0/go.mod h1:xYTKnLHcpfU2225ny5qZjxnj9NvkumZYjJHlAThC github.com/satori/go.uuid v1.2.0/go.mod h1:dA0hQrYB0VpLJoorglMZABFdXlWrHn1NEOzdhQKdks0= github.com/shopspring/decimal v0.0.0-20180709203117-cd690d0c9e24/go.mod h1:M+9NzErvs504Cn4c5DxATwIqPbtswREoFCre64PpcG4= github.com/shopspring/decimal v1.2.0/go.mod h1:DKyhrW/HYNuLGql+MJL6WCR6knT2jwCFRcu2hWCYk4o= -github.com/shopspring/decimal v1.5.0 h1:HxSWk31RmJv0EyY4oLiGQB9u7WPludUwPBdvQZnYFPc= -github.com/shopspring/decimal v1.5.0/go.mod h1:gawqmDU56v4yIKSwfBSFip1HdCCXN8/+DMd9qYNcwME= +github.com/shopspring/decimal v1.6.0 h1:DcTwjCj4tJPLuGZYsR9W0hyX9pQwMIkdo26Ig1T9xX4= +github.com/shopspring/decimal v1.6.0/go.mod h1:gawqmDU56v4yIKSwfBSFip1HdCCXN8/+DMd9qYNcwME= github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q= github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE= github.com/spiffe/go-spiffe/v2 v2.8.1 h1:eXZMLsu+3MLEPJyGJkolqtVrteZfQdUpOWj6LTiDl/E= diff --git a/internal/goldeneye/go.mod b/internal/goldeneye/go.mod index fffba1afa9..bbeb0a0da5 100644 --- a/internal/goldeneye/go.mod +++ b/internal/goldeneye/go.mod @@ -32,7 +32,7 @@ require ( github.com/googleapis/gax-go/v2 v2.26.2 // indirect github.com/jackc/pgpassfile v1.0.0 // indirect github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect - github.com/shopspring/decimal v1.5.0 // indirect + github.com/shopspring/decimal v1.6.0 // indirect go.opentelemetry.io/auto/sdk v1.2.1 // indirect go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.67.0 // indirect go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.69.0 // indirect diff --git a/internal/goldeneye/go.sum b/internal/goldeneye/go.sum index 3ce2a9fb49..c64eb846a0 100644 --- a/internal/goldeneye/go.sum +++ b/internal/goldeneye/go.sum @@ -80,8 +80,8 @@ github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c/go.mod h1:7rwL4CYBLnjL github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10 h1:GFCKgmp0tecUJ0sJuv4pzYCqS9+RGSn52M3FUwPs+uo= github.com/planetscale/vtprotobuf v0.6.1-0.20240319094008-0393e58bdf10/go.mod h1:t/avpk3KcrXxUnYOhZhMXJlSEyie6gQbtLq5NM3loB8= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/shopspring/decimal v1.5.0 h1:HxSWk31RmJv0EyY4oLiGQB9u7WPludUwPBdvQZnYFPc= -github.com/shopspring/decimal v1.5.0/go.mod h1:gawqmDU56v4yIKSwfBSFip1HdCCXN8/+DMd9qYNcwME= +github.com/shopspring/decimal v1.6.0 h1:DcTwjCj4tJPLuGZYsR9W0hyX9pQwMIkdo26Ig1T9xX4= +github.com/shopspring/decimal v1.6.0/go.mod h1:gawqmDU56v4yIKSwfBSFip1HdCCXN8/+DMd9qYNcwME= github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= From 3c53a2697178f864afb4eec0506ae493d5e66b50 Mon Sep 17 00:00:00 2001 From: akash kalita <83779249+1akashkalita@users.noreply.github.com> Date: Mon, 30 Nov 2026 20:03:06 -0800 Subject: [PATCH 14/16] duckdb: preserve OFFSET parameters with a percentage LIMIT (#4701) --- .../analyze_percent_offset/duckdb/exec.json | 5 ++++ .../analyze_percent_offset/duckdb/query.sql | 2 ++ .../analyze_percent_offset/duckdb/schema.sql | 1 + .../analyze_percent_offset/duckdb/stdout.json | 26 +++++++++++++++++++ internal/engine/duckdb/convert.go | 7 ++--- 5 files changed, 36 insertions(+), 5 deletions(-) create mode 100644 internal/endtoend/testdata/analyze_percent_offset/duckdb/exec.json create mode 100644 internal/endtoend/testdata/analyze_percent_offset/duckdb/query.sql create mode 100644 internal/endtoend/testdata/analyze_percent_offset/duckdb/schema.sql create mode 100644 internal/endtoend/testdata/analyze_percent_offset/duckdb/stdout.json diff --git a/internal/endtoend/testdata/analyze_percent_offset/duckdb/exec.json b/internal/endtoend/testdata/analyze_percent_offset/duckdb/exec.json new file mode 100644 index 0000000000..56cb4b3fff --- /dev/null +++ b/internal/endtoend/testdata/analyze_percent_offset/duckdb/exec.json @@ -0,0 +1,5 @@ +{ + "command": "analyze", + "args": ["--dialect", "duckdb", "--schema", "schema.sql", "query.sql"], + "contexts": ["base"] +} diff --git a/internal/endtoend/testdata/analyze_percent_offset/duckdb/query.sql b/internal/endtoend/testdata/analyze_percent_offset/duckdb/query.sql new file mode 100644 index 0000000000..7ed1e63ce2 --- /dev/null +++ b/internal/endtoend/testdata/analyze_percent_offset/duckdb/query.sql @@ -0,0 +1,2 @@ +-- name: Page :many +SELECT id FROM readings ORDER BY id LIMIT 50% OFFSET $1; diff --git a/internal/endtoend/testdata/analyze_percent_offset/duckdb/schema.sql b/internal/endtoend/testdata/analyze_percent_offset/duckdb/schema.sql new file mode 100644 index 0000000000..3e3f10ca86 --- /dev/null +++ b/internal/endtoend/testdata/analyze_percent_offset/duckdb/schema.sql @@ -0,0 +1 @@ +CREATE TABLE readings (id INTEGER NOT NULL); diff --git a/internal/endtoend/testdata/analyze_percent_offset/duckdb/stdout.json b/internal/endtoend/testdata/analyze_percent_offset/duckdb/stdout.json new file mode 100644 index 0000000000..492b8a3ac8 --- /dev/null +++ b/internal/endtoend/testdata/analyze_percent_offset/duckdb/stdout.json @@ -0,0 +1,26 @@ +[ + { + "name": "Page", + "cmd": ":many", + "columns": [ + { + "name": "id", + "type": { + "name": "integer" + }, + "table": "readings" + } + ], + "params": [ + { + "number": 1, + "column": { + "name": "", + "type": { + "name": "integer" + } + } + } + ] + } +] diff --git a/internal/engine/duckdb/convert.go b/internal/engine/duckdb/convert.go index 29721bb60d..63a2c7ec9d 100644 --- a/internal/engine/duckdb/convert.go +++ b/internal/engine/duckdb/convert.go @@ -75,11 +75,8 @@ func (c *cc) applyModifiers(stmt *ast.SelectStmt, mods []dw.ResultModifier) { case *dw.OrderModifier: stmt.SortClause = c.convertOrderBys(m.Orders) case *dw.LimitModifier: - // LIMIT n% has no row-count equivalent. - if m.LimitType == dw.LimitPercentage { - continue - } - if m.Limit != nil { + // LIMIT n% has no row-count equivalent, but its OFFSET counts rows. + if m.Limit != nil && m.LimitType != dw.LimitPercentage { stmt.LimitCount = c.convertExpr(m.Limit) } if m.Offset != nil { From 9ac91d320119ace6803fea2ae747095c3a507c82 Mon Sep 17 00:00:00 2001 From: Dostonbek Soliyev <122667177+ruziba3vich@users.noreply.github.com> Date: Tue, 1 Dec 2026 09:12:29 +0500 Subject: [PATCH 15/16] duckdb: resolve the rowid pseudo-column (#4697) Every DuckDB base table has a rowid pseudo-column, a nullable BIGINT that a query can select, filter on and order by. The engine only knew the columns a table declares, so any use of rowid failed with "unknown column". Add rowid to each table as a hidden column, which keeps it out of star expansions, INSERT targets and the table's model. A table that declares a column named rowid keeps its own column. Fixes #4676 --- .../testdata/duckdb_rowid/duckdb/exec.json | 3 + .../testdata/duckdb_rowid/duckdb/go/db.go | 31 +++ .../testdata/duckdb_rowid/duckdb/go/models.go | 22 ++ .../duckdb_rowid/duckdb/go/query.sql.go | 193 ++++++++++++++++++ .../testdata/duckdb_rowid/duckdb/query.sql | 26 +++ .../testdata/duckdb_rowid/duckdb/schema.sql | 11 + .../testdata/duckdb_rowid/duckdb/sqlc.yaml | 10 + internal/engine/duckdb/convert.go | 17 +- 8 files changed, 312 insertions(+), 1 deletion(-) create mode 100644 internal/endtoend/testdata/duckdb_rowid/duckdb/exec.json create mode 100644 internal/endtoend/testdata/duckdb_rowid/duckdb/go/db.go create mode 100644 internal/endtoend/testdata/duckdb_rowid/duckdb/go/models.go create mode 100644 internal/endtoend/testdata/duckdb_rowid/duckdb/go/query.sql.go create mode 100644 internal/endtoend/testdata/duckdb_rowid/duckdb/query.sql create mode 100644 internal/endtoend/testdata/duckdb_rowid/duckdb/schema.sql create mode 100644 internal/endtoend/testdata/duckdb_rowid/duckdb/sqlc.yaml diff --git a/internal/endtoend/testdata/duckdb_rowid/duckdb/exec.json b/internal/endtoend/testdata/duckdb_rowid/duckdb/exec.json new file mode 100644 index 0000000000..2e996ca79d --- /dev/null +++ b/internal/endtoend/testdata/duckdb_rowid/duckdb/exec.json @@ -0,0 +1,3 @@ +{ + "contexts": ["base"] +} diff --git a/internal/endtoend/testdata/duckdb_rowid/duckdb/go/db.go b/internal/endtoend/testdata/duckdb_rowid/duckdb/go/db.go new file mode 100644 index 0000000000..32faa9f2b8 --- /dev/null +++ b/internal/endtoend/testdata/duckdb_rowid/duckdb/go/db.go @@ -0,0 +1,31 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 + +package querytest + +import ( + "context" + "database/sql" +) + +type DBTX interface { + ExecContext(context.Context, string, ...any) (sql.Result, error) + PrepareContext(context.Context, string) (*sql.Stmt, error) + QueryContext(context.Context, string, ...any) (*sql.Rows, error) + QueryRowContext(context.Context, string, ...any) *sql.Row +} + +func New(db DBTX) *Queries { + return &Queries{db: db} +} + +type Queries struct { + db DBTX +} + +func (q *Queries) WithTx(tx *sql.Tx) *Queries { + return &Queries{ + db: tx, + } +} diff --git a/internal/endtoend/testdata/duckdb_rowid/duckdb/go/models.go b/internal/endtoend/testdata/duckdb_rowid/duckdb/go/models.go new file mode 100644 index 0000000000..062d0be4b2 --- /dev/null +++ b/internal/endtoend/testdata/duckdb_rowid/duckdb/go/models.go @@ -0,0 +1,22 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 + +package querytest + +import ( + "database/sql" + + "github.com/google/uuid" +) + +type Ledger struct { + Rowid string + Amount sql.NullInt32 +} + +type Plan struct { + ID uuid.UUID + ShipSize string + Price sql.NullFloat64 +} diff --git a/internal/endtoend/testdata/duckdb_rowid/duckdb/go/query.sql.go b/internal/endtoend/testdata/duckdb_rowid/duckdb/go/query.sql.go new file mode 100644 index 0000000000..2ad39b5de6 --- /dev/null +++ b/internal/endtoend/testdata/duckdb_rowid/duckdb/go/query.sql.go @@ -0,0 +1,193 @@ +// Code generated by sqlc. DO NOT EDIT. +// versions: +// sqlc v1.31.1 +// source: query.sql + +package querytest + +import ( + "context" + "database/sql" + + "github.com/google/uuid" +) + +const createPlan = `-- name: CreatePlan :exec +INSERT INTO plan VALUES ($1, $2, $3); +` + +type CreatePlanParams struct { + ID uuid.UUID + ShipSize string + Price sql.NullFloat64 +} + +func (q *Queries) CreatePlan(ctx context.Context, arg CreatePlanParams) error { + _, err := q.db.ExecContext(ctx, createPlan, arg.ID, arg.ShipSize, arg.Price) + return err +} + +const deletePlan = `-- name: DeletePlan :one +DELETE FROM plan WHERE rowid = $1 RETURNING id, ship_size, price; +` + +func (q *Queries) DeletePlan(ctx context.Context, rowid sql.NullInt64) (Plan, error) { + row := q.db.QueryRowContext(ctx, deletePlan, rowid) + var i Plan + err := row.Scan(&i.ID, &i.ShipSize, &i.Price) + return i, err +} + +const getLedgerAmount = `-- name: GetLedgerAmount :one +SELECT amount FROM ledger WHERE rowid = $1; +` + +func (q *Queries) GetLedgerAmount(ctx context.Context, rowid string) (sql.NullInt32, error) { + row := q.db.QueryRowContext(ctx, getLedgerAmount, rowid) + var amount sql.NullInt32 + err := row.Scan(&amount) + return amount, err +} + +const getPlanByRowID = `-- name: GetPlanByRowID :one +SELECT id FROM plan WHERE rowid = $1; +` + +func (q *Queries) GetPlanByRowID(ctx context.Context, rowid sql.NullInt64) (uuid.UUID, error) { + row := q.db.QueryRowContext(ctx, getPlanByRowID, rowid) + var id uuid.UUID + err := row.Scan(&id) + return id, err +} + +const listLedger = `-- name: ListLedger :many +SELECT rowid, amount FROM ledger; +` + +func (q *Queries) ListLedger(ctx context.Context) ([]Ledger, error) { + rows, err := q.db.QueryContext(ctx, listLedger) + if err != nil { + return nil, err + } + defer rows.Close() + var items []Ledger + for rows.Next() { + var i Ledger + if err := rows.Scan(&i.Rowid, &i.Amount); err != nil { + return nil, err + } + items = append(items, i) + } + if err := rows.Close(); err != nil { + return nil, err + } + if err := rows.Err(); err != nil { + return nil, err + } + return items, nil +} + +const listPlanRowIDs = `-- name: ListPlanRowIDs :many +SELECT rowid, id FROM plan; +` + +type ListPlanRowIDsRow struct { + Rowid sql.NullInt64 + ID uuid.UUID +} + +func (q *Queries) ListPlanRowIDs(ctx context.Context) ([]ListPlanRowIDsRow, error) { + rows, err := q.db.QueryContext(ctx, listPlanRowIDs) + if err != nil { + return nil, err + } + defer rows.Close() + var items []ListPlanRowIDsRow + for rows.Next() { + var i ListPlanRowIDsRow + if err := rows.Scan(&i.Rowid, &i.ID); err != nil { + return nil, err + } + items = append(items, i) + } + if err := rows.Close(); err != nil { + return nil, err + } + if err := rows.Err(); err != nil { + return nil, err + } + return items, nil +} + +const listPlans = `-- name: ListPlans :many +SELECT id, ship_size, price FROM plan ORDER BY rowid; +` + +func (q *Queries) ListPlans(ctx context.Context) ([]Plan, error) { + rows, err := q.db.QueryContext(ctx, listPlans) + if err != nil { + return nil, err + } + defer rows.Close() + var items []Plan + for rows.Next() { + var i Plan + if err := rows.Scan(&i.ID, &i.ShipSize, &i.Price); err != nil { + return nil, err + } + items = append(items, i) + } + if err := rows.Close(); err != nil { + return nil, err + } + if err := rows.Err(); err != nil { + return nil, err + } + return items, nil +} + +const listQualifiedPlanRowIDs = `-- name: ListQualifiedPlanRowIDs :many +SELECT p.rowid, p.id FROM plan p ORDER BY p.rowid; +` + +type ListQualifiedPlanRowIDsRow struct { + Rowid sql.NullInt64 + ID uuid.UUID +} + +func (q *Queries) ListQualifiedPlanRowIDs(ctx context.Context) ([]ListQualifiedPlanRowIDsRow, error) { + rows, err := q.db.QueryContext(ctx, listQualifiedPlanRowIDs) + if err != nil { + return nil, err + } + defer rows.Close() + var items []ListQualifiedPlanRowIDsRow + for rows.Next() { + var i ListQualifiedPlanRowIDsRow + if err := rows.Scan(&i.Rowid, &i.ID); err != nil { + return nil, err + } + items = append(items, i) + } + if err := rows.Close(); err != nil { + return nil, err + } + if err := rows.Err(); err != nil { + return nil, err + } + return items, nil +} + +const updatePlanPrice = `-- name: UpdatePlanPrice :exec +UPDATE plan SET price = $1 WHERE rowid = $2; +` + +type UpdatePlanPriceParams struct { + Price sql.NullFloat64 + Rowid sql.NullInt64 +} + +func (q *Queries) UpdatePlanPrice(ctx context.Context, arg UpdatePlanPriceParams) error { + _, err := q.db.ExecContext(ctx, updatePlanPrice, arg.Price, arg.Rowid) + return err +} diff --git a/internal/endtoend/testdata/duckdb_rowid/duckdb/query.sql b/internal/endtoend/testdata/duckdb_rowid/duckdb/query.sql new file mode 100644 index 0000000000..3ea6c375b4 --- /dev/null +++ b/internal/endtoend/testdata/duckdb_rowid/duckdb/query.sql @@ -0,0 +1,26 @@ +-- name: ListPlanRowIDs :many +SELECT rowid, id FROM plan; + +-- name: ListQualifiedPlanRowIDs :many +SELECT p.rowid, p.id FROM plan p ORDER BY p.rowid; + +-- name: GetPlanByRowID :one +SELECT id FROM plan WHERE rowid = $1; + +-- name: ListPlans :many +SELECT * FROM plan ORDER BY rowid; + +-- name: CreatePlan :exec +INSERT INTO plan VALUES ($1, $2, $3); + +-- name: UpdatePlanPrice :exec +UPDATE plan SET price = $1 WHERE rowid = $2; + +-- name: DeletePlan :one +DELETE FROM plan WHERE rowid = $1 RETURNING *; + +-- name: ListLedger :many +SELECT * FROM ledger; + +-- name: GetLedgerAmount :one +SELECT amount FROM ledger WHERE rowid = $1; diff --git a/internal/endtoend/testdata/duckdb_rowid/duckdb/schema.sql b/internal/endtoend/testdata/duckdb_rowid/duckdb/schema.sql new file mode 100644 index 0000000000..53d9f2ab99 --- /dev/null +++ b/internal/endtoend/testdata/duckdb_rowid/duckdb/schema.sql @@ -0,0 +1,11 @@ +CREATE TABLE plan ( + id UUID NOT NULL, + ship_size VARCHAR NOT NULL, + price DOUBLE +); + +-- A declared column takes the place of the pseudo-column. +CREATE TABLE ledger ( + rowid VARCHAR NOT NULL, + amount INTEGER +); diff --git a/internal/endtoend/testdata/duckdb_rowid/duckdb/sqlc.yaml b/internal/endtoend/testdata/duckdb_rowid/duckdb/sqlc.yaml new file mode 100644 index 0000000000..07d6d9d3b8 --- /dev/null +++ b/internal/endtoend/testdata/duckdb_rowid/duckdb/sqlc.yaml @@ -0,0 +1,10 @@ +version: "2" +sql: + - engine: "duckdb" + schema: "schema.sql" + queries: "query.sql" + gen: + go: + package: "querytest" + out: "go" + sql_package: "database/sql" diff --git a/internal/engine/duckdb/convert.go b/internal/engine/duckdb/convert.go index 63a2c7ec9d..152d8e59bf 100644 --- a/internal/engine/duckdb/convert.go +++ b/internal/engine/duckdb/convert.go @@ -1055,8 +1055,23 @@ func (c *cc) convertCreateTableInfo(info *dw.CreateTableInfo) ast.Node { } } + declaresRowid := false for i := range info.Columns { - stmt.Cols = append(stmt.Cols, c.convertColumnDef(&info.Columns[i], primaryKey)) + def := c.convertColumnDef(&info.Columns[i], primaryKey) + declaresRowid = declaresRowid || def.Colname == "rowid" + stmt.Cols = append(stmt.Cols, def) + } + + // Every base table also offers a rowid pseudo-column, a nullable BIGINT + // that a query can select, filter on and order by. A column the table + // declares under that name takes its place. Hidden keeps it out of star + // expansions and the table's model. + if !declaresRowid { + stmt.Cols = append(stmt.Cols, &ast.ColumnDef{ + Colname: "rowid", + IsHidden: true, + TypeName: &ast.TypeName{Name: "bigint"}, + }) } return stmt } From 5daa2dbd6d2b18dce07504968abe42c70a1b8e83 Mon Sep 17 00:00:00 2001 From: Kyle Gray Date: Mon, 30 Nov 2026 20:18:56 -0800 Subject: [PATCH 16/16] duckdb: cover rowid with an analyze case (#4722) * duckdb: resolve the rowid pseudo-column Every DuckDB base table offers a rowid that a query can select, filter on and order by. The converter now adds it to each table as a hidden, nullable BIGINT column, the way the SQLite engine adds the hidden columns of an fts5 table, so it resolves by name but stays out of star expansions, INSERT targets and the table's model. A table that declares its own rowid keeps that column. Fixes #4676 Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01LuRZ4JY6kCxkjBm6hN7Lf3 * duckdb: cover rowid with an analyze case Replaces the generated-Go golden from #4697 with an analyze case over the same schema and queries, so the test pins what sqlc infers for rowid rather than the code it generates. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01LuRZ4JY6kCxkjBm6hN7Lf3 --------- Co-authored-by: Claude --- .../testdata/analyze_rowid/duckdb/exec.json | 5 + .../duckdb/query.sql | 0 .../duckdb/schema.sql | 0 .../testdata/analyze_rowid/duckdb/stdout.json | 257 ++++++++++++++++++ .../testdata/duckdb_rowid/duckdb/exec.json | 3 - .../testdata/duckdb_rowid/duckdb/go/db.go | 31 --- .../testdata/duckdb_rowid/duckdb/go/models.go | 22 -- .../duckdb_rowid/duckdb/go/query.sql.go | 193 ------------- .../testdata/duckdb_rowid/duckdb/sqlc.yaml | 10 - 9 files changed, 262 insertions(+), 259 deletions(-) create mode 100644 internal/endtoend/testdata/analyze_rowid/duckdb/exec.json rename internal/endtoend/testdata/{duckdb_rowid => analyze_rowid}/duckdb/query.sql (100%) rename internal/endtoend/testdata/{duckdb_rowid => analyze_rowid}/duckdb/schema.sql (100%) create mode 100644 internal/endtoend/testdata/analyze_rowid/duckdb/stdout.json delete mode 100644 internal/endtoend/testdata/duckdb_rowid/duckdb/exec.json delete mode 100644 internal/endtoend/testdata/duckdb_rowid/duckdb/go/db.go delete mode 100644 internal/endtoend/testdata/duckdb_rowid/duckdb/go/models.go delete mode 100644 internal/endtoend/testdata/duckdb_rowid/duckdb/go/query.sql.go delete mode 100644 internal/endtoend/testdata/duckdb_rowid/duckdb/sqlc.yaml diff --git a/internal/endtoend/testdata/analyze_rowid/duckdb/exec.json b/internal/endtoend/testdata/analyze_rowid/duckdb/exec.json new file mode 100644 index 0000000000..56cb4b3fff --- /dev/null +++ b/internal/endtoend/testdata/analyze_rowid/duckdb/exec.json @@ -0,0 +1,5 @@ +{ + "command": "analyze", + "args": ["--dialect", "duckdb", "--schema", "schema.sql", "query.sql"], + "contexts": ["base"] +} diff --git a/internal/endtoend/testdata/duckdb_rowid/duckdb/query.sql b/internal/endtoend/testdata/analyze_rowid/duckdb/query.sql similarity index 100% rename from internal/endtoend/testdata/duckdb_rowid/duckdb/query.sql rename to internal/endtoend/testdata/analyze_rowid/duckdb/query.sql diff --git a/internal/endtoend/testdata/duckdb_rowid/duckdb/schema.sql b/internal/endtoend/testdata/analyze_rowid/duckdb/schema.sql similarity index 100% rename from internal/endtoend/testdata/duckdb_rowid/duckdb/schema.sql rename to internal/endtoend/testdata/analyze_rowid/duckdb/schema.sql diff --git a/internal/endtoend/testdata/analyze_rowid/duckdb/stdout.json b/internal/endtoend/testdata/analyze_rowid/duckdb/stdout.json new file mode 100644 index 0000000000..aa69694d50 --- /dev/null +++ b/internal/endtoend/testdata/analyze_rowid/duckdb/stdout.json @@ -0,0 +1,257 @@ +[ + { + "name": "ListPlanRowIDs", + "cmd": ":many", + "columns": [ + { + "name": "rowid", + "type": { + "name": "bigint", + "nullable": true + }, + "table": "plan" + }, + { + "name": "id", + "type": { + "name": "uuid" + }, + "table": "plan" + } + ], + "params": [] + }, + { + "name": "ListQualifiedPlanRowIDs", + "cmd": ":many", + "columns": [ + { + "name": "rowid", + "type": { + "name": "bigint", + "nullable": true + }, + "table": "plan" + }, + { + "name": "id", + "type": { + "name": "uuid" + }, + "table": "plan" + } + ], + "params": [] + }, + { + "name": "GetPlanByRowID", + "cmd": ":one", + "columns": [ + { + "name": "id", + "type": { + "name": "uuid" + }, + "table": "plan" + } + ], + "params": [ + { + "number": 1, + "column": { + "name": "rowid", + "type": { + "name": "bigint", + "nullable": true + }, + "table": "plan" + } + } + ] + }, + { + "name": "ListPlans", + "cmd": ":many", + "columns": [ + { + "name": "id", + "type": { + "name": "uuid" + }, + "table": "plan" + }, + { + "name": "ship_size", + "type": { + "name": "varchar" + }, + "table": "plan" + }, + { + "name": "price", + "type": { + "name": "double", + "nullable": true + }, + "table": "plan" + } + ], + "params": [] + }, + { + "name": "CreatePlan", + "cmd": ":exec", + "columns": [], + "params": [ + { + "number": 1, + "column": { + "name": "id", + "type": { + "name": "uuid" + }, + "table": "plan" + } + }, + { + "number": 2, + "column": { + "name": "ship_size", + "type": { + "name": "varchar" + }, + "table": "plan" + } + }, + { + "number": 3, + "column": { + "name": "price", + "type": { + "name": "double", + "nullable": true + }, + "table": "plan" + } + } + ] + }, + { + "name": "UpdatePlanPrice", + "cmd": ":exec", + "columns": [], + "params": [ + { + "number": 1, + "column": { + "name": "price", + "type": { + "name": "double", + "nullable": true + }, + "table": "plan" + } + }, + { + "number": 2, + "column": { + "name": "rowid", + "type": { + "name": "bigint", + "nullable": true + }, + "table": "plan" + } + } + ] + }, + { + "name": "DeletePlan", + "cmd": ":one", + "columns": [ + { + "name": "id", + "type": { + "name": "uuid" + }, + "table": "plan" + }, + { + "name": "ship_size", + "type": { + "name": "varchar" + }, + "table": "plan" + }, + { + "name": "price", + "type": { + "name": "double", + "nullable": true + }, + "table": "plan" + } + ], + "params": [ + { + "number": 1, + "column": { + "name": "rowid", + "type": { + "name": "bigint", + "nullable": true + }, + "table": "plan" + } + } + ] + }, + { + "name": "ListLedger", + "cmd": ":many", + "columns": [ + { + "name": "rowid", + "type": { + "name": "varchar" + }, + "table": "ledger" + }, + { + "name": "amount", + "type": { + "name": "integer", + "nullable": true + }, + "table": "ledger" + } + ], + "params": [] + }, + { + "name": "GetLedgerAmount", + "cmd": ":one", + "columns": [ + { + "name": "amount", + "type": { + "name": "integer", + "nullable": true + }, + "table": "ledger" + } + ], + "params": [ + { + "number": 1, + "column": { + "name": "rowid", + "type": { + "name": "varchar" + }, + "table": "ledger" + } + } + ] + } +] diff --git a/internal/endtoend/testdata/duckdb_rowid/duckdb/exec.json b/internal/endtoend/testdata/duckdb_rowid/duckdb/exec.json deleted file mode 100644 index 2e996ca79d..0000000000 --- a/internal/endtoend/testdata/duckdb_rowid/duckdb/exec.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "contexts": ["base"] -} diff --git a/internal/endtoend/testdata/duckdb_rowid/duckdb/go/db.go b/internal/endtoend/testdata/duckdb_rowid/duckdb/go/db.go deleted file mode 100644 index 32faa9f2b8..0000000000 --- a/internal/endtoend/testdata/duckdb_rowid/duckdb/go/db.go +++ /dev/null @@ -1,31 +0,0 @@ -// Code generated by sqlc. DO NOT EDIT. -// versions: -// sqlc v1.31.1 - -package querytest - -import ( - "context" - "database/sql" -) - -type DBTX interface { - ExecContext(context.Context, string, ...any) (sql.Result, error) - PrepareContext(context.Context, string) (*sql.Stmt, error) - QueryContext(context.Context, string, ...any) (*sql.Rows, error) - QueryRowContext(context.Context, string, ...any) *sql.Row -} - -func New(db DBTX) *Queries { - return &Queries{db: db} -} - -type Queries struct { - db DBTX -} - -func (q *Queries) WithTx(tx *sql.Tx) *Queries { - return &Queries{ - db: tx, - } -} diff --git a/internal/endtoend/testdata/duckdb_rowid/duckdb/go/models.go b/internal/endtoend/testdata/duckdb_rowid/duckdb/go/models.go deleted file mode 100644 index 062d0be4b2..0000000000 --- a/internal/endtoend/testdata/duckdb_rowid/duckdb/go/models.go +++ /dev/null @@ -1,22 +0,0 @@ -// Code generated by sqlc. DO NOT EDIT. -// versions: -// sqlc v1.31.1 - -package querytest - -import ( - "database/sql" - - "github.com/google/uuid" -) - -type Ledger struct { - Rowid string - Amount sql.NullInt32 -} - -type Plan struct { - ID uuid.UUID - ShipSize string - Price sql.NullFloat64 -} diff --git a/internal/endtoend/testdata/duckdb_rowid/duckdb/go/query.sql.go b/internal/endtoend/testdata/duckdb_rowid/duckdb/go/query.sql.go deleted file mode 100644 index 2ad39b5de6..0000000000 --- a/internal/endtoend/testdata/duckdb_rowid/duckdb/go/query.sql.go +++ /dev/null @@ -1,193 +0,0 @@ -// Code generated by sqlc. DO NOT EDIT. -// versions: -// sqlc v1.31.1 -// source: query.sql - -package querytest - -import ( - "context" - "database/sql" - - "github.com/google/uuid" -) - -const createPlan = `-- name: CreatePlan :exec -INSERT INTO plan VALUES ($1, $2, $3); -` - -type CreatePlanParams struct { - ID uuid.UUID - ShipSize string - Price sql.NullFloat64 -} - -func (q *Queries) CreatePlan(ctx context.Context, arg CreatePlanParams) error { - _, err := q.db.ExecContext(ctx, createPlan, arg.ID, arg.ShipSize, arg.Price) - return err -} - -const deletePlan = `-- name: DeletePlan :one -DELETE FROM plan WHERE rowid = $1 RETURNING id, ship_size, price; -` - -func (q *Queries) DeletePlan(ctx context.Context, rowid sql.NullInt64) (Plan, error) { - row := q.db.QueryRowContext(ctx, deletePlan, rowid) - var i Plan - err := row.Scan(&i.ID, &i.ShipSize, &i.Price) - return i, err -} - -const getLedgerAmount = `-- name: GetLedgerAmount :one -SELECT amount FROM ledger WHERE rowid = $1; -` - -func (q *Queries) GetLedgerAmount(ctx context.Context, rowid string) (sql.NullInt32, error) { - row := q.db.QueryRowContext(ctx, getLedgerAmount, rowid) - var amount sql.NullInt32 - err := row.Scan(&amount) - return amount, err -} - -const getPlanByRowID = `-- name: GetPlanByRowID :one -SELECT id FROM plan WHERE rowid = $1; -` - -func (q *Queries) GetPlanByRowID(ctx context.Context, rowid sql.NullInt64) (uuid.UUID, error) { - row := q.db.QueryRowContext(ctx, getPlanByRowID, rowid) - var id uuid.UUID - err := row.Scan(&id) - return id, err -} - -const listLedger = `-- name: ListLedger :many -SELECT rowid, amount FROM ledger; -` - -func (q *Queries) ListLedger(ctx context.Context) ([]Ledger, error) { - rows, err := q.db.QueryContext(ctx, listLedger) - if err != nil { - return nil, err - } - defer rows.Close() - var items []Ledger - for rows.Next() { - var i Ledger - if err := rows.Scan(&i.Rowid, &i.Amount); err != nil { - return nil, err - } - items = append(items, i) - } - if err := rows.Close(); err != nil { - return nil, err - } - if err := rows.Err(); err != nil { - return nil, err - } - return items, nil -} - -const listPlanRowIDs = `-- name: ListPlanRowIDs :many -SELECT rowid, id FROM plan; -` - -type ListPlanRowIDsRow struct { - Rowid sql.NullInt64 - ID uuid.UUID -} - -func (q *Queries) ListPlanRowIDs(ctx context.Context) ([]ListPlanRowIDsRow, error) { - rows, err := q.db.QueryContext(ctx, listPlanRowIDs) - if err != nil { - return nil, err - } - defer rows.Close() - var items []ListPlanRowIDsRow - for rows.Next() { - var i ListPlanRowIDsRow - if err := rows.Scan(&i.Rowid, &i.ID); err != nil { - return nil, err - } - items = append(items, i) - } - if err := rows.Close(); err != nil { - return nil, err - } - if err := rows.Err(); err != nil { - return nil, err - } - return items, nil -} - -const listPlans = `-- name: ListPlans :many -SELECT id, ship_size, price FROM plan ORDER BY rowid; -` - -func (q *Queries) ListPlans(ctx context.Context) ([]Plan, error) { - rows, err := q.db.QueryContext(ctx, listPlans) - if err != nil { - return nil, err - } - defer rows.Close() - var items []Plan - for rows.Next() { - var i Plan - if err := rows.Scan(&i.ID, &i.ShipSize, &i.Price); err != nil { - return nil, err - } - items = append(items, i) - } - if err := rows.Close(); err != nil { - return nil, err - } - if err := rows.Err(); err != nil { - return nil, err - } - return items, nil -} - -const listQualifiedPlanRowIDs = `-- name: ListQualifiedPlanRowIDs :many -SELECT p.rowid, p.id FROM plan p ORDER BY p.rowid; -` - -type ListQualifiedPlanRowIDsRow struct { - Rowid sql.NullInt64 - ID uuid.UUID -} - -func (q *Queries) ListQualifiedPlanRowIDs(ctx context.Context) ([]ListQualifiedPlanRowIDsRow, error) { - rows, err := q.db.QueryContext(ctx, listQualifiedPlanRowIDs) - if err != nil { - return nil, err - } - defer rows.Close() - var items []ListQualifiedPlanRowIDsRow - for rows.Next() { - var i ListQualifiedPlanRowIDsRow - if err := rows.Scan(&i.Rowid, &i.ID); err != nil { - return nil, err - } - items = append(items, i) - } - if err := rows.Close(); err != nil { - return nil, err - } - if err := rows.Err(); err != nil { - return nil, err - } - return items, nil -} - -const updatePlanPrice = `-- name: UpdatePlanPrice :exec -UPDATE plan SET price = $1 WHERE rowid = $2; -` - -type UpdatePlanPriceParams struct { - Price sql.NullFloat64 - Rowid sql.NullInt64 -} - -func (q *Queries) UpdatePlanPrice(ctx context.Context, arg UpdatePlanPriceParams) error { - _, err := q.db.ExecContext(ctx, updatePlanPrice, arg.Price, arg.Rowid) - return err -} diff --git a/internal/endtoend/testdata/duckdb_rowid/duckdb/sqlc.yaml b/internal/endtoend/testdata/duckdb_rowid/duckdb/sqlc.yaml deleted file mode 100644 index 07d6d9d3b8..0000000000 --- a/internal/endtoend/testdata/duckdb_rowid/duckdb/sqlc.yaml +++ /dev/null @@ -1,10 +0,0 @@ -version: "2" -sql: - - engine: "duckdb" - schema: "schema.sql" - queries: "query.sql" - gen: - go: - package: "querytest" - out: "go" - sql_package: "database/sql"