jet/tests/postgres
Felipe Pinheiro ea8a35d497
Remove pgproto3/v2 dep by upgrading pgx/v4 to v5
pgx/v4/stdlib was only used in test infrastructure, but its transitive
dependency on jackc/pgproto3/v2 exposed the build to GO-2026-4518 (DoS
via negative field length panic in DataRow.Decode).

Replaces the pgconn.ParseConfig call via GenerateDSN with url.Parse for
DSN validation, and SELECT current_database() for retrieving the
database name, removing the last non-test dependency on the pgx/v4.

Updates TestUInt64Overflow in tests/postgres to match pgx/v5 error
format: v5 renamed Int to Int64 across pgtype to match database/sql
conventions, so the overflow error now says "int64" instead of "Int8".

Bumps minimum Go version to 1.24 (required by pgx/v5).
2026-03-23 14:00:29 -03:00
..
alltypes_test.go Remove pgproto3/v2 dep by upgrading pgx/v4 to v5 2026-03-23 14:00:29 -03:00
array_test.go Simplify construction of new expressions. 2026-02-02 13:18:19 +01:00
chinook_db_json_out_test.go Bug225: Add more MultipleNestedAliasedSlices test 2023-07-20 12:09:38 +02:00
chinook_db_test.go Simplify literal expressions. 2026-02-02 13:21:35 +01:00
delete_test.go Add support for prepared statement caching. 2024-03-07 18:01:31 +01:00
generator_template_test.go Add support for additional array types. 2025-10-16 15:09:07 +02:00
generator_test.go Add cockroachdb table comments. 2026-02-03 12:43:37 +01:00
insert_test.go Add support for assigning one ColumnList to another in INSERT and UPDATE queries. 2025-03-13 13:05:35 +01:00
json_test.go Remove commented-out code in JSON test cases for clarity and maintainability. 2026-02-13 09:52:49 +02:00
lock_test.go Add support for prepared statement caching. 2024-03-07 18:01:31 +01:00
main_test.go Remove pgproto3/v2 dep by upgrading pgx/v4 to v5 2026-03-23 14:00:29 -03:00
northwind_test.go Uncomment TestNorthwindJoinEverythingJsonSonic since sonic library bug is fixed now. 2025-03-31 20:04:31 +02:00
range_test.go Simplify construction of new expressions. 2026-02-02 13:18:19 +01:00
raw_statements_test.go Add custom set returning function test. 2024-11-03 12:00:39 +01:00
sample_test.go Remove QueryJson statements method to avoid potential misuse. 2025-03-09 17:46:34 +01:00
scan_test.go Add test for rows strict scan. 2026-01-21 12:02:09 +01:00
select_json_test.go Simplify construction of new expressions. 2026-02-02 13:18:19 +01:00
select_test.go Add support for additional array types. 2025-10-16 15:09:07 +02:00
stmtcache_test.go Add support for prepared statements caching. 2024-10-29 11:44:38 +01:00
update_test.go Add support for Row expression. 2024-10-17 14:17:22 +02:00
values_test.go Add support for additional array types. 2025-10-16 15:09:07 +02:00
with_test.go Add support for strict scan. 2025-03-11 10:50:06 +01:00