From 1432b06090a82a213a3b6a6717e05aacd0417f8a Mon Sep 17 00:00:00 2001 From: Rebecca Taft Date: Wed, 2 Oct 2024 10:47:51 -0500 Subject: [PATCH 1/5] roachtest: fix pg_regress Fixes #130735 Release note: None --- pkg/cmd/roachtest/testdata/regression.diffs | 8737 +++++++++---------- 1 file changed, 4338 insertions(+), 4399 deletions(-) diff --git a/pkg/cmd/roachtest/testdata/regression.diffs b/pkg/cmd/roachtest/testdata/regression.diffs index 603ba302a21d..78174616d6c3 100644 --- a/pkg/cmd/roachtest/testdata/regression.diffs +++ b/pkg/cmd/roachtest/testdata/regression.diffs @@ -2506,7 +2506,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/int8.out --label= - 1259 + oid +------------ -+ 4294967090 ++ 4294967087 (1 row) -- bit operations @@ -4140,7 +4140,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/float4.out --labe +create type xfloat4 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27793/dev ++See: https://go.crdb.dev/issue-v/27793/v24.3 create function xfloat4in(cstring) returns xfloat4 immutable strict language internal as 'int4in'; -NOTICE: return type xfloat4 is only a shell @@ -4155,7 +4155,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/float4.out --labe +create type xfloat4 (input = xfloat4in, output = xfloat4out, like = float4) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27793/dev ++See: https://go.crdb.dev/issue-v/27793/v24.3 create cast (xfloat4 as float4) without function; +ERROR: at or near "(": syntax error: unimplemented: this syntax +DETAIL: source SQL: @@ -4537,7 +4537,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/float4.out --labe -drop cascades to cast from integer to xfloat4 +ERROR: unimplemented: DROP TYPE CASCADE is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/51480/dev ++See: https://go.crdb.dev/issue-v/51480/v24.3 diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/pg_lsn.out --label=/mnt/data1/postgres/src/test/regress/results/pg_lsn.out /mnt/data1/postgres/src/test/regress/expected/pg_lsn.out /mnt/data1/postgres/src/test/regress/results/pg_lsn.out --- /mnt/data1/postgres/src/test/regress/expected/pg_lsn.out +++ /mnt/data1/postgres/src/test/regress/results/pg_lsn.out @@ -5360,7 +5360,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/enum.out --label= +CREATE DOMAIN rgb AS rainbow CHECK (VALUE IN ('red', 'green', 'blue')) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 SELECT 'red'::rgb; - rgb ------ @@ -5380,7 +5380,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/enum.out --label= +DROP DOMAIN rgb + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 -- -- Arrays -- @@ -6110,7 +6110,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/float8.out --labe +create type xfloat8 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27793/dev ++See: https://go.crdb.dev/issue-v/27793/v24.3 create function xfloat8in(cstring) returns xfloat8 immutable strict language internal as 'int8in'; -NOTICE: return type xfloat8 is only a shell @@ -6125,7 +6125,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/float8.out --labe +create type xfloat8 (input = xfloat8in, output = xfloat8out, like = float8) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27793/dev ++See: https://go.crdb.dev/issue-v/27793/v24.3 create cast (xfloat8 as float8) without function; +ERROR: at or near "(": syntax error: unimplemented: this syntax +DETAIL: source SQL: @@ -6452,7 +6452,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/float8.out --labe -drop cascades to cast from bigint to xfloat8 +ERROR: unimplemented: DROP TYPE CASCADE is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/51480/dev ++See: https://go.crdb.dev/issue-v/51480/v24.3 diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/numeric.out --label=/mnt/data1/postgres/src/test/regress/results/numeric.out /mnt/data1/postgres/src/test/regress/expected/numeric.out /mnt/data1/postgres/src/test/regress/results/numeric.out --- /mnt/data1/postgres/src/test/regress/expected/numeric.out +++ /mnt/data1/postgres/src/test/regress/results/numeric.out @@ -9611,7 +9611,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/numeric.out --lab ALTER TABLE num_variance SET (parallel_workers = 4); +ERROR: unimplemented: storage parameter "parallel_workers" +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/43299/dev ++See: https://go.crdb.dev/issue-v/43299/v24.3 SET LOCAL parallel_setup_cost = 0; +ERROR: current transaction is aborted, commands ignored until end of transaction block SET LOCAL max_parallel_workers_per_gather = 4; @@ -9642,7 +9642,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/numeric.out --lab ALTER TABLE num_variance SET (parallel_workers = 4); +ERROR: unimplemented: storage parameter "parallel_workers" +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/43299/dev ++See: https://go.crdb.dev/issue-v/43299/v24.3 SET LOCAL parallel_setup_cost = 0; +ERROR: current transaction is aborted, commands ignored until end of transaction block SET LOCAL max_parallel_workers_per_gather = 4; @@ -11989,7 +11989,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rangetypes.out -- + exclude using gist (room with =, during with &&), + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46657/dev ++See: https://go.crdb.dev/issue-v/46657/v24.3 insert into test_range_excl values(int4range(123, 123, '[]'), int4range(1, 1, '[]'), '[2010-01-02 10:00, 2010-01-02 11:00)'); +ERROR: relation "test_range_excl" does not exist @@ -12045,7 +12045,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rangetypes.out -- +create type bogus_float8range as range (subtype=float8, subtype_diff=float4mi) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27791/dev ++See: https://go.crdb.dev/issue-v/27791/v24.3 select '[123.001, 5.e9)'::float8range @> 888.882::float8; - ?column? ----------- @@ -12075,14 +12075,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rangetypes.out -- +create domain mydomain as int4 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 create type mydomainrange as range(subtype=mydomain); +ERROR: at or near "(": syntax error: unimplemented: this syntax +DETAIL: source SQL: +create type mydomainrange as range(subtype=mydomain) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27791/dev ++See: https://go.crdb.dev/issue-v/27791/v24.3 select '[4,50)'::mydomainrange @> 7::mydomain; - ?column? ----------- @@ -12099,7 +12099,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rangetypes.out -- +drop domain mydomain + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 drop domain mydomain cascade; -NOTICE: drop cascades to type mydomainrange +ERROR: at or near "mydomain": syntax error: unimplemented: this syntax @@ -12107,7 +12107,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rangetypes.out -- +drop domain mydomain cascade + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 -- -- Test domains over range types -- @@ -12117,7 +12117,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rangetypes.out -- +create domain restrictedrange as int4range check (upper(value) < 10) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 select '[4,5)'::restrictedrange @> 7; - ?column? ----------- @@ -12134,7 +12134,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rangetypes.out -- +drop domain restrictedrange + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 -- -- Test multiple range types over the same subtype -- @@ -12144,14 +12144,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rangetypes.out -- +create type textrange1 as range(subtype=text, collation="C") + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27791/dev ++See: https://go.crdb.dev/issue-v/27791/v24.3 create type textrange2 as range(subtype=text, collation="C"); +ERROR: at or near "(": syntax error: unimplemented: this syntax +DETAIL: source SQL: +create type textrange2 as range(subtype=text, collation="C") + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27791/dev ++See: https://go.crdb.dev/issue-v/27791/v24.3 select textrange1('a','Z') @> 'b'::text; -ERROR: range lower bound must be less than or equal to range upper bound +ERROR: unknown function: textrange1() @@ -12298,7 +12298,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rangetypes.out -- +create type arrayrange as range (subtype=int4[]) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27791/dev ++See: https://go.crdb.dev/issue-v/27791/v24.3 select arrayrange(ARRAY[1,2], ARRAY[2,1]); - arrayrange -------------------- @@ -12333,7 +12333,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rangetypes.out -- +create type two_ints_range as range (subtype = two_ints) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27791/dev ++See: https://go.crdb.dev/issue-v/27791/v24.3 -- with debug_parallel_query on, this exercises tqueue.c's range remapping select *, row_to_json(upper(t)) as u from (values (two_ints_range(row(1,2), row(3,4))), @@ -12353,12 +12353,12 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rangetypes.out -- +alter type two_ints add attribute c two_ints_range + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/48701/dev ++See: https://go.crdb.dev/issue-v/48701/v24.3 drop type two_ints cascade; -NOTICE: drop cascades to type two_ints_range +ERROR: unimplemented: DROP TYPE CASCADE is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/51480/dev ++See: https://go.crdb.dev/issue-v/51480/v24.3 -- -- Check behavior when subtype lacks a hash function -- @@ -12368,7 +12368,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rangetypes.out -- +create type cashrange as range (subtype = money) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27791/dev ++See: https://go.crdb.dev/issue-v/27791/v24.3 set enable_sort = off; -- try to make it pick a hash setop implementation -select '(2,5)'::cashrange except select '(5,6)'::cashrange; - cashrange @@ -12459,7 +12459,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rangetypes.out -- + returns table(l anyelement, u anyelement) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/100226/dev ++See: https://go.crdb.dev/issue-v/100226/v24.3 select * from table_succeed(int4range(1,11)); - l | u ----+---- @@ -12489,7 +12489,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rangetypes.out -- +create function table_fail(i anyelement) returns table(i anyelement, r anyrange) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/100226/dev ++See: https://go.crdb.dev/issue-v/100226/v24.3 diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/numerology.out --label=/mnt/data1/postgres/src/test/regress/results/numerology.out /mnt/data1/postgres/src/test/regress/expected/numerology.out /mnt/data1/postgres/src/test/regress/results/numerology.out --- /mnt/data1/postgres/src/test/regress/expected/numerology.out +++ /mnt/data1/postgres/src/test/regress/results/numerology.out @@ -14558,7 +14558,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/strings.out --lab ALTER TABLE toasttest set (toast_tuple_target = 4080); +ERROR: unimplemented: storage parameter "toast_tuple_target" +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/43299/dev ++See: https://go.crdb.dev/issue-v/43299/v24.3 INSERT INTO toasttest values (repeat('1234567890',300)); INSERT INTO toasttest values (repeat('1234567890',300)); INSERT INTO toasttest values (repeat('1234567890',300)); @@ -15063,11 +15063,11 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/time.out --label= INSERT INTO TIME_TBL VALUES ('02:03 PST'); +ERROR: could not parse "02:03 PST" as type time: parsing as type time: unimplemented: timestamp abbreviations not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31710/dev ++See: https://go.crdb.dev/issue-v/31710/v24.3 INSERT INTO TIME_TBL VALUES ('11:59 EDT'); +ERROR: could not parse "11:59 EDT" as type time: parsing as type time: unimplemented: timestamp abbreviations not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31710/dev ++See: https://go.crdb.dev/issue-v/31710/v24.3 INSERT INTO TIME_TBL VALUES ('12:00'); INSERT INTO TIME_TBL VALUES ('12:01'); INSERT INTO TIME_TBL VALUES ('23:59'); @@ -16308,7 +16308,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inet.out --label= +CREATE TABLE INET_TBL (c cidr, i inet) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/18846/dev ++See: https://go.crdb.dev/issue-v/18846/v24.3 INSERT INTO INET_TBL (c, i) VALUES ('192.168.1', '192.168.1.226/24'); +ERROR: relation "inet_tbl" does not exist INSERT INTO INET_TBL (c, i) VALUES ('192.168.1.0/26', '192.168.1.226'); @@ -16630,7 +16630,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inet.out --label= +SELECT * FROM inet_tbl WHERE i<<'192.168.1.0/24'::cidr + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/18846/dev ++See: https://go.crdb.dev/issue-v/18846/v24.3 EXPLAIN (COSTS OFF) SELECT * FROM inet_tbl WHERE i<<='192.168.1.0/24'::cidr; - QUERY PLAN @@ -16661,7 +16661,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inet.out --label= +SELECT * FROM inet_tbl WHERE i<<='192.168.1.0/24'::cidr + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/18846/dev ++See: https://go.crdb.dev/issue-v/18846/v24.3 EXPLAIN (COSTS OFF) SELECT * FROM inet_tbl WHERE '192.168.1.0/24'::cidr >>= i; - QUERY PLAN @@ -16692,7 +16692,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inet.out --label= +SELECT * FROM inet_tbl WHERE '192.168.1.0/24'::cidr >>= i + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/18846/dev ++See: https://go.crdb.dev/issue-v/18846/v24.3 EXPLAIN (COSTS OFF) SELECT * FROM inet_tbl WHERE '192.168.1.0/24'::cidr >> i; - QUERY PLAN @@ -16720,7 +16720,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inet.out --label= +SELECT * FROM inet_tbl WHERE '192.168.1.0/24'::cidr >> i + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/18846/dev ++See: https://go.crdb.dev/issue-v/18846/v24.3 SET enable_seqscan TO on; +WARNING: setting session var "enable_seqscan" is a no-op DROP INDEX inet_idx1; @@ -16743,7 +16743,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inet.out --label= +SELECT * FROM inet_tbl WHERE i << '192.168.1.0/24'::cidr ORDER BY i + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/18846/dev ++See: https://go.crdb.dev/issue-v/18846/v24.3 SELECT * FROM inet_tbl WHERE i <<= '192.168.1.0/24'::cidr ORDER BY i; - c | i -----------------+------------------ @@ -16760,7 +16760,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inet.out --label= +SELECT * FROM inet_tbl WHERE i <<= '192.168.1.0/24'::cidr ORDER BY i + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/18846/dev ++See: https://go.crdb.dev/issue-v/18846/v24.3 SELECT * FROM inet_tbl WHERE i && '192.168.1.0/24'::cidr ORDER BY i; - c | i -----------------+------------------ @@ -16777,7 +16777,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inet.out --label= +SELECT * FROM inet_tbl WHERE i && '192.168.1.0/24'::cidr ORDER BY i + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/18846/dev ++See: https://go.crdb.dev/issue-v/18846/v24.3 SELECT * FROM inet_tbl WHERE i >>= '192.168.1.0/24'::cidr ORDER BY i; - c | i -----------------+------------------ @@ -16791,7 +16791,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inet.out --label= +SELECT * FROM inet_tbl WHERE i >>= '192.168.1.0/24'::cidr ORDER BY i + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/18846/dev ++See: https://go.crdb.dev/issue-v/18846/v24.3 SELECT * FROM inet_tbl WHERE i >> '192.168.1.0/24'::cidr ORDER BY i; - c | i ----+--- @@ -16802,7 +16802,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inet.out --label= +SELECT * FROM inet_tbl WHERE i >> '192.168.1.0/24'::cidr ORDER BY i + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/18846/dev ++See: https://go.crdb.dev/issue-v/18846/v24.3 SELECT * FROM inet_tbl WHERE i < '192.168.1.0/24'::cidr ORDER BY i; - c | i --------------+------------- @@ -16821,7 +16821,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inet.out --label= +SELECT * FROM inet_tbl WHERE i < '192.168.1.0/24'::cidr ORDER BY i + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/18846/dev ++See: https://go.crdb.dev/issue-v/18846/v24.3 SELECT * FROM inet_tbl WHERE i <= '192.168.1.0/24'::cidr ORDER BY i; - c | i -----------------+---------------- @@ -16841,7 +16841,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inet.out --label= +SELECT * FROM inet_tbl WHERE i <= '192.168.1.0/24'::cidr ORDER BY i + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/18846/dev ++See: https://go.crdb.dev/issue-v/18846/v24.3 SELECT * FROM inet_tbl WHERE i = '192.168.1.0/24'::cidr ORDER BY i; - c | i -----------------+---------------- @@ -16853,7 +16853,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inet.out --label= +SELECT * FROM inet_tbl WHERE i = '192.168.1.0/24'::cidr ORDER BY i + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/18846/dev ++See: https://go.crdb.dev/issue-v/18846/v24.3 SELECT * FROM inet_tbl WHERE i >= '192.168.1.0/24'::cidr ORDER BY i; - c | i ---------------------+------------------ @@ -16873,7 +16873,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inet.out --label= +SELECT * FROM inet_tbl WHERE i >= '192.168.1.0/24'::cidr ORDER BY i + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/18846/dev ++See: https://go.crdb.dev/issue-v/18846/v24.3 SELECT * FROM inet_tbl WHERE i > '192.168.1.0/24'::cidr ORDER BY i; - c | i ---------------------+------------------ @@ -16892,7 +16892,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inet.out --label= +SELECT * FROM inet_tbl WHERE i > '192.168.1.0/24'::cidr ORDER BY i + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/18846/dev ++See: https://go.crdb.dev/issue-v/18846/v24.3 SELECT * FROM inet_tbl WHERE i <> '192.168.1.0/24'::cidr ORDER BY i; - c | i ---------------------+------------------ @@ -16919,7 +16919,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inet.out --label= +SELECT * FROM inet_tbl WHERE i <> '192.168.1.0/24'::cidr ORDER BY i + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/18846/dev ++See: https://go.crdb.dev/issue-v/18846/v24.3 -- test index-only scans EXPLAIN (COSTS OFF) SELECT i FROM inet_tbl WHERE i << '192.168.1.0/24'::cidr ORDER BY i; @@ -16949,7 +16949,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inet.out --label= +SELECT i FROM inet_tbl WHERE i << '192.168.1.0/24'::cidr ORDER BY i + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/18846/dev ++See: https://go.crdb.dev/issue-v/18846/v24.3 SET enable_seqscan TO on; +WARNING: setting session var "enable_seqscan" is a no-op DROP INDEX inet_idx2; @@ -16986,7 +16986,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inet.out --label= +SELECT * FROM inet_tbl WHERE i << '192.168.1.0/24'::cidr ORDER BY i + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/18846/dev ++See: https://go.crdb.dev/issue-v/18846/v24.3 SELECT * FROM inet_tbl WHERE i <<= '192.168.1.0/24'::cidr ORDER BY i; - c | i -----------------+------------------ @@ -17003,7 +17003,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inet.out --label= +SELECT * FROM inet_tbl WHERE i <<= '192.168.1.0/24'::cidr ORDER BY i + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/18846/dev ++See: https://go.crdb.dev/issue-v/18846/v24.3 SELECT * FROM inet_tbl WHERE i && '192.168.1.0/24'::cidr ORDER BY i; - c | i -----------------+------------------ @@ -17020,7 +17020,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inet.out --label= +SELECT * FROM inet_tbl WHERE i && '192.168.1.0/24'::cidr ORDER BY i + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/18846/dev ++See: https://go.crdb.dev/issue-v/18846/v24.3 SELECT * FROM inet_tbl WHERE i >>= '192.168.1.0/24'::cidr ORDER BY i; - c | i -----------------+------------------ @@ -17034,7 +17034,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inet.out --label= +SELECT * FROM inet_tbl WHERE i >>= '192.168.1.0/24'::cidr ORDER BY i + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/18846/dev ++See: https://go.crdb.dev/issue-v/18846/v24.3 SELECT * FROM inet_tbl WHERE i >> '192.168.1.0/24'::cidr ORDER BY i; - c | i ----+--- @@ -17045,7 +17045,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inet.out --label= +SELECT * FROM inet_tbl WHERE i >> '192.168.1.0/24'::cidr ORDER BY i + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/18846/dev ++See: https://go.crdb.dev/issue-v/18846/v24.3 SELECT * FROM inet_tbl WHERE i < '192.168.1.0/24'::cidr ORDER BY i; - c | i --------------+------------- @@ -17064,7 +17064,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inet.out --label= +SELECT * FROM inet_tbl WHERE i < '192.168.1.0/24'::cidr ORDER BY i + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/18846/dev ++See: https://go.crdb.dev/issue-v/18846/v24.3 SELECT * FROM inet_tbl WHERE i <= '192.168.1.0/24'::cidr ORDER BY i; - c | i -----------------+---------------- @@ -17084,7 +17084,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inet.out --label= +SELECT * FROM inet_tbl WHERE i <= '192.168.1.0/24'::cidr ORDER BY i + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/18846/dev ++See: https://go.crdb.dev/issue-v/18846/v24.3 SELECT * FROM inet_tbl WHERE i = '192.168.1.0/24'::cidr ORDER BY i; - c | i -----------------+---------------- @@ -17096,7 +17096,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inet.out --label= +SELECT * FROM inet_tbl WHERE i = '192.168.1.0/24'::cidr ORDER BY i + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/18846/dev ++See: https://go.crdb.dev/issue-v/18846/v24.3 SELECT * FROM inet_tbl WHERE i >= '192.168.1.0/24'::cidr ORDER BY i; - c | i ---------------------+------------------ @@ -17116,7 +17116,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inet.out --label= +SELECT * FROM inet_tbl WHERE i >= '192.168.1.0/24'::cidr ORDER BY i + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/18846/dev ++See: https://go.crdb.dev/issue-v/18846/v24.3 SELECT * FROM inet_tbl WHERE i > '192.168.1.0/24'::cidr ORDER BY i; - c | i ---------------------+------------------ @@ -17135,7 +17135,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inet.out --label= +SELECT * FROM inet_tbl WHERE i > '192.168.1.0/24'::cidr ORDER BY i + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/18846/dev ++See: https://go.crdb.dev/issue-v/18846/v24.3 SELECT * FROM inet_tbl WHERE i <> '192.168.1.0/24'::cidr ORDER BY i; - c | i ---------------------+------------------ @@ -17162,7 +17162,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inet.out --label= +SELECT * FROM inet_tbl WHERE i <> '192.168.1.0/24'::cidr ORDER BY i + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/18846/dev ++See: https://go.crdb.dev/issue-v/18846/v24.3 -- test index-only scans EXPLAIN (COSTS OFF) SELECT i FROM inet_tbl WHERE i << '192.168.1.0/24'::cidr ORDER BY i; @@ -17192,7 +17192,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inet.out --label= +SELECT i FROM inet_tbl WHERE i << '192.168.1.0/24'::cidr ORDER BY i + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/18846/dev ++See: https://go.crdb.dev/issue-v/18846/v24.3 SET enable_seqscan TO on; +WARNING: setting session var "enable_seqscan" is a no-op DROP INDEX inet_idx3; @@ -17883,7 +17883,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/interval.out --la SET DATESTYLE = 'postgres'; +ERROR: unimplemented: only ISO style is supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/41773/dev ++See: https://go.crdb.dev/issue-v/41773/v24.3 SET IntervalStyle to postgres_verbose; +ERROR: invalid value for parameter "IntervalStyle": "postgres_verbose" +HINT: Available values: postgres,iso_8601,sql_standard @@ -23519,14 +23519,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/multirangetypes.o +create domain mydomain as int4 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 create type mydomainrange as range(subtype=mydomain); +ERROR: at or near "(": syntax error: unimplemented: this syntax +DETAIL: source SQL: +create type mydomainrange as range(subtype=mydomain) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27791/dev ++See: https://go.crdb.dev/issue-v/27791/v24.3 select '{[4,50)}'::mydomainmultirange @> 7::mydomain; - ?column? ----------- @@ -23541,7 +23541,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/multirangetypes.o +drop domain mydomain cascade + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 -- -- Test domains over multirange types -- @@ -23551,7 +23551,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/multirangetypes.o +create domain restrictedmultirange as int4multirange check (upper(value) < 10) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 select '{[4,5)}'::restrictedmultirange @> 7; - ?column? ----------- @@ -23568,7 +23568,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/multirangetypes.o +drop domain restrictedmultirange + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 --- -- Check automatic naming of multiranges --- @@ -23578,7 +23578,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/multirangetypes.o +create type intr as range(subtype=int) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27791/dev ++See: https://go.crdb.dev/issue-v/27791/v24.3 select intr_multirange(intr(1,10)); - intr_multirange ------------------ @@ -23598,7 +23598,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/multirangetypes.o +create type intrange as range(subtype=int) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27791/dev ++See: https://go.crdb.dev/issue-v/27791/v24.3 drop type intmultirange; create type intr_multirange as (x int, y int); create type intr as range(subtype=int); -- should fail @@ -23610,7 +23610,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/multirangetypes.o +create type intr as range(subtype=int) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27791/dev ++See: https://go.crdb.dev/issue-v/27791/v24.3 drop type intr_multirange; -- -- Test multiple multirange types over the same subtype and manual naming of @@ -23624,7 +23624,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/multirangetypes.o +create type textrange1 as range(subtype=text, multirange_type_name=int, collation="C") + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27791/dev ++See: https://go.crdb.dev/issue-v/27791/v24.3 -- should pass create type textrange1 as range(subtype=text, multirange_type_name=multirange_of_text, collation="C"); +ERROR: at or near "(": syntax error: unimplemented: this syntax @@ -23632,7 +23632,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/multirangetypes.o +create type textrange1 as range(subtype=text, multirange_type_name=multirange_of_text, collation="C") + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27791/dev ++See: https://go.crdb.dev/issue-v/27791/v24.3 -- should pass, because existing _textrange1 is automatically renamed create type textrange2 as range(subtype=text, multirange_type_name=_textrange1, collation="C"); +ERROR: at or near "(": syntax error: unimplemented: this syntax @@ -23640,7 +23640,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/multirangetypes.o +create type textrange2 as range(subtype=text, multirange_type_name=_textrange1, collation="C") + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27791/dev ++See: https://go.crdb.dev/issue-v/27791/v24.3 select multirange_of_text(textrange2('a','Z')); -- should fail -ERROR: function multirange_of_text(textrange2) does not exist -LINE 1: select multirange_of_text(textrange2('a','Z')); @@ -23849,7 +23849,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/multirangetypes.o +create type two_ints_range as range (subtype = two_ints) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27791/dev ++See: https://go.crdb.dev/issue-v/27791/v24.3 -- with debug_parallel_query on, this exercises tqueue.c's range remapping select *, row_to_json(upper(t)) as u from (values (two_ints_multirange(two_ints_range(row(1,2), row(3,4)))), @@ -23865,7 +23865,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/multirangetypes.o -NOTICE: drop cascades to type two_ints_range +ERROR: unimplemented: DROP TYPE CASCADE is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/51480/dev ++See: https://go.crdb.dev/issue-v/51480/v24.3 -- -- Check behavior when subtype lacks a hash function -- @@ -23968,7 +23968,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/multirangetypes.o +create function mr_table_succeed(i anyelement, r anymultirange) returns table(i anyelement, r anymultirange) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/100226/dev ++See: https://go.crdb.dev/issue-v/100226/v24.3 select * from mr_table_succeed(123, int4multirange(int4range(1,11))); - i | r ------+---------- @@ -24009,7 +24009,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/multirangetypes.o +create function mr_table_fail(i anyelement) returns table(i anyelement, r anymultirange) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/100226/dev ++See: https://go.crdb.dev/issue-v/100226/v24.3 diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/timestamp.out --label=/mnt/data1/postgres/src/test/regress/results/timestamp.out /mnt/data1/postgres/src/test/regress/expected/timestamp.out /mnt/data1/postgres/src/test/regress/results/timestamp.out --- /mnt/data1/postgres/src/test/regress/expected/timestamp.out +++ /mnt/data1/postgres/src/test/regress/results/timestamp.out @@ -24019,7 +24019,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/timestamp.out --l INSERT INTO TIMESTAMP_TBL VALUES ('tomorrow EST'); +ERROR: parsing as type timestamp: unimplemented: timestamp abbreviations not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31710/dev ++See: https://go.crdb.dev/issue-v/31710/v24.3 INSERT INTO TIMESTAMP_TBL VALUES ('tomorrow zulu'); +ERROR: current transaction is aborted, commands ignored until end of transaction block SELECT count(*) AS One FROM TIMESTAMP_TBL WHERE d1 = timestamp without time zone 'today'; @@ -24078,28 +24078,28 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/timestamp.out --l INSERT INTO TIMESTAMP_TBL VALUES ('Mon Feb 10 17:32:01 1997 PST'); +ERROR: parsing as type timestamp: unimplemented: timestamp abbreviations not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31710/dev ++See: https://go.crdb.dev/issue-v/31710/v24.3 -- Variations on Postgres v6.1 standard output format INSERT INTO TIMESTAMP_TBL VALUES ('Mon Feb 10 17:32:01.000001 1997 PST'); +ERROR: parsing as type timestamp: unimplemented: timestamp abbreviations not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31710/dev ++See: https://go.crdb.dev/issue-v/31710/v24.3 INSERT INTO TIMESTAMP_TBL VALUES ('Mon Feb 10 17:32:01.999999 1997 PST'); +ERROR: parsing as type timestamp: unimplemented: timestamp abbreviations not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31710/dev ++See: https://go.crdb.dev/issue-v/31710/v24.3 INSERT INTO TIMESTAMP_TBL VALUES ('Mon Feb 10 17:32:01.4 1997 PST'); +ERROR: parsing as type timestamp: unimplemented: timestamp abbreviations not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31710/dev ++See: https://go.crdb.dev/issue-v/31710/v24.3 INSERT INTO TIMESTAMP_TBL VALUES ('Mon Feb 10 17:32:01.5 1997 PST'); +ERROR: parsing as type timestamp: unimplemented: timestamp abbreviations not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31710/dev ++See: https://go.crdb.dev/issue-v/31710/v24.3 INSERT INTO TIMESTAMP_TBL VALUES ('Mon Feb 10 17:32:01.6 1997 PST'); +ERROR: parsing as type timestamp: unimplemented: timestamp abbreviations not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31710/dev ++See: https://go.crdb.dev/issue-v/31710/v24.3 -- ISO 8601 format INSERT INTO TIMESTAMP_TBL VALUES ('1997-01-02'); INSERT INTO TIMESTAMP_TBL VALUES ('1997-01-02 03:04:05'); @@ -24121,11 +24121,11 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/timestamp.out --l INSERT INTO TIMESTAMP_TBL VALUES ('2000-03-15 03:14:04 PST+8'); +ERROR: parsing as type timestamp: unimplemented: timestamp abbreviations not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31710/dev ++See: https://go.crdb.dev/issue-v/31710/v24.3 INSERT INTO TIMESTAMP_TBL VALUES ('2000-03-15 02:14:05 MST+7:00'); +ERROR: parsing as type timestamp: unimplemented: timestamp abbreviations not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31710/dev ++See: https://go.crdb.dev/issue-v/31710/v24.3 -- Variations for acceptable input formats INSERT INTO TIMESTAMP_TBL VALUES ('Feb 10 17:32:01 1997 -0800'); +ERROR: parsing as type timestamp: unexpected separator ':' for field Hour @@ -24141,19 +24141,19 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/timestamp.out --l INSERT INTO TIMESTAMP_TBL VALUES ('1997-02-10 17:32:01 PST'); +ERROR: parsing as type timestamp: unimplemented: timestamp abbreviations not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31710/dev ++See: https://go.crdb.dev/issue-v/31710/v24.3 INSERT INTO TIMESTAMP_TBL VALUES ('Feb-10-1997 17:32:01 PST'); +ERROR: parsing as type timestamp: unimplemented: timestamp abbreviations not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31710/dev ++See: https://go.crdb.dev/issue-v/31710/v24.3 INSERT INTO TIMESTAMP_TBL VALUES ('02-10-1997 17:32:01 PST'); +ERROR: parsing as type timestamp: unimplemented: timestamp abbreviations not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31710/dev ++See: https://go.crdb.dev/issue-v/31710/v24.3 INSERT INTO TIMESTAMP_TBL VALUES ('19970210 173201 PST'); +ERROR: parsing as type timestamp: unimplemented: timestamp abbreviations not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31710/dev ++See: https://go.crdb.dev/issue-v/31710/v24.3 set datestyle to ymd; INSERT INTO TIMESTAMP_TBL VALUES ('97FEB10 5:32:01PM UTC'); +ERROR: parsing as type timestamp: could not parse "97FEB10 5:32:01PM UTC" @@ -24207,7 +24207,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/timestamp.out --l INSERT INTO TIMESTAMP_TBL VALUES ('1997-06-10 18:32:01 PDT'); +ERROR: parsing as type timestamp: unimplemented: timestamp abbreviations not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31710/dev ++See: https://go.crdb.dev/issue-v/31710/v24.3 INSERT INTO TIMESTAMP_TBL VALUES ('Feb 10 17:32:01 1997'); +ERROR: parsing as type timestamp: unexpected separator ':' for field Hour +DETAIL: Wanted: [ Era Hour Minute Second Nanos Meridian TZHour TZMinute TZSecond ] @@ -26555,7 +26555,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/timestamptz.out - INSERT INTO TIMESTAMPTZ_TBL VALUES ('tomorrow EST'); +ERROR: parsing as type timestamp: unimplemented: timestamp abbreviations not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31710/dev ++See: https://go.crdb.dev/issue-v/31710/v24.3 INSERT INTO TIMESTAMPTZ_TBL VALUES ('tomorrow zulu'); +ERROR: current transaction is aborted, commands ignored until end of transaction block SELECT count(*) AS One FROM TIMESTAMPTZ_TBL WHERE d1 = timestamp with time zone 'today'; @@ -26628,28 +26628,28 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/timestamptz.out - INSERT INTO TIMESTAMPTZ_TBL VALUES ('Mon Feb 10 17:32:01 1997 PST'); +ERROR: parsing as type timestamp: unimplemented: timestamp abbreviations not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31710/dev ++See: https://go.crdb.dev/issue-v/31710/v24.3 -- Variations on Postgres v6.1 standard output format INSERT INTO TIMESTAMPTZ_TBL VALUES ('Mon Feb 10 17:32:01.000001 1997 PST'); +ERROR: parsing as type timestamp: unimplemented: timestamp abbreviations not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31710/dev ++See: https://go.crdb.dev/issue-v/31710/v24.3 INSERT INTO TIMESTAMPTZ_TBL VALUES ('Mon Feb 10 17:32:01.999999 1997 PST'); +ERROR: parsing as type timestamp: unimplemented: timestamp abbreviations not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31710/dev ++See: https://go.crdb.dev/issue-v/31710/v24.3 INSERT INTO TIMESTAMPTZ_TBL VALUES ('Mon Feb 10 17:32:01.4 1997 PST'); +ERROR: parsing as type timestamp: unimplemented: timestamp abbreviations not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31710/dev ++See: https://go.crdb.dev/issue-v/31710/v24.3 INSERT INTO TIMESTAMPTZ_TBL VALUES ('Mon Feb 10 17:32:01.5 1997 PST'); +ERROR: parsing as type timestamp: unimplemented: timestamp abbreviations not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31710/dev ++See: https://go.crdb.dev/issue-v/31710/v24.3 INSERT INTO TIMESTAMPTZ_TBL VALUES ('Mon Feb 10 17:32:01.6 1997 PST'); +ERROR: parsing as type timestamp: unimplemented: timestamp abbreviations not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31710/dev ++See: https://go.crdb.dev/issue-v/31710/v24.3 -- ISO 8601 format INSERT INTO TIMESTAMPTZ_TBL VALUES ('1997-01-02'); INSERT INTO TIMESTAMPTZ_TBL VALUES ('1997-01-02 03:04:05'); @@ -26671,11 +26671,11 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/timestamptz.out - INSERT INTO TIMESTAMPTZ_TBL VALUES ('2000-03-15 03:14:04 PST+8'); +ERROR: parsing as type timestamp: unimplemented: timestamp abbreviations not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31710/dev ++See: https://go.crdb.dev/issue-v/31710/v24.3 INSERT INTO TIMESTAMPTZ_TBL VALUES ('2000-03-15 02:14:05 MST+7:00'); +ERROR: parsing as type timestamp: unimplemented: timestamp abbreviations not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31710/dev ++See: https://go.crdb.dev/issue-v/31710/v24.3 -- Variations for acceptable input formats INSERT INTO TIMESTAMPTZ_TBL VALUES ('Feb 10 17:32:01 1997 -0800'); +ERROR: parsing as type timestamp: unexpected separator ':' for field Hour @@ -26691,19 +26691,19 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/timestamptz.out - INSERT INTO TIMESTAMPTZ_TBL VALUES ('1997-02-10 17:32:01 PST'); +ERROR: parsing as type timestamp: unimplemented: timestamp abbreviations not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31710/dev ++See: https://go.crdb.dev/issue-v/31710/v24.3 INSERT INTO TIMESTAMPTZ_TBL VALUES ('Feb-10-1997 17:32:01 PST'); +ERROR: parsing as type timestamp: unimplemented: timestamp abbreviations not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31710/dev ++See: https://go.crdb.dev/issue-v/31710/v24.3 INSERT INTO TIMESTAMPTZ_TBL VALUES ('02-10-1997 17:32:01 PST'); +ERROR: parsing as type timestamp: unimplemented: timestamp abbreviations not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31710/dev ++See: https://go.crdb.dev/issue-v/31710/v24.3 INSERT INTO TIMESTAMPTZ_TBL VALUES ('19970210 173201 PST'); +ERROR: parsing as type timestamp: unimplemented: timestamp abbreviations not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31710/dev ++See: https://go.crdb.dev/issue-v/31710/v24.3 set datestyle to ymd; INSERT INTO TIMESTAMPTZ_TBL VALUES ('97FEB10 5:32:01PM UTC'); +ERROR: parsing as type timestamp: could not parse "97FEB10 5:32:01PM UTC" @@ -26816,7 +26816,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/timestamptz.out - INSERT INTO TIMESTAMPTZ_TBL VALUES ('1997-06-10 18:32:01 PDT'); +ERROR: parsing as type timestamp: unimplemented: timestamp abbreviations not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31710/dev ++See: https://go.crdb.dev/issue-v/31710/v24.3 INSERT INTO TIMESTAMPTZ_TBL VALUES ('Feb 10 17:32:01 1997'); +ERROR: parsing as type timestamp: unexpected separator ':' for field Hour +DETAIL: Wanted: [ Era Hour Minute Second Nanos Meridian TZHour TZMinute TZSecond ] @@ -26990,7 +26990,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/timestamptz.out - - +ERROR: parsing as type timestamp: unimplemented: timestamp abbreviations not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31710/dev ++See: https://go.crdb.dev/issue-v/31710/v24.3 SELECT 'Wed Jul 11 10:51:14 PST+03:00 2001'::timestamptz; - timestamptz ------------------------------- @@ -26999,7 +26999,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/timestamptz.out - - +ERROR: parsing as type timestamp: unimplemented: timestamp abbreviations not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31710/dev ++See: https://go.crdb.dev/issue-v/31710/v24.3 SELECT d1 FROM TIMESTAMPTZ_TBL; - d1 ---------------------------------- @@ -27115,7 +27115,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/timestamptz.out - - +ERROR: parsing as type timestamp: unimplemented: timestamp abbreviations not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31710/dev ++See: https://go.crdb.dev/issue-v/31710/v24.3 SELECT '4714-11-23 23:59:59+00 BC'::timestamptz; -- out of range -ERROR: timestamp out of range: "4714-11-23 23:59:59+00 BC" -LINE 1: SELECT '4714-11-23 23:59:59+00 BC'::timestamptz; @@ -29263,27 +29263,27 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/timestamptz.out - INSERT INTO TIMESTAMPTZ_TST VALUES(1, 'Sat Mar 12 23:58:48 1000 IST'); +ERROR: parsing as type timestamp: unimplemented: timestamp abbreviations not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31710/dev ++See: https://go.crdb.dev/issue-v/31710/v24.3 INSERT INTO TIMESTAMPTZ_TST VALUES(2, 'Sat Mar 12 23:58:48 10000 IST'); +ERROR: parsing as type timestamp: unimplemented: timestamp abbreviations not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31710/dev ++See: https://go.crdb.dev/issue-v/31710/v24.3 INSERT INTO TIMESTAMPTZ_TST VALUES(3, 'Sat Mar 12 23:58:48 100000 IST'); +ERROR: parsing as type timestamp: unimplemented: timestamp abbreviations not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31710/dev ++See: https://go.crdb.dev/issue-v/31710/v24.3 INSERT INTO TIMESTAMPTZ_TST VALUES(3, '10000 Mar 12 23:58:48 IST'); +ERROR: parsing as type timestamp: unimplemented: timestamp abbreviations not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31710/dev ++See: https://go.crdb.dev/issue-v/31710/v24.3 INSERT INTO TIMESTAMPTZ_TST VALUES(4, '100000312 23:58:48 IST'); +ERROR: parsing as type timestamp: unimplemented: timestamp abbreviations not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31710/dev ++See: https://go.crdb.dev/issue-v/31710/v24.3 INSERT INTO TIMESTAMPTZ_TST VALUES(4, '1000000312 23:58:48 IST'); +ERROR: parsing as type timestamp: unimplemented: timestamp abbreviations not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31710/dev ++See: https://go.crdb.dev/issue-v/31710/v24.3 --Verify data SELECT * FROM TIMESTAMPTZ_TST ORDER BY a; - a | b @@ -29709,7 +29709,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/timestamptz.out - - +ERROR: parsing as type timestamp: unimplemented: timestamp abbreviations not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31710/dev ++See: https://go.crdb.dev/issue-v/31710/v24.3 SELECT '2011-03-27 01:00:00 MSK'::timestamptz; - timestamptz ------------------------------- @@ -29718,7 +29718,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/timestamptz.out - - +ERROR: parsing as type timestamp: unimplemented: timestamp abbreviations not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31710/dev ++See: https://go.crdb.dev/issue-v/31710/v24.3 SELECT '2011-03-27 01:59:59 MSK'::timestamptz; - timestamptz ------------------------------- @@ -29727,7 +29727,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/timestamptz.out - - +ERROR: parsing as type timestamp: unimplemented: timestamp abbreviations not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31710/dev ++See: https://go.crdb.dev/issue-v/31710/v24.3 SELECT '2011-03-27 02:00:00 MSK'::timestamptz; - timestamptz ------------------------------- @@ -29736,7 +29736,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/timestamptz.out - - +ERROR: parsing as type timestamp: unimplemented: timestamp abbreviations not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31710/dev ++See: https://go.crdb.dev/issue-v/31710/v24.3 SELECT '2011-03-27 02:00:01 MSK'::timestamptz; - timestamptz ------------------------------- @@ -29745,7 +29745,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/timestamptz.out - - +ERROR: parsing as type timestamp: unimplemented: timestamp abbreviations not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31710/dev ++See: https://go.crdb.dev/issue-v/31710/v24.3 SELECT '2011-03-27 02:59:59 MSK'::timestamptz; - timestamptz ------------------------------- @@ -29754,7 +29754,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/timestamptz.out - - +ERROR: parsing as type timestamp: unimplemented: timestamp abbreviations not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31710/dev ++See: https://go.crdb.dev/issue-v/31710/v24.3 SELECT '2011-03-27 03:00:00 MSK'::timestamptz; - timestamptz ------------------------------- @@ -29763,7 +29763,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/timestamptz.out - - +ERROR: parsing as type timestamp: unimplemented: timestamp abbreviations not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31710/dev ++See: https://go.crdb.dev/issue-v/31710/v24.3 SELECT '2011-03-27 03:00:01 MSK'::timestamptz; - timestamptz ------------------------------- @@ -29772,7 +29772,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/timestamptz.out - - +ERROR: parsing as type timestamp: unimplemented: timestamp abbreviations not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31710/dev ++See: https://go.crdb.dev/issue-v/31710/v24.3 SELECT '2011-03-27 04:00:00 MSK'::timestamptz; - timestamptz ------------------------------- @@ -29781,7 +29781,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/timestamptz.out - - +ERROR: parsing as type timestamp: unimplemented: timestamp abbreviations not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31710/dev ++See: https://go.crdb.dev/issue-v/31710/v24.3 SELECT '2014-10-26 00:00:00 Europe/Moscow'::timestamptz; - timestamptz ------------------------------- @@ -29835,7 +29835,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/timestamptz.out - - +ERROR: parsing as type timestamp: unimplemented: timestamp abbreviations not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31710/dev ++See: https://go.crdb.dev/issue-v/31710/v24.3 SELECT '2014-10-26 00:59:59 MSK'::timestamptz; - timestamptz ------------------------------- @@ -29844,7 +29844,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/timestamptz.out - - +ERROR: parsing as type timestamp: unimplemented: timestamp abbreviations not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31710/dev ++See: https://go.crdb.dev/issue-v/31710/v24.3 SELECT '2014-10-26 01:00:00 MSK'::timestamptz; - timestamptz ------------------------------- @@ -29853,7 +29853,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/timestamptz.out - - +ERROR: parsing as type timestamp: unimplemented: timestamp abbreviations not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31710/dev ++See: https://go.crdb.dev/issue-v/31710/v24.3 SELECT '2014-10-26 01:00:01 MSK'::timestamptz; - timestamptz ------------------------------- @@ -29862,7 +29862,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/timestamptz.out - - +ERROR: parsing as type timestamp: unimplemented: timestamp abbreviations not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31710/dev ++See: https://go.crdb.dev/issue-v/31710/v24.3 SELECT '2014-10-26 02:00:00 MSK'::timestamptz; - timestamptz ------------------------------- @@ -29871,7 +29871,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/timestamptz.out - - +ERROR: parsing as type timestamp: unimplemented: timestamp abbreviations not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31710/dev ++See: https://go.crdb.dev/issue-v/31710/v24.3 SELECT '2011-03-27 00:00:00'::timestamp AT TIME ZONE 'Europe/Moscow'; - timezone ------------------------------- @@ -30880,7 +30880,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: numnode(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT numnode( 'new & york'::tsquery ); - numnode ---------- @@ -30889,7 +30889,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: numnode(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT numnode( 'new & york | qwery'::tsquery ); - numnode ---------- @@ -30898,7 +30898,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: numnode(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT 'foo & bar'::tsquery && 'asd'; - ?column? ------------------------ @@ -30966,7 +30966,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: tsquery_phrase(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 -- tsvector-tsquery operations SELECT 'a b:89 ca:23A,64b d:34c'::tsvector @@ 'd:AC & ca' as "true"; true @@ -30981,7 +30981,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: strip(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT strip('wa:1A'::tsvector) @@ 'w:*D'::tsquery as "true"; - true ------- @@ -30990,7 +30990,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: strip(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT strip('wa:1A'::tsvector) @@ '!w:*A'::tsquery as "false"; - false -------- @@ -30999,7 +30999,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: strip(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT strip('wa:1A'::tsvector) @@ '!w:*D'::tsquery as "false"; - false -------- @@ -31008,7 +31008,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: strip(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT 'supernova'::tsvector @@ 'super'::tsquery AS "false"; false ------- @@ -31023,7 +31023,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: strip(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select to_tsvector('simple', 'q x q y') @@ 'q <-> (x & y)' AS "false"; false ------- @@ -31038,7 +31038,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: strip(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select strip(to_tsvector('simple', 'x y q y')) @@ '!x <-> !y' AS "false"; - false -------- @@ -31047,7 +31047,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: strip(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select strip(to_tsvector('simple', 'x y q y')) @@ '!x <-> !!y' AS "false"; - false -------- @@ -31056,7 +31056,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: strip(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select strip(to_tsvector('simple', 'x y q y')) @@ '!(x <-> y)' AS "true"; - true ------- @@ -31065,7 +31065,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: strip(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select strip(to_tsvector('simple', 'x y q y')) @@ '!(x <2> y)' AS "true"; - true ------- @@ -31074,7 +31074,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: strip(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select to_tsvector('simple', 'x y q y') @@ '!foo' AS "true"; true ------ @@ -31089,7 +31089,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: ts_rank_cd(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_rank_cd(' a:1 sa:2C d g'::tsvector, 'a | s'); - ts_rank_cd ------------- @@ -31098,7 +31098,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: ts_rank_cd(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_rank_cd(' a:1 sa:2C d g'::tsvector, 'a | s:*'); - ts_rank_cd ------------- @@ -31107,7 +31107,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: ts_rank_cd(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_rank_cd(' a:1 sa:2C d g'::tsvector, 'a | sa:*'); - ts_rank_cd ------------- @@ -31116,7 +31116,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: ts_rank_cd(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_rank_cd(' a:1 sa:3C sab:2c d g'::tsvector, 'a | sa:*'); - ts_rank_cd ------------- @@ -31125,7 +31125,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: ts_rank_cd(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_rank_cd(' a:1 s:2B d g'::tsvector, 'a | s'); - ts_rank_cd ------------- @@ -31134,7 +31134,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: ts_rank_cd(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_rank_cd(' a:1 s:2 d g'::tsvector, 'a | s'); - ts_rank_cd ------------- @@ -31143,7 +31143,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: ts_rank_cd(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_rank_cd(' a:1 s:2C d g'::tsvector, 'a & s'); - ts_rank_cd ------------- @@ -31152,7 +31152,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: ts_rank_cd(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_rank_cd(' a:1 s:2B d g'::tsvector, 'a & s'); - ts_rank_cd ------------- @@ -31161,7 +31161,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: ts_rank_cd(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_rank_cd(' a:1 s:2 d g'::tsvector, 'a & s'); - ts_rank_cd ------------- @@ -31170,7 +31170,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: ts_rank_cd(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_rank_cd(' a:1 s:2A d g'::tsvector, 'a <-> s'); - ts_rank_cd ------------- @@ -31179,7 +31179,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: ts_rank_cd(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_rank_cd(' a:1 s:2C d g'::tsvector, 'a <-> s'); - ts_rank_cd ------------- @@ -31188,7 +31188,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: ts_rank_cd(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_rank_cd(' a:1 s:2 d g'::tsvector, 'a <-> s'); - ts_rank_cd ------------- @@ -31197,7 +31197,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: ts_rank_cd(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_rank_cd(' a:1 s:2 d:2A g'::tsvector, 'a <-> s'); - ts_rank_cd ------------- @@ -31206,7 +31206,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: ts_rank_cd(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_rank_cd(' a:1 s:2,3A d:2A g'::tsvector, 'a <2> s:A'); - ts_rank_cd ------------- @@ -31215,7 +31215,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: ts_rank_cd(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_rank_cd(' a:1 b:2 s:3A d:2A g'::tsvector, 'a <2> s:A'); - ts_rank_cd ------------- @@ -31224,7 +31224,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: ts_rank_cd(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_rank_cd(' a:1 sa:2D sb:2A g'::tsvector, 'a <-> s:*'); - ts_rank_cd ------------- @@ -31233,7 +31233,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: ts_rank_cd(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_rank_cd(' a:1 sa:2A sb:2D g'::tsvector, 'a <-> s:*'); - ts_rank_cd ------------- @@ -31242,7 +31242,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: ts_rank_cd(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_rank_cd(' a:1 sa:2A sb:2D g'::tsvector, 'a <-> s:* <-> sa:A'); - ts_rank_cd ------------- @@ -31251,7 +31251,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: ts_rank_cd(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_rank_cd(' a:1 sa:2A sb:2D g'::tsvector, 'a <-> s:* <-> sa:B'); - ts_rank_cd ------------- @@ -31260,7 +31260,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: ts_rank_cd(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT 'a:1 b:2'::tsvector @@ 'a <-> b'::tsquery AS "true"; true ------ @@ -31275,7 +31275,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: strip(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT strip('base:7 hidden:6 rebel:1 spaceship:2,33A,34B,35C,36D strike:3'::tsvector); - strip ----------------------------------------------- @@ -31284,7 +31284,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: strip(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT strip('base hidden rebel spaceship strike'::tsvector); - strip ----------------------------------------------- @@ -31293,7 +31293,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: strip(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_delete(to_tsvector('english', 'Rebel spaceships, striking from a hidden base'), 'spaceship'); - ts_delete ------------------------------------------- @@ -31302,7 +31302,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: ts_delete(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_delete('base:7 hidden:6 rebel:1 spaceship:2,33A,34B,35C,36D strike:3'::tsvector, 'base'); - ts_delete --------------------------------------------------------------- @@ -31311,7 +31311,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: ts_delete(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_delete('base:7 hidden:6 rebel:1 spaceship:2,33A,34B,35C,36D strike:3'::tsvector, 'bas'); - ts_delete ------------------------------------------------------------------------ @@ -31320,7 +31320,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: ts_delete(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_delete('base:7 hidden:6 rebel:1 spaceship:2,33A,34B,35C,36D strike:3'::tsvector, 'bases'); - ts_delete ------------------------------------------------------------------------ @@ -31329,7 +31329,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: ts_delete(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_delete('base:7 hidden:6 rebel:1 spaceship:2,33A,34B,35C,36D strike:3'::tsvector, 'spaceship'); - ts_delete ------------------------------------------- @@ -31338,7 +31338,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: ts_delete(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_delete('base hidden rebel spaceship strike'::tsvector, 'spaceship'); - ts_delete ----------------------------------- @@ -31347,7 +31347,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: ts_delete(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_delete('base:7 hidden:6 rebel:1 spaceship:2,33A,34B,35C,36D strike:3'::tsvector, ARRAY['spaceship','rebel']); - ts_delete --------------------------------- @@ -31356,7 +31356,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: ts_delete(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_delete('base:7 hidden:6 rebel:1 spaceship:2,33A,34B,35C,36D strike:3'::tsvector, ARRAY['spaceships','rebel']); - ts_delete -------------------------------------------------------------- @@ -31365,7 +31365,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: ts_delete(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_delete('base:7 hidden:6 rebel:1 spaceship:2,33A,34B,35C,36D strike:3'::tsvector, ARRAY['spaceshi','rebel']); - ts_delete -------------------------------------------------------------- @@ -31374,7 +31374,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: ts_delete(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_delete('base:7 hidden:6 rebel:1 spaceship:2,33A,34B,35C,36D strike:3'::tsvector, ARRAY['spaceship','leya','rebel']); - ts_delete --------------------------------- @@ -31383,7 +31383,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: ts_delete(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_delete('base hidden rebel spaceship strike'::tsvector, ARRAY['spaceship','leya','rebel']); - ts_delete --------------------------- @@ -31392,7 +31392,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: ts_delete(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_delete('base hidden rebel spaceship strike'::tsvector, ARRAY['spaceship','leya','rebel','rebel']); - ts_delete --------------------------- @@ -31401,7 +31401,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: ts_delete(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_delete('base hidden rebel spaceship strike'::tsvector, ARRAY['spaceship','leya','rebel', '', NULL]); - ts_delete --------------------------- @@ -31410,7 +31410,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: ts_delete(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT unnest('base:7 hidden:6 rebel:1 spaceship:2,33A,34B,35C,36D strike:3'::tsvector); - unnest ---------------------------------------------- @@ -31479,7 +31479,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: tsvector_to_array(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT tsvector_to_array('base hidden rebel spaceship strike'::tsvector); - tsvector_to_array --------------------------------------- @@ -31488,7 +31488,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: tsvector_to_array(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT array_to_tsvector(ARRAY['base','hidden','rebel','spaceship','strike']); - array_to_tsvector ----------------------------------------------- @@ -31497,18 +31497,18 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: array_to_tsvector(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 -- null and empty string are disallowed, since we mustn't make an empty lexeme SELECT array_to_tsvector(ARRAY['base','hidden','rebel','spaceship', NULL]); -ERROR: lexeme array may not contain nulls +ERROR: array_to_tsvector(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT array_to_tsvector(ARRAY['base','hidden','rebel','spaceship', '']); -ERROR: lexeme array may not contain empty strings +ERROR: array_to_tsvector(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 -- array_to_tsvector must sort and de-dup SELECT array_to_tsvector(ARRAY['foo','bar','baz','bar']); - array_to_tsvector @@ -31518,7 +31518,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: array_to_tsvector(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT setweight('w:12B w:13* w:12,5,6 a:1,3* a:3 w asd:1dc asd zxc:81,567,222A'::tsvector, 'c'); - setweight ----------------------------------------------------------- @@ -31527,7 +31527,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: setweight(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT setweight('a:1,3A asd:1C w:5,6,12B,13A zxc:81,222A,567'::tsvector, 'c'); - setweight ----------------------------------------------------------- @@ -31536,7 +31536,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: setweight(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT setweight('a:1,3A asd:1C w:5,6,12B,13A zxc:81,222A,567'::tsvector, 'c', '{a}'); - setweight ------------------------------------------------------- @@ -31545,7 +31545,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: setweight(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT setweight('a:1,3A asd:1C w:5,6,12B,13A zxc:81,222A,567'::tsvector, 'c', '{a}'); - setweight ------------------------------------------------------- @@ -31554,7 +31554,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: setweight(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT setweight('a:1,3A asd:1C w:5,6,12B,13A zxc:81,222A,567'::tsvector, 'c', '{a,zxc}'); - setweight --------------------------------------------------------- @@ -31563,7 +31563,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: setweight(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT setweight('a asd w:5,6,12B,13A zxc'::tsvector, 'c', ARRAY['a', 'zxc', '', NULL]); - setweight ---------------------------------- @@ -31572,7 +31572,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: setweight(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_filter('base:7A empir:17 evil:15 first:11 galact:16 hidden:6A rebel:1A spaceship:2A strike:3A victori:12 won:9'::tsvector, '{a}'); - ts_filter -------------------------------------------------------------- @@ -31581,7 +31581,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: ts_filter(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_filter('base hidden rebel spaceship strike'::tsvector, '{a}'); - ts_filter ------------ @@ -31590,12 +31590,12 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tstypes.out --lab - +ERROR: ts_filter(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_filter('base hidden rebel spaceship strike'::tsvector, '{a,b,NULL}'); -ERROR: weight array may not contain nulls +ERROR: ts_filter(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/geometry.out --label=/mnt/data1/postgres/src/test/regress/results/geometry.out /mnt/data1/postgres/src/test/regress/expected/geometry.out /mnt/data1/postgres/src/test/regress/results/geometry.out --- /mnt/data1/postgres/src/test/regress/expected/geometry.out +++ /mnt/data1/postgres/src/test/regress/results/geometry.out @@ -33554,7 +33554,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/geometry.out --la +SELECT s, s::point FROM LSEG_TBL + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 -- Has points less than line segment SELECT l1.s, l2.s FROM LSEG_TBL l1, LSEG_TBL l2 WHERE l1.s < l2.s; - s | s @@ -34466,7 +34466,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/geometry.out --la + FROM POINT_TBL + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 SELECT bound_box(a.f1, b.f1) FROM BOX_TBL a, BOX_TBL b; - bound_box @@ -34715,7 +34715,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/geometry.out --la +SELECT f1, f1::polygon FROM PATH_TBL WHERE isclosed(f1) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 -- Open path cannot be converted to polygon error SELECT f1, f1::polygon FROM PATH_TBL WHERE isopen(f1); -ERROR: open path cannot be converted to polygon @@ -34724,7 +34724,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/geometry.out --la +SELECT f1, f1::polygon FROM PATH_TBL WHERE isopen(f1) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 -- Has points less than path SELECT p1.f1, p2.f1 FROM PATH_TBL p1, PATH_TBL p2 WHERE p1.f1 < p2.f1; - f1 | f1 @@ -35707,7 +35707,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/geometry.out --la +SELECT f1, f1::box FROM POLYGON_TBL + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 -- To path SELECT f1, f1::path FROM POLYGON_TBL; - f1 | f1 @@ -35726,7 +35726,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/geometry.out --la +SELECT f1, f1::path FROM POLYGON_TBL + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 -- Same as polygon SELECT p1.f1, p2.f1 FROM POLYGON_TBL p1, POLYGON_TBL p2 WHERE p1.f1 ~= p2.f1; - f1 | f1 @@ -36241,7 +36241,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/geometry.out --la +SELECT f1, f1::polygon FROM CIRCLE_TBL WHERE f1 >= '<(0,0),1>' + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 -- To polygon with less points SELECT f1, polygon(8, f1) FROM CIRCLE_TBL WHERE f1 >= '<(0,0),1>'; - f1 | polygon @@ -37252,7 +37252,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/geometry.out --la + ORDER BY (poly_center(f1))[0] + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 EXPLAIN (COSTS OFF) SELECT * FROM polygon_tbl WHERE f1 @> '((1,1),(2,2),(2,1))'::polygon ORDER BY (poly_center(f1))[0]; @@ -37282,7 +37282,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/geometry.out --la + ORDER BY (poly_center(f1))[0] + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 -- test non-error-throwing API for some core types SELECT pg_input_is_valid('(1', 'circle'); - pg_input_is_valid @@ -37943,7 +37943,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/horology.out --la SET DateStyle = 'Postgres, MDY'; +ERROR: unimplemented: only ISO style is supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/41773/dev ++See: https://go.crdb.dev/issue-v/41773/v24.3 SHOW TimeZone; -- Many of these tests depend on the prevailing setting - TimeZone + timezone @@ -38061,7 +38061,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/horology.out --la - +ERROR: parsing as type timestamp: unimplemented: timestamp abbreviations not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31710/dev ++See: https://go.crdb.dev/issue-v/31710/v24.3 SELECT timestamp with time zone '2001-12-27 allballs'; - timestamptz ------------------------------- @@ -38195,7 +38195,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/horology.out --la SET DateStyle = 'German'; +ERROR: unimplemented: only ISO style is supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/41773/dev ++See: https://go.crdb.dev/issue-v/41773/v24.3 SELECT timestamp with time zone '27.12.2001 04:05:06.789+08'; - timestamptz ------------------------------ @@ -38299,7 +38299,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/horology.out --la SET DateStyle = 'Postgres, MDY'; +ERROR: unimplemented: only ISO style is supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/41773/dev ++See: https://go.crdb.dev/issue-v/41773/v24.3 -- Check Julian dates BC SELECT date 'J1520447' AS "Confucius' Birthday"; Confucius' Birthday @@ -42018,7 +42018,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/type_sanity.out - -- Look for "toastable" types that aren't varlena. SELECT t1.oid, t1.typname -@@ -67,15 +81,363 @@ +@@ -67,15 +81,366 @@ WHERE t2.typname = ('_' || t1.typname)::name AND t2.typelem = t1.oid and t1.typarray = t2.oid) ORDER BY t1.oid; @@ -42064,235 +42064,238 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/type_sanity.out - + 100200 | interval_tbl + 100215 | timestamp_tbl + 100216 | timestamptz_tbl -+ 4294966969 | spatial_ref_sys -+ 4294966970 | geometry_columns -+ 4294966971 | geography_columns -+ 4294966973 | pg_views -+ 4294966974 | pg_user -+ 4294966975 | pg_user_mappings -+ 4294966976 | pg_user_mapping -+ 4294966977 | pg_type -+ 4294966978 | pg_ts_template -+ 4294966979 | pg_ts_parser -+ 4294966980 | pg_ts_dict -+ 4294966981 | pg_ts_config -+ 4294966982 | pg_ts_config_map -+ 4294966983 | pg_trigger -+ 4294966984 | pg_transform -+ 4294966985 | pg_timezone_names -+ 4294966986 | pg_timezone_abbrevs -+ 4294966987 | pg_tablespace -+ 4294966988 | pg_tables -+ 4294966989 | pg_subscription -+ 4294966990 | pg_subscription_rel -+ 4294966991 | pg_stats -+ 4294966992 | pg_stats_ext -+ 4294966993 | pg_statistic -+ 4294966994 | pg_statistic_ext -+ 4294966995 | pg_statistic_ext_data -+ 4294966996 | pg_statio_user_tables -+ 4294966997 | pg_statio_user_sequences -+ 4294966998 | pg_statio_user_indexes -+ 4294966999 | pg_statio_sys_tables -+ 4294967000 | pg_statio_sys_sequences -+ 4294967001 | pg_statio_sys_indexes -+ 4294967002 | pg_statio_all_tables -+ 4294967003 | pg_statio_all_sequences -+ 4294967004 | pg_statio_all_indexes -+ 4294967005 | pg_stat_xact_user_tables -+ 4294967006 | pg_stat_xact_user_functions -+ 4294967007 | pg_stat_xact_sys_tables -+ 4294967008 | pg_stat_xact_all_tables -+ 4294967009 | pg_stat_wal_receiver -+ 4294967010 | pg_stat_user_tables -+ 4294967011 | pg_stat_user_indexes -+ 4294967012 | pg_stat_user_functions -+ 4294967013 | pg_stat_sys_tables -+ 4294967014 | pg_stat_sys_indexes -+ 4294967015 | pg_stat_subscription -+ 4294967016 | pg_stat_ssl -+ 4294967017 | pg_stat_slru -+ 4294967018 | pg_stat_replication -+ 4294967019 | pg_stat_progress_vacuum -+ 4294967020 | pg_stat_progress_create_index -+ 4294967021 | pg_stat_progress_cluster -+ 4294967022 | pg_stat_progress_basebackup -+ 4294967023 | pg_stat_progress_analyze -+ 4294967024 | pg_stat_gssapi -+ 4294967025 | pg_stat_database -+ 4294967026 | pg_stat_database_conflicts -+ 4294967027 | pg_stat_bgwriter -+ 4294967028 | pg_stat_archiver -+ 4294967029 | pg_stat_all_tables -+ 4294967030 | pg_stat_all_indexes -+ 4294967031 | pg_stat_activity -+ 4294967032 | pg_shmem_allocations -+ 4294967033 | pg_shdepend -+ 4294967034 | pg_shseclabel -+ 4294967035 | pg_shdescription -+ 4294967036 | pg_shadow -+ 4294967037 | pg_settings -+ 4294967038 | pg_sequences -+ 4294967039 | pg_sequence -+ 4294967040 | pg_seclabel -+ 4294967041 | pg_seclabels -+ 4294967042 | pg_rules -+ 4294967043 | pg_roles -+ 4294967044 | pg_rewrite -+ 4294967045 | pg_replication_slots -+ 4294967046 | pg_replication_origin -+ 4294967047 | pg_replication_origin_status -+ 4294967048 | pg_range -+ 4294967049 | pg_publication_tables -+ 4294967050 | pg_publication -+ 4294967051 | pg_publication_rel -+ 4294967052 | pg_proc -+ 4294967053 | pg_prepared_xacts -+ 4294967054 | pg_prepared_statements -+ 4294967055 | pg_policy -+ 4294967056 | pg_policies -+ 4294967057 | pg_partitioned_table -+ 4294967058 | pg_opfamily -+ 4294967059 | pg_operator -+ 4294967060 | pg_opclass -+ 4294967061 | pg_namespace -+ 4294967062 | pg_matviews -+ 4294967063 | pg_locks -+ 4294967064 | pg_largeobject -+ 4294967065 | pg_largeobject_metadata -+ 4294967066 | pg_language -+ 4294967067 | pg_init_privs -+ 4294967068 | pg_inherits -+ 4294967069 | pg_indexes -+ 4294967070 | pg_index -+ 4294967071 | pg_hba_file_rules -+ 4294967072 | pg_group -+ 4294967073 | pg_foreign_table -+ 4294967074 | pg_foreign_server -+ 4294967075 | pg_foreign_data_wrapper -+ 4294967076 | pg_file_settings -+ 4294967077 | pg_extension -+ 4294967078 | pg_event_trigger -+ 4294967079 | pg_enum -+ 4294967080 | pg_description -+ 4294967081 | pg_depend -+ 4294967082 | pg_default_acl -+ 4294967083 | pg_db_role_setting -+ 4294967084 | pg_database -+ 4294967085 | pg_cursors -+ 4294967086 | pg_conversion -+ 4294967087 | pg_constraint -+ 4294967088 | pg_config -+ 4294967089 | pg_collation -+ 4294967090 | pg_class -+ 4294967091 | pg_cast -+ 4294967092 | pg_available_extensions -+ 4294967093 | pg_available_extension_versions -+ 4294967094 | pg_auth_members -+ 4294967095 | pg_authid -+ 4294967096 | pg_attribute -+ 4294967097 | pg_attrdef -+ 4294967098 | pg_amproc -+ 4294967099 | pg_amop -+ 4294967100 | pg_am -+ 4294967101 | pg_aggregate -+ 4294967103 | views -+ 4294967104 | view_table_usage -+ 4294967105 | view_routine_usage -+ 4294967106 | view_column_usage -+ 4294967107 | user_privileges -+ 4294967108 | user_mappings -+ 4294967109 | user_mapping_options -+ 4294967110 | user_defined_types -+ 4294967111 | user_attributes -+ 4294967112 | usage_privileges -+ 4294967113 | udt_privileges -+ 4294967114 | type_privileges -+ 4294967115 | triggers -+ 4294967116 | triggered_update_columns -+ 4294967117 | transforms -+ 4294967118 | tablespaces -+ 4294967119 | tablespaces_extensions -+ 4294967120 | tables -+ 4294967121 | tables_extensions -+ 4294967122 | table_privileges -+ 4294967123 | table_constraints_extensions -+ 4294967124 | table_constraints -+ 4294967125 | statistics -+ 4294967126 | st_units_of_measure -+ 4294967127 | st_spatial_reference_systems -+ 4294967128 | st_geometry_columns -+ 4294967129 | session_variables -+ 4294967130 | sequences -+ 4294967131 | schema_privileges -+ 4294967132 | schemata -+ 4294967133 | schemata_extensions -+ 4294967134 | sql_sizing -+ 4294967135 | sql_parts -+ 4294967136 | sql_implementation_info -+ 4294967137 | sql_features -+ 4294967138 | routines -+ 4294967139 | routine_privileges -+ 4294967140 | role_usage_grants -+ 4294967141 | role_udt_grants -+ 4294967142 | role_table_grants -+ 4294967143 | role_routine_grants -+ 4294967144 | role_column_grants -+ 4294967145 | resource_groups -+ 4294967146 | referential_constraints -+ 4294967147 | profiling -+ 4294967148 | processlist -+ 4294967149 | plugins -+ 4294967150 | partitions -+ 4294967151 | parameters -+ 4294967152 | optimizer_trace -+ 4294967153 | keywords -+ 4294967154 | key_column_usage -+ 4294967155 | information_schema_catalog_name -+ 4294967156 | foreign_tables -+ 4294967157 | foreign_table_options -+ 4294967158 | foreign_servers -+ 4294967159 | foreign_server_options -+ 4294967160 | foreign_data_wrappers -+ 4294967161 | foreign_data_wrapper_options -+ 4294967162 | files -+ 4294967163 | events -+ 4294967164 | engines -+ 4294967165 | enabled_roles -+ 4294967166 | element_types -+ 4294967167 | domains -+ 4294967168 | domain_udt_usage -+ 4294967169 | domain_constraints -+ 4294967170 | data_type_privileges -+ 4294967171 | constraint_table_usage -+ 4294967172 | constraint_column_usage -+ 4294967173 | columns -+ 4294967174 | columns_extensions -+ 4294967175 | column_udt_usage -+ 4294967176 | column_statistics -+ 4294967177 | column_privileges -+ 4294967178 | column_options -+ 4294967179 | column_domain_usage -+ 4294967180 | column_column_usage -+ 4294967181 | collations -+ 4294967182 | collation_character_set_applicability -+ 4294967183 | check_constraints -+ 4294967184 | check_constraint_routine_usage -+ 4294967185 | character_sets -+ 4294967186 | attributes -+ 4294967187 | applicable_roles -+ 4294967188 | administrable_role_authorizations -+ 4294967190 | fully_qualified_names -+ 4294967191 | logical_replication_node_processors -+ 4294967192 | cluster_replication_node_stream_checkpoints -+ 4294967193 | cluster_replication_node_stream_spans -+ 4294967194 | cluster_replication_node_streams -+ 4294967195 | cluster_replication_spans -+ 4294967196 | kv_session_based_leases -+ 4294967197 | kv_protected_ts_records -+ 4294967198 | kv_repairable_catalog_corruptions -+ 4294967199 | kv_flow_token_deductions -+ 4294967200 | kv_flow_control_handles ++ 4294966966 | spatial_ref_sys ++ 4294966967 | geometry_columns ++ 4294966968 | geography_columns ++ 4294966970 | pg_views ++ 4294966971 | pg_user ++ 4294966972 | pg_user_mappings ++ 4294966973 | pg_user_mapping ++ 4294966974 | pg_type ++ 4294966975 | pg_ts_template ++ 4294966976 | pg_ts_parser ++ 4294966977 | pg_ts_dict ++ 4294966978 | pg_ts_config ++ 4294966979 | pg_ts_config_map ++ 4294966980 | pg_trigger ++ 4294966981 | pg_transform ++ 4294966982 | pg_timezone_names ++ 4294966983 | pg_timezone_abbrevs ++ 4294966984 | pg_tablespace ++ 4294966985 | pg_tables ++ 4294966986 | pg_subscription ++ 4294966987 | pg_subscription_rel ++ 4294966988 | pg_stats ++ 4294966989 | pg_stats_ext ++ 4294966990 | pg_statistic ++ 4294966991 | pg_statistic_ext ++ 4294966992 | pg_statistic_ext_data ++ 4294966993 | pg_statio_user_tables ++ 4294966994 | pg_statio_user_sequences ++ 4294966995 | pg_statio_user_indexes ++ 4294966996 | pg_statio_sys_tables ++ 4294966997 | pg_statio_sys_sequences ++ 4294966998 | pg_statio_sys_indexes ++ 4294966999 | pg_statio_all_tables ++ 4294967000 | pg_statio_all_sequences ++ 4294967001 | pg_statio_all_indexes ++ 4294967002 | pg_stat_xact_user_tables ++ 4294967003 | pg_stat_xact_user_functions ++ 4294967004 | pg_stat_xact_sys_tables ++ 4294967005 | pg_stat_xact_all_tables ++ 4294967006 | pg_stat_wal_receiver ++ 4294967007 | pg_stat_user_tables ++ 4294967008 | pg_stat_user_indexes ++ 4294967009 | pg_stat_user_functions ++ 4294967010 | pg_stat_sys_tables ++ 4294967011 | pg_stat_sys_indexes ++ 4294967012 | pg_stat_subscription ++ 4294967013 | pg_stat_ssl ++ 4294967014 | pg_stat_slru ++ 4294967015 | pg_stat_replication ++ 4294967016 | pg_stat_progress_vacuum ++ 4294967017 | pg_stat_progress_create_index ++ 4294967018 | pg_stat_progress_cluster ++ 4294967019 | pg_stat_progress_basebackup ++ 4294967020 | pg_stat_progress_analyze ++ 4294967021 | pg_stat_gssapi ++ 4294967022 | pg_stat_database ++ 4294967023 | pg_stat_database_conflicts ++ 4294967024 | pg_stat_bgwriter ++ 4294967025 | pg_stat_archiver ++ 4294967026 | pg_stat_all_tables ++ 4294967027 | pg_stat_all_indexes ++ 4294967028 | pg_stat_activity ++ 4294967029 | pg_shmem_allocations ++ 4294967030 | pg_shdepend ++ 4294967031 | pg_shseclabel ++ 4294967032 | pg_shdescription ++ 4294967033 | pg_shadow ++ 4294967034 | pg_settings ++ 4294967035 | pg_sequences ++ 4294967036 | pg_sequence ++ 4294967037 | pg_seclabel ++ 4294967038 | pg_seclabels ++ 4294967039 | pg_rules ++ 4294967040 | pg_roles ++ 4294967041 | pg_rewrite ++ 4294967042 | pg_replication_slots ++ 4294967043 | pg_replication_origin ++ 4294967044 | pg_replication_origin_status ++ 4294967045 | pg_range ++ 4294967046 | pg_publication_tables ++ 4294967047 | pg_publication ++ 4294967048 | pg_publication_rel ++ 4294967049 | pg_proc ++ 4294967050 | pg_prepared_xacts ++ 4294967051 | pg_prepared_statements ++ 4294967052 | pg_policy ++ 4294967053 | pg_policies ++ 4294967054 | pg_partitioned_table ++ 4294967055 | pg_opfamily ++ 4294967056 | pg_operator ++ 4294967057 | pg_opclass ++ 4294967058 | pg_namespace ++ 4294967059 | pg_matviews ++ 4294967060 | pg_locks ++ 4294967061 | pg_largeobject ++ 4294967062 | pg_largeobject_metadata ++ 4294967063 | pg_language ++ 4294967064 | pg_init_privs ++ 4294967065 | pg_inherits ++ 4294967066 | pg_indexes ++ 4294967067 | pg_index ++ 4294967068 | pg_hba_file_rules ++ 4294967069 | pg_group ++ 4294967070 | pg_foreign_table ++ 4294967071 | pg_foreign_server ++ 4294967072 | pg_foreign_data_wrapper ++ 4294967073 | pg_file_settings ++ 4294967074 | pg_extension ++ 4294967075 | pg_event_trigger ++ 4294967076 | pg_enum ++ 4294967077 | pg_description ++ 4294967078 | pg_depend ++ 4294967079 | pg_default_acl ++ 4294967080 | pg_db_role_setting ++ 4294967081 | pg_database ++ 4294967082 | pg_cursors ++ 4294967083 | pg_conversion ++ 4294967084 | pg_constraint ++ 4294967085 | pg_config ++ 4294967086 | pg_collation ++ 4294967087 | pg_class ++ 4294967088 | pg_cast ++ 4294967089 | pg_available_extensions ++ 4294967090 | pg_available_extension_versions ++ 4294967091 | pg_auth_members ++ 4294967092 | pg_authid ++ 4294967093 | pg_attribute ++ 4294967094 | pg_attrdef ++ 4294967095 | pg_amproc ++ 4294967096 | pg_amop ++ 4294967097 | pg_am ++ 4294967098 | pg_aggregate ++ 4294967100 | views ++ 4294967101 | view_table_usage ++ 4294967102 | view_routine_usage ++ 4294967103 | view_column_usage ++ 4294967104 | user_privileges ++ 4294967105 | user_mappings ++ 4294967106 | user_mapping_options ++ 4294967107 | user_defined_types ++ 4294967108 | user_attributes ++ 4294967109 | usage_privileges ++ 4294967110 | udt_privileges ++ 4294967111 | type_privileges ++ 4294967112 | triggers ++ 4294967113 | triggered_update_columns ++ 4294967114 | transforms ++ 4294967115 | tablespaces ++ 4294967116 | tablespaces_extensions ++ 4294967117 | tables ++ 4294967118 | tables_extensions ++ 4294967119 | table_privileges ++ 4294967120 | table_constraints_extensions ++ 4294967121 | table_constraints ++ 4294967122 | statistics ++ 4294967123 | st_units_of_measure ++ 4294967124 | st_spatial_reference_systems ++ 4294967125 | st_geometry_columns ++ 4294967126 | session_variables ++ 4294967127 | sequences ++ 4294967128 | schema_privileges ++ 4294967129 | schemata ++ 4294967130 | schemata_extensions ++ 4294967131 | sql_sizing ++ 4294967132 | sql_parts ++ 4294967133 | sql_implementation_info ++ 4294967134 | sql_features ++ 4294967135 | routines ++ 4294967136 | routine_privileges ++ 4294967137 | role_usage_grants ++ 4294967138 | role_udt_grants ++ 4294967139 | role_table_grants ++ 4294967140 | role_routine_grants ++ 4294967141 | role_column_grants ++ 4294967142 | resource_groups ++ 4294967143 | referential_constraints ++ 4294967144 | profiling ++ 4294967145 | processlist ++ 4294967146 | plugins ++ 4294967147 | partitions ++ 4294967148 | parameters ++ 4294967149 | optimizer_trace ++ 4294967150 | keywords ++ 4294967151 | key_column_usage ++ 4294967152 | information_schema_catalog_name ++ 4294967153 | foreign_tables ++ 4294967154 | foreign_table_options ++ 4294967155 | foreign_servers ++ 4294967156 | foreign_server_options ++ 4294967157 | foreign_data_wrappers ++ 4294967158 | foreign_data_wrapper_options ++ 4294967159 | files ++ 4294967160 | events ++ 4294967161 | engines ++ 4294967162 | enabled_roles ++ 4294967163 | element_types ++ 4294967164 | domains ++ 4294967165 | domain_udt_usage ++ 4294967166 | domain_constraints ++ 4294967167 | data_type_privileges ++ 4294967168 | constraint_table_usage ++ 4294967169 | constraint_column_usage ++ 4294967170 | columns ++ 4294967171 | columns_extensions ++ 4294967172 | column_udt_usage ++ 4294967173 | column_statistics ++ 4294967174 | column_privileges ++ 4294967175 | column_options ++ 4294967176 | column_domain_usage ++ 4294967177 | column_column_usage ++ 4294967178 | collations ++ 4294967179 | collation_character_set_applicability ++ 4294967180 | check_constraints ++ 4294967181 | check_constraint_routine_usage ++ 4294967182 | character_sets ++ 4294967183 | attributes ++ 4294967184 | applicable_roles ++ 4294967185 | administrable_role_authorizations ++ 4294967187 | fully_qualified_names ++ 4294967188 | logical_replication_node_processors ++ 4294967189 | cluster_replication_node_stream_checkpoints ++ 4294967190 | cluster_replication_node_stream_spans ++ 4294967191 | cluster_replication_node_streams ++ 4294967192 | cluster_replication_spans ++ 4294967193 | kv_session_based_leases ++ 4294967194 | kv_protected_ts_records ++ 4294967195 | kv_repairable_catalog_corruptions ++ 4294967196 | kv_flow_token_deductions_v2 ++ 4294967197 | kv_flow_token_deductions ++ 4294967198 | kv_flow_control_handles_v2 ++ 4294967199 | kv_flow_control_handles ++ 4294967200 | kv_flow_controller_v2 + 4294967201 | kv_flow_controller + 4294967202 | kv_system_privileges + 4294967203 | kv_inherited_role_members @@ -42387,11 +42390,11 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/type_sanity.out - + 4294967292 | builtin_functions + 4294967293 | node_build_info + 4294967294 | backward_dependencies -+(354 rows) ++(357 rows) -- Make sure typarray points to a "true" array type of our own base SELECT t1.oid, t1.typname as basetype, t2.typname as arraytype, -@@ -84,10 +446,7 @@ +@@ -84,10 +449,7 @@ WHERE t1.typarray <> 0 AND (t2.oid IS NULL OR t2.typsubscript <> 'array_subscript_handler'::regproc); @@ -42403,7 +42406,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/type_sanity.out - -- Look for range types that do not have a pg_range entry SELECT t1.oid, t1.typname FROM pg_type as t1 -@@ -128,10 +487,7 @@ +@@ -128,10 +490,7 @@ (p1.pronargs = 3 AND p1.proargtypes[0] = 'cstring'::regtype AND p1.proargtypes[1] = 'oid'::regtype AND p1.proargtypes[2] = 'int4'::regtype)); @@ -42415,7 +42418,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/type_sanity.out - -- As of 8.0, this check finds refcursor, which is borrowing -- other types' I/O routines SELECT t1.oid, t1.typname, p1.oid, p1.proname -@@ -140,10 +496,9 @@ +@@ -140,10 +499,9 @@ (t1.typelem != 0 AND t1.typlen < 0) AND NOT (p1.prorettype = t1.oid AND NOT p1.proretset) ORDER BY 1; @@ -42429,7 +42432,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/type_sanity.out - -- Varlena array types will point to array_in -- Exception as of 8.1: int2vector and oidvector have their own I/O routines -@@ -153,10 +508,10 @@ +@@ -153,10 +511,10 @@ (t1.typelem != 0 AND t1.typlen < 0) AND NOT (p1.oid = 'array_in'::regproc) ORDER BY 1; @@ -42444,7 +42447,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/type_sanity.out - (2 rows) -- typinput routines should not be volatile -@@ -172,14 +527,11 @@ +@@ -172,14 +530,11 @@ FROM pg_type AS t1 WHERE t1.typtype not in ('b', 'p') ORDER BY 1; @@ -42462,7 +42465,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/type_sanity.out - -- Check for bogus typoutput routines -- As of 8.0, this check finds refcursor, which is borrowing -@@ -192,19 +544,15 @@ +@@ -192,19 +547,15 @@ (p1.oid = 'array_out'::regproc AND t1.typelem != 0 AND t1.typlen = -1))) ORDER BY 1; @@ -42486,7 +42489,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/type_sanity.out - -- typoutput routines should not be volatile SELECT t1.oid, t1.typname, p1.oid, p1.proname FROM pg_type AS t1, pg_proc AS p1 -@@ -218,13 +566,11 @@ +@@ -218,13 +569,11 @@ FROM pg_type AS t1 WHERE t1.typtype not in ('b', 'd', 'p') ORDER BY 1; @@ -42503,7 +42506,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/type_sanity.out - -- Domains should have same typoutput as their base types SELECT t1.oid, t1.typname, t2.oid, t2.typname -@@ -244,10 +590,7 @@ +@@ -244,10 +593,7 @@ (p1.pronargs = 3 AND p1.proargtypes[0] = 'internal'::regtype AND p1.proargtypes[1] = 'oid'::regtype AND p1.proargtypes[2] = 'int4'::regtype)); @@ -42515,7 +42518,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/type_sanity.out - -- As of 7.4, this check finds refcursor, which is borrowing -- other types' I/O routines SELECT t1.oid, t1.typname, p1.oid, p1.proname -@@ -256,10 +599,9 @@ +@@ -256,10 +602,9 @@ (t1.typelem != 0 AND t1.typlen < 0) AND NOT (p1.prorettype = t1.oid AND NOT p1.proretset) ORDER BY 1; @@ -42529,7 +42532,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/type_sanity.out - -- Varlena array types will point to array_recv -- Exception as of 8.1: int2vector and oidvector have their own I/O routines -@@ -271,8 +613,8 @@ +@@ -271,8 +616,8 @@ ORDER BY 1; oid | typname | oid | proname -----+------------+------+---------------- @@ -42540,7 +42543,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/type_sanity.out - (2 rows) -- Suspicious if typreceive doesn't take same number of args as typinput -@@ -297,14 +639,11 @@ +@@ -297,14 +642,11 @@ FROM pg_type AS t1 WHERE t1.typtype not in ('b', 'p') ORDER BY 1; @@ -42558,7 +42561,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/type_sanity.out - -- Check for bogus typsend routines -- As of 7.4, this check finds refcursor, which is borrowing -@@ -317,10 +656,9 @@ +@@ -317,10 +659,9 @@ (p1.oid = 'array_send'::regproc AND t1.typelem != 0 AND t1.typlen = -1))) ORDER BY 1; @@ -42572,7 +42575,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/type_sanity.out - SELECT t1.oid, t1.typname, p1.oid, p1.proname FROM pg_type AS t1, pg_proc AS p1 -@@ -343,13 +681,11 @@ +@@ -343,13 +684,11 @@ FROM pg_type AS t1 WHERE t1.typtype not in ('b', 'd', 'p') ORDER BY 1; @@ -42589,7 +42592,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/type_sanity.out - -- Domains should have same typsend as their base types SELECT t1.oid, t1.typname, t2.oid, t2.typname -@@ -366,10 +702,7 @@ +@@ -366,10 +705,7 @@ (p1.pronargs = 1 AND p1.proargtypes[0] = 'cstring[]'::regtype AND p1.prorettype = 'int4'::regtype AND NOT p1.proretset); @@ -42601,7 +42604,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/type_sanity.out - -- typmodin routines should not be volatile SELECT t1.oid, t1.typname, p1.oid, p1.proname FROM pg_type AS t1, pg_proc AS p1 -@@ -385,10 +718,7 @@ +@@ -385,10 +721,7 @@ (p1.pronargs = 1 AND p1.proargtypes[0] = 'int4'::regtype AND p1.prorettype = 'cstring'::regtype AND NOT p1.proretset); @@ -42613,7 +42616,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/type_sanity.out - -- typmodout routines should not be volatile SELECT t1.oid, t1.typname, p1.oid, p1.proname FROM pg_type AS t1, pg_proc AS p1 -@@ -409,7 +739,8 @@ +@@ -409,7 +742,8 @@ -- Array types should have same typdelim as their element types SELECT t1.oid, t1.typname, t2.oid, t2.typname FROM pg_type AS t1, pg_type AS t2 @@ -42623,7 +42626,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/type_sanity.out - oid | typname | oid | typname -----+---------+-----+--------- (0 rows) -@@ -428,29 +759,20 @@ +@@ -428,29 +762,20 @@ SELECT t1.oid, t1.typname, t1.typelem FROM pg_type AS t1 WHERE t1.typelem != 0 AND t1.typsubscript = 0; @@ -42656,7 +42659,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/type_sanity.out - -- Check for bogus typanalyze routines SELECT t1.oid, t1.typname, p1.oid, p1.proname FROM pg_type AS t1, pg_proc AS p1 -@@ -458,10 +780,7 @@ +@@ -458,10 +783,7 @@ (p1.pronargs = 1 AND p1.proargtypes[0] = 'internal'::regtype AND p1.prorettype = 'bool'::regtype AND NOT p1.proretset); @@ -42668,7 +42671,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/type_sanity.out - -- there does not seem to be a reason to care about volatility of typanalyze -- domains inherit their base type's typanalyze SELECT d.oid, d.typname, d.typanalyze, t.oid, t.typname, t.typanalyze -@@ -477,10 +796,7 @@ +@@ -477,10 +799,7 @@ FROM pg_type t LEFT JOIN pg_range r on t.oid = r.rngtypid WHERE t.typbasetype = 0 AND (t.typanalyze = 'range_typanalyze'::regproc) != (r.rngtypid IS NOT NULL); @@ -42680,7 +42683,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/type_sanity.out - -- array_typanalyze should be used for all and only array types -- (but exclude domains, which we checked above) -- As of 9.2 this finds int2vector and oidvector, which are weird anyway -@@ -490,12 +806,7 @@ +@@ -490,12 +809,7 @@ (t.typanalyze = 'array_typanalyze'::regproc) != (t.typsubscript = 'array_subscript_handler'::regproc) ORDER BY 1; @@ -42694,7 +42697,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/type_sanity.out - -- **************** pg_class **************** -- Look for illegal values in pg_class fields SELECT c1.oid, c1.relname -@@ -535,14 +846,10 @@ +@@ -535,14 +849,10 @@ (0 rows) -- Tables, matviews etc should have AMs of type 't' @@ -42713,7 +42716,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/type_sanity.out - -- **************** pg_attribute **************** -- Look for illegal values in pg_attribute fields SELECT a1.attrelid, a1.attname -@@ -555,22 +862,46 @@ +@@ -555,22 +865,48 @@ (0 rows) -- Cross-check attnum against parent relation @@ -42750,27 +42753,29 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/type_sanity.out - + 2638740473 | jobs_job_id_idx + 2638740472 | jobs_status_idx + 2638740479 | jobs_job_type_idx -+ 2332608540 | kv_flow_control_handles_range_id_idx -+ 1887289619 | kv_flow_token_deductions_range_id_idx ++ 1887289619 | kv_flow_control_handles_range_id_idx ++ 542212610 | kv_flow_control_handles_v2_range_id_idx ++ 282476337 | kv_flow_token_deductions_range_id_idx ++ 3232366624 | kv_flow_token_deductions_v2_range_id_idx + 1293663464 | system_jobs_id_idx + 1293663465 | system_jobs_job_type_idx + 1293663470 | system_jobs_status_idx + 1460608405 | table_spans_descriptor_id_idx + 115531396 | tables_parent_id_idx + 115531397 | tables_database_name_idx -+ 1831773717 | pg_attrdef_adrelid_idx -+ 486696708 | pg_attribute_attrelid_idx -+ 4262191470 | pg_class_oid_idx -+ 2397641923 | pg_constraint_conrelid_idx -+ 2824323129 | pg_namespace_oid_idx -+ 3649927600 | pg_proc_oid_idx -+ 883735674 | pg_timezone_names_name_idx -+ 3008021490 | pg_type_oid_idx -+(28 rows) ++ 3176850730 | pg_attrdef_adrelid_idx ++ 2917114457 | pg_attribute_attrelid_idx ++ 2397641923 | pg_class_oid_idx ++ 3742718928 | pg_constraint_conrelid_idx ++ 4169400142 | pg_namespace_oid_idx ++ 1785378053 | pg_proc_oid_idx ++ 3833625957 | pg_timezone_names_name_idx ++ 1384570493 | pg_type_oid_idx ++(30 rows) -- Cross-check against pg_type entry -- NOTE: we allow attstorage to be 'plain' even when typstorage is not; -@@ -613,10 +944,7 @@ +@@ -613,10 +949,7 @@ EXISTS(select 1 from pg_catalog.pg_type where oid = r.rngsubtype and typelem != 0 and typsubscript = 'array_subscript_handler'::regproc))); @@ -42782,7 +42787,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/type_sanity.out - -- canonical function, if any, had better match the range type SELECT r.rngtypid, r.rngsubtype, p.proname FROM pg_range r JOIN pg_proc p ON p.oid = r.rngcanonical -@@ -639,10 +967,7 @@ +@@ -639,10 +972,7 @@ SELECT r.rngtypid, r.rngsubtype, r.rngmultitypid FROM pg_range r WHERE r.rngmultitypid IS NULL OR r.rngmultitypid = 0; @@ -42794,7 +42799,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/type_sanity.out - -- Create a table that holds all the known in-core data types and leave it -- around so as pg_upgrade is able to test their binary compatibility. CREATE TABLE tab_core_types AS SELECT -@@ -709,6 +1034,13 @@ +@@ -709,6 +1039,13 @@ '{(2020-01-02 03:04:05, 2021-02-03 06:07:08)}'::tsmultirange, '(2020-01-02 03:04:05, 2021-02-03 06:07:08)'::tstzrange, '{(2020-01-02 03:04:05, 2021-02-03 06:07:08)}'::tstzmultirange; @@ -42804,11 +42809,11 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/type_sanity.out - + '(11,12)'::point, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 -- Sanity check on the previous table, checking that all core types are -- included in this table. SELECT oid, typname, typtype, typelem, typarray -@@ -736,7 +1068,4 @@ +@@ -736,7 +1073,4 @@ WHERE a.atttypid=t.oid AND a.attnum > 0 AND a.attrelid='tab_core_types'::regclass); @@ -42999,7 +43004,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/expressions.out - +select '(0,0)'::point in ('(0,0,0,0)'::box, point(0,0)) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 -- -- Tests for ScalarArrayOpExpr with a hashfn -- @@ -43012,7 +43017,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/expressions.out - +create type myint + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27793/dev ++See: https://go.crdb.dev/issue-v/27793/v24.3 create function myintin(cstring) returns myint strict immutable language internal as 'int4in'; -NOTICE: return type myint is only a shell @@ -43031,7 +43036,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/expressions.out - +create type myint (input = myintin, output = myintout, like = int4) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27793/dev ++See: https://go.crdb.dev/issue-v/27793/v24.3 create cast (int4 as myint) without function; +ERROR: at or near "(": syntax error: unimplemented: this syntax +DETAIL: source SQL: @@ -43090,7 +43095,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/expressions.out - +create operator = ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 create operator <> ( leftarg = myint, rightarg = myint, @@ -43103,7 +43108,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/expressions.out - +create operator <> ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 create operator class myint_ops default for type myint using hash as operator 1 = (myint, myint), @@ -43113,7 +43118,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/expressions.out - +create operator class myint_ops + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 create table inttest (a myint); +ERROR: current transaction is aborted, commands ignored until end of transaction block insert into inttest values(1::myint),(null); @@ -44024,7 +44029,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/copyselect.out -- +copy (select t from test1 where id = 1) to stdout csv header force quote t + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/41608/dev ++See: https://go.crdb.dev/issue-v/41608/v24.3 -- -- Test psql builtins, plain table -- @@ -44552,23 +44557,18 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/copydml.out --lab -- triggers create function qqq_trig() returns trigger as $$ begin -@@ -92,21 +439,25 @@ - end if; - end +@@ -94,19 +441,19 @@ $$ language plpgsql; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev create trigger qqqbef before insert or update or delete on copydml_test for each row execute procedure qqq_trig(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger qqqaf after insert or update or delete on copydml_test for each row execute procedure qqq_trig(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 copy (insert into copydml_test (t) values ('f') returning id) to stdout; -NOTICE: BEFORE INSERT 8 -8 @@ -44586,7 +44586,6 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/copydml.out --lab +18 drop table copydml_test; drop function qqq_trig(); -+ERROR: unknown function: qqq_trig() diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/copy.out --label=/mnt/data1/postgres/src/test/regress/results/copy.out /mnt/data1/postgres/src/test/regress/expected/copy.out /mnt/data1/postgres/src/test/regress/results/copy.out --- /mnt/data1/postgres/src/test/regress/expected/copy.out +++ /mnt/data1/postgres/src/test/regress/results/copy.out @@ -44609,7 +44608,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/copy.out --label= +copy copytest to ':abs_builddir/results/copytest.csv' csv + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/97181/dev ++See: https://go.crdb.dev/issue-v/97181/v24.3 create temp table copytest2 (like copytest); copy copytest2 from :'filename' csv; +ERROR: at or near ":abs_builddir/results/copytest.csv": syntax error: unimplemented: this syntax @@ -44650,7 +44649,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/copy.out --label= +copy copytest to ':abs_builddir/results/copytest.csv' csv quote '''' escape E'\\' + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/97181/dev ++See: https://go.crdb.dev/issue-v/97181/v24.3 copy copytest2 from :'filename' csv quote '''' escape E'\\'; +ERROR: at or near ":abs_builddir/results/copytest.csv": syntax error: unimplemented: this syntax +DETAIL: source SQL: @@ -44684,7 +44683,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/copy.out --label= -- test header line feature create temp table copytest3 ( -@@ -46,81 +104,165 @@ +@@ -46,44 +104,106 @@ c1 int, "colname with tab: " text); copy copytest4 from stdin (header); @@ -44745,7 +44744,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/copy.out --label= +copy (select * from parted_copytest order by a) to ':abs_builddir/results/parted_copytest.csv' + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/96590/dev ++See: https://go.crdb.dev/issue-v/96590/v24.3 truncate parted_copytest; +ERROR: relation "parted_copytest" does not exist copy parted_copytest from :'filename'; @@ -44800,19 +44799,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/copy.out --label= -- create before insert row trigger on parted_copytest_a2 create function part_ins_func() returns trigger language plpgsql as $$ begin - return new; - end; - $$; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev - create trigger part_ins_trig +@@ -94,33 +214,52 @@ before insert on parted_copytest_a2 for each row execute procedure part_ins_func(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 copy parted_copytest from :'filename'; +ERROR: at or near ":abs_builddir/results/parted_copytest.csv": syntax error: unimplemented: this syntax +DETAIL: source SQL: @@ -44845,7 +44838,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/copy.out --label= drop trigger part_ins_trig on parted_copytest_a2; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 copy parted_copytest from stdin; +ERROR: relation "parted_copytest" does not exist +1 1 str1 @@ -44875,7 +44868,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/copy.out --label= -- -- Progress reporting for COPY -- -@@ -131,6 +273,15 @@ +@@ -131,6 +270,15 @@ salary int4, manager name ); @@ -44887,24 +44880,24 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/copy.out --label= + location point, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 -- Add a trigger to catch and print the contents of the catalog view -- pg_stat_progress_copy during data insertion. This allows to test -- the validation of some progress reports for COPY FROM where the trigger -@@ -160,22 +311,56 @@ +@@ -160,22 +308,56 @@ return new; end; $$ language plpgsql; -+ERROR: unimplemented: trigger functions are not yet supported ++ERROR: unimplemented: RECORD type for PL/pgSQL variables is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev ++See: https://go.crdb.dev/issue-v/114874/v24.3 create trigger check_after_tab_progress_reporting after insert on tab_progress_reporting for each statement execute function notice_after_tab_progress_reporting(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- Generate COPY FROM report with PIPE. copy tab_progress_reporting from stdin; -INFO: progress: {"type": "PIPE", "command": "COPY FROM", "relname": "tab_progress_reporting", "has_bytes_total": false, "tuples_excluded": 0, "tuples_processed": 3, "has_bytes_processed": true} @@ -44942,7 +44935,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/copy.out --label= drop trigger check_after_tab_progress_reporting on tab_progress_reporting; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 drop function notice_after_tab_progress_reporting(); +ERROR: unknown function: notice_after_tab_progress_reporting() drop table tab_progress_reporting; @@ -44950,7 +44943,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/copy.out --label= -- Test header matching feature create table header_copytest ( a int, -@@ -186,57 +371,173 @@ +@@ -186,57 +368,173 @@ alter table header_copytest drop column c; alter table header_copytest add column c text; copy header_copytest to stdout with (header match); @@ -44960,7 +44953,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/copy.out --label= +copy header_copytest to stdout with (header match) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/97181/dev ++See: https://go.crdb.dev/issue-v/97181/v24.3 copy header_copytest from stdin with (header wrong_choice); -ERROR: header requires a Boolean value or "match" +ERROR: at or near "wrong_choice": syntax error: unimplemented: this syntax @@ -45858,7 +45851,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/insert_conflict.o +) inherits (cities) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 -- Create unique indexes. Due to a general limitation of inheritance, -- uniqueness is only enforced per-relation. Unique index inference -- specification will do the right thing, though. @@ -45977,7 +45970,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/insert_conflict.o +create table twoconstraints (f1 int unique, f2 box, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 insert into twoconstraints values(1, '((0,0),(1,1))'); +ERROR: relation "twoconstraints" does not exist insert into twoconstraints values(1, '((2,2),(3,3))'); -- fail on f1 @@ -46280,13 +46273,28 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/insert_conflict.o -- test with statement level triggers create or replace function parted_conflict_update_func() returns trigger as $$ declare -@@ -852,15 +943,25 @@ +@@ -852,15 +943,40 @@ return new; end; $$ language plpgsql; -+ERROR: unimplemented: trigger functions are not yet supported ++ERROR: at or near "r": syntax error: unimplemented: this syntax ++DETAIL: source SQL: ++declare ++ r record; ++begin ++ for r in select * from inserted loop ++ ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev ++ ++Please check the public issue tracker to check whether this problem is ++already tracked. If you cannot find it there, please report the error ++with details by creating a new issue. ++ ++If you would rather not post publicly, please contact us directly ++using the support form. ++ ++We appreciate your feedback. ++ create trigger parted_conflict_update after update on parted_conflict referencing new table as inserted @@ -46294,7 +46302,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/insert_conflict.o execute procedure parted_conflict_update_func(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 truncate parted_conflict; +ERROR: relation "parted_conflict" does not exist insert into parted_conflict values (0, 'cero', 1); @@ -46416,21 +46424,21 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/insert.out --labe +insert into inserttest (f3.if1, f3.if2) values (1,array['foo']) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27792/dev ++See: https://go.crdb.dev/issue-v/27792/v24.3 insert into inserttest (f3.if1, f3.if2) values (1,'{foo}'), (2,'{bar}'); +ERROR: at or near "if1": syntax error: unimplemented: this syntax +DETAIL: source SQL: +insert into inserttest (f3.if1, f3.if2) values (1,'{foo}'), (2,'{bar}') + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27792/dev ++See: https://go.crdb.dev/issue-v/27792/v24.3 insert into inserttest (f3.if1, f3.if2) select 3, '{baz,quux}'; +ERROR: at or near "if1": syntax error: unimplemented: this syntax +DETAIL: source SQL: +insert into inserttest (f3.if1, f3.if2) select 3, '{baz,quux}' + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27792/dev ++See: https://go.crdb.dev/issue-v/27792/v24.3 insert into inserttest (f3.if1, f3.if2) values (1,default); -- not supported -ERROR: cannot set a subfield to DEFAULT -LINE 1: insert into inserttest (f3.if1, f3.if2) values (1,default); @@ -46440,28 +46448,28 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/insert.out --labe +insert into inserttest (f3.if1, f3.if2) values (1,default) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27792/dev ++See: https://go.crdb.dev/issue-v/27792/v24.3 insert into inserttest (f3.if2[1], f3.if2[2]) values ('foo', 'bar'); +ERROR: at or near "if2": syntax error: unimplemented: this syntax +DETAIL: source SQL: +insert into inserttest (f3.if2[1], f3.if2[2]) values ('foo', 'bar') + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27792/dev ++See: https://go.crdb.dev/issue-v/27792/v24.3 insert into inserttest (f3.if2[1], f3.if2[2]) values ('foo', 'bar'), ('baz', 'quux'); +ERROR: at or near "if2": syntax error: unimplemented: this syntax +DETAIL: source SQL: +insert into inserttest (f3.if2[1], f3.if2[2]) values ('foo', 'bar'), ('baz', 'quux') + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27792/dev ++See: https://go.crdb.dev/issue-v/27792/v24.3 insert into inserttest (f3.if2[1], f3.if2[2]) select 'bear', 'beer'; +ERROR: at or near "if2": syntax error: unimplemented: this syntax +DETAIL: source SQL: +insert into inserttest (f3.if2[1], f3.if2[2]) select 'bear', 'beer' + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27792/dev ++See: https://go.crdb.dev/issue-v/27792/v24.3 insert into inserttest (f4[1].if2[1], f4[1].if2[2]) values ('foo', 'bar'); +ERROR: at or near "[": syntax error +DETAIL: source SQL: @@ -46567,10 +46575,10 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/insert.out --labe +Please check the public issue tracker to check whether this problem is +already tracked. If you cannot find it there, please report the error +with details by creating a new issue. - ++ +If you would rather not post publicly, please contact us directly +using the support form. -+ + +We appreciate your feedback. + +\d+ inserttest2 @@ -47238,18 +47246,24 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/insert.out --labe -- have a BR trigger modify the row such that the check_b is violated create function mlparted11_trig_fn() returns trigger AS -@@ -538,445 +768,702 @@ +@@ -538,445 +768,714 @@ end; $$ language plpgsql; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev ++ERROR: at or near ";": at or near "new": syntax error ++DETAIL: source SQL: ++NEW.b := 4 ++^ ++-- ++source SQL: ++begin ++ NEW.b := 4; ++ ^ create trigger mlparted11_trig before insert ON mlparted11 for each row execute procedure mlparted11_trig_fn(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- check that the correct row is shown when constraint check_b fails after -- "(1, 2)" is routed to mlparted11 (actually "(1, 4)" would be shown due -- to the BR trigger mlparted11_trig_fn) @@ -47260,7 +47274,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/insert.out --labe drop trigger mlparted11_trig on mlparted11; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 drop function mlparted11_trig_fn(); +ERROR: unknown function: mlparted11_trig_fn() -- check that inserting into an internal partition successfully results in @@ -47364,13 +47378,18 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/insert.out --labe -DETAIL: Failing row contains (1, 45, a). +ERROR: relation "mlparted" does not exist create function mlparted5abrtrig_func() returns trigger as $$ begin new.c = 'b'; return new; end; $$ language plpgsql; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev ++ERROR: at or near ";": at or near "new": syntax error ++DETAIL: source SQL: ++new.c = 'b' ++^ ++-- ++source SQL: ++begin new.c = 'b'; return new; end; ++ ^ create trigger mlparted5abrtrig before insert on mlparted5a for each row execute procedure mlparted5abrtrig_func(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 insert into mlparted5 (a, b, c) values (1, 40, 'a'); -ERROR: new row for relation "mlparted5a" violates partition constraint -DETAIL: Failing row contains (b, 1, 40). @@ -47751,13 +47770,18 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/insert.out --labe + ^ +HINT: try \h CREATE TABLE create or replace function brtrigpartcon1trigf() returns trigger as $$begin new.a := 2; return new; end$$ language plpgsql; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev ++ERROR: at or near ";": at or near "new": syntax error ++DETAIL: source SQL: ++new.a := 2 ++^ ++-- ++source SQL: ++begin new.a := 2; return new; end ++ ^ create trigger brtrigpartcon1trig before insert on brtrigpartcon1 for each row execute procedure brtrigpartcon1trigf(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 insert into brtrigpartcon values (1, 'hi there'); -ERROR: new row for relation "brtrigpartcon1" violates partition constraint -DETAIL: Failing row contains (2, hi there). @@ -47803,17 +47827,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/insert.out --labe create table donothingbrtrig_test2 (c text, b text, a int); alter table donothingbrtrig_test2 drop column c; create or replace function donothingbrtrig_func() returns trigger as $$begin raise notice 'b: %', new.b; return NULL; end$$ language plpgsql; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev create trigger donothingbrtrig1 before insert on donothingbrtrig_test1 for each row execute procedure donothingbrtrig_func(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger donothingbrtrig2 before insert on donothingbrtrig_test2 for each row execute procedure donothingbrtrig_func(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 alter table donothingbrtrig_test attach partition donothingbrtrig_test1 for values in (1); +ERROR: at or near "attach": syntax error +DETAIL: source SQL: @@ -47865,7 +47886,6 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/insert.out --labe drop table donothingbrtrig_test; +ERROR: relation "donothingbrtrig_test" does not exist drop function donothingbrtrig_func(); -+ERROR: unknown function: donothingbrtrig_func() -- check multi-column range partitioning with minvalue/maxvalue constraints create table mcrparted (a text, b int) partition by range(a, b); +ERROR: at or near "EOF": syntax error @@ -48179,7 +48199,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_function_c -ERROR: could not access file "nosuchfile": No such file or directory +ERROR: unimplemented: C is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/102201/dev ++See: https://go.crdb.dev/issue-v/102201/v24.3 -- To produce stable regression test output, we have to filter the name -- of the regresslib file out of the error message in this test. \set VERBOSITY sqlstate @@ -48213,7 +48233,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_operator.o +CREATE OPERATOR ## ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 CREATE OPERATOR @#@ ( rightarg = int8, -- prefix procedure = factorial @@ -48223,7 +48243,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_operator.o +CREATE OPERATOR @#@ ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 CREATE OPERATOR #%# ( leftarg = int8, -- fail, postfix is no longer supported procedure = factorial @@ -48235,7 +48255,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_operator.o +CREATE OPERATOR #%# ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 -- Test operator created above SELECT @#@ 24; - ?column? @@ -48331,7 +48351,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_operator.o +CREATE OPERATOR => ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 -- lexing of <=, >=, <>, != has a number of edge cases -- (=> is tested elsewhere) -- this is legal because ! is not allowed in sql ops @@ -48344,7 +48364,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_operator.o +CREATE OPERATOR !=- ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 SELECT !=- 10; - ?column? ----------- @@ -48389,7 +48409,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_operator.o +CREATE OPERATOR schema_op1.#*# ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 ROLLBACK; -- Should fail. SETOF type functions not allowed as argument (testing leftarg) BEGIN TRANSACTION; @@ -48403,7 +48423,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_operator.o +CREATE OPERATOR #*# ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 ROLLBACK; -- Should fail. SETOF type functions not allowed as argument (testing rightarg) BEGIN TRANSACTION; @@ -48417,7 +48437,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_operator.o +CREATE OPERATOR #*# ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 ROLLBACK; -- Should work. Sample text-book case BEGIN TRANSACTION; @@ -48438,7 +48458,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_operator.o +CREATE OPERATOR === ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 ROLLBACK; -- Should fail. Invalid attribute CREATE OPERATOR #@%# ( @@ -48452,7 +48472,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_operator.o +CREATE OPERATOR #@%# ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 -- Should fail. At least rightarg should be mandatorily specified CREATE OPERATOR #@%# ( procedure = factorial @@ -48463,7 +48483,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_operator.o +CREATE OPERATOR #@%# ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 -- Should fail. Procedure should be mandatorily specified CREATE OPERATOR #@%# ( rightarg = int8 @@ -48474,7 +48494,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_operator.o +CREATE OPERATOR #@%# ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 -- Should fail. CREATE OPERATOR requires USAGE on TYPE BEGIN TRANSACTION; CREATE ROLE regress_rol_op3; @@ -48503,7 +48523,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_operator.o +CREATE OPERATOR #*# ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 ROLLBACK; -- Should fail. CREATE OPERATOR requires USAGE on TYPE (need to check separately for rightarg) BEGIN TRANSACTION; @@ -48533,7 +48553,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_operator.o +CREATE OPERATOR #*# ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 ROLLBACK; -- Should fail. CREATE OPERATOR requires EXECUTE on function BEGIN TRANSACTION; @@ -48563,7 +48583,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_operator.o +CREATE OPERATOR #*# ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 ROLLBACK; -- Should fail. CREATE OPERATOR requires USAGE on return TYPE BEGIN TRANSACTION; @@ -48593,7 +48613,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_operator.o +CREATE OPERATOR #*# ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 ROLLBACK; -- invalid: non-lowercase quoted identifiers CREATE OPERATOR === @@ -48616,7 +48636,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_operator.o +CREATE OPERATOR === + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_type.out --label=/mnt/data1/postgres/src/test/regress/results/create_type.out /mnt/data1/postgres/src/test/regress/expected/create_type.out /mnt/data1/postgres/src/test/regress/results/create_type.out --- /mnt/data1/postgres/src/test/regress/expected/create_type.out +++ /mnt/data1/postgres/src/test/regress/results/create_type.out @@ -48638,7 +48658,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_type.out - -DETAIL: Creating a shell type definition. +ERROR: unimplemented: C is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/102201/dev ++See: https://go.crdb.dev/issue-v/102201/v24.3 CREATE FUNCTION widget_out(widget) RETURNS cstring AS :'regresslib' @@ -48646,7 +48666,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_type.out - -NOTICE: argument type widget is only a shell +ERROR: unimplemented: C is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/102201/dev ++See: https://go.crdb.dev/issue-v/102201/v24.3 CREATE FUNCTION int44in(cstring) RETURNS city_budget AS :'regresslib' @@ -48655,7 +48675,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_type.out - -DETAIL: Creating a shell type definition. +ERROR: unimplemented: C is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/102201/dev ++See: https://go.crdb.dev/issue-v/102201/v24.3 CREATE FUNCTION int44out(city_budget) RETURNS cstring AS :'regresslib' @@ -48663,7 +48683,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_type.out - -NOTICE: argument type city_budget is only a shell +ERROR: unimplemented: C is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/102201/dev ++See: https://go.crdb.dev/issue-v/102201/v24.3 CREATE TYPE widget ( internallength = 24, input = widget_in, @@ -48677,7 +48697,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_type.out - + internallength = 24, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27793/dev ++See: https://go.crdb.dev/issue-v/27793/v24.3 CREATE TYPE city_budget ( internallength = 16, input = int44in, @@ -48691,7 +48711,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_type.out - + internallength = 16, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27793/dev ++See: https://go.crdb.dev/issue-v/27793/v24.3 -- Test creation and destruction of shell types CREATE TYPE shell; +ERROR: at or near "EOF": syntax error: unimplemented: this syntax @@ -48699,7 +48719,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_type.out - +CREATE TYPE shell + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27793/dev ++See: https://go.crdb.dev/issue-v/27793/v24.3 CREATE TYPE shell; -- fail, type already present -ERROR: type "shell" already exists +ERROR: at or near "EOF": syntax error: unimplemented: this syntax @@ -48707,7 +48727,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_type.out - +CREATE TYPE shell + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27793/dev ++See: https://go.crdb.dev/issue-v/27793/v24.3 DROP TYPE shell; +ERROR: type "shell" does not exist DROP TYPE shell; -- fail, type not exist @@ -48719,7 +48739,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_type.out - +CREATE TYPE myshell + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27793/dev ++See: https://go.crdb.dev/issue-v/27793/v24.3 -- -- Test type-related default values (broken in releases before PG 7.2) -- @@ -48732,14 +48752,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_type.out - +CREATE TYPE int42 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27793/dev ++See: https://go.crdb.dev/issue-v/27793/v24.3 CREATE TYPE text_w_default; +ERROR: at or near "EOF": syntax error: unimplemented: this syntax +DETAIL: source SQL: +CREATE TYPE text_w_default + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27793/dev ++See: https://go.crdb.dev/issue-v/27793/v24.3 -- Make dummy I/O routines using the existing internal support for int4, text CREATE FUNCTION int42_in(cstring) RETURNS int42 @@ -48778,7 +48798,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_type.out - + internallength = 4, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27793/dev ++See: https://go.crdb.dev/issue-v/27793/v24.3 CREATE TYPE text_w_default ( internallength = variable, input = text_w_default_in, @@ -48792,7 +48812,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_type.out - + internallength = variable, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27793/dev ++See: https://go.crdb.dev/issue-v/27793/v24.3 CREATE TABLE default_test (f1 text_w_default, f2 int42); +ERROR: type "text_w_default" does not exist INSERT INTO default_test DEFAULT VALUES; @@ -48811,7 +48831,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_type.out - +CREATE TYPE bogus_type + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27793/dev ++See: https://go.crdb.dev/issue-v/27793/v24.3 -- invalid: non-lowercase quoted identifiers CREATE TYPE bogus_type ( "Internallength" = 4, @@ -48844,7 +48864,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_type.out - + "Internallength" = 4, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27793/dev ++See: https://go.crdb.dev/issue-v/27793/v24.3 -- invalid: input/output function incompatibility CREATE TYPE bogus_type (INPUT = array_in, OUTPUT = array_out, @@ -48856,7 +48876,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_type.out - +CREATE TYPE bogus_type (INPUT = array_in, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27793/dev ++See: https://go.crdb.dev/issue-v/27793/v24.3 DROP TYPE bogus_type; +ERROR: type "bogus_type" does not exist -- It no longer is possible to issue CREATE TYPE without making a shell first @@ -48871,7 +48891,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_type.out - +CREATE TYPE bogus_type (INPUT = array_in, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27793/dev ++See: https://go.crdb.dev/issue-v/27793/v24.3 -- Test stand-alone composite type CREATE TYPE default_test_row AS (f1 text_w_default, f2 int42); +ERROR: type "text_w_default" does not exist @@ -48908,12 +48928,12 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_type.out - +CREATE TYPE text_w_default + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27793/dev ++See: https://go.crdb.dev/issue-v/27793/v24.3 DROP TYPE default_test_row CASCADE; -NOTICE: drop cascades to function get_default_test() +ERROR: unimplemented: DROP TYPE CASCADE is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/51480/dev ++See: https://go.crdb.dev/issue-v/51480/v24.3 DROP TABLE default_test; +ERROR: relation "default_test" does not exist -- Check dependencies are established when creating a new type @@ -48923,7 +48943,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_type.out - +CREATE TYPE base_type + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27793/dev ++See: https://go.crdb.dev/issue-v/27793/v24.3 CREATE FUNCTION base_fn_in(cstring) RETURNS base_type AS 'boolin' LANGUAGE internal IMMUTABLE STRICT; -NOTICE: return type base_type is only a shell @@ -48938,7 +48958,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_type.out - +CREATE TYPE base_type(INPUT = base_fn_in, OUTPUT = base_fn_out) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27793/dev ++See: https://go.crdb.dev/issue-v/27793/v24.3 DROP FUNCTION base_fn_in(cstring); -- error -ERROR: cannot drop function base_fn_in(cstring) because other objects depend on it -DETAIL: type base_type depends on function base_fn_in(cstring) @@ -48963,7 +48983,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_type.out - -drop cascades to function base_fn_out(base_type) +ERROR: unimplemented: DROP TYPE CASCADE is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/51480/dev ++See: https://go.crdb.dev/issue-v/51480/v24.3 -- Check usage of typmod with a user-defined type -- (we have borrowed numeric's typmod functions) CREATE TEMP TABLE mytab (foo widget(42,13,7)); -- should fail @@ -49046,7 +49066,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_type.out - +CREATE FUNCTION pt_in_widget(point, widget) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 CREATE OPERATOR <% ( leftarg = point, rightarg = widget, @@ -49059,7 +49079,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_type.out - +CREATE OPERATOR <% ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 SELECT point '(1,2)' <% widget '(0,0,3)' AS t, point '(1,2)' <% widget '(0,0,1)' AS f; - t | f @@ -49084,7 +49104,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_type.out - + location box, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 INSERT INTO city VALUES ('Podunk', '(1,2),(3,4)', '100,127,1000'), ('Gotham', '(1000,34),(1100,334)', '123456,127,-1000,6789'); @@ -49107,7 +49127,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_type.out - +CREATE TYPE myvarchar + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27793/dev ++See: https://go.crdb.dev/issue-v/27793/v24.3 CREATE FUNCTION myvarcharin(cstring, oid, integer) RETURNS myvarchar LANGUAGE internal IMMUTABLE PARALLEL SAFE STRICT AS 'varcharin'; -NOTICE: return type myvarchar is only a shell @@ -49204,7 +49224,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_type.out - + input = myvarcharin, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27793/dev ++See: https://go.crdb.dev/issue-v/27793/v24.3 -- want to check updating of a domain over the target type, too CREATE DOMAIN myvarchardom AS myvarchar; +ERROR: at or near "as": syntax error: unimplemented: this syntax @@ -49212,7 +49232,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_type.out - +CREATE DOMAIN myvarchardom AS myvarchar + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 ALTER TYPE myvarchar SET (storage = plain); -- not allowed -ERROR: cannot change type's storage to PLAIN +ERROR: at or near "(": syntax error @@ -49302,7 +49322,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_type.out - -drop cascades to type myvarchardom +ERROR: unimplemented: DROP TYPE CASCADE is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/51480/dev ++See: https://go.crdb.dev/issue-v/51480/v24.3 diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_procedure.out --label=/mnt/data1/postgres/src/test/regress/results/create_procedure.out /mnt/data1/postgres/src/test/regress/expected/create_procedure.out /mnt/data1/postgres/src/test/regress/results/create_procedure.out --- /mnt/data1/postgres/src/test/regress/expected/create_procedure.out +++ /mnt/data1/postgres/src/test/regress/results/create_procedure.out @@ -49731,7 +49751,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_procedure. +CREATE PROCEDURE ptest11(a OUT int, VARIADIC b int[]) LANGUAGE SQL + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/88947/dev ++See: https://go.crdb.dev/issue-v/88947/v24.3 CALL ptest11(null, 11, 12, 13); - a ----- @@ -49872,7 +49892,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_procedure. +CREATE PROCEDURE ptestx(a VARIADIC int[], b OUT int) LANGUAGE SQL + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/88947/dev ++See: https://go.crdb.dev/issue-v/88947/v24.3 CREATE PROCEDURE ptestx(a int DEFAULT 42, b OUT int) LANGUAGE SQL AS $$ SELECT a $$; ERROR: procedure OUT parameters cannot appear after one with a default value @@ -50210,7 +50230,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_misc.out - +) INHERITS (a_star) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 CREATE TABLE c_star ( c name ) INHERITS (a_star); @@ -50221,7 +50241,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_misc.out - +) INHERITS (a_star) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 CREATE TABLE d_star ( d float8 ) INHERITS (b_star, c_star); @@ -50234,7 +50254,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_misc.out - +) INHERITS (b_star, c_star) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 CREATE TABLE e_star ( e int2 ) INHERITS (c_star); @@ -50245,7 +50265,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_misc.out - +) INHERITS (c_star) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 CREATE TABLE f_star ( f polygon ) INHERITS (e_star); @@ -50256,7 +50276,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_misc.out - +) INHERITS (e_star) +^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 INSERT INTO a_star (class, a) VALUES ('a', 1); INSERT INTO a_star (class, a) VALUES ('a', 2); INSERT INTO a_star (class) VALUES ('a'); @@ -50348,7 +50368,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_misc.out - + VALUES ('f', 19, 'hi claire'::name, '-5'::int2, '(1,3),(2,4)'::polygon) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 INSERT INTO f_star (class, a, c, e) VALUES ('f', 20, 'hi mike'::name, '-6'::int2); +ERROR: relation "f_star" does not exist @@ -50360,7 +50380,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_misc.out - + VALUES ('f', 21, 'hi marcel'::name, '(11,44),(22,55),(33,66)'::polygon) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 INSERT INTO f_star (class, a, e, f) VALUES ('f', 22, '-7'::int2, '(111,555),(222,666),(333,777),(444,888)'::polygon); +ERROR: at or near ")": syntax error: unimplemented: this syntax @@ -50369,7 +50389,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_misc.out - + VALUES ('f', 22, '-7'::int2, '(111,555),(222,666),(333,777),(444,888)'::polygon) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 INSERT INTO f_star (class, c, e, f) VALUES ('f', 'hi keith'::name, '-8'::int2, '(1111,3333),(2222,4444)'::polygon); @@ -50380,7 +50400,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_misc.out - + '(1111,3333),(2222,4444)'::polygon) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 INSERT INTO f_star (class, a, c) VALUES ('f', 24, 'hi marc'::name); +ERROR: relation "f_star" does not exist @@ -50395,7 +50415,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_misc.out - + VALUES ('f', 26, '(11111,33333),(22222,44444)'::polygon) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 INSERT INTO f_star (class, c, e) VALUES ('f', 'hi allison'::name, '-10'::int2); +ERROR: relation "f_star" does not exist @@ -50409,7 +50429,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_misc.out - + '(111111,333333),(222222,444444)'::polygon) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 INSERT INTO f_star (class, e, f) VALUES ('f', '-11'::int2, '(1111111,3333333),(2222222,4444444)'::polygon); +ERROR: at or near ")": syntax error: unimplemented: this syntax @@ -50418,7 +50438,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_misc.out - + VALUES ('f', '-11'::int2, '(1111111,3333333),(2222222,4444444)'::polygon) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 INSERT INTO f_star (class, a) VALUES ('f', 27); +ERROR: relation "f_star" does not exist INSERT INTO f_star (class, c) VALUES ('f', 'hi carl'::name); @@ -50433,7 +50453,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_misc.out - + VALUES ('f', '(11111111,33333333),(22222222,44444444)'::polygon) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 INSERT INTO f_star (class) VALUES ('f'); +ERROR: relation "f_star" does not exist -- Analyze the X_star tables for better plan stability in later tests @@ -51031,7 +51051,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_table.out SAVEPOINT q; DROP TABLE remember_create_subid; ROLLBACK TO q; +ERROR: unimplemented: ROLLBACK TO SAVEPOINT not yet supported after DDL statements +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/10735/dev ++See: https://go.crdb.dev/issue-v/10735/v24.3 COMMIT; DROP TABLE remember_create_subid; +ERROR: relation "remember_create_subid" does not exist @@ -51042,7 +51062,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_table.out SAVEPOINT q; DROP TABLE remember_node_subid; ROLLBACK TO q; +ERROR: unimplemented: ROLLBACK TO SAVEPOINT not yet supported after DDL statements +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/10735/dev ++See: https://go.crdb.dev/issue-v/10735/v24.3 COMMIT; DROP TABLE remember_node_subid; -- @@ -51058,7 +51078,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_table.out +) INHERITS (some_table) PARTITION BY LIST (a) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 -- cannot use more than 1 column as partition key for list partitioned table CREATE TABLE partitioned ( a1 int, @@ -51088,7 +51108,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_table.out + EXCLUDE USING gist (a WITH &&) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46657/dev ++See: https://go.crdb.dev/issue-v/46657/v24.3 -- prevent using prohibited expressions in the key CREATE FUNCTION retset (a int) RETURNS SETOF int AS $$ SELECT 1; $$ LANGUAGE SQL IMMUTABLE; CREATE TABLE partitioned ( @@ -51256,7 +51276,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_table.out +) PARTITION BY LIST (a) +^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 CREATE TABLE partitioned ( a point ) PARTITION BY LIST (a point_ops); @@ -51268,7 +51288,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_table.out +) PARTITION BY LIST (a point_ops) +^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 CREATE TABLE partitioned ( a point ) PARTITION BY RANGE (a); @@ -51281,7 +51301,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_table.out +) PARTITION BY RANGE (a) +^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 CREATE TABLE partitioned ( a point ) PARTITION BY RANGE (a point_ops); @@ -51293,7 +51313,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_table.out +) PARTITION BY RANGE (a point_ops) +^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 -- cannot add NO INHERIT constraints to partitioned tables CREATE TABLE partitioned ( a int, @@ -51357,7 +51377,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_table.out +CREATE TABLE fail () INHERITS (partitioned2) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 -- Partition key in describe output \d partitioned - Partitioned table "public.partitioned" @@ -51532,7 +51552,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_table.out +create domain intdom1 as int + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 create table partitioned ( a intdom1, b text @@ -51557,7 +51577,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_table.out +drop domain intdom1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 drop domain intdom1 cascade; -NOTICE: drop cascades to table partitioned +ERROR: at or near "intdom1": syntax error: unimplemented: this syntax @@ -51565,7 +51585,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_table.out +drop domain intdom1 cascade + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 table partitioned; -- gone ERROR: relation "partitioned" does not exist -LINE 1: table partitioned; @@ -51577,7 +51597,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_table.out +create domain intdom1 as int + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 create table partitioned ( a intdom1, b text @@ -51602,7 +51622,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_table.out +drop domain intdom1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 drop domain intdom1 cascade; -NOTICE: drop cascades to table partitioned +ERROR: at or near "intdom1": syntax error: unimplemented: this syntax @@ -51610,7 +51630,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_table.out +drop domain intdom1 cascade + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 table partitioned; -- gone ERROR: relation "partitioned" does not exist -LINE 1: table partitioned; @@ -51834,7 +51854,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_table.out +) PARTITION BY LIST (a) +^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/41578/dev ++See: https://go.crdb.dev/issue-v/41578/v24.3 CREATE TABLE moneyp_10 PARTITION OF moneyp FOR VALUES IN (10); +ERROR: at or near "partition": syntax error +DETAIL: source SQL: @@ -52938,7 +52958,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_table.out -- user-defined operator class in partition key CREATE FUNCTION my_int4_sort(int4,int4) RETURNS int LANGUAGE sql AS $$ SELECT CASE WHEN $1 = $2 THEN 0 WHEN $1 > $2 THEN 1 ELSE -1 END; $$; -@@ -958,117 +1699,259 @@ +@@ -958,117 +1699,269 @@ OPERATOR 1 < (int4,int4), OPERATOR 2 <= (int4,int4), OPERATOR 3 = (int4,int4), OPERATOR 4 >= (int4,int4), OPERATOR 5 > (int4,int4), FUNCTION 1 my_int4_sort(int4,int4); @@ -52947,7 +52967,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_table.out +CREATE OPERATOR CLASS test_int4_ops FOR TYPE int4 USING btree AS + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 CREATE TABLE partkey_t (a int4) PARTITION BY RANGE (a test_int4_ops); +ERROR: at or near "test_int4_ops": syntax error +DETAIL: source SQL: @@ -53154,14 +53174,24 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_table.out execute 'create table tab_part_create_1 partition of tab_part_create for values in (1)'; return null; end $$; -+ERROR: unimplemented: trigger functions are not yet supported ++ERROR: unimplemented: attempted to use a PL/pgSQL statement that is not yet supported ++DETAIL: stmt_dyn_exec is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev ++ ++Please check the public issue tracker to check whether this problem is ++already tracked. If you cannot find it there, please report the error ++with details by creating a new issue. ++ ++If you would rather not post publicly, please contact us directly ++using the support form. ++ ++We appreciate your feedback. ++ create trigger trig_part_create before insert on tab_part_create for each statement execute procedure func_part_create(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 insert into tab_part_create values (1); -ERROR: cannot CREATE TABLE .. PARTITION OF "tab_part_create" because it is being used by active queries in this session -CONTEXT: SQL statement "create table tab_part_create_1 partition of tab_part_create for values in (1)" @@ -53239,7 +53269,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_table.out -- tests of column drop with partition tables and indexes using -- predicates and expressions. create table part_column_drop ( -@@ -1079,42 +1962,58 @@ +@@ -1079,42 +1972,58 @@ b int, useless_3 int ) partition by range (id); @@ -53337,7 +53367,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/index_including.o +CREATE TABLE tbl_include_reg (c1 int, c2 int, c3 int, c4 box) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 INSERT INTO tbl_include_reg SELECT x, 2*x, 3*x, box('4,4,4,4') FROM generate_series(1,10) AS x; +ERROR: relation "tbl_include_reg" does not exist CREATE INDEX tbl_include_reg_idx ON tbl_include_reg (c1, c2) INCLUDE (c3, c4); @@ -53381,7 +53411,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/index_including.o +CREATE TABLE tbl_include_unique1 (c1 int, c2 int, c3 int, c4 box) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 INSERT INTO tbl_include_unique1 SELECT x, 2*x, 3*x, box('4,4,4,4') FROM generate_series(1,10) AS x; +ERROR: relation "tbl_include_unique1" does not exist CREATE UNIQUE INDEX tbl_include_unique1_idx_unique ON tbl_include_unique1 using btree (c1, c2) INCLUDE (c3, c4); @@ -53411,7 +53441,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/index_including.o +CREATE TABLE tbl_include_unique2 (c1 int, c2 int, c3 int, c4 box) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 INSERT INTO tbl_include_unique2 SELECT 1, 2, 3*x, box('4,4,4,4') FROM generate_series(1,10) AS x; +ERROR: relation "tbl_include_unique2" does not exist CREATE UNIQUE INDEX tbl_include_unique2_idx_unique ON tbl_include_unique2 using btree (c1, c2) INCLUDE (c3, c4); @@ -53429,7 +53459,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/index_including.o +CREATE TABLE tbl_include_pk (c1 int, c2 int, c3 int, c4 box) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 INSERT INTO tbl_include_pk SELECT 1, 2*x, 3*x, box('4,4,4,4') FROM generate_series(1,10) AS x; +ERROR: relation "tbl_include_pk" does not exist ALTER TABLE tbl_include_pk add PRIMARY KEY (c1, c2) INCLUDE (c3, c4); @@ -53452,7 +53482,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/index_including.o +CREATE TABLE tbl_include_box (c1 int, c2 int, c3 int, c4 box) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 INSERT INTO tbl_include_box SELECT 1, 2*x, 3*x, box('4,4,4,4') FROM generate_series(1,10) AS x; +ERROR: relation "tbl_include_box" does not exist CREATE UNIQUE INDEX tbl_include_box_idx_unique ON tbl_include_box using btree (c1, c2) INCLUDE (c3, c4); @@ -53479,7 +53509,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/index_including.o +CREATE TABLE tbl_include_box_pk (c1 int, c2 int, c3 int, c4 box) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 INSERT INTO tbl_include_box_pk SELECT 1, 2, 3*x, box('4,4,4,4') FROM generate_series(1,10) AS x; +ERROR: relation "tbl_include_box_pk" does not exist ALTER TABLE tbl_include_box_pk add PRIMARY KEY (c1, c2) INCLUDE (c3, c4); @@ -53499,7 +53529,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/index_including.o +CREATE TABLE tbl (c1 int,c2 int, c3 int, c4 box, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 SELECT indexrelid::regclass, indnatts, indnkeyatts, indisunique, indisprimary, indkey, indclass FROM pg_index WHERE indrelid = 'tbl'::regclass::oid; - indexrelid | indnatts | indnkeyatts | indisunique | indisprimary | indkey | indclass -------------+----------+-------------+-------------+--------------+---------+----------- @@ -53528,7 +53558,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/index_including.o +CREATE TABLE tbl (c1 int,c2 int, c3 int, c4 box, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 SELECT indexrelid::regclass, indnatts, indnkeyatts, indisunique, indisprimary, indkey, indclass FROM pg_index WHERE indrelid = 'tbl'::regclass::oid; - indexrelid | indnatts | indnkeyatts | indisunique | indisprimary | indkey | indclass -------------+----------+-------------+-------------+--------------+---------+----------- @@ -53613,7 +53643,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/index_including.o +CREATE TABLE tbl (c1 int,c2 int, c3 int, c4 box, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 SELECT indexrelid::regclass, indnatts, indnkeyatts, indisunique, indisprimary, indkey, indclass FROM pg_index WHERE indrelid = 'tbl'::regclass::oid; - indexrelid | indnatts | indnkeyatts | indisunique | indisprimary | indkey | indclass ----------------------+----------+-------------+-------------+--------------+---------+----------- @@ -53642,7 +53672,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/index_including.o +CREATE TABLE tbl (c1 int,c2 int, c3 int, c4 box, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 SELECT indexrelid::regclass, indnatts, indnkeyatts, indisunique, indisprimary, indkey, indclass FROM pg_index WHERE indrelid = 'tbl'::regclass::oid; - indexrelid | indnatts | indnkeyatts | indisunique | indisprimary | indkey | indclass -------------+----------+-------------+-------------+--------------+---------+----------- @@ -53677,7 +53707,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/index_including.o +CREATE TABLE tbl (c1 int,c2 int, c3 int, c4 box, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 SELECT indexrelid::regclass, indnatts, indnkeyatts, indisunique, indisprimary, indkey, indclass FROM pg_index WHERE indrelid = 'tbl'::regclass::oid; - indexrelid | indnatts | indnkeyatts | indisunique | indisprimary | indkey | indclass --------------------+----------+-------------+-------------+--------------+--------+---------- @@ -53740,7 +53770,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/index_including.o +CREATE TABLE tbl (c1 int,c2 int, c3 int, c4 box) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 CREATE UNIQUE INDEX tbl_idx ON tbl using btree(c1, c2) INCLUDE(c3,c4); +ERROR: relation "tbl" does not exist SELECT indexdef FROM pg_indexes WHERE tablename = 'tbl' ORDER BY indexname; @@ -53772,7 +53802,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/index_including.o +CREATE TABLE tbl (c1 int,c2 int, c3 int, c4 box, UNIQUE(c1, c2) INCLUDE(c3,c4)) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 SELECT indexdef FROM pg_indexes WHERE tablename = 'tbl' ORDER BY indexname; - indexdef ---------------------------------------------------------------------------------------------- @@ -53841,7 +53871,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/index_including.o +CREATE TABLE tbl (c1 int,c2 int, c3 int, c4 box, UNIQUE(c1, c2) INCLUDE(c3,c4)) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 INSERT INTO tbl SELECT x, 2*x, 3*x, box('4,4,4,4') FROM generate_series(1,1000) AS x; +ERROR: relation "tbl" does not exist CREATE UNIQUE INDEX CONCURRENTLY on tbl (c1, c2) INCLUDE (c3, c4); @@ -53867,7 +53897,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/index_including.o +CREATE TABLE tbl (c1 int,c2 int, c3 int, c4 box, UNIQUE(c1, c2) INCLUDE(c3,c4)) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 SELECT indexdef FROM pg_indexes WHERE tablename = 'tbl' ORDER BY indexname; - indexdef ---------------------------------------------------------------------------------------------- @@ -53914,7 +53944,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/index_including.o +CREATE TABLE tbl (c1 int,c2 int, c3 box, c4 box) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 CREATE INDEX on tbl USING brin(c1, c2) INCLUDE (c3, c4); -ERROR: access method "brin" does not support included columns +ERROR: at or near "brin": syntax error: unimplemented: this syntax @@ -53989,7 +54019,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/index_including.o +CREATE TABLE tbl (c1 int, c2 int, c3 int, c4 box) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 INSERT INTO tbl SELECT x, 2*x, 3*x, box('4,4,4,4') FROM generate_series(1,10) AS x; +ERROR: relation "tbl" does not exist CREATE UNIQUE INDEX tbl_idx_unique ON tbl using btree(c1, c2) INCLUDE (c3,c4); @@ -54018,7 +54048,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/index_including.o +CREATE TABLE tbl (c1 int,c2 int, c3 int, c4 box, UNIQUE(c1, c2) INCLUDE(c3,c4)) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 INSERT INTO tbl SELECT x, 2*x, 3*x, box('4,4,4,4') FROM generate_series(1,10) AS x; +ERROR: relation "tbl" does not exist ALTER TABLE tbl ALTER c1 TYPE bigint; @@ -54059,7 +54089,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/index_including_g +CREATE TABLE tbl_gist (c1 int, c2 int, c3 int, c4 box) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 -- size is chosen to exceed page size and trigger actual truncation INSERT INTO tbl_gist SELECT x, 2*x, 3*x, box(point(x,x+1),point(2*x,2*x+1)) FROM generate_series(1,8000) AS x; +ERROR: at or near "(": syntax error @@ -54140,7 +54170,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/index_including_g +CREATE TABLE tbl_gist (c1 int, c2 int, c3 int, c4 box) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 -- size is chosen to exceed page size and trigger actual truncation CREATE INDEX tbl_gist_idx ON tbl_gist using gist (c4) INCLUDE (c1,c2,c3); +ERROR: relation "tbl_gist" does not exist @@ -54220,7 +54250,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/index_including_g +CREATE TABLE tbl_gist (c1 int, c2 int, c3 int, c4 box) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 INSERT INTO tbl_gist SELECT x, 2*x, 3*x, box(point(x,x+1),point(2*x,2*x+1)) FROM generate_series(1,10) AS x; +ERROR: at or near "(": syntax error +DETAIL: source SQL: @@ -54248,7 +54278,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/index_including_g +CREATE TABLE tbl_gist (c1 int, c2 int, c3 int, c4 box) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 INSERT INTO tbl_gist SELECT x, 2*x, 3*x, box(point(x,x+1),point(2*x,2*x+1)) FROM generate_series(1,10) AS x; +ERROR: at or near "(": syntax error +DETAIL: source SQL: @@ -54298,7 +54328,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/index_including_g +CREATE TABLE tbl_gist (c1 int, c2 int, c3 int, c4 box) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 INSERT INTO tbl_gist SELECT x, 2*x, 3*x, box(point(x,x+1),point(2*x,2*x+1)) FROM generate_series(1,10) AS x; +ERROR: at or near "(": syntax error +DETAIL: source SQL: @@ -54323,7 +54353,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/index_including_g +CREATE TABLE tbl_gist (c1 int, c2 int, c3 int, c4 box) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 INSERT INTO tbl_gist SELECT x, 2*x, 3*x, box(point(x,x+1),point(2*x,2*x+1)) FROM generate_series(1,10) AS x; +ERROR: at or near "(": syntax error +DETAIL: source SQL: @@ -54366,7 +54396,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/index_including_g +CREATE TABLE tbl_gist (c1 int, c2 int, c3 int, c4 box, EXCLUDE USING gist (c4 WITH &&) INCLUDE (c1, c2, c3)) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 INSERT INTO tbl_gist SELECT x, 2*x, 3*x, box(point(x,x+1),point(2*x,2*x+1)) FROM generate_series(1,10) AS x; -ERROR: conflicting key value violates exclusion constraint "tbl_gist_c4_c1_c2_c3_excl" -DETAIL: Key (c4)=((4,5),(2,3)) conflicts with existing key (c4)=((2,3),(1,2)). @@ -54435,7 +54465,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_view.out - +CREATE FUNCTION interpt_pp(path, path) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 CREATE TABLE real_city ( pop int4, cname text, @@ -54450,7 +54480,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_view.out - +) +^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 \set filename :abs_srcdir '/data/real_city.data' COPY real_city FROM :'filename'; +ERROR: at or near ":abs_srcdir/data/real_city.data": syntax error: unimplemented: this syntax @@ -54534,12 +54564,12 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_view.out - -ERROR: cannot drop constraint view_base_table_pkey on table view_base_table because other objects depend on it -DETAIL: view key_dependent_view depends on constraint view_base_table_pkey on table view_base_table -HINT: Use DROP ... CASCADE to drop the dependent objects too. -+ERROR: relation "view_base_table" (316): unimplemented: primary key dropped without subsequent addition of new primary key in same transaction ++ERROR: relation "view_base_table" (319): unimplemented: primary key dropped without subsequent addition of new primary key in same transaction +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/48026/dev ++See: https://go.crdb.dev/issue-v/48026/v24.3 CREATE VIEW key_dependent_view_no_cols AS SELECT FROM view_base_table GROUP BY key HAVING length(data) > 0; -+ERROR: relation "key_dependent_view_no_cols" (318): table must contain at least 1 column ++ERROR: relation "key_dependent_view_no_cols" (321): table must contain at least 1 column -- -- CREATE OR REPLACE VIEW -- @@ -56471,7 +56501,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_view.out - language plpgsql; +ERROR: unimplemented: set-returning PL/pgSQL functions are not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/105240/dev ++See: https://go.crdb.dev/issue-v/105240/v24.3 create view tt14v as select t.* from tt14f() t; +ERROR: unknown function: tt14f() +HINT: There is probably a typo in function name. Or the intention was to use a user-defined function in the view query, which is currently not supported. @@ -56555,7 +56585,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_view.out - -ERROR: cannot alter type of a column used by a view or rule -DETAIL: rule _RETURN on view tt14v depends on column "f4" +ERROR: ALTER COLUMN TYPE from string to int is only supported experimentally -+HINT: See: https://go.crdb.dev/issue-v/49329/dev ++HINT: See: https://go.crdb.dev/issue-v/49329/v24.3 +-- +you can enable alter column type general support by running `SET enable_experimental_alter_column_type_general = true` -- ... but some bug might let it happen, so check defenses @@ -56656,7 +56686,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_view.out - create type nestedcomposite as (x int8_tbl); +ERROR: unimplemented: composite types that reference user-defined types not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/91779/dev ++See: https://go.crdb.dev/issue-v/91779/v24.3 create view tt15v as select row(i)::nestedcomposite from int8_tbl i; +ERROR: type "nestedcomposite" does not exist select * from tt15v; @@ -57263,7 +57293,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_index_spgi + SELECT '(333.0,400.0)'::point FROM generate_series(1,1000) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 INSERT INTO quad_point_tbl VALUES (NULL), (NULL), (NULL); +ERROR: relation "quad_point_tbl" does not exist CREATE INDEX sp_quad_ind ON quad_point_tbl USING spgist (p); @@ -57387,7 +57417,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_index_spgi +SELECT count(*) FROM quad_point_tbl WHERE p <@ box '(200,200,1000,1000)' + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 SELECT count(*) FROM quad_point_tbl WHERE box '(200,200,1000,1000)' @> p; - count -------- @@ -57399,7 +57429,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_index_spgi +SELECT count(*) FROM quad_point_tbl WHERE box '(200,200,1000,1000)' @> p + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 SELECT count(*) FROM quad_point_tbl WHERE p << '(5000, 4000)'; - count -------- @@ -57458,7 +57488,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_index_spgi +FROM quad_point_tbl WHERE p <@ box '(200,200,1000,1000)' + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 CREATE TEMP TABLE quad_point_tbl_ord_seq3 AS SELECT row_number() OVER (ORDER BY p <-> '333,400') n, p <-> '333,400' dist, p FROM quad_point_tbl WHERE p IS NOT NULL; @@ -57692,7 +57722,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_index_spgi +SELECT count(*) FROM quad_point_tbl WHERE p <@ box '(200,200,1000,1000)' + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 EXPLAIN (COSTS OFF) SELECT count(*) FROM quad_point_tbl WHERE box '(200,200,1000,1000)' @> p; - QUERY PLAN @@ -57718,7 +57748,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_index_spgi +SELECT count(*) FROM quad_point_tbl WHERE box '(200,200,1000,1000)' @> p + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 EXPLAIN (COSTS OFF) SELECT count(*) FROM quad_point_tbl WHERE p << '(5000, 4000)'; - QUERY PLAN @@ -57886,7 +57916,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_index_spgi +FROM quad_point_tbl WHERE p <@ box '(200,200,1000,1000)' + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 SELECT * FROM quad_point_tbl_ord_seq2 seq FULL JOIN quad_point_tbl_ord_idx2 idx ON seq.n = idx.n WHERE seq.dist IS DISTINCT FROM idx.dist; @@ -57948,7 +57978,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_index_spgi +SELECT count(*) FROM kd_point_tbl WHERE p <@ box '(200,200,1000,1000)' + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 EXPLAIN (COSTS OFF) SELECT count(*) FROM kd_point_tbl WHERE box '(200,200,1000,1000)' @> p; - QUERY PLAN @@ -57974,7 +58004,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_index_spgi +SELECT count(*) FROM kd_point_tbl WHERE box '(200,200,1000,1000)' @> p + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 EXPLAIN (COSTS OFF) SELECT count(*) FROM kd_point_tbl WHERE p << '(5000, 4000)'; - QUERY PLAN @@ -58142,7 +58172,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_index_spgi +FROM kd_point_tbl WHERE p <@ box '(200,200,1000,1000)' + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 SELECT * FROM quad_point_tbl_ord_seq2 seq FULL JOIN kd_point_tbl_ord_idx2 idx ON seq.n = idx.n WHERE seq.dist IS DISTINCT FROM idx.dist; @@ -58699,7 +58729,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_index_spgi +SELECT count(*) FROM quad_point_tbl WHERE p <@ box '(200,200,1000,1000)' + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 EXPLAIN (COSTS OFF) SELECT count(*) FROM quad_point_tbl WHERE box '(200,200,1000,1000)' @> p; - QUERY PLAN @@ -58727,7 +58757,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_index_spgi +SELECT count(*) FROM quad_point_tbl WHERE box '(200,200,1000,1000)' @> p + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 EXPLAIN (COSTS OFF) SELECT count(*) FROM quad_point_tbl WHERE p << '(5000, 4000)'; - QUERY PLAN @@ -58879,7 +58909,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_index_spgi +SELECT count(*) FROM kd_point_tbl WHERE p <@ box '(200,200,1000,1000)' + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 EXPLAIN (COSTS OFF) SELECT count(*) FROM kd_point_tbl WHERE box '(200,200,1000,1000)' @> p; - QUERY PLAN @@ -58907,7 +58937,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_index_spgi +SELECT count(*) FROM kd_point_tbl WHERE box '(200,200,1000,1000)' @> p + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 EXPLAIN (COSTS OFF) SELECT count(*) FROM kd_point_tbl WHERE p << '(5000, 4000)'; - QUERY PLAN @@ -59503,7 +59533,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_index.out +) +^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 CREATE TABLE fast_emp4000 ( home_base box ); @@ -59514,7 +59544,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_index.out +) +^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 \set filename :abs_srcdir '/data/rect.data' COPY slow_emp4000 FROM :'filename'; +ERROR: at or near ":abs_srcdir/data/rect.data": syntax error: unimplemented: this syntax @@ -59613,7 +59643,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_index.out + ORDER BY (home_base[0])[0] + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 SELECT count(*) FROM fast_emp4000 WHERE home_base && '(1000,1000,0,0)'::box; - count -------- @@ -59625,7 +59655,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_index.out +SELECT count(*) FROM fast_emp4000 WHERE home_base && '(1000,1000,0,0)'::box + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 SELECT count(*) FROM fast_emp4000 WHERE home_base IS NULL; - count -------- @@ -59644,7 +59674,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_index.out +SELECT count(*) FROM gpolygon_tbl WHERE f1 && '(1000,1000,0,0)'::polygon + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 SELECT count(*) FROM gcircle_tbl WHERE f1 && '<(500,500),500>'::circle; - count -------- @@ -59656,7 +59686,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_index.out +SELECT count(*) FROM gcircle_tbl WHERE f1 && '<(500,500),500>'::circle + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 SELECT count(*) FROM point_tbl WHERE f1 <@ box '(0,0,100,100)'; - count -------- @@ -59668,7 +59698,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_index.out +SELECT count(*) FROM point_tbl WHERE f1 <@ box '(0,0,100,100)' + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 SELECT count(*) FROM point_tbl WHERE box '(0,0,100,100)' @> f1; - count -------- @@ -59680,7 +59710,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_index.out +SELECT count(*) FROM point_tbl WHERE box '(0,0,100,100)' @> f1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 SELECT count(*) FROM point_tbl WHERE f1 <@ polygon '(0,0),(0,100),(100,100),(50,50),(100,0),(0,0)'; - count -------- @@ -59702,7 +59732,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_index.out +SELECT count(*) FROM point_tbl WHERE f1 <@ circle '<(50,50),50>' + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 SELECT count(*) FROM point_tbl p WHERE p.f1 << '(0.0, 0.0)'; - count -------- @@ -59802,7 +59832,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_index.out +SELECT * FROM point_tbl WHERE f1 <@ '(-10,-10),(10,10)':: box ORDER BY f1 <-> '0,1' + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 SELECT * FROM gpolygon_tbl ORDER BY f1 <-> '(0,0)'::point LIMIT 10; - f1 -------------------------------------------------- @@ -59823,7 +59853,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_index.out +SELECT * FROM gpolygon_tbl ORDER BY f1 <-> '(0,0)'::point LIMIT 10 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 SELECT circle_center(f1), round(radius(f1)) as radius FROM gcircle_tbl ORDER BY f1 <-> '(200,300)'::point LIMIT 10; - circle_center | radius -----------------+-------- @@ -59844,7 +59874,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_index.out +SELECT circle_center(f1), round(radius(f1)) as radius FROM gcircle_tbl ORDER BY f1 <-> '(200,300)'::point LIMIT 10 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 -- Now check the results from plain indexscan SET enable_seqscan = OFF; +WARNING: setting session var "enable_seqscan" is a no-op @@ -59907,7 +59937,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_index.out + ORDER BY (home_base[0])[0] + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 EXPLAIN (COSTS OFF) SELECT count(*) FROM fast_emp4000 WHERE home_base && '(1000,1000,0,0)'::box; - QUERY PLAN @@ -59933,7 +59963,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_index.out +SELECT count(*) FROM fast_emp4000 WHERE home_base && '(1000,1000,0,0)'::box + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 EXPLAIN (COSTS OFF) SELECT count(*) FROM fast_emp4000 WHERE home_base IS NULL; - QUERY PLAN @@ -59980,7 +60010,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_index.out +SELECT count(*) FROM gpolygon_tbl WHERE f1 && '(1000,1000,0,0)'::polygon + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 EXPLAIN (COSTS OFF) SELECT count(*) FROM gcircle_tbl WHERE f1 && '<(500,500),500>'::circle; - QUERY PLAN @@ -60006,7 +60036,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_index.out +SELECT count(*) FROM gcircle_tbl WHERE f1 && '<(500,500),500>'::circle + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 EXPLAIN (COSTS OFF) SELECT count(*) FROM point_tbl WHERE f1 <@ box '(0,0,100,100)'; - QUERY PLAN @@ -60032,7 +60062,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_index.out +SELECT count(*) FROM point_tbl WHERE f1 <@ box '(0,0,100,100)' + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 EXPLAIN (COSTS OFF) SELECT count(*) FROM point_tbl WHERE box '(0,0,100,100)' @> f1; - QUERY PLAN @@ -60058,7 +60088,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_index.out +SELECT count(*) FROM point_tbl WHERE box '(0,0,100,100)' @> f1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 EXPLAIN (COSTS OFF) SELECT count(*) FROM point_tbl WHERE f1 <@ polygon '(0,0),(0,100),(100,100),(50,50),(100,0),(0,0)'; - QUERY PLAN @@ -60108,7 +60138,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_index.out +SELECT count(*) FROM point_tbl WHERE f1 <@ circle '<(50,50),50>' + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 EXPLAIN (COSTS OFF) SELECT count(*) FROM point_tbl p WHERE p.f1 << '(0.0, 0.0)'; - QUERY PLAN @@ -60332,7 +60362,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_index.out +SELECT * FROM point_tbl WHERE f1 <@ '(-10,-10),(10,10)':: box ORDER BY f1 <-> '0,1' + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 EXPLAIN (COSTS OFF) SELECT * FROM gpolygon_tbl ORDER BY f1 <-> '(0,0)'::point LIMIT 10; - QUERY PLAN @@ -60367,7 +60397,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_index.out +SELECT * FROM gpolygon_tbl ORDER BY f1 <-> '(0,0)'::point LIMIT 10 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 EXPLAIN (COSTS OFF) SELECT circle_center(f1), round(radius(f1)) as radius FROM gcircle_tbl ORDER BY f1 <-> '(200,300)'::point LIMIT 10; - QUERY PLAN @@ -60402,7 +60432,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_index.out +SELECT circle_center(f1), round(radius(f1)) as radius FROM gcircle_tbl ORDER BY f1 <-> '(200,300)'::point LIMIT 10 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 EXPLAIN (COSTS OFF) SELECT point(x,x), (SELECT f1 FROM gpolygon_tbl ORDER BY f1 <-> point(x,x) LIMIT 1) as c FROM generate_series(0,10,1) x; - QUERY PLAN @@ -60500,7 +60530,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_index.out +SELECT * FROM point_tbl WHERE f1 <@ '(-10,-10),(10,10)':: box ORDER BY f1 <-> '0,1' + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 RESET enable_seqscan; +WARNING: setting session var "enable_seqscan" is a no-op RESET enable_indexscan; @@ -61232,7 +61262,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_index.out WITH (FASTUPDATE=on, GIN_PENDING_LIST_LIMIT=128); +ERROR: unimplemented: storage parameter "fastupdate" +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/43299/dev ++See: https://go.crdb.dev/issue-v/43299/v24.3 \d+ gin_relopts_test - Index "public.gin_relopts_test" - Column | Type | Key? | Definition | Storage | Stats target @@ -61736,7 +61766,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_index.out + ON COMMIT DROP + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46556/dev ++See: https://go.crdb.dev/issue-v/46556/v24.3 INSERT INTO concur_temp VALUES (1, 'foo'), (2, 'bar'); +ERROR: current transaction is aborted, commands ignored until end of transaction block -- Fails when running in a transaction. @@ -61753,7 +61783,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_index.out + ON COMMIT DELETE ROWS + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46556/dev ++See: https://go.crdb.dev/issue-v/46556/v24.3 INSERT INTO concur_temp VALUES (1, 'foo'), (2, 'bar'); +ERROR: relation "concur_temp" does not exist CREATE INDEX CONCURRENTLY concur_temp_ind ON concur_temp(f1); @@ -62482,7 +62512,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_index.out +CREATE TABLE concur_reindex_tab3 (c1 int, c2 int4range, EXCLUDE USING gist (c2 WITH &&)) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46657/dev ++See: https://go.crdb.dev/issue-v/46657/v24.3 INSERT INTO concur_reindex_tab3 VALUES (3, '[1,2]'); +ERROR: relation "concur_reindex_tab3" does not exist REINDEX INDEX CONCURRENTLY concur_reindex_tab3_c2_excl; -- error @@ -62998,7 +63028,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_index.out + RETURNS TABLE (relname name, relkind "char", state text) AS + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/100226/dev ++See: https://go.crdb.dev/issue-v/100226/v24.3 -- Check that expected relfilenodes are changed, non-concurrent case. SELECT create_relfilenode_part('reindex_index_status', 'concur_reindex_part_index'); - create_relfilenode_part @@ -63443,7 +63473,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_index.out +ERROR: cannot alter type of column "c2" because it is referenced by partial index "concur_exprs_index_pred_2" +HINT: drop the partial index first, then alter type of the column +-- -+See: https://go.crdb.dev/issue-v/97372/dev ++See: https://go.crdb.dev/issue-v/97372/v24.3 SELECT pg_get_indexdef('concur_exprs_index_expr'::regclass); - pg_get_indexdef ---------------------------------------------------------------------------------------------------------------- @@ -63533,7 +63563,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_index.out + ON COMMIT DELETE ROWS + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46556/dev ++See: https://go.crdb.dev/issue-v/46556/v24.3 CREATE INDEX concur_temp_ind_2 ON concur_temp_tab_2(c2); +ERROR: relation "concur_temp_tab_2" does not exist REINDEX TABLE CONCURRENTLY concur_temp_tab_2; @@ -63601,10 +63631,10 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_index.out CREATE SCHEMA schema_to_reindex; SET search_path = 'schema_to_reindex'; CREATE TABLE table1(col1 SERIAL PRIMARY KEY); -+NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/dev/serial.html ++NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/v24.3/serial.html INSERT INTO table1 SELECT generate_series(1,400); CREATE TABLE table2(col1 SERIAL PRIMARY KEY, col2 TEXT NOT NULL); -+NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/dev/serial.html ++NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/v24.3/serial.html INSERT INTO table2 SELECT generate_series(1,400), 'abc'; CREATE INDEX ON table2(col2); CREATE MATERIALIZED VIEW matview AS SELECT col1 FROM table2; @@ -63728,7 +63758,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_cast.out - +CREATE TYPE casttesttype + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27793/dev ++See: https://go.crdb.dev/issue-v/27793/v24.3 CREATE FUNCTION casttesttype_in(cstring) RETURNS casttesttype AS 'textin' @@ -63753,7 +63783,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_cast.out - + internallength = variable, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27793/dev ++See: https://go.crdb.dev/issue-v/27793/v24.3 -- a dummy function to test with CREATE FUNCTION casttestfunc(casttesttype) RETURNS int4 LANGUAGE SQL AS $$ SELECT 1; $$; @@ -63973,7 +64003,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_aggregate. +CREATE AGGREGATE newavg ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- test comments COMMENT ON AGGREGATE newavg_wrong (int4) IS 'an agg comment'; -ERROR: aggregate newavg_wrong(integer) does not exist @@ -64001,7 +64031,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_aggregate. +CREATE AGGREGATE newsum ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- zero-argument aggregate CREATE AGGREGATE newcnt (*) ( sfunc = int8inc, stype = int8, @@ -64012,7 +64042,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_aggregate. +CREATE AGGREGATE newcnt (*) ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- old-style spelling of same (except without parallel-safe; that's too new) CREATE AGGREGATE oldcnt ( sfunc = int8inc, basetype = 'ANY', stype = int8, @@ -64023,7 +64053,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_aggregate. +CREATE AGGREGATE oldcnt ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- aggregate that only cares about null/nonnull input CREATE AGGREGATE newcnt ("any") ( sfunc = int8inc_any, stype = int8, @@ -64034,7 +64064,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_aggregate. +CREATE AGGREGATE newcnt ("any") ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 COMMENT ON AGGREGATE nosuchagg (*) IS 'should fail'; -ERROR: aggregate nosuchagg(*) does not exist +ERROR: at or near "aggregate": syntax error @@ -64063,7 +64093,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_aggregate. +create aggregate sum2(int8,int8) ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- multi-argument aggregates sensitive to distinct/order, strict/nonstrict create type aggtype as (a integer, b integer, c text); create function aggf_trans(aggtype[],integer,integer,text) returns aggtype[] @@ -64083,7 +64113,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_aggregate. +create aggregate aggfstr(integer,integer,text) ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 create aggregate aggfns(integer,integer,text) ( sfunc = aggfns_trans, stype = aggtype[], sspace = 10000, initcond = '{}' @@ -64093,7 +64123,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_aggregate. +create aggregate aggfns(integer,integer,text) ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- check error cases that would require run-time type coercion create function least_accum(int8, int8) returns int8 language sql as 'select least($1, $2)'; @@ -64106,7 +64136,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_aggregate. +create aggregate least_agg(int4) ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 drop function least_accum(int8, int8); create function least_accum(anycompatible, anycompatible) returns anycompatible language sql as @@ -64121,7 +64151,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_aggregate. +create aggregate least_agg(int4) ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 create aggregate least_agg(int8) ( stype = int8, sfunc = least_accum ); @@ -64130,7 +64160,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_aggregate. +create aggregate least_agg(int8) ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 drop function least_accum(anycompatible, anycompatible) cascade; -NOTICE: drop cascades to function least_agg(bigint) +ERROR: unimplemented: drop function cascade not supported @@ -64154,7 +64184,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_aggregate. +create function least_accum(anyelement, variadic anyarray) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/88947/dev ++See: https://go.crdb.dev/issue-v/88947/v24.3 create aggregate least_agg(variadic items anyarray) ( stype = anyelement, sfunc = least_accum ); @@ -64163,7 +64193,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_aggregate. +create aggregate least_agg(variadic items anyarray) ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 create function cleast_accum(anycompatible, variadic anycompatiblearray) returns anycompatible language sql as 'select least($1, min($2[i])) from generate_subscripts($2,1) g(i)'; @@ -64172,7 +64202,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_aggregate. +create function cleast_accum(anycompatible, variadic anycompatiblearray) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/88947/dev ++See: https://go.crdb.dev/issue-v/88947/v24.3 create aggregate cleast_agg(variadic items anycompatiblearray) ( stype = anycompatible, sfunc = cleast_accum ); @@ -64181,7 +64211,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_aggregate. +create aggregate cleast_agg(variadic items anycompatiblearray) ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- test ordered-set aggs using built-in support functions create aggregate my_percentile_disc(float8 ORDER BY anyelement) ( stype = internal, @@ -64194,7 +64224,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_aggregate. +create aggregate my_percentile_disc(float8 ORDER BY anyelement) ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 create aggregate my_rank(VARIADIC "any" ORDER BY VARIADIC "any") ( stype = internal, sfunc = ordered_set_transition_multi, @@ -64207,7 +64237,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_aggregate. +create aggregate my_rank(VARIADIC "any" ORDER BY VARIADIC "any") ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 alter aggregate my_percentile_disc(float8 ORDER BY anyelement) rename to test_percentile_disc; +ERROR: at or near "my_percentile_disc": syntax error: unimplemented: this syntax @@ -64215,7 +64245,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_aggregate. +alter aggregate my_percentile_disc(float8 ORDER BY anyelement) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 alter aggregate my_rank(VARIADIC "any" ORDER BY VARIADIC "any") rename to test_rank; +ERROR: at or near "my_rank": syntax error: unimplemented: this syntax @@ -64223,7 +64253,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_aggregate. +alter aggregate my_rank(VARIADIC "any" ORDER BY VARIADIC "any") + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 \da test_* - List of aggregate functions - Schema | Name | Result data type | Argument data types | Description @@ -64259,7 +64289,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_aggregate. +CREATE AGGREGATE sumdouble (float8) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- aggregate combine and serialization functions -- can't specify just one of serialfunc and deserialfunc CREATE AGGREGATE myavg (numeric) @@ -64273,7 +64303,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_aggregate. +CREATE AGGREGATE myavg (numeric) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- serialfunc must have correct parameters CREATE AGGREGATE myavg (numeric) ( @@ -64287,7 +64317,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_aggregate. +CREATE AGGREGATE myavg (numeric) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- deserialfunc must have correct parameters CREATE AGGREGATE myavg (numeric) ( @@ -64301,7 +64331,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_aggregate. +CREATE AGGREGATE myavg (numeric) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- ensure combine function parameters are checked CREATE AGGREGATE myavg (numeric) ( @@ -64315,7 +64345,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_aggregate. +CREATE AGGREGATE myavg (numeric) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- ensure create aggregate works. CREATE AGGREGATE myavg (numeric) ( @@ -64328,7 +64358,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_aggregate. +CREATE AGGREGATE myavg (numeric) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- Ensure all these functions made it into the catalog SELECT aggfnoid, aggtransfn, aggcombinefn, aggtranstype::regtype, aggserialfn, aggdeserialfn, aggfinalmodify @@ -64346,7 +64376,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_aggregate. +DROP AGGREGATE myavg (numeric) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- create or replace aggregate CREATE AGGREGATE myavg (numeric) ( @@ -64359,7 +64389,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_aggregate. +CREATE AGGREGATE myavg (numeric) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 CREATE OR REPLACE AGGREGATE myavg (numeric) ( stype = internal, @@ -64452,7 +64482,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_aggregate. +DROP AGGREGATE myavg (numeric) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- invalid: bad parallel-safety marking CREATE AGGREGATE mysum (int) ( @@ -64466,7 +64496,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_aggregate. +CREATE AGGREGATE mysum (int) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- invalid: nonstrict inverse with strict forward function CREATE FUNCTION float8mi_n(float8, float8) RETURNS float8 AS $$ SELECT $1 - $2; $$ @@ -64480,7 +64510,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_aggregate. +CREATE AGGREGATE invalidsumdouble (float8) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- invalid: non-matching result types CREATE FUNCTION float8mi_int(float8, float8) RETURNS int AS $$ SELECT CAST($1 - $2 AS INT); $$ @@ -64494,7 +64524,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_aggregate. +CREATE AGGREGATE wrongreturntype (float8) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- invalid: non-lowercase quoted identifiers CREATE AGGREGATE case_agg ( -- old syntax "Sfunc1" = int4pl, @@ -64513,7 +64543,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_aggregate. +CREATE AGGREGATE case_agg ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 CREATE AGGREGATE case_agg(float8) ( "Stype" = internal, @@ -64533,7 +64563,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_aggregate. +CREATE AGGREGATE case_agg(float8) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/hash_func.out --label=/mnt/data1/postgres/src/test/regress/results/hash_func.out /mnt/data1/postgres/src/test/regress/expected/hash_func.out /mnt/data1/postgres/src/test/regress/results/hash_func.out --- /mnt/data1/postgres/src/test/regress/expected/hash_func.out +++ /mnt/data1/postgres/src/test/regress/results/hash_func.out @@ -64678,7 +64708,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/hash_func.out --l +FROM (VALUES (NULL::macaddr), ('08:00:2b:01:02:04'), ('08:00:2b:01:02:04'), + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/45813/dev ++See: https://go.crdb.dev/issue-v/45813/v24.3 SELECT v as value, hashinet(v)::bit(32) as standard, hashinetextended(v, 0)::bit(32) as extended0, hashinetextended(v, 1)::bit(32) as extended1 @@ -64722,7 +64752,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/hash_func.out --l +FROM (VALUES (NULL::macaddr8), ('08:00:2b:01:02:04:36:49'), + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/45813/dev ++See: https://go.crdb.dev/issue-v/45813/v24.3 SELECT v as value, hash_array(v)::bit(32) as standard, hash_array_extended(v, 0)::bit(32) as extended0, hash_array_extended(v, 1)::bit(32) as extended1 @@ -64745,7 +64775,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/hash_func.out --l +FROM (VALUES ('{0}'::money[])) x(v) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/41578/dev ++See: https://go.crdb.dev/issue-v/41578/v24.3 SELECT v as value, hash_array_extended(v, 0)::bit(32) as extended0 FROM (VALUES ('{0}'::money[])) x(v); -ERROR: could not identify an extended hash function for type money @@ -64755,7 +64785,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/hash_func.out --l +FROM (VALUES ('{0}'::money[])) x(v) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/41578/dev ++See: https://go.crdb.dev/issue-v/41578/v24.3 SELECT v as value, hashbpchar(v)::bit(32) as standard, hashbpcharextended(v, 0)::bit(32) as extended0, hashbpcharextended(v, 1)::bit(32) as extended1 @@ -64908,7 +64938,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/hash_func.out --l +CREATE TYPE hash_test_t2 AS (a money, b text) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/41578/dev ++See: https://go.crdb.dev/issue-v/41578/v24.3 SELECT v as value, hash_record(v)::bit(32) as standard FROM (VALUES (row(1, 'aaa')::hash_test_t2)) x(v); -ERROR: could not identify a hash function for type money @@ -66378,7 +66408,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/drop_if_exists.ou +DROP DOMAIN test_domain_exists + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 DROP DOMAIN IF EXISTS test_domain_exists; -NOTICE: type "test_domain_exists" does not exist, skipping +ERROR: at or near "if": syntax error: unimplemented: this syntax @@ -66386,21 +66416,21 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/drop_if_exists.ou +DROP DOMAIN IF EXISTS test_domain_exists + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 CREATE domain test_domain_exists as int not null check (value > 0); +ERROR: at or near "as": syntax error: unimplemented: this syntax +DETAIL: source SQL: +CREATE domain test_domain_exists as int not null check (value > 0) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 DROP DOMAIN IF EXISTS test_domain_exists; +ERROR: at or near "if": syntax error: unimplemented: this syntax +DETAIL: source SQL: +DROP DOMAIN IF EXISTS test_domain_exists + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 DROP DOMAIN test_domain_exists; -ERROR: type "test_domain_exists" does not exist +ERROR: at or near "test_domain_exists": syntax error: unimplemented: this syntax @@ -66408,7 +66438,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/drop_if_exists.ou +DROP DOMAIN test_domain_exists + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 --- --- role/user/group --- @@ -66533,7 +66563,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/drop_if_exists.ou +DROP TEXT SEARCH PARSER test_tsparser_exists + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 DROP TEXT SEARCH PARSER IF EXISTS test_tsparser_exists; -NOTICE: text search parser "test_tsparser_exists" does not exist, skipping +ERROR: at or near "search": syntax error: unimplemented: this syntax @@ -66541,7 +66571,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/drop_if_exists.ou +DROP TEXT SEARCH PARSER IF EXISTS test_tsparser_exists + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 -- text search dictionary DROP TEXT SEARCH DICTIONARY test_tsdict_exists; -ERROR: text search dictionary "test_tsdict_exists" does not exist @@ -66550,7 +66580,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/drop_if_exists.ou +DROP TEXT SEARCH DICTIONARY test_tsdict_exists + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 DROP TEXT SEARCH DICTIONARY IF EXISTS test_tsdict_exists; -NOTICE: text search dictionary "test_tsdict_exists" does not exist, skipping +ERROR: at or near "search": syntax error: unimplemented: this syntax @@ -66558,7 +66588,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/drop_if_exists.ou +DROP TEXT SEARCH DICTIONARY IF EXISTS test_tsdict_exists + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 CREATE TEXT SEARCH DICTIONARY test_tsdict_exists ( Template=ispell, DictFile=ispell_sample, @@ -66569,14 +66599,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/drop_if_exists.ou +CREATE TEXT SEARCH DICTIONARY test_tsdict_exists ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 DROP TEXT SEARCH DICTIONARY test_tsdict_exists; +ERROR: at or near "search": syntax error: unimplemented: this syntax +DETAIL: source SQL: +DROP TEXT SEARCH DICTIONARY test_tsdict_exists + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 -- test search template DROP TEXT SEARCH TEMPLATE test_tstemplate_exists; -ERROR: text search template "test_tstemplate_exists" does not exist @@ -66585,7 +66615,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/drop_if_exists.ou +DROP TEXT SEARCH TEMPLATE test_tstemplate_exists + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 DROP TEXT SEARCH TEMPLATE IF EXISTS test_tstemplate_exists; -NOTICE: text search template "test_tstemplate_exists" does not exist, skipping +ERROR: at or near "search": syntax error: unimplemented: this syntax @@ -66593,7 +66623,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/drop_if_exists.ou +DROP TEXT SEARCH TEMPLATE IF EXISTS test_tstemplate_exists + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 -- text search configuration DROP TEXT SEARCH CONFIGURATION test_tsconfig_exists; -ERROR: text search configuration "test_tsconfig_exists" does not exist @@ -66602,7 +66632,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/drop_if_exists.ou +DROP TEXT SEARCH CONFIGURATION test_tsconfig_exists + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 DROP TEXT SEARCH CONFIGURATION IF EXISTS test_tsconfig_exists; -NOTICE: text search configuration "test_tsconfig_exists" does not exist, skipping +ERROR: at or near "search": syntax error: unimplemented: this syntax @@ -66610,21 +66640,21 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/drop_if_exists.ou +DROP TEXT SEARCH CONFIGURATION IF EXISTS test_tsconfig_exists + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 CREATE TEXT SEARCH CONFIGURATION test_tsconfig_exists (COPY=english); +ERROR: at or near "search": syntax error: unimplemented: this syntax +DETAIL: source SQL: +CREATE TEXT SEARCH CONFIGURATION test_tsconfig_exists (COPY=english) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 DROP TEXT SEARCH CONFIGURATION test_tsconfig_exists; +ERROR: at or near "search": syntax error: unimplemented: this syntax +DETAIL: source SQL: +DROP TEXT SEARCH CONFIGURATION test_tsconfig_exists + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 -- extension DROP EXTENSION test_extension_exists; -ERROR: extension "test_extension_exists" does not exist @@ -66633,7 +66663,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/drop_if_exists.ou +DROP EXTENSION test_extension_exists + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74777/dev ++See: https://go.crdb.dev/issue-v/74777/v24.3 DROP EXTENSION IF EXISTS test_extension_exists; -NOTICE: extension "test_extension_exists" does not exist, skipping +ERROR: at or near "EOF": syntax error: unimplemented: this syntax @@ -66641,7 +66671,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/drop_if_exists.ou +DROP EXTENSION IF EXISTS test_extension_exists + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74777/dev ++See: https://go.crdb.dev/issue-v/74777/v24.3 -- functions DROP FUNCTION test_function_exists(); -ERROR: function test_function_exists() does not exist @@ -66661,7 +66691,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/drop_if_exists.ou +DROP AGGREGATE test_aggregate_exists(*) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 DROP AGGREGATE IF EXISTS test_aggregate_exists(*); -NOTICE: aggregate test_aggregate_exists() does not exist, skipping +ERROR: at or near "if": syntax error: unimplemented: this syntax @@ -66669,7 +66699,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/drop_if_exists.ou +DROP AGGREGATE IF EXISTS test_aggregate_exists(*) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 DROP AGGREGATE test_aggregate_exists(int); -ERROR: aggregate test_aggregate_exists(integer) does not exist +ERROR: at or near "test_aggregate_exists": syntax error: unimplemented: this syntax @@ -66677,7 +66707,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/drop_if_exists.ou +DROP AGGREGATE test_aggregate_exists(int) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 DROP AGGREGATE IF EXISTS test_aggregate_exists(int); -NOTICE: aggregate test_aggregate_exists(pg_catalog.int4) does not exist, skipping +ERROR: at or near "if": syntax error: unimplemented: this syntax @@ -66685,7 +66715,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/drop_if_exists.ou +DROP AGGREGATE IF EXISTS test_aggregate_exists(int) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- operator DROP OPERATOR @#@ (int, int); -ERROR: operator does not exist: integer @#@ integer @@ -66728,7 +66758,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/drop_if_exists.ou +CREATE OPERATOR @#@ + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 DROP OPERATOR @#@ (int8, int8); +ERROR: at or near "@": syntax error: unimplemented: this syntax +DETAIL: source SQL: @@ -66753,7 +66783,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/drop_if_exists.ou +DROP LANGUAGE test_language_exists + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/17511/dev ++See: https://go.crdb.dev/issue-v/17511/v24.3 DROP LANGUAGE IF EXISTS test_language_exists; -NOTICE: language "test_language_exists" does not exist, skipping +ERROR: at or near "exists": syntax error: unimplemented: this syntax @@ -66761,7 +66791,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/drop_if_exists.ou +DROP LANGUAGE IF EXISTS test_language_exists + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/17511/dev ++See: https://go.crdb.dev/issue-v/17511/v24.3 -- cast DROP CAST (text AS text); -ERROR: cast from type text to type text does not exist @@ -66802,42 +66832,42 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/drop_if_exists.ou -ERROR: trigger "test_trigger_exists" for table "test_exists" does not exist +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 DROP TRIGGER IF EXISTS test_trigger_exists ON test_exists; -NOTICE: trigger "test_trigger_exists" for relation "test_exists" does not exist, skipping +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 DROP TRIGGER test_trigger_exists ON no_such_table; -ERROR: relation "no_such_table" does not exist +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 DROP TRIGGER IF EXISTS test_trigger_exists ON no_such_table; -NOTICE: relation "no_such_table" does not exist, skipping +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 DROP TRIGGER test_trigger_exists ON no_such_schema.no_such_table; -ERROR: schema "no_such_schema" does not exist +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 DROP TRIGGER IF EXISTS test_trigger_exists ON no_such_schema.no_such_table; -NOTICE: schema "no_such_schema" does not exist, skipping +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER test_trigger_exists BEFORE UPDATE ON test_exists FOR EACH ROW EXECUTE PROCEDURE suppress_redundant_updates_trigger(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 DROP TRIGGER test_trigger_exists ON test_exists; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- rule DROP RULE test_rule_exists ON test_exists; -ERROR: rule "test_rule_exists" for relation "test_exists" does not exist @@ -67231,7 +67261,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/drop_if_exists.ou +DROP AGGREGATE IF EXISTS no_such_schema.foo(int) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 DROP AGGREGATE IF EXISTS foo(no_such_type); -NOTICE: type "no_such_type" does not exist, skipping +ERROR: at or near "if": syntax error: unimplemented: this syntax @@ -67239,7 +67269,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/drop_if_exists.ou +DROP AGGREGATE IF EXISTS foo(no_such_type) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 DROP AGGREGATE IF EXISTS foo(no_such_schema.no_such_type); -NOTICE: schema "no_such_schema" does not exist, skipping +ERROR: at or near "if": syntax error: unimplemented: this syntax @@ -67247,7 +67277,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/drop_if_exists.ou +DROP AGGREGATE IF EXISTS foo(no_such_schema.no_such_type) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 DROP CAST IF EXISTS (INTEGER AS no_such_type2); -NOTICE: type "no_such_type2" does not exist, skipping +ERROR: at or near "if": syntax error: unimplemented: this syntax @@ -67357,7 +67387,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/drop_if_exists.ou +DROP DOMAIN IF EXISTS no_such_schema.foo + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 DROP FOREIGN TABLE IF EXISTS no_such_schema.foo; -NOTICE: schema "no_such_schema" does not exist, skipping +ERROR: at or near "if": syntax error: unimplemented: this syntax @@ -67517,7 +67547,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/drop_if_exists.ou +DROP TEXT SEARCH CONFIGURATION IF EXISTS no_such_schema.foo + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 DROP TEXT SEARCH DICTIONARY IF EXISTS no_such_schema.foo; -NOTICE: schema "no_such_schema" does not exist, skipping +ERROR: at or near "search": syntax error: unimplemented: this syntax @@ -67525,7 +67555,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/drop_if_exists.ou +DROP TEXT SEARCH DICTIONARY IF EXISTS no_such_schema.foo + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 DROP TEXT SEARCH PARSER IF EXISTS no_such_schema.foo; -NOTICE: schema "no_such_schema" does not exist, skipping +ERROR: at or near "search": syntax error: unimplemented: this syntax @@ -67533,7 +67563,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/drop_if_exists.ou +DROP TEXT SEARCH PARSER IF EXISTS no_such_schema.foo + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 DROP TEXT SEARCH TEMPLATE IF EXISTS no_such_schema.foo; -NOTICE: schema "no_such_schema" does not exist, skipping +ERROR: at or near "search": syntax error: unimplemented: this syntax @@ -67541,12 +67571,12 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/drop_if_exists.ou +DROP TEXT SEARCH TEMPLATE IF EXISTS no_such_schema.foo + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 DROP TRIGGER IF EXISTS foo ON no_such_schema.bar; -NOTICE: schema "no_such_schema" does not exist, skipping +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 DROP TYPE IF EXISTS no_such_schema.foo; -NOTICE: schema "no_such_schema" does not exist, skipping DROP VIEW IF EXISTS no_such_schema.foo; @@ -67780,7 +67810,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/typed_table.out - -drop cascades to table persons3 +ERROR: unimplemented: DROP TYPE CASCADE is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/51480/dev ++See: https://go.crdb.dev/issue-v/51480/v24.3 CREATE TABLE persons5 OF stuff; -- only CREATE TYPE AS types may be used -ERROR: type stuff is not a composite type +ERROR: at or near "of": syntax error @@ -67918,7 +67948,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/errors.out --labe +select null from pg_database group by grouping sets (()) for update + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 -- -- DELETE -- missing relation name (this had better not wildcard!) @@ -68017,7 +68047,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/errors.out --labe +create aggregate newavg2 (sfunc = int4pl, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- left out basetype create aggregate newcnt1 (sfunc = int4inc, stype = int4, @@ -68028,7 +68058,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/errors.out --labe +create aggregate newcnt1 (sfunc = int4inc, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- -- DROP INDEX -- missing index name @@ -68066,7 +68096,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/errors.out --labe +drop aggregate + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- missing aggregate type drop aggregate newcnt1; -ERROR: syntax error at or near ";" @@ -68077,7 +68107,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/errors.out --labe +drop aggregate newcnt1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- bad aggregate name drop aggregate 314159 (int); -ERROR: syntax error at or near "314159" @@ -68088,7 +68118,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/errors.out --labe +drop aggregate 314159 (int) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- bad aggregate type drop aggregate newcnt (nonesuch); -ERROR: type "nonesuch" does not exist @@ -68097,7 +68127,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/errors.out --labe +drop aggregate newcnt (nonesuch) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- no such aggregate drop aggregate nonesuch (int4); -ERROR: aggregate nonesuch(integer) does not exist @@ -68106,7 +68136,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/errors.out --labe +drop aggregate nonesuch (int4) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- no such aggregate for type drop aggregate newcnt (float4); -ERROR: aggregate newcnt(real) does not exist @@ -68115,7 +68145,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/errors.out --labe +drop aggregate newcnt (float4) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- -- DROP FUNCTION -- missing function name @@ -68831,7 +68861,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_function_s +SET SESSION AUTHORIZATION regress_unpriv_user + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SET search_path TO temp_func_test, public; ALTER FUNCTION functest_E_1(int) NOT LEAKPROOF; ALTER FUNCTION functest_E_2(int) LEAKPROOF; @@ -69730,7 +69760,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_am.out --l +CREATE OPERATOR CLASS box_ops DEFAULT + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 -- Create gist2 index on fast_emp4000 CREATE INDEX grect2ind2 ON fast_emp4000 USING gist2 (home_base); +ERROR: at or near "gist2": syntax error: unrecognized access method: gist2 @@ -69781,7 +69811,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_am.out --l + ORDER BY (home_base[0])[0] + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 EXPLAIN (COSTS OFF) SELECT count(*) FROM fast_emp4000 WHERE home_base && '(1000,1000,0,0)'::box; - QUERY PLAN @@ -69807,7 +69837,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_am.out --l +SELECT count(*) FROM fast_emp4000 WHERE home_base && '(1000,1000,0,0)'::box + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 EXPLAIN (COSTS OFF) SELECT count(*) FROM fast_emp4000 WHERE home_base IS NULL; - QUERY PLAN @@ -70629,7 +70659,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/constraints.out - + INHERITS (INSERT_TBL) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 INSERT INTO INSERT_CHILD(x,z,cy) VALUES (7,-7,11); +ERROR: relation "insert_child" does not exist INSERT INTO INSERT_CHILD(x,z,cy) VALUES (7,-7,6); @@ -70670,7 +70700,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/constraints.out - +CREATE TABLE ATACC2 (TEST2 INT) INHERITS (ATACC1) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 -- check constraint is not there on child INSERT INTO ATACC2 (TEST) VALUES (-3); +ERROR: relation "atacc2" does not exist @@ -70696,7 +70726,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/constraints.out - +CREATE TABLE ATACC2 () INHERITS (ATACC1) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 -- check constraint is there on child INSERT INTO ATACC2 (TEST) VALUES (-3); -ERROR: new row for relation "atacc2" violates check constraint "atacc1_test_check" @@ -71029,7 +71059,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/constraints.out - + UNIQUE (i) DEFERRABLE INITIALLY DEFERRED + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31632/dev ++See: https://go.crdb.dev/issue-v/31632/v24.3 BEGIN; INSERT INTO unique_tbl VALUES (1, 'five'); +ERROR: relation "unique_tbl" does not exist @@ -71299,7 +71329,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/constraints.out - + c1 CIRCLE, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 -- these should succeed because they don't match the index predicate INSERT INTO circles VALUES('<(0,0), 5>', '<(0,0), 5>'); +ERROR: relation "circles" does not exist @@ -71338,7 +71368,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/constraints.out - +ALTER TABLE circles ADD EXCLUDE USING gist + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46657/dev ++See: https://go.crdb.dev/issue-v/46657/v24.3 -- try reindexing an existing constraint REINDEX INDEX circles_c1_c2_excl; +ERROR: at or near "circles_c1_c2_excl": syntax error: unimplemented: this syntax @@ -71428,7 +71458,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/constraints.out - +SET SESSION AUTHORIZATION regress_constraint_comments + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE TABLE constraint_comments_tbl (a int CONSTRAINT the_constraint CHECK (a > 0)); CREATE DOMAIN constraint_comments_dom AS int CONSTRAINT the_constraint CHECK (value > 0); +ERROR: at or near "as": syntax error: unimplemented: this syntax @@ -71436,7 +71466,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/constraints.out - +CREATE DOMAIN constraint_comments_dom AS int CONSTRAINT the_constraint CHECK (value > 0) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 COMMENT ON CONSTRAINT the_constraint ON constraint_comments_tbl IS 'yes, the comment'; COMMENT ON CONSTRAINT the_constraint ON DOMAIN constraint_comments_dom IS 'yes, another comment'; +ERROR: at or near "constraint_comments_dom": syntax error @@ -71482,7 +71512,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/constraints.out - +SET SESSION AUTHORIZATION regress_constraint_comments_noaccess + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 COMMENT ON CONSTRAINT the_constraint ON constraint_comments_tbl IS 'no, the comment'; -ERROR: must be owner of relation constraint_comments_tbl COMMENT ON CONSTRAINT the_constraint ON DOMAIN constraint_comments_dom IS 'no, another comment'; @@ -71504,7 +71534,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/constraints.out - +DROP DOMAIN constraint_comments_dom + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 DROP ROLE regress_constraint_comments; DROP ROLE regress_constraint_comments_noaccess; diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.out --label=/mnt/data1/postgres/src/test/regress/results/updatable_views.out /mnt/data1/postgres/src/test/regress/expected/updatable_views.out /mnt/data1/postgres/src/test/regress/results/updatable_views.out @@ -72361,22 +72391,17 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o -- view on top of view with triggers CREATE TABLE base_tbl (a int PRIMARY KEY, b text DEFAULT 'Unspecified'); INSERT INTO base_tbl SELECT i, 'Row ' || i FROM generate_series(-2, 2) g(i); -@@ -791,8 +793,14 @@ - END; - $$ +@@ -793,6 +795,9 @@ LANGUAGE plpgsql; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev CREATE TRIGGER rw_view1_ins_trig INSTEAD OF INSERT ON rw_view1 FOR EACH ROW EXECUTE PROCEDURE rw_view1_trig_fn(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 SELECT table_name, is_insertable_into FROM information_schema.tables WHERE table_name LIKE 'rw_view%' -@@ -811,7 +819,7 @@ +@@ -811,7 +816,7 @@ ORDER BY table_name; table_name | is_updatable | is_insertable_into | is_trigger_updatable | is_trigger_deletable | is_trigger_insertable_into ------------+--------------+--------------------+----------------------+----------------------+---------------------------- @@ -72385,17 +72410,17 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o rw_view2 | NO | NO | NO | NO | NO (2 rows) -@@ -829,6 +837,9 @@ +@@ -829,6 +834,9 @@ CREATE TRIGGER rw_view1_upd_trig INSTEAD OF UPDATE ON rw_view1 FOR EACH ROW EXECUTE PROCEDURE rw_view1_trig_fn(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 SELECT table_name, is_insertable_into FROM information_schema.tables WHERE table_name LIKE 'rw_view%' -@@ -847,7 +858,7 @@ +@@ -847,7 +855,7 @@ ORDER BY table_name; table_name | is_updatable | is_insertable_into | is_trigger_updatable | is_trigger_deletable | is_trigger_insertable_into ------------+--------------+--------------------+----------------------+----------------------+---------------------------- @@ -72404,17 +72429,17 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o rw_view2 | NO | NO | NO | NO | NO (2 rows) -@@ -865,6 +876,9 @@ +@@ -865,6 +873,9 @@ CREATE TRIGGER rw_view1_del_trig INSTEAD OF DELETE ON rw_view1 FOR EACH ROW EXECUTE PROCEDURE rw_view1_trig_fn(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 SELECT table_name, is_insertable_into FROM information_schema.tables WHERE table_name LIKE 'rw_view%' -@@ -883,7 +897,7 @@ +@@ -883,7 +894,7 @@ ORDER BY table_name; table_name | is_updatable | is_insertable_into | is_trigger_updatable | is_trigger_deletable | is_trigger_insertable_into ------------+--------------+--------------------+----------------------+----------------------+---------------------------- @@ -72423,7 +72448,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o rw_view2 | NO | NO | NO | NO | NO (2 rows) -@@ -900,31 +914,18 @@ +@@ -900,31 +911,18 @@ (4 rows) INSERT INTO rw_view2 VALUES (3, 'Row 3') RETURNING *; @@ -72461,7 +72486,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o SELECT * FROM rw_view2; a | b ---+------- -@@ -933,199 +934,286 @@ +@@ -933,33 +931,18 @@ (2 rows) EXPLAIN (costs off) UPDATE rw_view2 SET a=3 WHERE a=2; @@ -72503,10 +72528,9 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o -DETAIL: drop cascades to view rw_view1 -drop cascades to view rw_view2 DROP FUNCTION rw_view1_trig_fn(); -+ERROR: unknown function: rw_view1_trig_fn() -- update using whole row from view CREATE TABLE base_tbl (a int PRIMARY KEY, b text DEFAULT 'Unspecified'); - INSERT INTO base_tbl SELECT i, 'Row ' || i FROM generate_series(-2, 2) g(i); +@@ -967,165 +950,266 @@ CREATE VIEW rw_view1 AS SELECT b AS bb, a AS aa FROM base_tbl; CREATE FUNCTION rw_view1_aa(x rw_view1) RETURNS int AS $$ SELECT x.aa $$ LANGUAGE sql; @@ -72561,7 +72585,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o +SET SESSION AUTHORIZATION regress_view_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE TABLE base_tbl(a int, b text, c float); INSERT INTO base_tbl VALUES (1, 'Row 1', 1.0); CREATE VIEW rw_view1 AS SELECT b AS bb, c AS cc, a AS aa FROM base_tbl; @@ -72593,7 +72617,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o +SET SESSION AUTHORIZATION regress_view_user2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE VIEW rw_view2 AS SELECT b AS bb, c AS cc, a AS aa FROM base_tbl; SELECT * FROM base_tbl; -- ok a | b | c @@ -72660,7 +72684,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o +SET SESSION AUTHORIZATION regress_view_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 GRANT INSERT, DELETE ON base_tbl TO regress_view_user2; RESET SESSION AUTHORIZATION; +ERROR: at or near "authorization": syntax error @@ -72674,7 +72698,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o +SET SESSION AUTHORIZATION regress_view_user2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 INSERT INTO base_tbl VALUES (3, 'Row 3', 3.0); -- ok INSERT INTO rw_view1 VALUES ('Row 4', 4.0, 4); -- not allowed -ERROR: permission denied for view rw_view1 @@ -72707,7 +72731,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o +SET SESSION AUTHORIZATION regress_view_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 REVOKE INSERT, DELETE ON base_tbl FROM regress_view_user2; GRANT INSERT, DELETE ON rw_view1 TO regress_view_user2; RESET SESSION AUTHORIZATION; @@ -72722,7 +72746,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o +SET SESSION AUTHORIZATION regress_view_user2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 INSERT INTO base_tbl VALUES (5, 'Row 5', 5.0); -- not allowed -ERROR: permission denied for table base_tbl INSERT INTO rw_view1 VALUES ('Row 5', 5.0, 5); -- ok @@ -72764,7 +72788,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o +SET SESSION AUTHORIZATION regress_view_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE VIEW rw_view1 AS SELECT * FROM base_tbl; SELECT * FROM rw_view1; -- not allowed -ERROR: permission denied for table base_tbl @@ -72789,7 +72813,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o +SET SESSION AUTHORIZATION regress_view_user2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE VIEW rw_view2 AS SELECT * FROM rw_view1; SELECT * FROM rw_view2; -- not allowed -ERROR: permission denied for view rw_view1 @@ -72821,11 +72845,11 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o +SET SESSION AUTHORIZATION regress_view_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM rw_view1; a | b | c ---+-------+--- -@@ -1133,19 +1221,49 @@ +@@ -1133,19 +1217,49 @@ (1 row) SELECT * FROM rw_view1 FOR UPDATE; -- not allowed @@ -72844,7 +72868,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o +SET SESSION AUTHORIZATION regress_view_user2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM rw_view2; -- not allowed -ERROR: permission denied for view rw_view1 + a | b | c @@ -72868,7 +72892,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o +SET SESSION AUTHORIZATION regress_view_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 GRANT SELECT ON rw_view1 TO regress_view_user2; SET SESSION AUTHORIZATION regress_view_user2; +ERROR: at or near "regress_view_user2": syntax error: unimplemented: this syntax @@ -72876,11 +72900,11 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o +SET SESSION AUTHORIZATION regress_view_user2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM rw_view2; a | b | c ---+-------+--- -@@ -1153,12 +1271,27 @@ +@@ -1153,12 +1267,27 @@ (1 row) SELECT * FROM rw_view2 FOR UPDATE; -- not allowed @@ -72906,11 +72930,11 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o +SET SESSION AUTHORIZATION regress_view_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM rw_view1; a | b | c ---+-------+--- -@@ -1172,167 +1305,341 @@ +@@ -1172,167 +1301,341 @@ (1 row) UPDATE rw_view1 SET b = 'foo' WHERE a = 1; @@ -72921,7 +72945,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o +SET SESSION AUTHORIZATION regress_view_user2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM rw_view2; - a | b | c ----+-----+--- @@ -72947,7 +72971,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o +SET SESSION AUTHORIZATION regress_view_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 GRANT UPDATE ON rw_view1 TO regress_view_user2; SET SESSION AUTHORIZATION regress_view_user2; +ERROR: at or near "regress_view_user2": syntax error: unimplemented: this syntax @@ -72955,7 +72979,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o +SET SESSION AUTHORIZATION regress_view_user2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM rw_view2; - a | b | c ----+-----+--- @@ -72989,7 +73013,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o +SET SESSION AUTHORIZATION regress_view_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM rw_view1; - a | b | c ----+-----+--- @@ -73015,7 +73039,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o +SET SESSION AUTHORIZATION regress_view_user2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM rw_view2; - a | b | c ----+-----+--- @@ -73052,7 +73076,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o +SET SESSION AUTHORIZATION regress_view_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE TABLE base_tbl(a int, b text, c float); INSERT INTO base_tbl VALUES (1, 'Row 1', 1.0); CREATE VIEW rw_view1 AS SELECT b AS bb, c AS cc, a AS aa FROM base_tbl; @@ -73077,7 +73101,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o +SET SESSION AUTHORIZATION regress_view_user2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM base_tbl; -- not allowed -ERROR: permission denied for table base_tbl + a | b | c @@ -73113,7 +73137,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o +SET SESSION AUTHORIZATION regress_view_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 GRANT SELECT ON base_tbl TO regress_view_user2; GRANT UPDATE (a,c) ON base_tbl TO regress_view_user2; +ERROR: at or near "(": syntax error @@ -73127,7 +73151,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o +SET SESSION AUTHORIZATION regress_view_user2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM base_tbl; -- ok - a | b | c ----+-------+--- @@ -73165,7 +73189,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o +SET SESSION AUTHORIZATION regress_view_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 GRANT INSERT, DELETE ON base_tbl TO regress_view_user2; SET SESSION AUTHORIZATION regress_view_user2; +ERROR: at or near "regress_view_user2": syntax error: unimplemented: this syntax @@ -73173,7 +73197,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o +SET SESSION AUTHORIZATION regress_view_user2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 INSERT INTO base_tbl VALUES (3, 'Row 3', 3.0); -- ok INSERT INTO rw_view1 VALUES ('Row 4', 4.0, 4); -- not allowed -ERROR: permission denied for view rw_view1 @@ -73188,7 +73212,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o +SET SESSION AUTHORIZATION regress_view_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 REVOKE INSERT, DELETE ON base_tbl FROM regress_view_user2; GRANT INSERT, DELETE ON rw_view1 TO regress_view_user2; SET SESSION AUTHORIZATION regress_view_user2; @@ -73197,7 +73221,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o +SET SESSION AUTHORIZATION regress_view_user2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 INSERT INTO rw_view1 VALUES ('Row 4', 4.0, 4); -- not allowed -ERROR: permission denied for table base_tbl +ERROR: "rw_view1" is not a table @@ -73210,7 +73234,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o +SET SESSION AUTHORIZATION regress_view_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 GRANT INSERT, DELETE ON base_tbl TO regress_view_user2; SET SESSION AUTHORIZATION regress_view_user2; +ERROR: at or near "regress_view_user2": syntax error: unimplemented: this syntax @@ -73218,7 +73242,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o +SET SESSION AUTHORIZATION regress_view_user2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 INSERT INTO rw_view1 VALUES ('Row 4', 4.0, 4); -- ok +ERROR: "rw_view1" is not a table DELETE FROM rw_view1 WHERE aa=2; -- ok @@ -73248,7 +73272,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o +SET SESSION AUTHORIZATION regress_view_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE VIEW rw_view1 AS SELECT b AS bb, c AS cc, a AS aa FROM base_tbl; ALTER VIEW rw_view1 SET (security_invoker = true); +ERROR: at or near "(": syntax error @@ -73272,7 +73296,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o +SET SESSION AUTHORIZATION regress_view_user2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE VIEW rw_view2 AS SELECT cc AS ccc, aa AS aaa, bb AS bbb FROM rw_view1; GRANT SELECT, UPDATE ON rw_view2 TO regress_view_user3; SELECT * FROM rw_view2; -- not allowed @@ -73304,11 +73328,11 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o +SET SESSION AUTHORIZATION regress_view_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM rw_view1; -- ok bb | cc | aa -------+----+---- -@@ -1340,35 +1647,103 @@ +@@ -1340,35 +1643,103 @@ (1 row) UPDATE rw_view1 SET aa=aa, bb=bb; -- ok @@ -73322,7 +73346,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o +SET SESSION AUTHORIZATION regress_view_user2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM rw_view2; -- not allowed -ERROR: permission denied for view rw_view1 + ccc | aaa | bbb @@ -73339,7 +73363,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o +SET SESSION AUTHORIZATION regress_view_user3 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM rw_view2; -- not allowed -ERROR: permission denied for view rw_view1 + ccc | aaa | bbb @@ -73356,7 +73380,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o +SET SESSION AUTHORIZATION regress_view_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 GRANT SELECT ON rw_view1 TO regress_view_user2; GRANT UPDATE (bb, cc) ON rw_view1 TO regress_view_user2; +ERROR: at or near "(": syntax error @@ -73370,7 +73394,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o +SET SESSION AUTHORIZATION regress_view_user2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM rw_view2; -- not allowed -ERROR: permission denied for table base_tbl + ccc | aaa | bbb @@ -73387,7 +73411,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o +SET SESSION AUTHORIZATION regress_view_user3 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM rw_view2; -- not allowed -ERROR: permission denied for table base_tbl + ccc | aaa | bbb @@ -73417,11 +73441,11 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o +SET SESSION AUTHORIZATION regress_view_user2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM rw_view2; -- ok ccc | aaa | bbb -----+-----+------- -@@ -1376,23 +1751,50 @@ +@@ -1376,23 +1747,50 @@ (1 row) UPDATE rw_view2 SET aaa=aaa; -- not allowed @@ -73438,7 +73462,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o +SET SESSION AUTHORIZATION regress_view_user3 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM rw_view2; -- not allowed -ERROR: permission denied for table base_tbl + ccc | aaa | bbb @@ -73474,11 +73498,11 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o +SET SESSION AUTHORIZATION regress_view_user3 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM rw_view2; -- ok ccc | aaa | bbb -----+-----+------- -@@ -1400,18 +1802,40 @@ +@@ -1400,18 +1798,40 @@ (1 row) UPDATE rw_view2 SET aaa=aaa; -- not allowed @@ -73502,7 +73526,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o +SET SESSION AUTHORIZATION regress_view_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM rw_view1; -- not allowed -ERROR: permission denied for table base_tbl + bb | cc | aa @@ -73519,11 +73543,11 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o +SET SESSION AUTHORIZATION regress_view_user2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM rw_view2; -- ok ccc | aaa | bbb -----+-----+------- -@@ -1419,11 +1843,18 @@ +@@ -1419,11 +1839,18 @@ (1 row) UPDATE rw_view2 SET aaa=aaa; -- not allowed @@ -73540,11 +73564,11 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o +SET SESSION AUTHORIZATION regress_view_user3 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM rw_view2; -- ok ccc | aaa | bbb -----+-----+------- -@@ -1431,22 +1862,44 @@ +@@ -1431,22 +1858,44 @@ (1 row) UPDATE rw_view2 SET aaa=aaa; -- not allowed @@ -73568,7 +73592,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o +SET SESSION AUTHORIZATION regress_view_user2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM rw_view2; -- not allowed -ERROR: permission denied for table base_tbl + ccc | aaa | bbb @@ -73591,11 +73615,11 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o +SET SESSION AUTHORIZATION regress_view_user3 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM rw_view2; -- ok ccc | aaa | bbb -----+-----+------- -@@ -1454,39 +1907,47 @@ +@@ -1454,39 +1903,47 @@ (1 row) UPDATE rw_view2 SET aaa=aaa; -- not allowed @@ -73658,18 +73682,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o -- Table having triggers CREATE TABLE base_tbl (a int PRIMARY KEY, b text DEFAULT 'Unspecified'); INSERT INTO base_tbl VALUES (1, 'Row 1'); -@@ -1503,21 +1964,31 @@ - END; - $$ +@@ -1505,18 +1962,24 @@ LANGUAGE plpgsql; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev CREATE TRIGGER rw_view1_ins_trig AFTER INSERT ON base_tbl FOR EACH ROW EXECUTE PROCEDURE rw_view1_trig_fn(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE VIEW rw_view1 AS SELECT a AS aa, b AS bb FROM base_tbl; INSERT INTO rw_view1 VALUES (3, 'Row 3'); +ERROR: "rw_view1" is not a table @@ -73687,13 +73706,11 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o DROP TRIGGER rw_view1_ins_trig on base_tbl; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 DROP FUNCTION rw_view1_trig_fn(); -+ERROR: unknown function: rw_view1_trig_fn() DROP TABLE base_tbl; -- view with ORDER BY - CREATE TABLE base_tbl (a int, b int); -@@ -1526,148 +1997,112 @@ +@@ -1526,148 +1989,112 @@ SELECT * FROM rw_view1; a | b ---+---- @@ -73888,7 +73905,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o SELECT table_name, is_insertable_into FROM information_schema.tables -@@ -1675,10 +2110,7 @@ +@@ -1675,10 +2102,7 @@ ORDER BY table_name; table_name | is_insertable_into ------------+-------------------- @@ -73900,7 +73917,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o SELECT table_name, is_updatable, is_insertable_into FROM information_schema.views -@@ -1686,10 +2118,7 @@ +@@ -1686,10 +2110,7 @@ ORDER BY table_name; table_name | is_updatable | is_insertable_into ------------+--------------+-------------------- @@ -73912,7 +73929,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o SELECT table_name, column_name, is_updatable FROM information_schema.columns -@@ -1697,75 +2126,56 @@ +@@ -1697,75 +2118,56 @@ ORDER BY table_name, ordinal_position; table_name | column_name | is_updatable ------------+-------------+-------------- @@ -74001,14 +74018,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o +CREATE TABLE base_tbl_child (CHECK (a > 0)) INHERITS (base_tbl_parent) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 INSERT INTO base_tbl_parent SELECT * FROM generate_series(-8, -1); INSERT INTO base_tbl_child SELECT * FROM generate_series(1, 8); +ERROR: relation "base_tbl_child" does not exist CREATE VIEW rw_view1 AS SELECT * FROM base_tbl_parent; CREATE VIEW rw_view2 AS SELECT * FROM ONLY base_tbl_parent; SELECT * FROM rw_view1 ORDER BY a; -@@ -1779,15 +2189,7 @@ +@@ -1779,15 +2181,7 @@ -3 -2 -1 @@ -74025,7 +74042,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o SELECT * FROM ONLY rw_view1 ORDER BY a; a -@@ -1800,15 +2202,7 @@ +@@ -1800,15 +2194,7 @@ -3 -2 -1 @@ -74042,7 +74059,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o SELECT * FROM rw_view2 ORDER BY a; a -@@ -1824,316 +2218,315 @@ +@@ -1824,316 +2210,315 @@ (8 rows) INSERT INTO rw_view1 VALUES (-100), (100); @@ -74107,7 +74124,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o +CREATE TABLE other_tbl_child () INHERITS (other_tbl_parent) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 INSERT INTO other_tbl_parent VALUES (7),(200); INSERT INTO other_tbl_child VALUES (8),(100); +ERROR: relation "other_tbl_child" does not exist @@ -74550,7 +74567,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o -- WITH CHECK OPTION with subquery CREATE TABLE base_tbl (a int); CREATE TABLE ref_tbl (a int PRIMARY KEY); -@@ -2142,40 +2535,34 @@ +@@ -2142,40 +2527,34 @@ SELECT * FROM base_tbl b WHERE EXISTS(SELECT 1 FROM ref_tbl r WHERE r.a = b.a) WITH CHECK OPTION; @@ -74612,18 +74629,24 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o -- WITH CHECK OPTION with BEFORE trigger on base table CREATE TABLE base_tbl (a int, b int); CREATE FUNCTION base_tbl_trig_fn() -@@ -2187,22 +2574,32 @@ +@@ -2187,22 +2566,38 @@ END; $$ LANGUAGE plpgsql; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev ++ERROR: at or near ";": at or near "new": syntax error ++DETAIL: source SQL: ++NEW.b := 10 ++^ ++-- ++source SQL: ++BEGIN ++ NEW.b := 10; ++ ^ CREATE TRIGGER base_tbl_trig BEFORE INSERT OR UPDATE ON base_tbl FOR EACH ROW EXECUTE PROCEDURE base_tbl_trig_fn(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE VIEW rw_view1 AS SELECT * FROM base_tbl WHERE a < b WITH CHECK OPTION; +ERROR: at or near "with": syntax error +DETAIL: source SQL: @@ -74650,19 +74673,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o CREATE FUNCTION rw_view1_trig_fn() RETURNS trigger AS $$ -@@ -2220,78 +2617,140 @@ - END; - $$ - LANGUAGE plpgsql; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev +@@ -2223,75 +2618,133 @@ CREATE TRIGGER rw_view1_trig INSTEAD OF INSERT OR UPDATE OR DELETE ON rw_view1 FOR EACH ROW EXECUTE PROCEDURE rw_view1_trig_fn(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE VIEW rw_view2 AS SELECT * FROM rw_view1 WHERE a > 0 WITH LOCAL CHECK OPTION; +ERROR: at or near "with": syntax error @@ -74718,7 +74735,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o DROP TRIGGER rw_view1_trig ON rw_view1; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE RULE rw_view1_ins_rule AS ON INSERT TO rw_view1 DO INSTEAD INSERT INTO base_tbl VALUES (NEW.a, 10); +ERROR: at or near "rw_view1_ins_rule": syntax error: unimplemented: this syntax @@ -74785,7 +74802,6 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o -DETAIL: drop cascades to view rw_view1 -drop cascades to view rw_view2 DROP FUNCTION rw_view1_trig_fn(); -+ERROR: unknown function: rw_view1_trig_fn() CREATE TABLE base_tbl (a int); CREATE VIEW rw_view1 AS SELECT a,10 AS b FROM base_tbl; +ERROR: relation "root.public.rw_view1" already exists @@ -74822,7 +74838,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o -- security barrier view CREATE TABLE base_tbl (person text, visibility text); INSERT INTO base_tbl VALUES ('Tom', 'public'), -@@ -2299,6 +2758,7 @@ +@@ -2299,6 +2752,7 @@ ('Harry', 'public'); CREATE VIEW rw_view1 AS SELECT person FROM base_tbl WHERE visibility = 'public'; @@ -74830,7 +74846,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o CREATE FUNCTION snoop(anyelement) RETURNS boolean AS $$ -@@ -2308,6 +2768,29 @@ +@@ -2308,6 +2762,29 @@ END; $$ LANGUAGE plpgsql COST 0.000001; @@ -74860,7 +74876,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o CREATE OR REPLACE FUNCTION leakproof(anyelement) RETURNS boolean AS $$ -@@ -2317,30 +2800,23 @@ +@@ -2317,30 +2794,23 @@ $$ LANGUAGE plpgsql STRICT IMMUTABLE LEAKPROOF; SELECT * FROM rw_view1 WHERE snoop(person); @@ -74900,7 +74916,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o (1 row) SELECT table_name, is_updatable, is_insertable_into -@@ -2348,7 +2824,7 @@ +@@ -2348,7 +2818,7 @@ WHERE table_name = 'rw_view1'; table_name | is_updatable | is_insertable_into ------------+--------------+-------------------- @@ -74909,7 +74925,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o (1 row) SELECT table_name, column_name, is_updatable -@@ -2357,58 +2833,47 @@ +@@ -2357,58 +2827,47 @@ ORDER BY ordinal_position; table_name | column_name | is_updatable ------------+-------------+-------------- @@ -74993,7 +75009,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o (1 row) SELECT table_name, is_updatable, is_insertable_into -@@ -2416,7 +2881,7 @@ +@@ -2416,7 +2875,7 @@ WHERE table_name = 'rw_view2'; table_name | is_updatable | is_insertable_into ------------+--------------+-------------------- @@ -75002,7 +75018,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o (1 row) SELECT table_name, column_name, is_updatable -@@ -2425,61 +2890,34 @@ +@@ -2425,61 +2884,34 @@ ORDER BY ordinal_position; table_name | column_name | is_updatable ------------+-------------+-------------- @@ -75083,7 +75099,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o -- security barrier view on top of table with rules CREATE TABLE base_tbl(id int PRIMARY KEY, data text, deleted boolean); INSERT INTO base_tbl VALUES (1, 'Row 1', false), (2, 'Row 2', true); -@@ -2487,61 +2925,83 @@ +@@ -2487,61 +2919,83 @@ WHERE EXISTS (SELECT 1 FROM base_tbl t WHERE t.id = new.id) DO INSTEAD UPDATE base_tbl SET data = new.data, deleted = false WHERE id = new.id; @@ -75207,7 +75223,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o -- security barrier view based on inheritance set CREATE TABLE t1 (a int, b float, c text); CREATE INDEX t1_a_idx ON t1(a); -@@ -2549,83 +3009,71 @@ +@@ -2549,83 +3003,71 @@ SELECT i,i,'t1' FROM generate_series(1,10) g(i); ANALYZE t1; CREATE TABLE t11 (d text) INHERITS (t1); @@ -75216,7 +75232,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o +CREATE TABLE t11 (d text) INHERITS (t1) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 CREATE INDEX t11_a_idx ON t11(a); +ERROR: relation "t11" does not exist INSERT INTO t11 @@ -75230,7 +75246,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o +CREATE TABLE t12 (e int[]) INHERITS (t1) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 CREATE INDEX t12_a_idx ON t12(a); +ERROR: relation "t12" does not exist INSERT INTO t12 @@ -75247,7 +75263,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o +CREATE TABLE t111 () INHERITS (t11, t12) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 CREATE INDEX t111_a_idx ON t111(a); +ERROR: relation "t111" does not exist INSERT INTO t111 @@ -75332,7 +75348,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o SELECT * FROM t1 WHERE a=100; -- Nothing should have been changed to 100 a | b | c ---+---+--- -@@ -2633,114 +3081,47 @@ +@@ -2633,114 +3075,47 @@ EXPLAIN (VERBOSE, COSTS OFF) UPDATE v1 SET a=a+1 WHERE snoop(a) AND leakproof(a) AND a = 8; @@ -75472,7 +75488,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o SELECT * FROM vx1; a -@@ -2756,13 +3137,13 @@ +@@ -2756,13 +3131,13 @@ CREATE TABLE tx3 (c integer); CREATE VIEW vx1 AS SELECT a FROM tx1 WHERE EXISTS(SELECT 1 FROM tx2 JOIN tx3 ON b=c); INSERT INTO vx1 VALUES (1); @@ -75489,7 +75505,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o SELECT * FROM vx1; a -@@ -2781,13 +3162,13 @@ +@@ -2781,13 +3156,13 @@ ALTER TABLE tx3 DROP COLUMN d; CREATE VIEW vx1 AS SELECT a FROM tx1 WHERE EXISTS(SELECT 1 FROM tx2 JOIN tx3 ON b=c); INSERT INTO vx1 VALUES (1); @@ -75506,7 +75522,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o SELECT * FROM vx1; a -@@ -2803,38 +3184,47 @@ +@@ -2803,38 +3178,47 @@ -- security barrier views, per bug #13988 -- CREATE TABLE t1 (a int, b text, c int); @@ -75567,7 +75583,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o DROP TABLE t2; DROP TABLE t1; -- -@@ -2843,31 +3233,45 @@ +@@ -2843,31 +3227,45 @@ CREATE TABLE t1 (a int); CREATE VIEW v1 WITH (security_barrier = true) AS SELECT * FROM t1; @@ -75631,7 +75647,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o DROP TABLE t1; -- -- Test CREATE OR REPLACE VIEW turning a non-updatable view into an -@@ -2876,85 +3280,120 @@ +@@ -2876,85 +3274,120 @@ CREATE TABLE t1 (a int, b text); CREATE VIEW v1 AS SELECT null::int AS a; CREATE OR REPLACE VIEW v1 AS SELECT * FROM t1 WHERE a > 0 WITH CHECK OPTION; @@ -75784,7 +75800,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o create table sometable (a int, b text); insert into sometable values (1, 'a'), (2, 'b'); create view wcowrtest_v2 as -@@ -2962,13 +3401,22 @@ +@@ -2962,13 +3395,22 @@ from wcowrtest r where r in (select s from sometable s where r.a = s.a) with check option; @@ -75809,7 +75825,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o -- Check INSERT .. ON CONFLICT DO UPDATE works correctly when the view's -- columns are named and ordered differently than the underlying table's. create table uv_iocu_tab (a text unique, b float); -@@ -2977,6 +3425,7 @@ +@@ -2977,6 +3419,7 @@ select b, b+1 as c, a, '2.0'::text as two from uv_iocu_tab; insert into uv_iocu_view (a, b) values ('xyxyxy', 1) on conflict (a) do update set b = uv_iocu_view.b; @@ -75817,7 +75833,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o select * from uv_iocu_tab; a | b --------+--- -@@ -2985,40 +3434,39 @@ +@@ -2985,40 +3428,39 @@ insert into uv_iocu_view (a, b) values ('xyxyxy', 1) on conflict (a) do update set b = excluded.b; @@ -75869,7 +75885,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o (1 row) drop view uv_iocu_view; -@@ -3028,112 +3476,179 @@ +@@ -3028,112 +3470,179 @@ create view uv_iocu_view as select b as bb, a as aa, uv_iocu_tab::text as cc from uv_iocu_tab; insert into uv_iocu_view (aa,bb) values (1,'x'); @@ -75974,7 +75990,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o +set session authorization regress_view_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 create table base_tbl(a int unique, b text, c float); insert into base_tbl values (1,'xxx',1.0); create view rw_view1 as select b as bb, c as cc, a as aa from base_tbl; @@ -75998,7 +76014,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o +set session authorization regress_view_user2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 insert into rw_view1 values ('yyy',2.0,1) on conflict (aa) do update set bb = excluded.cc; -- Not allowed -ERROR: permission denied for view rw_view1 @@ -76038,7 +76054,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o +set session authorization regress_view_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 grant select (a,b) on base_tbl to regress_view_user2; +ERROR: at or near "(": syntax error +DETAIL: source SQL: @@ -76063,7 +76079,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o +set session authorization regress_view_user2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 create view rw_view2 as select b as bb, c as cc, a as aa from base_tbl; +ERROR: relation "root.public.rw_view2" already exists insert into rw_view2 (aa,bb) values (1,'xxx') @@ -76083,7 +76099,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o select * from base_tbl; a | b | c ---+-----+--- -@@ -3141,22 +3656,38 @@ +@@ -3141,22 +3650,38 @@ (1 row) set session authorization regress_view_user2; @@ -76092,7 +76108,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o +set session authorization regress_view_user2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 create view rw_view4 as select aa, bb, cc FROM rw_view1; +ERROR: column "aa" does not exist insert into rw_view4 (aa,bb) values (1,'yyy') @@ -76124,7 +76140,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o drop view rw_view3; drop view rw_view2; drop view rw_view1; -@@ -3169,36 +3700,43 @@ +@@ -3169,36 +3694,43 @@ c text default 'Table default', d text, e text); create view base_tab_def_view as select * from base_tab_def; alter view base_tab_def_view alter b set default 'View default'; @@ -76185,22 +76201,17 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o -- Adding an INSTEAD OF trigger should cause NULLs to be inserted instead of -- table defaults, where there are no view defaults. -@@ -3211,8 +3749,14 @@ - end; - $$ +@@ -3213,6 +3745,9 @@ language plpgsql; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev create trigger base_tab_def_view_instrig instead of insert on base_tab_def_view for each row execute function base_tab_def_view_instrig_func(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 truncate base_tab_def; insert into base_tab_def values (1); insert into base_tab_def values (2), (3); -@@ -3220,36 +3764,52 @@ +@@ -3220,36 +3755,51 @@ insert into base_tab_def values (5, default, default, default, default), (6, default, default, default, default); insert into base_tab_def_view values (11); @@ -76247,9 +76258,8 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o drop trigger base_tab_def_view_instrig on base_tab_def_view; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 drop function base_tab_def_view_instrig_func; -+ERROR: unknown function: base_tab_def_view_instrig_func() create rule base_tab_def_view_ins_rule as on insert to base_tab_def_view do instead insert into base_tab_def values (new.a, new.b, new.c, new.d, new.e); +ERROR: at or near "base_tab_def_view_ins_rule": syntax error: unimplemented: this syntax @@ -76270,7 +76280,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o truncate base_tab_def; insert into base_tab_def values (1); insert into base_tab_def values (2), (3); -@@ -3257,29 +3817,26 @@ +@@ -3257,29 +3807,26 @@ insert into base_tab_def values (5, default, default, default, default), (6, default, default, default, default); insert into base_tab_def_view values (11); @@ -76314,7 +76324,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o -- A DO ALSO rule should cause each row to be inserted twice. The first -- insert should behave the same as an auto-updatable view (using table -@@ -3287,8 +3844,38 @@ +@@ -3287,8 +3834,38 @@ -- behave the same as a rule-updatable view (inserting NULLs where there are -- no view defaults). drop rule base_tab_def_view_ins_rule on base_tab_def_view; @@ -76353,7 +76363,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o truncate base_tab_def; insert into base_tab_def values (1); insert into base_tab_def values (2), (3); -@@ -3296,56 +3883,71 @@ +@@ -3296,56 +3873,71 @@ insert into base_tab_def values (5, default, default, default, default), (6, default, default, default, default); insert into base_tab_def_view values (11); @@ -76459,7 +76469,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/updatable_views.o drop view base_tab_def_view; drop table base_tab_def; -@@ -3353,14 +3955,22 @@ +@@ -3353,14 +3945,22 @@ create table base_tab (a serial, b int[], c text, d text default 'Table default'); create view base_tab_view as select c, a, b from base_tab; alter view base_tab_view alter column c set default 'View default'; @@ -76506,35 +76516,35 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la LANGUAGE C; +ERROR: unimplemented: C is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/102201/dev ++See: https://go.crdb.dev/issue-v/102201/v24.3 CREATE FUNCTION check_primary_key () RETURNS trigger AS :'refintlib' LANGUAGE C; +ERROR: unimplemented: C is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/102201/dev ++See: https://go.crdb.dev/issue-v/102201/v24.3 CREATE FUNCTION check_foreign_key () RETURNS trigger AS :'refintlib' LANGUAGE C; +ERROR: unimplemented: C is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/102201/dev ++See: https://go.crdb.dev/issue-v/102201/v24.3 CREATE FUNCTION trigger_return_old () RETURNS trigger AS :'regresslib' LANGUAGE C; +ERROR: unimplemented: C is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/102201/dev ++See: https://go.crdb.dev/issue-v/102201/v24.3 CREATE FUNCTION set_ttdummy (int4) RETURNS int4 AS :'regresslib' LANGUAGE C STRICT; +ERROR: unimplemented: C is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/102201/dev ++See: https://go.crdb.dev/issue-v/102201/v24.3 create table pkeys (pkey1 int4 not null, pkey2 text not null); create table fkeys (fkey1 int4, fkey2 text, fkey3 int); create table fkeys2 (fkey21 int4, fkey22 text, pkey23 int not null); @@ -76544,14 +76554,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la check_primary_key ('fkey1', 'fkey2', 'pkeys', 'pkey1', 'pkey2'); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger check_fkeys_pkey2_exist before insert or update on fkeys for each row execute function check_primary_key ('fkey3', 'fkeys2', 'pkey23'); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- -- For fkeys2: -- (fkey21, fkey22) --> pkeys (pkey1, pkey2) @@ -76561,7 +76571,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la check_primary_key ('fkey21', 'fkey22', 'pkeys', 'pkey1', 'pkey2'); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- Test comments COMMENT ON TRIGGER check_fkeys2_pkey_bad ON fkeys2 IS 'wrong'; -ERROR: trigger "check_fkeys2_pkey_bad" for table "fkeys2" does not exist @@ -76588,7 +76598,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la 'fkeys', 'fkey1', 'fkey2', 'fkeys2', 'fkey21', 'fkey22'); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- -- For fkeys2: -- ON DELETE/UPDATE (pkey23) RESTRICT: @@ -76598,7 +76608,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la execute procedure check_foreign_key (1, 'restrict', 'pkey23', 'fkeys', 'fkey3'); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 insert into fkeys2 values (10, '1', 1); insert into fkeys2 values (30, '3', 2); insert into fkeys2 values (40, '4', 5); @@ -76666,7 +76676,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la for each row execute procedure trigger_return_old(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 insert into trigtest values(1, 'foo'); select * from trigtest; f1 | f2 @@ -76683,19 +76693,24 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la (1 row) delete from trigtest; -@@ -173,21 +195,27 @@ +@@ -173,21 +195,32 @@ -- Also check what happens when such a trigger runs before or after others create function f1_times_10() returns trigger as $$ begin new.f1 := new.f1 * 10; return new; end $$ language plpgsql; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev ++ERROR: at or near ";": at or near "new": syntax error ++DETAIL: source SQL: ++new.f1 := new.f1 * 10 ++^ ++-- ++source SQL: ++begin new.f1 := new.f1 * 10; return new; end ++ ^ create trigger trigger_alpha before insert or update on trigtest for each row execute procedure f1_times_10(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 insert into trigtest values(1, 'foo'); select * from trigtest; f1 | f2 @@ -76715,13 +76730,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la (1 row) delete from trigtest; -@@ -199,18 +227,21 @@ +@@ -199,18 +232,21 @@ create trigger trigger_zed before insert or update on trigtest for each row execute procedure f1_times_10(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 insert into trigtest values(1, 'foo'); select * from trigtest; - f1 | f2 @@ -76743,13 +76758,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la (1 row) delete from trigtest; -@@ -220,18 +251,21 @@ +@@ -220,18 +256,21 @@ (0 rows) drop trigger trigger_alpha on trigtest; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 insert into trigtest values(1, 'foo'); select * from trigtest; f1 | f2 @@ -76769,17 +76784,17 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la (1 row) delete from trigtest; -@@ -249,6 +283,9 @@ +@@ -249,6 +288,9 @@ create trigger trigger_return_old before insert or delete or update on trigtest for each row execute procedure trigger_return_old(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 insert into trigtest values(1); select * from trigtest; a | b | c -@@ -266,32 +303,31 @@ +@@ -266,32 +308,31 @@ update trigtest set a = 2 where a = 1 returning *; a | b | c | d ---+---+-------+---- @@ -76819,13 +76834,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la (1 row) drop table trigtest; -@@ -307,38 +343,43 @@ +@@ -307,38 +348,43 @@ for each row execute procedure ttdummy (price_on, price_off); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger ttserial before insert or update on tttest for each row @@ -76833,7 +76848,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la autoinc (price_on, ttdummy_seq); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 insert into tttest values (1, 1, null); insert into tttest values (2, 2, null); insert into tttest values (3, 3, 0); @@ -76872,7 +76887,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la (2 rows) -- change price for price_id == 3 -@@ -346,11 +387,9 @@ +@@ -346,11 +392,9 @@ select * from tttest; price_id | price_val | price_on | price_off ----------+-----------+----------+----------- @@ -76887,7 +76902,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la -- now we want to change pric_id in ALL tuples -- this gets us not what we need -@@ -358,77 +397,51 @@ +@@ -358,77 +402,51 @@ select * from tttest; price_id | price_val | price_on | price_off ----------+-----------+----------+----------- @@ -76977,23 +76992,18 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la drop table tttest; drop sequence ttdummy_seq; -@@ -443,149 +456,137 @@ - RAISE NOTICE ''trigger_func(%) called: action = %, when = %, level = %'', TG_ARGV[0], TG_OP, TG_WHEN, TG_LEVEL; - RETURN NULL; +@@ -445,147 +463,132 @@ END;'; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev CREATE TRIGGER before_ins_stmt_trig BEFORE INSERT ON main_table FOR EACH STATEMENT EXECUTE PROCEDURE trigger_func('before_ins_stmt'); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER after_ins_stmt_trig AFTER INSERT ON main_table FOR EACH STATEMENT EXECUTE PROCEDURE trigger_func('after_ins_stmt'); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- -- if neither 'FOR EACH ROW' nor 'FOR EACH STATEMENT' was specified, -- CREATE TRIGGER should default to 'FOR EACH STATEMENT' @@ -77002,7 +77012,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la EXECUTE PROCEDURE trigger_func('after_upd_stmt'); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- Both insert and update statement level triggers (before and after) should -- fire. Doesn't fire UPDATE before trigger, but only because one isn't -- defined. @@ -77015,7 +77025,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la FOR EACH ROW EXECUTE PROCEDURE trigger_func('after_upd_row'); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 INSERT INTO main_table DEFAULT VALUES; -NOTICE: trigger_func(before_ins_stmt) called: action = INSERT, when = BEFORE, level = STATEMENT -NOTICE: trigger_func(after_ins_stmt) called: action = INSERT, when = AFTER, level = STATEMENT @@ -77032,7 +77042,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la ALTER TABLE main_table DROP CONSTRAINT main_table_a_key; +ERROR: unimplemented: cannot drop UNIQUE constraint "main_table_a_key" using ALTER TABLE DROP CONSTRAINT, use DROP INDEX CASCADE instead +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/42840/dev ++See: https://go.crdb.dev/issue-v/42840/v24.3 -- COPY should fire per-row and per-statement INSERT triggers COPY main_table (a, b) FROM stdin; -NOTICE: trigger_func(before_ins_stmt) called: action = INSERT, when = BEFORE, level = STATEMENT @@ -77061,32 +77071,32 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la FOR EACH ROW WHEN (OLD.a <> NEW.a) EXECUTE PROCEDURE trigger_func('modified_a'); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER modified_any BEFORE UPDATE OF a ON main_table FOR EACH ROW WHEN (OLD.* IS DISTINCT FROM NEW.*) EXECUTE PROCEDURE trigger_func('modified_any'); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER insert_a AFTER INSERT ON main_table FOR EACH ROW WHEN (NEW.a = 123) EXECUTE PROCEDURE trigger_func('insert_a'); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER delete_a AFTER DELETE ON main_table FOR EACH ROW WHEN (OLD.a = 123) EXECUTE PROCEDURE trigger_func('delete_a'); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER insert_when BEFORE INSERT ON main_table FOR EACH STATEMENT WHEN (true) EXECUTE PROCEDURE trigger_func('insert_when'); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER delete_when AFTER DELETE ON main_table FOR EACH STATEMENT WHEN (true) EXECUTE PROCEDURE trigger_func('delete_when'); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 SELECT trigger_name, event_manipulation, event_object_schema, event_object_table, action_order, action_condition, action_orientation, action_timing, action_reference_old_table, action_reference_new_table @@ -77184,7 +77194,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la SELECT count(*) FROM pg_trigger WHERE tgrelid = 'main_table'::regclass AND tgname = 'modified_a'; count ------- -@@ -595,15 +596,33 @@ +@@ -595,15 +598,33 @@ SELECT count(*) FROM pg_trigger WHERE tgrelid = 'main_table'::regclass AND tgname = 'modified_modified_a'; count ------- @@ -77195,37 +77205,37 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la DROP TRIGGER modified_modified_a ON main_table; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 DROP TRIGGER modified_any ON main_table; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 DROP TRIGGER insert_a ON main_table; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 DROP TRIGGER delete_a ON main_table; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 DROP TRIGGER insert_when ON main_table; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 DROP TRIGGER delete_when ON main_table; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- Test WHEN condition accessing system columns. create table table_with_oids(a int); insert into table_with_oids values (1); -@@ -611,57 +630,47 @@ +@@ -611,57 +632,47 @@ for each row when (new.tableoid = old.tableoid AND new.tableoid <> 0) execute procedure trigger_func('after_upd_oid_unchanged'); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 update table_with_oids set a = a + 1; -NOTICE: trigger_func(after_upd_oid_unchanged) called: action = UPDATE, when = AFTER, level = ROW drop table table_with_oids; @@ -77233,32 +77243,32 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la DROP TRIGGER after_upd_row_trig ON main_table; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER before_upd_a_row_trig BEFORE UPDATE OF a ON main_table FOR EACH ROW EXECUTE PROCEDURE trigger_func('before_upd_a_row'); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER after_upd_b_row_trig AFTER UPDATE OF b ON main_table FOR EACH ROW EXECUTE PROCEDURE trigger_func('after_upd_b_row'); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER after_upd_a_b_row_trig AFTER UPDATE OF a, b ON main_table FOR EACH ROW EXECUTE PROCEDURE trigger_func('after_upd_a_b_row'); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER before_upd_a_stmt_trig BEFORE UPDATE OF a ON main_table FOR EACH STATEMENT EXECUTE PROCEDURE trigger_func('before_upd_a_stmt'); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER after_upd_b_stmt_trig AFTER UPDATE OF b ON main_table FOR EACH STATEMENT EXECUTE PROCEDURE trigger_func('after_upd_b_stmt'); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 SELECT pg_get_triggerdef(oid) FROM pg_trigger WHERE tgrelid = 'main_table'::regclass AND tgname = 'after_upd_a_b_row_trig'; - pg_get_triggerdef -------------------------------------------------------------------------------------------------------------------------------------------------- @@ -77301,30 +77311,25 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la -- -- Test case for bug with BEFORE trigger followed by AFTER trigger with WHEN -- -@@ -673,78 +682,93 @@ - RETURN NEW; - END; +@@ -675,76 +686,88 @@ $$ LANGUAGE plpgsql; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev CREATE TRIGGER some_trig_before BEFORE UPDATE ON some_t FOR EACH ROW EXECUTE PROCEDURE dummy_update_func('before'); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER some_trig_aftera AFTER UPDATE ON some_t FOR EACH ROW WHEN (NOT OLD.some_col AND NEW.some_col) EXECUTE PROCEDURE dummy_update_func('aftera'); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER some_trig_afterb AFTER UPDATE ON some_t FOR EACH ROW WHEN (NOT NEW.some_col) EXECUTE PROCEDURE dummy_update_func('afterb'); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 INSERT INTO some_t VALUES (TRUE); UPDATE some_t SET some_col = TRUE; -NOTICE: dummy_update_func(before) called: action = UPDATE, old = (t), new = (t) @@ -77350,7 +77355,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la -ERROR: column "a" specified more than once +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER error_ins_a BEFORE INSERT OF a ON main_table FOR EACH ROW EXECUTE PROCEDURE trigger_func('error_ins_a'); -ERROR: syntax error at or near "OF" @@ -77369,7 +77374,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la - ^ +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER error_del_when BEFORE DELETE OR UPDATE ON main_table FOR EACH ROW WHEN (OLD.a <> NEW.a) EXECUTE PROCEDURE trigger_func('error_del_new'); @@ -77378,7 +77383,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la - ^ +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER error_del_when BEFORE INSERT OR UPDATE ON main_table FOR EACH ROW WHEN (NEW.tableoid <> 0) EXECUTE PROCEDURE trigger_func('error_when_sys_column'); @@ -77387,7 +77392,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la - ^ +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER error_stmt_when BEFORE UPDATE OF a ON main_table FOR EACH STATEMENT WHEN (OLD.* IS DISTINCT FROM NEW.*) EXECUTE PROCEDURE trigger_func('error_stmt_when'); @@ -77396,7 +77401,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la - ^ +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- check dependency restrictions ALTER TABLE main_table DROP COLUMN b; -ERROR: cannot drop column b of table main_table because other objects depend on it @@ -77409,7 +77414,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la DROP TRIGGER after_upd_a_b_row_trig ON main_table; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 DROP TRIGGER after_upd_b_row_trig ON main_table; +ERROR: current transaction is aborted, commands ignored until end of transaction block DROP TRIGGER after_upd_b_stmt_trig ON main_table; @@ -77421,37 +77426,32 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la -create table trigtest (i serial primary key); +create sequence trigtestseq; +create table trigtest (i int primary key default nextval('trigtestseq')); -+NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/dev/serial.html ++NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/v24.3/serial.html -- test that disabling RI triggers works create table trigtest2 (i int references trigtest(i) on delete cascade); create function trigtest() returns trigger as $$ -@@ -752,39 +776,88 @@ - raise notice '% % % %', TG_TABLE_NAME, TG_OP, TG_WHEN, TG_LEVEL; - return new; +@@ -754,37 +777,83 @@ end;$$ language plpgsql; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev create trigger trigtest_b_row_tg before insert or update or delete on trigtest for each row execute procedure trigtest(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger trigtest_a_row_tg after insert or update or delete on trigtest for each row execute procedure trigtest(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger trigtest_b_stmt_tg before insert or update or delete on trigtest for each statement execute procedure trigtest(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger trigtest_a_stmt_tg after insert or update or delete on trigtest for each statement execute procedure trigtest(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 insert into trigtest default values; -NOTICE: trigtest INSERT BEFORE STATEMENT -NOTICE: trigtest INSERT BEFORE ROW @@ -77524,7 +77524,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la select * from trigtest2; i --- -@@ -792,12 +865,16 @@ +@@ -792,12 +861,16 @@ (1 row) alter table trigtest disable trigger all; @@ -77543,19 +77543,54 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la -- ensure we still insert, even when all triggers are disabled insert into trigtest default values; -@@ -869,48 +946,24 @@ +@@ -869,48 +942,59 @@ end; $$; -+ERROR: unimplemented: trigger functions are not yet supported ++ERROR: at or near "i": syntax error: unimplemented: this syntax ++DETAIL: source SQL: ++declare ++ ++ argstr text; ++ relid text; ++ ++begin ++ ++ relid := TG_relid::regclass; ++ ++ -- plpgsql can't discover its trigger data in a hash like perl and python ++ -- can, or by a sort of reflection like tcl can, ++ -- so we have to hard code the names. ++ raise NOTICE 'TG_NAME: %', TG_name; ++ raise NOTICE 'TG_WHEN: %', TG_when; ++ raise NOTICE 'TG_LEVEL: %', TG_level; ++ raise NOTICE 'TG_OP: %', TG_op; ++ raise NOTICE 'TG_RELID::regclass: %', relid; ++ raise NOTICE 'TG_RELNAME: %', TG_relname; ++ raise NOTICE 'TG_TABLE_NAME: %', TG_table_name; ++ raise NOTICE 'TG_TABLE_SCHEMA: %', TG_table_schema; ++ raise NOTICE 'TG_NARGS: %', TG_nargs; ++ ++ argstr := '['; ++ for i in 0 .. TG_nargs - 1 loop ++ ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev ++ ++Please check the public issue tracker to check whether this problem is ++already tracked. If you cannot find it there, please report the error ++with details by creating a new issue. ++ ++If you would rather not post publicly, please contact us directly ++using the support form. ++ ++We appreciate your feedback. ++ CREATE TRIGGER show_trigger_data_trig BEFORE INSERT OR UPDATE OR DELETE ON trigger_test FOR EACH ROW EXECUTE PROCEDURE trigger_data(23,'skidoo'); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 insert into trigger_test values(1,'insert'); -NOTICE: TG_NAME: show_trigger_data_trig -NOTICE: TG_WHEN: BEFORE @@ -77596,25 +77631,19 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la DROP TRIGGER show_trigger_data_trig on trigger_test; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 DROP FUNCTION trigger_data(); +ERROR: unknown function: trigger_data() DROP TABLE trigger_test; -- -- Test use of row comparisons on OLD/NEW -@@ -926,21 +979,21 @@ - end if; - return new; - end$$; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev +@@ -929,18 +1013,15 @@ CREATE TRIGGER t BEFORE UPDATE ON trigger_test FOR EACH ROW EXECUTE PROCEDURE mytrigger(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 INSERT INTO trigger_test VALUES(1, 'foo', 'bar'); INSERT INTO trigger_test VALUES(2, 'baz', 'quux'); UPDATE trigger_test SET f3 = 'bar'; @@ -77630,13 +77659,9 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la -- the right way when considering nulls is CREATE OR REPLACE FUNCTION mytrigger() RETURNS trigger LANGUAGE plpgsql as $$ begin -@@ -951,17 +1004,15 @@ - end if; +@@ -952,14 +1033,8 @@ return new; end$$; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev UPDATE trigger_test SET f3 = 'bar'; -NOTICE: row 1 changed -NOTICE: row 2 changed @@ -77648,31 +77673,36 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la -NOTICE: row 2 not changed DROP TABLE trigger_test; DROP FUNCTION mytrigger(); -+ERROR: unknown function: mytrigger() -- Test snapshot management in serializable transactions involving triggers - -- per bug report in 6bc73d4c0910042358k3d1adff3qa36f8df75198ecea@mail.gmail.com - CREATE FUNCTION serializable_update_trig() RETURNS trigger LANGUAGE plpgsql AS -@@ -973,6 +1024,9 @@ +@@ -973,6 +1048,17 @@ return new; end; $$; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev ++ERROR: at or near ";": at or near "new": syntax error ++DETAIL: source SQL: ++new.description = 'updated in trigger' ++^ ++-- ++source SQL: ++declare ++ rec record; ++begin ++ new.description = 'updated in trigger'; ++ ^ CREATE TABLE serializable_update_tab ( id int, filler text, -@@ -980,6 +1034,9 @@ +@@ -980,6 +1066,9 @@ ); CREATE TRIGGER serializable_update_trig BEFORE UPDATE ON serializable_update_tab FOR EACH ROW EXECUTE PROCEDURE serializable_update_trig(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 INSERT INTO serializable_update_tab SELECT a, repeat('xyzxz', 100), 'new' FROM generate_series(1, 50) a; BEGIN; -@@ -987,9 +1044,9 @@ +@@ -987,9 +1076,9 @@ UPDATE serializable_update_tab SET description = 'no no', id = 1 WHERE id = 1; COMMIT; SELECT description FROM serializable_update_tab WHERE id = 1; @@ -77685,13 +77715,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la (1 row) DROP TABLE serializable_update_tab; -@@ -1002,9 +1059,12 @@ +@@ -1002,9 +1091,12 @@ CREATE TRIGGER z_min_update BEFORE UPDATE ON min_updates_test FOR EACH ROW EXECUTE PROCEDURE suppress_redundant_updates_trigger(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 \set QUIET false UPDATE min_updates_test SET f1 = f1; -UPDATE 0 @@ -77699,7 +77729,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la UPDATE min_updates_test SET f2 = f2 + 1; UPDATE 2 UPDATE min_updates_test SET f3 = 2 WHERE f3 is null; -@@ -1022,6 +1082,7 @@ +@@ -1022,6 +1114,7 @@ -- Test triggers on views -- CREATE VIEW main_view AS SELECT a, b FROM main_table; @@ -77707,13 +77737,28 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la -- VIEW trigger function CREATE OR REPLACE FUNCTION view_trigger() RETURNS trigger LANGUAGE plpgsql AS $$ -@@ -1062,242 +1123,205 @@ +@@ -1062,242 +1155,220 @@ RETURN NULL; end; $$; -+ERROR: unimplemented: trigger functions are not yet supported ++ERROR: at or near "i": syntax error: unimplemented: this syntax ++DETAIL: source SQL: ++declare ++ argstr text := ''; ++begin ++ for i in 0 .. TG_nargs - 1 loop ++ ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev ++ ++Please check the public issue tracker to check whether this problem is ++already tracked. If you cannot find it there, please report the error ++with details by creating a new issue. ++ ++If you would rather not post publicly, please contact us directly ++using the support form. ++ ++We appreciate your feedback. ++ -- Before row triggers aren't allowed on views CREATE TRIGGER invalid_trig BEFORE INSERT ON main_view FOR EACH ROW EXECUTE PROCEDURE trigger_func('before_ins_row'); @@ -77721,21 +77766,21 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la -DETAIL: Views cannot have row-level BEFORE or AFTER triggers. +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER invalid_trig BEFORE UPDATE ON main_view FOR EACH ROW EXECUTE PROCEDURE trigger_func('before_upd_row'); -ERROR: "main_view" is a view -DETAIL: Views cannot have row-level BEFORE or AFTER triggers. +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER invalid_trig BEFORE DELETE ON main_view FOR EACH ROW EXECUTE PROCEDURE trigger_func('before_del_row'); -ERROR: "main_view" is a view -DETAIL: Views cannot have row-level BEFORE or AFTER triggers. +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- After row triggers aren't allowed on views CREATE TRIGGER invalid_trig AFTER INSERT ON main_view FOR EACH ROW EXECUTE PROCEDURE trigger_func('before_ins_row'); @@ -77743,21 +77788,21 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la -DETAIL: Views cannot have row-level BEFORE or AFTER triggers. +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER invalid_trig AFTER UPDATE ON main_view FOR EACH ROW EXECUTE PROCEDURE trigger_func('before_upd_row'); -ERROR: "main_view" is a view -DETAIL: Views cannot have row-level BEFORE or AFTER triggers. +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER invalid_trig AFTER DELETE ON main_view FOR EACH ROW EXECUTE PROCEDURE trigger_func('before_del_row'); -ERROR: "main_view" is a view -DETAIL: Views cannot have row-level BEFORE or AFTER triggers. +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- Truncate triggers aren't allowed on views CREATE TRIGGER invalid_trig BEFORE TRUNCATE ON main_view EXECUTE PROCEDURE trigger_func('before_tru_row'); @@ -77765,14 +77810,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la -DETAIL: Views cannot have TRUNCATE triggers. +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER invalid_trig AFTER TRUNCATE ON main_view EXECUTE PROCEDURE trigger_func('before_tru_row'); -ERROR: "main_view" is a view -DETAIL: Views cannot have TRUNCATE triggers. +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- INSTEAD OF triggers aren't allowed on tables CREATE TRIGGER invalid_trig INSTEAD OF INSERT ON main_table FOR EACH ROW EXECUTE PROCEDURE view_trigger('instead_of_ins'); @@ -77780,90 +77825,90 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la -DETAIL: Tables cannot have INSTEAD OF triggers. +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER invalid_trig INSTEAD OF UPDATE ON main_table FOR EACH ROW EXECUTE PROCEDURE view_trigger('instead_of_upd'); -ERROR: "main_table" is a table -DETAIL: Tables cannot have INSTEAD OF triggers. +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER invalid_trig INSTEAD OF DELETE ON main_table FOR EACH ROW EXECUTE PROCEDURE view_trigger('instead_of_del'); -ERROR: "main_table" is a table -DETAIL: Tables cannot have INSTEAD OF triggers. +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- Don't support WHEN clauses with INSTEAD OF triggers CREATE TRIGGER invalid_trig INSTEAD OF UPDATE ON main_view FOR EACH ROW WHEN (OLD.a <> NEW.a) EXECUTE PROCEDURE view_trigger('instead_of_upd'); -ERROR: INSTEAD OF triggers cannot have WHEN conditions +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- Don't support column-level INSTEAD OF triggers CREATE TRIGGER invalid_trig INSTEAD OF UPDATE OF a ON main_view FOR EACH ROW EXECUTE PROCEDURE view_trigger('instead_of_upd'); -ERROR: INSTEAD OF triggers cannot have column lists +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- Don't support statement-level INSTEAD OF triggers CREATE TRIGGER invalid_trig INSTEAD OF UPDATE ON main_view EXECUTE PROCEDURE view_trigger('instead_of_upd'); -ERROR: INSTEAD OF triggers must be FOR EACH ROW +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- Valid INSTEAD OF triggers CREATE TRIGGER instead_of_insert_trig INSTEAD OF INSERT ON main_view FOR EACH ROW EXECUTE PROCEDURE view_trigger('instead_of_ins'); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER instead_of_update_trig INSTEAD OF UPDATE ON main_view FOR EACH ROW EXECUTE PROCEDURE view_trigger('instead_of_upd'); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER instead_of_delete_trig INSTEAD OF DELETE ON main_view FOR EACH ROW EXECUTE PROCEDURE view_trigger('instead_of_del'); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- Valid BEFORE statement VIEW triggers CREATE TRIGGER before_ins_stmt_trig BEFORE INSERT ON main_view FOR EACH STATEMENT EXECUTE PROCEDURE view_trigger('before_view_ins_stmt'); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER before_upd_stmt_trig BEFORE UPDATE ON main_view FOR EACH STATEMENT EXECUTE PROCEDURE view_trigger('before_view_upd_stmt'); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER before_del_stmt_trig BEFORE DELETE ON main_view FOR EACH STATEMENT EXECUTE PROCEDURE view_trigger('before_view_del_stmt'); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- Valid AFTER statement VIEW triggers CREATE TRIGGER after_ins_stmt_trig AFTER INSERT ON main_view FOR EACH STATEMENT EXECUTE PROCEDURE view_trigger('after_view_ins_stmt'); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER after_upd_stmt_trig AFTER UPDATE ON main_view FOR EACH STATEMENT EXECUTE PROCEDURE view_trigger('after_view_upd_stmt'); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER after_del_stmt_trig AFTER DELETE ON main_view FOR EACH STATEMENT EXECUTE PROCEDURE view_trigger('after_view_del_stmt'); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 \set QUIET false -- Insert into view using trigger INSERT INTO main_view VALUES (20, 30); @@ -77921,7 +77966,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la -DROP TRIGGER +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 UPDATE main_view SET b = 31 WHERE a = 20; -NOTICE: main_view BEFORE UPDATE STATEMENT (before_view_upd_stmt) -NOTICE: main_view INSTEAD OF UPDATE ROW (instead_of_upd) @@ -78013,11 +78058,11 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la DROP TRIGGER instead_of_insert_trig ON main_view; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 DROP TRIGGER instead_of_delete_trig ON main_view; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 \d+ main_view - View "public.main_view" - Column | Type | Collation | Nullable | Default | Storage | Description @@ -78058,60 +78103,93 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la country_name text unique not null, continent text not null ); -+NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/dev/serial.html ++NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/v24.3/serial.html INSERT INTO country_table (country_name, continent) VALUES ('Japan', 'Asia'), ('UK', 'Europe'), -@@ -1316,6 +1340,7 @@ +@@ -1316,6 +1387,7 @@ population bigint, country_id int references country_table ); -+NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/dev/serial.html ++NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/v24.3/serial.html CREATE VIEW city_view AS SELECT city_id, city_name, population, country_name, continent FROM city_table ci -@@ -1346,8 +1371,14 @@ +@@ -1346,8 +1418,29 @@ RETURN NEW; end; $$; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev ++ERROR: at or near ";": at or near "new": syntax error ++DETAIL: source SQL: ++NEW.continent := NULL ++^ ++-- ++source SQL: ++declare ++ ctry_id int; ++begin ++ if NEW.country_name IS NOT NULL then ++ SELECT country_id, continent INTO ctry_id, NEW.continent ++ FROM country_table WHERE country_name = NEW.country_name; ++ if NOT FOUND then ++ raise exception 'No such country: "%"', NEW.country_name; ++ end if; ++ else ++ NEW.continent := NULL; ++ ^ CREATE TRIGGER city_insert_trig INSTEAD OF INSERT ON city_view FOR EACH ROW EXECUTE PROCEDURE city_insert(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE FUNCTION city_delete() RETURNS trigger LANGUAGE plpgsql AS $$ begin DELETE FROM city_table WHERE city_id = OLD.city_id; -@@ -1355,8 +1386,14 @@ - RETURN OLD; - end; +@@ -1357,6 +1450,9 @@ $$; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev CREATE TRIGGER city_delete_trig INSTEAD OF DELETE ON city_view FOR EACH ROW EXECUTE PROCEDURE city_delete(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE FUNCTION city_update() RETURNS trigger LANGUAGE plpgsql AS $$ declare ctry_id int; -@@ -1383,102 +1420,47 @@ +@@ -1383,102 +1479,70 @@ RETURN NEW; end; $$; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev ++ERROR: at or near ";": at or near "new": syntax error ++DETAIL: source SQL: ++NEW.continent := OLD.continent ++^ ++-- ++source SQL: ++declare ++ ctry_id int; ++begin ++ if NEW.country_name IS DISTINCT FROM OLD.country_name then ++ SELECT country_id, continent INTO ctry_id, NEW.continent ++ FROM country_table WHERE country_name = NEW.country_name; ++ if NOT FOUND then ++ raise exception 'No such country: "%"', NEW.country_name; ++ end if; ++ ++ UPDATE city_table SET city_name = NEW.city_name, ++ population = NEW.population, ++ country_id = ctry_id ++ WHERE city_id = OLD.city_id; ++ else ++ UPDATE city_table SET city_name = NEW.city_name, ++ population = NEW.population ++ WHERE city_id = OLD.city_id; ++ NEW.continent := OLD.continent; ++ ^ CREATE TRIGGER city_update_trig INSTEAD OF UPDATE ON city_view FOR EACH ROW EXECUTE PROCEDURE city_update(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 \set QUIET false -- INSERT .. RETURNING INSERT INTO city_view(city_name) VALUES('Tokyo') RETURNING *; @@ -78223,7 +78301,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la \set QUIET true -- read-only view with WHERE clause CREATE VIEW european_city_view AS -@@ -1486,26 +1468,47 @@ +@@ -1486,26 +1550,44 @@ SELECT count(*) FROM european_city_view; count ------- @@ -78233,14 +78311,11 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la CREATE FUNCTION no_op_trig_fn() RETURNS trigger LANGUAGE plpgsql AS 'begin RETURN NULL; end'; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev CREATE TRIGGER no_op_trig INSTEAD OF INSERT OR UPDATE OR DELETE ON european_city_view FOR EACH ROW EXECUTE PROCEDURE no_op_trig_fn(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 \set QUIET false INSERT INTO european_city_view VALUES (0, 'x', 10000, 'y', 'z'); -INSERT 0 0 @@ -78275,7 +78350,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la CREATE RULE european_city_update_rule AS ON UPDATE TO european_city_view DO INSTEAD UPDATE city_view SET city_name = NEW.city_name, -@@ -1513,47 +1516,57 @@ +@@ -1513,47 +1595,57 @@ country_name = NEW.country_name WHERE city_id = OLD.city_id RETURNING NEW.*; @@ -78359,7 +78434,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la -- join UPDATE test UPDATE city_view v SET population = 599657 FROM city_table ci, country_table co -@@ -1561,26 +1574,14 @@ +@@ -1561,26 +1653,14 @@ AND v.city_id = ci.city_id AND v.country_name = co.country_name RETURNING co.country_id, v.country_name, v.city_id, v.city_name, v.population; @@ -78390,48 +78465,48 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la DROP TABLE country_table; -- Test pg_trigger_depth() create table depth_a (id int not null primary key); -@@ -1595,8 +1596,14 @@ - return new; - end; +@@ -1597,6 +1677,9 @@ $$; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev create trigger depth_a_tr before insert on depth_a for each row execute procedure depth_a_tf(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create function depth_b_tf() returns trigger language plpgsql as $$ begin -@@ -1614,8 +1621,14 @@ +@@ -1614,8 +1697,24 @@ return new; end; $$; -+ERROR: unimplemented: trigger functions are not yet supported ++ERROR: unimplemented: attempted to use a PL/pgSQL statement that is not yet supported ++DETAIL: stmt_dyn_exec is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev ++ ++Please check the public issue tracker to check whether this problem is ++already tracked. If you cannot find it there, please report the error ++with details by creating a new issue. ++ ++If you would rather not post publicly, please contact us directly ++using the support form. ++ ++We appreciate your feedback. ++ create trigger depth_b_tr before insert on depth_b for each row execute procedure depth_b_tf(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create function depth_c_tf() returns trigger language plpgsql as $$ begin -@@ -1627,50 +1640,29 @@ - return new; - end; +@@ -1629,47 +1728,21 @@ $$; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev create trigger depth_c_tr before insert on depth_c for each row execute procedure depth_c_tf(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 select pg_trigger_depth(); - pg_trigger_depth ------------------- @@ -78475,71 +78550,60 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la +ERROR: unknown function: pg_trigger_depth() drop table depth_a, depth_b, depth_c; drop function depth_a_tf(); -+ERROR: unknown function: depth_a_tf() drop function depth_b_tf(); +ERROR: unknown function: depth_b_tf() drop function depth_c_tf(); -+ERROR: unknown function: depth_c_tf() -- -- Test updates to rows during firing of BEFORE ROW triggers. - -- As of 9.2, such cases should be rejected (see bug #6123). -@@ -1697,8 +1689,14 @@ +@@ -1697,8 +1770,21 @@ return new; end; $$; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev ++ERROR: at or near ";": at or near "new": syntax error ++DETAIL: source SQL: ++new.val2 = new.val1 ++^ ++-- ++source SQL: ++begin ++ if old.val1 <> new.val1 then ++ new.val2 = new.val1; ++ ^ create trigger parent_upd_trig before update on parent for each row execute procedure parent_upd_func(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create function parent_del_func() returns trigger language plpgsql as $$ -@@ -1707,8 +1705,14 @@ - return old; - end; +@@ -1709,6 +1795,9 @@ $$; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev create trigger parent_del_trig before delete on parent for each row execute procedure parent_del_func(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create function child_ins_func() returns trigger language plpgsql as $$ -@@ -1717,8 +1721,14 @@ - return new; - end; +@@ -1719,6 +1808,9 @@ $$; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev create trigger child_ins_trig after insert on child for each row execute procedure child_ins_func(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create function child_del_func() returns trigger language plpgsql as $$ -@@ -1727,14 +1737,20 @@ - return old; - end; +@@ -1729,12 +1821,15 @@ $$; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev create trigger child_del_trig after delete on child for each row execute procedure child_del_func(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 insert into parent values (1, 'a', 'a', 'a', 'a', 0); insert into child values (10, 1, 'b'); select * from parent; select * from child; @@ -78550,7 +78614,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la (1 row) bid | aid | val1 -@@ -1743,12 +1759,10 @@ +@@ -1743,12 +1838,10 @@ (1 row) update parent set val1 = 'b' where aid = 1; -- should fail @@ -78564,7 +78628,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la (1 row) bid | aid | val1 -@@ -1757,13 +1771,10 @@ +@@ -1757,13 +1850,10 @@ (1 row) delete from parent where aid = 1; -- should fail @@ -78579,17 +78643,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la bid | aid | val1 -----+-----+------ -@@ -1784,6 +1795,9 @@ - return old; - end; - $$; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev - delete from parent where aid = 1; - select * from parent; select * from child; - aid | val1 | val2 | val3 | val4 | bcnt -@@ -1792,13 +1806,18 @@ +@@ -1792,10 +1882,12 @@ bid | aid | val1 -----+-----+------ @@ -78601,45 +78655,29 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la drop function parent_upd_func(); +ERROR: unknown function: parent_upd_func() drop function parent_del_func(); -+ERROR: unknown function: parent_del_func() drop function child_ins_func(); -+ERROR: unknown function: child_ins_func() drop function child_del_func(); -+ERROR: unknown function: child_del_func() - -- similar case, but with a self-referencing FK so that parent and child - -- rows can be affected by a single operation - create temp table self_ref_trigger ( -@@ -1818,8 +1837,14 @@ - return new; - end; +@@ -1820,6 +1912,9 @@ $$; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev create trigger self_ref_trigger_ins_trig before insert on self_ref_trigger for each row execute procedure self_ref_trigger_ins_func(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create function self_ref_trigger_del_func() returns trigger language plpgsql as $$ -@@ -1831,8 +1856,14 @@ - return old; - end; +@@ -1833,6 +1928,9 @@ $$; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev create trigger self_ref_trigger_del_trig before delete on self_ref_trigger for each row execute procedure self_ref_trigger_del_func(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 insert into self_ref_trigger values (1, null, 'root'); insert into self_ref_trigger values (2, 1, 'root child A'); insert into self_ref_trigger values (3, 1, 'root child B'); -@@ -1842,63 +1873,68 @@ +@@ -1842,25 +1940,18 @@ select * from self_ref_trigger; id | parent | data | nchildren ----+--------+--------------+----------- @@ -78671,11 +78709,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la drop table self_ref_trigger; drop function self_ref_trigger_ins_func(); -+ERROR: unknown function: self_ref_trigger_ins_func() - drop function self_ref_trigger_del_func(); -+ERROR: unknown function: self_ref_trigger_del_func() - -- - -- Check that statement triggers work correctly even with all children excluded +@@ -1870,6 +1961,12 @@ -- create table stmt_trig_on_empty_upd (a int); create table stmt_trig_on_empty_upd1 () inherits (stmt_trig_on_empty_upd); @@ -78684,28 +78718,23 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la +create table stmt_trig_on_empty_upd1 () inherits (stmt_trig_on_empty_upd) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 create function update_stmt_notice() returns trigger as $$ begin raise notice 'updating %', TG_TABLE_NAME; - return null; - end; - $$ language plpgsql; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev +@@ -1879,25 +1976,25 @@ create trigger before_stmt_trigger before update on stmt_trig_on_empty_upd execute procedure update_stmt_notice(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger before_stmt_trigger before update on stmt_trig_on_empty_upd1 execute procedure update_stmt_notice(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- inherited no-op update update stmt_trig_on_empty_upd set a = a where false returning a+1 as aa; -NOTICE: updating stmt_trig_on_empty_upd @@ -78724,22 +78753,15 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la drop table stmt_trig_on_empty_upd cascade; -NOTICE: drop cascades to table stmt_trig_on_empty_upd1 drop function update_stmt_notice(); -+ERROR: unknown function: update_stmt_notice() -- -- Check that index creation (or DDL in general) is prohibited in a trigger - -- -@@ -1911,23 +1947,27 @@ - alter table trigger_ddl_table add primary key (col1); - return new; +@@ -1913,19 +2010,16 @@ end$$ language plpgsql; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev create trigger trigger_ddl_func before insert on trigger_ddl_table for each row execute procedure trigger_ddl_func(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 insert into trigger_ddl_table values (1, 42); -- fail -ERROR: cannot ALTER TABLE "trigger_ddl_table" because it is being used by active queries in this session -CONTEXT: SQL statement "alter table trigger_ddl_table add primary key (col1)" @@ -78749,46 +78771,47 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la create index on trigger_ddl_table (col2); return new; end$$ language plpgsql; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev insert into trigger_ddl_table values (1, 42); -- fail -ERROR: cannot CREATE INDEX "trigger_ddl_table" because it is being used by active queries in this session -CONTEXT: SQL statement "create index on trigger_ddl_table (col2)" -PL/pgSQL function trigger_ddl_func() line 3 at SQL statement drop table trigger_ddl_table; drop function trigger_ddl_func(); -+ERROR: unknown function: trigger_ddl_func() -- - -- Verify behavior of before and after triggers with INSERT...ON CONFLICT - -- DO UPDATE -@@ -1951,8 +1991,14 @@ +@@ -1951,8 +2045,26 @@ return new; end; $$; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev ++ERROR: at or near ";": at or near "new": syntax error ++DETAIL: source SQL: ++new.key := new.key + 1 ++^ ++-- ++source SQL: ++begin ++ if (TG_OP = 'UPDATE') then ++ raise warning 'before update (old): %', old.*::text; ++ raise warning 'before update (new): %', new.*::text; ++ elsif (TG_OP = 'INSERT') then ++ raise warning 'before insert (new): %', new.*::text; ++ if new.key % 2 = 0 then ++ new.key := new.key + 1; ++ ^ create trigger upsert_before_trig before insert or update on upsert for each row execute procedure upsert_before_func(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create function upsert_after_func() returns trigger language plpgsql as $$ -@@ -1966,58 +2012,40 @@ - return null; - end; +@@ -1968,55 +2080,33 @@ $$; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev create trigger upsert_after_trig after insert or update on upsert for each row execute procedure upsert_after_func(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 insert into upsert values(1, 'black') on conflict (key) do update set color = 'updated ' || upsert.color; -WARNING: before insert (new): (1,black) -WARNING: after insert (new): (1,black) @@ -78850,29 +78873,21 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la drop function upsert_before_func(); +ERROR: unknown function: upsert_before_func() drop function upsert_after_func(); -+ERROR: unknown function: upsert_after_func() -- -- Verify that triggers with transition tables are not allowed on - -- views -@@ -2025,78 +2053,128 @@ - create table my_table (i int); - create view my_view as select * from my_table; +@@ -2027,8 +2117,9 @@ create function my_trigger_function() returns trigger as $$ begin end; $$ language plpgsql; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev create trigger my_trigger after update on my_view referencing old table as old_table for each statement execute procedure my_trigger_function(); -ERROR: "my_view" is a view -DETAIL: Triggers on views cannot have transition tables. +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 drop function my_trigger_function(); -+ERROR: unknown function: my_trigger_function() drop view my_view; drop table my_table; - -- +@@ -2036,67 +2127,109 @@ -- Verify cases that are unsupported with partitioned tables -- create table parted_trig (a int) partition by list (a); @@ -78883,16 +78898,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la +HINT: try \h CREATE TABLE create function trigger_nothing() returns trigger language plpgsql as $$ begin end; $$; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev create trigger failed instead of update on parted_trig for each row execute procedure trigger_nothing(); -ERROR: "parted_trig" is a table -DETAIL: Tables cannot have INSTEAD OF triggers. +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger failed after update on parted_trig referencing old table as old_table for each row execute procedure trigger_nothing(); @@ -78900,7 +78912,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la -DETAIL: ROW triggers with transition tables are not supported on partitioned tables. +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 drop table parted_trig; +ERROR: relation "parted_trig" does not exist -- @@ -78921,7 +78933,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la create trigger trg1 after insert on trigpart for each row execute procedure trigger_nothing(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create table trigpart2 partition of trigpart for values from (1000) to (2000); +ERROR: at or near "partition": syntax error +DETAIL: source SQL: @@ -78977,19 +78989,19 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la -HINT: You can drop trigger trg1 on table trigpart instead. +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 drop trigger trg1 on trigpart2; -- fail -ERROR: cannot drop trigger trg1 on table trigpart2 because trigger trg1 on table trigpart requires it -HINT: You can drop trigger trg1 on table trigpart instead. +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 drop trigger trg1 on trigpart3; -- fail -ERROR: cannot drop trigger trg1 on table trigpart3 because trigger trg1 on table trigpart requires it -HINT: You can drop trigger trg1 on table trigpart instead. +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 drop table trigpart2; -- ok, trigger should be gone in that partition +ERROR: relation "trigpart2" does not exist select tgrelid::regclass, tgname, tgfoid::regproc from pg_trigger @@ -79010,17 +79022,17 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la drop trigger trg1 on trigpart; -- ok, all gone +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 select tgrelid::regclass, tgname, tgfoid::regproc from pg_trigger where tgrelid::regclass::text like 'trigpart%' order by tgrelid::regclass::text; tgrelid | tgname | tgfoid -@@ -2105,74 +2183,153 @@ +@@ -2105,74 +2238,152 @@ -- check detach behavior create trigger trg1 after insert on trigpart for each row execute procedure trigger_nothing(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 \d trigpart3 - Table "public.trigpart3" - Column | Type | Collation | Nullable | Default @@ -79050,7 +79062,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la -ERROR: trigger "trg1" for table "trigpart3" does not exist +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 alter table trigpart detach partition trigpart4; +ERROR: at or near "detach": syntax error +DETAIL: source SQL: @@ -79061,7 +79073,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la -ERROR: trigger "trg1" for table "trigpart41" does not exist +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 drop table trigpart4; +ERROR: relation "trigpart4" does not exist alter table trigpart attach partition trigpart3 for values from (2000) to (3000); @@ -79100,7 +79112,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la create trigger trg1 after insert on trigpart3 for each row execute procedure trigger_nothing(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 \d trigpart3 - Table "public.trigpart3" - Column | Type | Collation | Nullable | Default @@ -79132,11 +79144,11 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la create trigger samename after delete on trigpart execute function trigger_nothing(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger samename after delete on trigpart1 execute function trigger_nothing(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 \d trigpart1 - Table "public.trigpart1" - Column | Type | Collation | Nullable | Default @@ -79160,7 +79172,6 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la drop table trigpart; +ERROR: relation "trigpart" does not exist drop function trigger_nothing(); -+ERROR: unknown function: trigger_nothing() -- -- Verify that triggers are fired for partitioned tables -- @@ -79203,122 +79214,116 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la create or replace function trigger_notice() returns trigger as $$ begin raise notice 'trigger % on % % % for %', TG_NAME, TG_TABLE_NAME, TG_WHEN, TG_OP, TG_LEVEL; -@@ -2182,136 +2339,225 @@ - return null; - end; - $$ language plpgsql; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev +@@ -2185,133 +2396,219 @@ -- insert/update/delete statement-level triggers on the parent create trigger trig_ins_before before insert on parted_stmt_trig for each statement execute procedure trigger_notice(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger trig_ins_after after insert on parted_stmt_trig for each statement execute procedure trigger_notice(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger trig_upd_before before update on parted_stmt_trig for each statement execute procedure trigger_notice(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger trig_upd_after after update on parted_stmt_trig for each statement execute procedure trigger_notice(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger trig_del_before before delete on parted_stmt_trig for each statement execute procedure trigger_notice(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger trig_del_after after delete on parted_stmt_trig for each statement execute procedure trigger_notice(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- insert/update/delete row-level triggers on the parent create trigger trig_ins_after_parent after insert on parted_stmt_trig for each row execute procedure trigger_notice(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger trig_upd_after_parent after update on parted_stmt_trig for each row execute procedure trigger_notice(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger trig_del_after_parent after delete on parted_stmt_trig for each row execute procedure trigger_notice(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- insert/update/delete row-level triggers on the first partition create trigger trig_ins_before_child before insert on parted_stmt_trig1 for each row execute procedure trigger_notice(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger trig_ins_after_child after insert on parted_stmt_trig1 for each row execute procedure trigger_notice(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger trig_upd_before_child before update on parted_stmt_trig1 for each row execute procedure trigger_notice(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger trig_upd_after_child after update on parted_stmt_trig1 for each row execute procedure trigger_notice(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger trig_del_before_child before delete on parted_stmt_trig1 for each row execute procedure trigger_notice(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger trig_del_after_child after delete on parted_stmt_trig1 for each row execute procedure trigger_notice(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- insert/update/delete statement-level triggers on the parent create trigger trig_ins_before_3 before insert on parted2_stmt_trig for each statement execute procedure trigger_notice(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger trig_ins_after_3 after insert on parted2_stmt_trig for each statement execute procedure trigger_notice(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger trig_upd_before_3 before update on parted2_stmt_trig for each statement execute procedure trigger_notice(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger trig_upd_after_3 after update on parted2_stmt_trig for each statement execute procedure trigger_notice(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger trig_del_before_3 before delete on parted2_stmt_trig for each statement execute procedure trigger_notice(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger trig_del_after_3 after delete on parted2_stmt_trig for each statement execute procedure trigger_notice(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 with ins (a) as ( insert into parted2_stmt_trig values (1), (2) returning a ) insert into parted_stmt_trig select a from ins returning tableoid::regclass, a; @@ -79436,23 +79441,23 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la create trigger zzz after insert on parted_trig for each row execute procedure trigger_notice(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger mmm after insert on parted_trig_1_1 for each row execute procedure trigger_notice(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger aaa after insert on parted_trig_1 for each row execute procedure trigger_notice(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger bbb after insert on parted_trig for each row execute procedure trigger_notice(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger qqq after insert on parted_trig_1_1 for each row execute procedure trigger_notice(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 insert into parted_trig values (50), (1500); -NOTICE: trigger aaa on parted_trig_1_1 AFTER INSERT for ROW -NOTICE: trigger bbb on parted_trig_1_1 AFTER INSERT for ROW @@ -79480,18 +79485,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la create or replace function trigger_notice() returns trigger as $$ declare arg1 text = TG_ARGV[0]; -@@ -2322,21 +2568,38 @@ - return null; - end; +@@ -2324,19 +2621,33 @@ $$ language plpgsql; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev create trigger aaa after insert on parted_trig for each row execute procedure trigger_notice('quirky', 1); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- Verify propagation of trigger arguments to partitions attached after creating trigger create table parted_trig2 partition of parted_trig for values in (2); +ERROR: at or near "partition": syntax error @@ -79522,13 +79522,8 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la create or replace function trigger_notice_ab() returns trigger as $$ begin raise notice 'trigger % on % % % for %: (a,b)=(%,%)', -@@ -2348,97 +2611,148 @@ - return null; - end; +@@ -2350,95 +2661,161 @@ $$ language plpgsql; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev create table parted_irreg_ancestor (fd text, b text, fd2 int, fd3 int, a int) partition by range (b); +ERROR: at or near "EOF": syntax error @@ -79570,12 +79565,12 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la for each row execute procedure trigger_notice_ab(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger parted_trig_odd after insert on parted_irreg for each row when (bark(new.b) AND new.a % 2 = 1) execute procedure trigger_notice_ab(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- we should hear barking for every insert, but parted_trig_odd only emits -- noise for odd values of a. parted_trig does it for all inserts. insert into parted_irreg values (1, 'aardvark'), (2, 'aanimals'); @@ -79621,16 +79616,22 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la return new; end; $$; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev ++ERROR: at or near ";": at or near "new": syntax error ++DETAIL: source SQL: ++new.a = new.a + 1 ++^ ++-- ++source SQL: ++begin ++ new.a = new.a + 1; ++ ^ insert into parted values (1, 1, 'uno uno v1'); -- works +ERROR: relation "parted" does not exist create trigger t before insert or update or delete on parted for each row execute function parted_trigfunc(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 insert into parted values (1, 1, 'uno uno v2'); -- fail -ERROR: moving row to another partition during a BEFORE FOR EACH ROW trigger is not supported -DETAIL: Before executing trigger "t", the row was to be in partition "public.parted_1_1". @@ -79645,9 +79646,15 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la return new; end; $$; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev ++ERROR: at or near ";": at or near "new": syntax error ++DETAIL: source SQL: ++new.b = new.b + 1 ++^ ++-- ++source SQL: ++begin ++ new.b = new.b + 1; ++ ^ insert into parted values (1, 1, 'uno uno v4'); -- fail -ERROR: moving row to another partition during a BEFORE FOR EACH ROW trigger is not supported -DETAIL: Before executing trigger "t", the row was to be in partition "public.parted_1_1". @@ -79662,9 +79669,15 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la return new; end; $$; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev ++ERROR: at or near ";": at or near "new": syntax error ++DETAIL: source SQL: ++new.c = new.c || ' did '|| TG_OP ++^ ++-- ++source SQL: ++begin ++ new.c = new.c || ' did '|| TG_OP; ++ ^ insert into parted values (1, 1, 'uno uno'); -- works +ERROR: relation "parted" does not exist update parted set c = c || ' v6'; -- works @@ -79700,18 +79713,24 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la -- both trigger and update change the partition create or replace function parted_trigfunc2() returns trigger language plpgsql as $$ begin -@@ -2446,381 +2760,700 @@ +@@ -2446,380 +2823,703 @@ return new; end; $$; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev ++ERROR: at or near ";": at or near "new": syntax error ++DETAIL: source SQL: ++new.a = new.a + 1 ++^ ++-- ++source SQL: ++begin ++ new.a = new.a + 1; ++ ^ create trigger t2 before update on parted for each row execute function parted_trigfunc2(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 truncate table parted; +ERROR: relation "parted" does not exist insert into parted values (1, 1, 'uno uno v6'); @@ -79756,9 +79775,15 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la return new; end; $$; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev ++ERROR: at or near ";": at or near "new": syntax error ++DETAIL: source SQL: ++new.a = new.a + new.b ++^ ++-- ++source SQL: ++begin ++ new.a = new.a + new.b; ++ ^ create table parted_1 partition of parted for values in (1, 2); +ERROR: at or near "partition": syntax error +DETAIL: source SQL: @@ -79775,7 +79800,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la for each row execute function parted_trigfunc(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 insert into parted values (0, 1, 'zero win'); +ERROR: relation "parted" does not exist insert into parted values (1, 1, 'one fail'); @@ -79838,7 +79863,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la +create constraint trigger parted_trig after insert on parted_constr_ancestor + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/28296/dev ++See: https://go.crdb.dev/issue-v/28296/v24.3 create constraint trigger parted_trig_two after insert on parted_constr deferrable initially deferred for each row when (bark(new.b) AND new.a % 2 = 1) @@ -79848,7 +79873,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la +create constraint trigger parted_trig_two after insert on parted_constr + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/28296/dev ++See: https://go.crdb.dev/issue-v/28296/v24.3 -- The immediate constraint is fired immediately; the WHEN clause of the -- deferred constraint is also called immediately. The deferred constraint -- is fired at commit time. @@ -79929,7 +79954,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la for each row when (new.a % 2 = 1 and length(old.b) >= 2) execute procedure trigger_notice_ab(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create table parted_trigger_3 (b text, a int) partition by range (length(b)); +ERROR: at or near "(": syntax error +DETAIL: source SQL: @@ -79999,7 +80024,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la +create constraint trigger parted_trigger after update on parted_trigger + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/28296/dev ++See: https://go.crdb.dev/issue-v/28296/v24.3 create constraint trigger parted_trigger after update on unparted_trigger from parted_referenced for each row execute procedure trigger_notice_ab(); @@ -80008,7 +80033,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la +create constraint trigger parted_trigger after update on unparted_trigger + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/28296/dev ++See: https://go.crdb.dev/issue-v/28296/v24.3 create table parted_trigger_3 (b text, a int) partition by range (length(b)); +ERROR: at or near "(": syntax error +DETAIL: source SQL: @@ -80081,7 +80106,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la for each row execute procedure trigger_notice_ab(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create table parted_trigger_3 (b text, a int) partition by range (length(b)); +ERROR: at or near "(": syntax error +DETAIL: source SQL: @@ -80119,7 +80144,6 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la drop table parted_trigger; +ERROR: relation "parted_trigger" does not exist drop function trigger_notice_ab(); -+ERROR: unknown function: trigger_notice_ab() -- Make sure we don't end up with unnecessary copies of triggers, when -- cloning them. create table trg_clone (a int) partition by range (a); @@ -80140,7 +80164,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la +alter table trg_clone add constraint uniq unique (a) deferrable + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31632/dev ++See: https://go.crdb.dev/issue-v/31632/v24.3 create table trg_clone2 partition of trg_clone for values from (1000) to (2000); +ERROR: at or near "partition": syntax error +DETAIL: source SQL: @@ -80186,22 +80210,19 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la +create table child1 () inherits (parent) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 create function trig_nothing() returns trigger language plpgsql as $$ begin return null; end $$; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev create trigger tg after insert on parent for each row execute function trig_nothing(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger tg after insert on child1 for each row execute function trig_nothing(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 alter table parent disable trigger tg; +ERROR: at or near "disable": syntax error +DETAIL: source SQL: @@ -80252,12 +80273,12 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la for each row execute procedure trig_nothing(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger tg_stmt after insert on parent for statement execute procedure trig_nothing(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 select tgrelid::regclass, tgname, tgenabled from pg_trigger where tgrelid in ('parent'::regclass, 'child1'::regclass) order by tgrelid::regclass::text, tgname; @@ -80411,13 +80432,10 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la +HINT: try \h CREATE TABLE CREATE OR REPLACE FUNCTION tgf() RETURNS trigger LANGUAGE plpgsql AS $$ begin raise exception 'except'; end $$; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev CREATE TRIGGER tg AFTER INSERT ON trgfire FOR EACH ROW EXECUTE FUNCTION tgf(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 INSERT INTO trgfire VALUES (1); -ERROR: except -CONTEXT: PL/pgSQL function tgf() line 1 at RAISE @@ -80529,41 +80547,9 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la DROP TABLE trgfire; +ERROR: relation "trgfire" does not exist DROP FUNCTION tgf(); -+ERROR: unknown function: tgf() -- -- Test the interaction between transition tables and both kinds of - -- inheritance. We'll dump the contents of the transition tables in a -@@ -2836,6 +3469,9 @@ - return null; - end; - $$; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev - create or replace function dump_update() returns trigger language plpgsql as - $$ - begin -@@ -2846,6 +3482,9 @@ - return null; - end; - $$; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev - create or replace function dump_delete() returns trigger language plpgsql as - $$ - begin -@@ -2855,6 +3494,9 @@ - return null; - end; - $$; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev - -- - -- Verify behavior of statement triggers on partition hierarchy with - -- transition tables. Tuples should appear to each trigger in the -@@ -2862,120 +3504,196 @@ +@@ -2862,120 +3562,196 @@ -- -- set up a partition hierarchy with some different TupleDescriptors create table parent (a text, b int) partition by list (a); @@ -80601,73 +80587,73 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la for each statement execute procedure dump_insert(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger parent_update_trig after update on parent referencing old table as old_table new table as new_table for each statement execute procedure dump_update(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger parent_delete_trig after delete on parent referencing old table as old_table for each statement execute procedure dump_delete(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger child1_insert_trig after insert on child1 referencing new table as new_table for each statement execute procedure dump_insert(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger child1_update_trig after update on child1 referencing old table as old_table new table as new_table for each statement execute procedure dump_update(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger child1_delete_trig after delete on child1 referencing old table as old_table for each statement execute procedure dump_delete(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger child2_insert_trig after insert on child2 referencing new table as new_table for each statement execute procedure dump_insert(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger child2_update_trig after update on child2 referencing old table as old_table new table as new_table for each statement execute procedure dump_update(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger child2_delete_trig after delete on child2 referencing old table as old_table for each statement execute procedure dump_delete(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger child3_insert_trig after insert on child3 referencing new table as new_table for each statement execute procedure dump_insert(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger child3_update_trig after update on child3 referencing old table as old_table new table as new_table for each statement execute procedure dump_update(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger child3_delete_trig after delete on child3 referencing old table as old_table for each statement execute procedure dump_delete(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 SELECT trigger_name, event_manipulation, event_object_schema, event_object_table, action_order, action_condition, action_orientation, action_timing, action_reference_old_table, action_reference_new_table @@ -80745,35 +80731,35 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la drop trigger child1_update_trig on child1; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 drop trigger child1_delete_trig on child1; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 drop trigger child2_insert_trig on child2; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 drop trigger child2_update_trig on child2; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 drop trigger child2_delete_trig on child2; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 drop trigger child3_insert_trig on child3; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 drop trigger child3_update_trig on child3; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 drop trigger child3_delete_trig on child3; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 delete from parent; -NOTICE: trigger = parent_delete_trig, old table = (AAA,42), (BBB,42), (CCC,42) -- copy into parent sees tuples collected from children even if there @@ -80789,7 +80775,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la -- insert into parent with a before trigger on a child tuple before -- insertion, and we capture the newly modified row in parent format create or replace function intercept_insert() returns trigger language plpgsql as -@@ -2985,41 +3703,90 @@ +@@ -2985,41 +3761,90 @@ return new; end; $$; @@ -80802,7 +80788,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la for each row execute procedure intercept_insert(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- insert, parent trigger sees post-modification parent-format tuple insert into parent values ('AAA', 42), ('BBB', 42), ('CCC', 66); -NOTICE: trigger = parent_insert_trig, new table = (AAA,42), (BBB,42), (CCC,1066) @@ -80846,7 +80832,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la -ERROR: ROW triggers with transition tables are not supported on partitions +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- detaching it first works alter table parent detach partition child; +ERROR: at or near "detach": syntax error @@ -80859,7 +80845,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la for each row execute procedure dump_insert(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- but now we're not allowed to reattach it alter table parent attach partition child for values in ('AAA'); -ERROR: trigger "child_row_trig" prevents table "child" from becoming a partition @@ -80873,7 +80859,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la drop trigger child_row_trig on child; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 alter table parent attach partition child for values in ('AAA'); +ERROR: at or near "attach": syntax error +DETAIL: source SQL: @@ -80885,7 +80871,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la -- -- Verify behavior of statement triggers on (non-partition) -- inheritance hierarchy with transition tables; similar to the -@@ -3028,123 +3795,244 @@ +@@ -3028,123 +3853,244 @@ -- -- set up inheritance hierarchy with different TupleDescriptors create table parent (a text, b int); @@ -80897,7 +80883,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la +create table child1 () inherits (parent) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 -- a child with a different column order create table child2 (b int, a text); +ERROR: relation "root.public.child2" already exists @@ -80914,79 +80900,79 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la +create table child3 (c text) inherits (parent) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 create trigger parent_insert_trig after insert on parent referencing new table as new_table for each statement execute procedure dump_insert(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger parent_update_trig after update on parent referencing old table as old_table new table as new_table for each statement execute procedure dump_update(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger parent_delete_trig after delete on parent referencing old table as old_table for each statement execute procedure dump_delete(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger child1_insert_trig after insert on child1 referencing new table as new_table for each statement execute procedure dump_insert(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger child1_update_trig after update on child1 referencing old table as old_table new table as new_table for each statement execute procedure dump_update(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger child1_delete_trig after delete on child1 referencing old table as old_table for each statement execute procedure dump_delete(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger child2_insert_trig after insert on child2 referencing new table as new_table for each statement execute procedure dump_insert(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger child2_update_trig after update on child2 referencing old table as old_table new table as new_table for each statement execute procedure dump_update(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger child2_delete_trig after delete on child2 referencing old table as old_table for each statement execute procedure dump_delete(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger child3_insert_trig after insert on child3 referencing new table as new_table for each statement execute procedure dump_insert(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger child3_update_trig after update on child3 referencing old table as old_table new table as new_table for each statement execute procedure dump_update(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger child3_delete_trig after delete on child3 referencing old table as old_table for each statement execute procedure dump_delete(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- insert directly into children sees respective child-format tuples insert into child1 values ('AAA', 42); -NOTICE: trigger = child1_insert_trig, new table = (AAA,42) @@ -81055,35 +81041,35 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la drop trigger child1_update_trig on child1; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 drop trigger child1_delete_trig on child1; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 drop trigger child2_insert_trig on child2; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 drop trigger child2_update_trig on child2; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 drop trigger child2_delete_trig on child2; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 drop trigger child3_insert_trig on child3; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 drop trigger child3_update_trig on child3; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 drop trigger child3_delete_trig on child3; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 delete from parent; -NOTICE: trigger = parent_delete_trig, old table = (AAA,42), (BBB,42), (CCC,42), (DDD,42) drop table child1, child2, child3, parent; @@ -81100,7 +81086,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la +create table child () inherits (parent) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 -- adding row trigger with transition table fails create trigger child_row_trig after insert on child referencing new table as new_table @@ -81108,7 +81094,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la -ERROR: ROW triggers with transition tables are not supported on inheritance children +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- disinheriting it first works alter table child no inherit parent; +ERROR: at or near "inherit": syntax error @@ -81121,7 +81107,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la for each row execute procedure dump_insert(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- but now we're not allowed to make it inherit anymore alter table child inherit parent; -ERROR: trigger "child_row_trig" prevents table "child" from becoming an inheritance child @@ -81135,7 +81121,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la drop trigger child_row_trig on child; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 alter table child inherit parent; +ERROR: at or near "inherit": syntax error +DETAIL: source SQL: @@ -81147,19 +81133,19 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la -- -- Verify behavior of queries with wCTEs, where multiple transition -- tuplestores can be active at the same time because there are -@@ -3156,29 +4044,32 @@ +@@ -3156,29 +4102,32 @@ create trigger table1_trig after insert on table1 referencing new table as new_table for each statement execute procedure dump_insert(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger table2_trig after insert on table2 referencing new table as new_table for each statement execute procedure dump_insert(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 with wcte as (insert into table1 values (42)) insert into table2 values ('hello world'); -NOTICE: trigger = table2_trig, new table = ("hello world") @@ -81193,19 +81179,19 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la drop table table1; drop table table2; -@@ -3190,60 +4081,89 @@ +@@ -3190,60 +4139,89 @@ create trigger my_table_insert_trig after insert on my_table referencing new table as new_table for each statement execute procedure dump_insert(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger my_table_update_trig after update on my_table referencing old table as old_table new table as new_table for each statement execute procedure dump_update(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- inserts only insert into my_table values (1, 'AAA'), (2, 'BBB') on conflict (a) do @@ -81262,13 +81248,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la for each statement execute procedure dump_insert(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger iocdu_tt_parted_update_trig after update on iocdu_tt_parted referencing old table as old_table new table as new_table for each statement execute procedure dump_update(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- inserts only insert into iocdu_tt_parted values (1, 'AAA'), (2, 'BBB') on conflict (a) do @@ -81295,57 +81281,57 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la -- -- Verify that you can't create a trigger with transition tables for -- more than one event. -@@ -3251,7 +4171,9 @@ +@@ -3251,7 +4229,9 @@ create trigger my_table_multievent_trig after insert or update on my_table referencing new table as new_table for each statement execute procedure dump_insert(); -ERROR: transition tables cannot be specified for triggers with more than one event +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- -- Verify that you can't create a trigger with transition tables with -- a column list. -@@ -3259,7 +4181,9 @@ +@@ -3259,7 +4239,9 @@ create trigger my_table_col_update_trig after update of b on my_table referencing new table as new_table for each statement execute procedure dump_insert(); -ERROR: transition tables cannot be specified for triggers with column lists +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 drop table my_table; -- -- Test firing of triggers with transition tables by foreign key cascades -@@ -3271,15 +4195,27 @@ +@@ -3271,15 +4253,27 @@ create trigger trig_table_before_trig before insert or update or delete on trig_table for each statement execute procedure trigger_func('trig_table'); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger trig_table_insert_trig after insert on trig_table referencing new table as new_table for each statement execute procedure dump_insert(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger trig_table_update_trig after update on trig_table referencing old table as old_table new table as new_table for each statement execute procedure dump_update(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger trig_table_delete_trig after delete on trig_table referencing old table as old_table for each statement execute procedure dump_delete(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 insert into refd_table values (1, 'one'), (2, 'two'), -@@ -3291,25 +4227,19 @@ +@@ -3291,25 +4285,19 @@ (2, 'two b'), (3, 'three a'), (3, 'three b'); @@ -81373,25 +81359,25 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la select * from trig_table; a | b ---+--------- -@@ -3326,27 +4256,30 @@ +@@ -3326,27 +4314,30 @@ create trigger self_ref_before_trig before delete on self_ref for each statement execute procedure trigger_func('self_ref'); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger self_ref_r_trig after delete on self_ref referencing old table as old_table for each row execute procedure dump_delete(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger self_ref_s_trig after delete on self_ref referencing old table as old_table for each statement execute procedure dump_delete(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 insert into self_ref values (1, null), (2, 1), (3, 2); delete from self_ref where a = 1; -NOTICE: trigger_func(self_ref) called: action = DELETE, when = BEFORE, level = STATEMENT @@ -81405,7 +81391,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la drop trigger self_ref_r_trig on self_ref; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 insert into self_ref values (1, null), (2, 1), (3, 2), (4, 3); delete from self_ref where a = 1; -NOTICE: trigger_func(self_ref) called: action = DELETE, when = BEFORE, level = STATEMENT @@ -81413,29 +81399,29 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la drop table self_ref; -- -- test transition tables with MERGE -@@ -3355,12 +4288,21 @@ +@@ -3355,12 +4346,21 @@ create trigger merge_target_table_insert_trig after insert on merge_target_table referencing new table as new_table for each statement execute procedure dump_insert(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger merge_target_table_update_trig after update on merge_target_table referencing old table as old_table new table as new_table for each statement execute procedure dump_update(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger merge_target_table_delete_trig after delete on merge_target_table referencing old table as old_table for each statement execute procedure dump_delete(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create table merge_source_table (a int, b text); insert into merge_source_table values (1, 'initial1'), (2, 'initial2'), -@@ -3370,7 +4312,10 @@ +@@ -3370,7 +4370,10 @@ on t.a = s.a when not matched then insert values (a, b); @@ -81447,7 +81433,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la merge into merge_target_table t using merge_source_table s on t.a = s.a -@@ -3380,9 +4325,10 @@ +@@ -3380,9 +4383,10 @@ delete when not matched then insert values (a, b); @@ -81461,7 +81447,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la merge into merge_target_table t using merge_source_table s on t.a = s.a -@@ -3392,14 +4338,18 @@ +@@ -3392,9 +4396,10 @@ delete when not matched then insert values (a, b); @@ -81475,42 +81461,20 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la drop table merge_source_table, merge_target_table; -- cleanup drop function dump_insert(); -+ERROR: unknown function: dump_insert() - drop function dump_update(); -+ERROR: unknown function: dump_update() - drop function dump_delete(); -+ERROR: unknown function: dump_delete() - -- - -- Tests for CREATE OR REPLACE TRIGGER - -- -@@ -3409,100 +4359,205 @@ - raise notice 'hello from funcA'; - return null; - end; $$ language plpgsql; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev - create function funcB() returns trigger as $$ - begin - raise notice 'hello from funcB'; - return null; - end; $$ language plpgsql; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev +@@ -3417,92 +4422,186 @@ create trigger my_trig after insert on my_table for each row execute procedure funcA(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger my_trig before insert on my_table for each row execute procedure funcB(); -- should fail -ERROR: trigger "my_trig" for relation "my_table" already exists +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 insert into my_table values (1); -NOTICE: hello from funcA create or replace trigger my_trig @@ -81518,7 +81482,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la for each row execute procedure funcB(); -- OK +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 insert into my_table values (2); -- this insert should become a no-op -NOTICE: hello from funcB table my_table; @@ -81569,7 +81533,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la for each row execute procedure funcA(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 insert into parted_trig (a) values (50); -NOTICE: hello from funcA +ERROR: relation "parted_trig" does not exist @@ -81578,7 +81542,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la for each row execute procedure funcB(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 insert into parted_trig (a) values (50); -NOTICE: hello from funcB +ERROR: relation "parted_trig" does not exist @@ -81588,7 +81552,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la for each row execute procedure funcA(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 insert into parted_trig (a) values (50); -NOTICE: hello from funcA +ERROR: relation "parted_trig" does not exist @@ -81598,14 +81562,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la -ERROR: trigger "my_trig" for relation "parted_trig_1" is an internal or a child trigger +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 insert into parted_trig (a) values (50); -NOTICE: hello from funcA +ERROR: relation "parted_trig" does not exist drop trigger my_trig on parted_trig; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 insert into parted_trig (a) values (50); +ERROR: relation "parted_trig" does not exist -- test that user trigger can be overwritten by one defined at upper level @@ -81614,7 +81578,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la for each row execute procedure funcA(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 insert into parted_trig (a) values (50); -NOTICE: hello from funcA +ERROR: relation "parted_trig" does not exist @@ -81624,7 +81588,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la -ERROR: trigger "my_trig" for relation "parted_trig_1" already exists +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 insert into parted_trig (a) values (50); -NOTICE: hello from funcA +ERROR: relation "parted_trig" does not exist @@ -81633,7 +81597,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la for each row execute procedure funcB(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 insert into parted_trig (a) values (50); -NOTICE: hello from funcB +ERROR: relation "parted_trig" does not exist @@ -81641,9 +81605,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la drop table parted_trig; +ERROR: relation "parted_trig" does not exist drop function funcA(); -+ERROR: unknown function: funca() drop function funcB(); -+ERROR: unknown function: funcb() -- Leave around some objects for other tests create table trigger_parted (a int primary key) partition by list (a); +ERROR: at or near "EOF": syntax error @@ -81653,14 +81615,11 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la +HINT: try \h CREATE TABLE create function trigger_parted_trigfunc() returns trigger language plpgsql as $$ begin end; $$; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev create trigger aft_row after insert or update on trigger_parted for each row execute function trigger_parted_trigfunc(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create table trigger_parted_p1 partition of trigger_parted for values in (1) partition by list (a); +ERROR: at or near "partition": syntax error @@ -81702,47 +81661,25 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la -- verify transition table conversion slot's lifetime -- https://postgr.es/m/39a71864-b120-5a5c-8cc5-c632b6f16761@amazon.com create table convslot_test_parent (col1 text primary key); -@@ -3524,6 +4579,9 @@ - (select string_agg(old_table::text, ', ' order by col1) from old_table); - return null; - end; $$; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev - create function convslot_trig2() - returns trigger - language plpgsql -@@ -3534,11 +4592,16 @@ - (select string_agg(new_table::text, ', ' order by col1) from new_table); - return null; - end; $$; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev +@@ -3537,8 +4636,10 @@ create trigger but_trigger after update on convslot_test_child referencing new table as new_table for each statement execute function convslot_trig2(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 update convslot_test_parent set col1 = col1 || '1'; -NOTICE: trigger = but_trigger, new table = (11,tutu), (31,tutu) create function convslot_trig3() returns trigger language plpgsql -@@ -3550,117 +4613,203 @@ - (select string_agg(new_table::text, ', ' order by col1) from new_table); - return null; - end; $$; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev +@@ -3553,14 +4654,17 @@ create trigger but_trigger2 after update on convslot_test_child referencing old table as old_table new table as new_table for each statement execute function convslot_trig3(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 update convslot_test_parent set col1 = col1 || '1'; -NOTICE: trigger = but_trigger, new table = (111,tutu), (311,tutu) -NOTICE: trigger = but_trigger2, old_table = (11,tutu), (31,tutu), new table = (111,tutu), (311,tutu) @@ -81751,17 +81688,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la for each statement execute function convslot_trig1(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 delete from convslot_test_parent; -NOTICE: trigger = bdt_trigger, old_table = (111,tutu), (311,tutu) drop table convslot_test_child, convslot_test_parent; drop function convslot_trig1(); -+ERROR: unknown function: convslot_trig1() drop function convslot_trig2(); -+ERROR: unknown function: convslot_trig2() - drop function convslot_trig3(); -+ERROR: unknown function: convslot_trig3() - -- Bug #17607: variant of above in which trigger function raises an error; +@@ -3569,98 +4673,167 @@ -- we don't see any ill effects unless trigger tuple requires mapping create table convslot_test_parent (id int primary key, val int) partition by range (id); @@ -81782,16 +81715,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la +HINT: try \h ALTER TABLE create function convslot_trig4() returns trigger as $$begin raise exception 'BOOM!'; end$$ language plpgsql; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev create trigger convslot_test_parent_update after update on convslot_test_parent referencing old table as old_rows new table as new_rows for each statement execute procedure convslot_trig4(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 insert into convslot_test_parent (id, val) values (1, 2); +ERROR: relation "convslot_test_parent" does not exist begin; @@ -81805,7 +81735,6 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la drop table convslot_test_parent; +ERROR: relation "convslot_test_parent" does not exist drop function convslot_trig4(); -+ERROR: unknown function: convslot_trig4() -- Test trigger renaming on partitioned tables create table grandparent (id int, primary key (id)) partition by range (id); +ERROR: at or near "EOF": syntax error @@ -81835,14 +81764,11 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la create function f () returns trigger as $$ begin return new; end; $$ language plpgsql; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev create trigger a after insert on grandparent for each row execute procedure f(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 alter trigger a on grandparent rename to b; +ERROR: at or near "trigger": syntax error +DETAIL: source SQL: @@ -81883,7 +81809,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la for each row execute procedure f(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 alter trigger b on grandparent rename to c; -ERROR: trigger "c" for relation "middle" already exists +ERROR: at or near "trigger": syntax error @@ -81895,11 +81821,11 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la create trigger p after insert on grandparent for each statement execute function f(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger p after insert on middle for each statement execute function f(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 alter trigger p on grandparent rename to q; +ERROR: at or near "trigger": syntax error +DETAIL: source SQL: @@ -81935,17 +81861,17 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la +create table child () inherits (parent) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 create trigger parenttrig after insert on parent for each row execute procedure f(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger parenttrig after insert on child for each row execute procedure f(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 alter trigger parenttrig on parent rename to anothertrig; +ERROR: at or near "trigger": syntax error +DETAIL: source SQL: @@ -81973,7 +81899,6 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/triggers.out --la drop table parent, child; +ERROR: relation "child" does not exist drop function f(); -+ERROR: unknown function: f() diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/random.out --label=/mnt/data1/postgres/src/test/regress/results/random.out /mnt/data1/postgres/src/test/regress/expected/random.out /mnt/data1/postgres/src/test/regress/results/random.out --- /mnt/data1/postgres/src/test/regress/expected/random.out +++ /mnt/data1/postgres/src/test/regress/results/random.out @@ -82149,7 +82074,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/delete.out --labe a INT, b text ); -+NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/dev/serial.html ++NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/v24.3/serial.html INSERT INTO delete_test (a) VALUES (10); INSERT INTO delete_test (a, b) VALUES (50, repeat('x', 10000)); INSERT INTO delete_test (a) VALUES (100); @@ -82193,14 +82118,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inherit.out --lab +CREATE TABLE b (bb TEXT) INHERITS (a) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 CREATE TABLE c (cc TEXT) INHERITS (a); +ERROR: at or near "(": syntax error: unimplemented: this syntax +DETAIL: source SQL: +CREATE TABLE c (cc TEXT) INHERITS (a) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 CREATE TABLE d (dd TEXT) INHERITS (b,c,a); -NOTICE: merging multiple inherited definitions of column "aa" -NOTICE: merging multiple inherited definitions of column "aa" @@ -82209,7 +82134,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inherit.out --lab +CREATE TABLE d (dd TEXT) INHERITS (b,c,a) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 INSERT INTO a(aa) VALUES('aaa'); INSERT INTO a(aa) VALUES('aaaa'); INSERT INTO a(aa) VALUES('aaaaa'); @@ -82794,7 +82719,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inherit.out --lab +CREATE TEMP TABLE z (b TEXT, PRIMARY KEY(aa, b)) inherits (a) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 INSERT INTO z VALUES (NULL, 'text'); -- should fail -ERROR: null value in column "aa" of relation "z" violates not-null constraint -DETAIL: Failing row contains (null, text). @@ -82807,7 +82732,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inherit.out --lab +create table some_tab_child () inherits (some_tab) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 insert into some_tab_child values(1,2); +ERROR: relation "some_tab_child" does not exist explain (verbose, costs off) @@ -82863,7 +82788,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inherit.out --lab +create temp table foo2(f3 int) inherits (foo) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 create temp table bar(f1 int, f2 int); create temp table bar2(f3 int) inherits (bar); +ERROR: at or near "(": syntax error: unimplemented: this syntax @@ -82871,7 +82796,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inherit.out --lab +create temp table bar2(f3 int) inherits (bar) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 insert into foo values(1,1); insert into foo values(3,3); insert into foo2 values(2,2,2); @@ -82932,7 +82857,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inherit.out --lab +create table some_tab_child () inherits (some_tab) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 insert into some_tab_child values (1); +ERROR: relation "some_tab_child" does not exist create table parted_tab (a int, b char) partition by list (a); @@ -83073,7 +82998,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inherit.out --lab +CREATE TABLE jointchild () INHERITS (firstparent, secondparent) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 CREATE TABLE thirdparent (tomorrow date default now()::date - 1); CREATE TABLE otherchild () INHERITS (firstparent, thirdparent); -- not ok -NOTICE: merging multiple inherited definitions of column "tomorrow" @@ -83084,7 +83009,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inherit.out --lab +CREATE TABLE otherchild () INHERITS (firstparent, thirdparent) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 CREATE TABLE otherchild (tomorrow date default now()) INHERITS (firstparent, thirdparent); -- ok, child resolves ambiguous default -NOTICE: merging multiple inherited definitions of column "tomorrow" @@ -83095,7 +83020,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inherit.out --lab + INHERITS (firstparent, thirdparent) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 DROP TABLE firstparent, secondparent, jointchild, thirdparent, otherchild; +ERROR: relation "jointchild" does not exist -- Test changing the type of inherited columns @@ -83103,7 +83028,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inherit.out --lab +ERROR: relation "d" does not exist alter table a alter column aa type integer using bit_length(aa); +ERROR: ALTER COLUMN TYPE from string to int is only supported experimentally -+HINT: See: https://go.crdb.dev/issue-v/49329/dev ++HINT: See: https://go.crdb.dev/issue-v/49329/v24.3 +-- +you can enable alter column type general support by running `SET enable_experimental_alter_column_type_general = true` select * from d; @@ -83125,7 +83050,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inherit.out --lab +create temp table childtab(f4 int) inherits(parent1, parent2) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 alter table parent1 alter column f1 type bigint; -- fail, conflict w/parent2 -ERROR: cannot alter inherited column "f1" of relation "childtab" alter table parent1 alter column f2 type bigint; -- ok @@ -83154,7 +83079,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inherit.out --lab +create table c1 () inherits (p1) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 \d p1 - Table "public.p1" - Column | Type | Collation | Nullable | Default @@ -83211,7 +83136,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inherit.out --lab +create table derived () inherits (base) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 create table more_derived (like derived, b int) inherits (derived); -NOTICE: merging column "i" with inherited definition +ERROR: at or near "(": syntax error: unimplemented: this syntax @@ -83219,7 +83144,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inherit.out --lab +create table more_derived (like derived, b int) inherits (derived) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 insert into derived (i) values (0); +ERROR: relation "derived" does not exist select derived::base from derived; @@ -83279,7 +83204,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inherit.out --lab +create table c1(f3 int) inherits(p1,p2) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 insert into c1 values(123456789, 'hi', 42); +ERROR: relation "c1" does not exist select p2text(c1.*) from c1; @@ -83303,7 +83228,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inherit.out --lab +CREATE TABLE bc (bb TEXT) INHERITS (ac) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 select pc.relname, pgc.conname, pgc.contype, pgc.conislocal, pgc.coninhcount, pg_get_expr(pgc.conbin, pc.oid) as consrc from pg_class as pc inner join pg_constraint as pgc on (pgc.conrelid = pc.oid) where pc.relname in ('ac', 'bc') order by 1,2; relname | conname | contype | conislocal | coninhcount | consrc ---------+----------+---------+------------+-------------+------------------ @@ -83418,7 +83343,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inherit.out --lab +create table bc (a int constraint check_a check (a <> 0), b int constraint check_b check (b <> 0)) inherits (ac) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 select pc.relname, pgc.conname, pgc.contype, pgc.conislocal, pgc.coninhcount, pg_get_expr(pgc.conbin, pc.oid) as consrc from pg_class as pc inner join pg_constraint as pgc on (pgc.conrelid = pc.oid) where pc.relname in ('ac', 'bc') order by 1,2; relname | conname | contype | conislocal | coninhcount | consrc ---------+---------+---------+------------+-------------+---------- @@ -83441,7 +83366,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inherit.out --lab +create table cc (c int constraint check_c check (c <> 0)) inherits (ac, bc) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 select pc.relname, pgc.conname, pgc.contype, pgc.conislocal, pgc.coninhcount, pg_get_expr(pgc.conbin, pc.oid) as consrc from pg_class as pc inner join pg_constraint as pgc on (pgc.conrelid = pc.oid) where pc.relname in ('ac', 'bc', 'cc') order by 1,2; relname | conname | contype | conislocal | coninhcount | consrc ---------+---------+---------+------------+-------------+---------- @@ -83490,7 +83415,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inherit.out --lab +create table c1(f3 int) inherits(p1,p2) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 insert into c1 values(1,-1,2); +ERROR: relation "c1" does not exist alter table p2 add constraint cc check (f2>0); -- fail @@ -83512,7 +83437,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inherit.out --lab +create table c2(f3 int) inherits(p1,p2) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 \d c2 - Table "public.c2" - Column | Type | Collation | Nullable | Default @@ -83543,7 +83468,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inherit.out --lab +create table c3 (f4 int) inherits(c1,c2) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 \d c3 - Table "public.c3" - Column | Type | Collation | Nullable | Default @@ -83579,7 +83504,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inherit.out --lab +create table cc1 (f2 text, f3 int) inherits (pp1) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 alter table pp1 add column a1 int check (a1 > 0); \d cc1 - Table "public.cc1" @@ -83610,7 +83535,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inherit.out --lab +create table cc2(f4 float) inherits(pp1,cc1) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 \d cc2 - Table "public.cc2" - Column | Type | Collation | Nullable | Default @@ -83676,7 +83601,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inherit.out --lab +CREATE TABLE inhts (d int) INHERITS (inht1, inhs1) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 ALTER TABLE inht1 RENAME a TO aa; ALTER TABLE inht1 RENAME b TO bb; -- to be failed -ERROR: cannot rename inherited column "b" @@ -83714,14 +83639,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inherit.out --lab +CREATE TABLE inht2 (x int) INHERITS (inht1) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 CREATE TABLE inht3 (y int) INHERITS (inht1); +ERROR: at or near "(": syntax error: unimplemented: this syntax +DETAIL: source SQL: +CREATE TABLE inht3 (y int) INHERITS (inht1) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 CREATE TABLE inht4 (z int) INHERITS (inht2, inht3); -NOTICE: merging multiple inherited definitions of column "aa" -NOTICE: merging multiple inherited definitions of column "b" @@ -83730,7 +83655,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inherit.out --lab +CREATE TABLE inht4 (z int) INHERITS (inht2, inht3) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 ALTER TABLE inht1 RENAME aa TO aaa; \d+ inht4 - Table "public.inht4" @@ -83760,7 +83685,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inherit.out --lab +CREATE TABLE inhts (d int) INHERITS (inht2, inhs1) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 ALTER TABLE inht1 RENAME aaa TO aaaa; ALTER TABLE inht1 RENAME b TO bb; -- to be failed -ERROR: cannot rename inherited column "b" @@ -83822,7 +83747,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inherit.out --lab +CREATE TABLE test_constraints_inh () INHERITS (test_constraints) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 \d+ test_constraints - Table "public.test_constraints" - Column | Type | Collation | Nullable | Default | Storage | Stats target | Description @@ -83846,7 +83771,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inherit.out --lab ALTER TABLE ONLY test_constraints DROP CONSTRAINT test_constraints_val1_val2_key; +ERROR: unimplemented: cannot drop UNIQUE constraint "test_constraints_val1_val2_key" using ALTER TABLE DROP CONSTRAINT, use DROP INDEX CASCADE instead +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/42840/dev ++See: https://go.crdb.dev/issue-v/42840/v24.3 \d+ test_constraints - Table "public.test_constraints" - Column | Type | Collation | Nullable | Default | Storage | Stats target | Description @@ -83896,14 +83821,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inherit.out --lab + c circle, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 CREATE TABLE test_ex_constraints_inh () INHERITS (test_ex_constraints); +ERROR: at or near "(": syntax error: unimplemented: this syntax +DETAIL: source SQL: +CREATE TABLE test_ex_constraints_inh () INHERITS (test_ex_constraints) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 \d+ test_ex_constraints - Table "public.test_ex_constraints" - Column | Type | Collation | Nullable | Default | Storage | Stats target | Description @@ -83969,7 +83894,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inherit.out --lab +CREATE TABLE test_foreign_constraints_inh () INHERITS (test_foreign_constraints) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 \d+ test_primary_constraints - Table "public.test_primary_constraints" - Column | Type | Collation | Nullable | Default | Storage | Stats target | Description @@ -84054,7 +83979,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inherit.out --lab +create table inh_fk_2_child () inherits (inh_fk_2) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 insert into inh_fk_2_child values (111, 1), (222, 2); +ERROR: relation "inh_fk_2_child" does not exist delete from inh_fk_1 where a = 1; @@ -84087,7 +84012,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inherit.out --lab +create table p1_c1() inherits(p1) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 alter table p1 add constraint inh_check_constraint1 check (f1 > 0); alter table p1_c1 add constraint inh_check_constraint1 check (f1 > 0); -NOTICE: merging constraint "inh_check_constraint1" with inherited definition @@ -84118,7 +84043,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inherit.out --lab +create table invalid_check_con_child() inherits(invalid_check_con) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 alter table invalid_check_con_child add constraint inh_check_constraint check(f1 > 0) not valid; +ERROR: relation "invalid_check_con_child" does not exist alter table invalid_check_con add constraint inh_check_constraint check(f1 > 0); -- fail @@ -84165,7 +84090,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inherit.out --lab +create temp table patest1() inherits (patest0) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 insert into patest1 select x, x from generate_series(0,1000) x; +ERROR: relation "patest1" does not exist @@ -84175,7 +84100,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inherit.out --lab +create temp table patest2() inherits (patest0) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 insert into patest2 select x, x from generate_series(0,1000) x; +ERROR: relation "patest2" does not exist @@ -84259,7 +84184,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inherit.out --lab -- Test merge-append plans for inheritance trees -- create table matest0 (id serial primary key, name text); -+NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/dev/serial.html ++NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/v24.3/serial.html create table matest1 (id integer primary key) inherits (matest0); -NOTICE: merging column "id" with inherited definition +ERROR: at or near "(": syntax error: unimplemented: this syntax @@ -84267,7 +84192,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inherit.out --lab +create table matest1 (id integer primary key) inherits (matest0) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 create table matest2 (id integer primary key) inherits (matest0); -NOTICE: merging column "id" with inherited definition +ERROR: at or near "(": syntax error: unimplemented: this syntax @@ -84275,7 +84200,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inherit.out --lab +create table matest2 (id integer primary key) inherits (matest0) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 create table matest3 (id integer primary key) inherits (matest0); -NOTICE: merging column "id" with inherited definition +ERROR: at or near "(": syntax error: unimplemented: this syntax @@ -84283,7 +84208,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inherit.out --lab +create table matest3 (id integer primary key) inherits (matest0) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 create index matest0i on matest0 ((1-id)); create index matest1i on matest1 ((1-id)); +ERROR: relation "matest1" does not exist @@ -84497,7 +84422,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inherit.out --lab +create table matest1 () inherits(matest0) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 create index matest0i on matest0 (b, c); create index matest1i on matest1 (b, c); +ERROR: relation "matest1" does not exist @@ -84937,7 +84862,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inherit.out --lab +create table cnullchild (check (f1 = 1 or f1 = null)) inherits(cnullparent) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 insert into cnullchild values(1); +ERROR: relation "cnullchild" does not exist insert into cnullchild values(2); @@ -84973,7 +84898,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inherit.out --lab +create temp table inh_temp_child () inherits (inh_perm_parent) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 create table inh_perm_child () inherits (inh_temp_parent); -- error -ERROR: cannot inherit from temporary relation "inh_temp_parent" +ERROR: at or near "(": syntax error: unimplemented: this syntax @@ -84981,14 +84906,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inherit.out --lab +create table inh_perm_child () inherits (inh_temp_parent) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 create temp table inh_temp_child_2 () inherits (inh_temp_parent); -- ok +ERROR: at or near "(": syntax error: unimplemented: this syntax +DETAIL: source SQL: +create temp table inh_temp_child_2 () inherits (inh_temp_parent) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 insert into inh_perm_parent values (1); insert into inh_temp_parent values (2); insert into inh_temp_child values (3); @@ -86318,7 +86243,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inherit.out --lab +set session authorization regress_no_child_access + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 -- without stats access, these queries would produce hash join plans: explain (costs off) select * from permtest_parent p1 inner join permtest_parent p2 @@ -86374,7 +86299,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/inherit.out --lab +set session authorization regress_no_child_access + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 explain (costs off) select p2.a, p1.c from permtest_parent p1 inner join permtest_parent p2 on p1.a = p2.a and p1.c ~ 'a1$'; @@ -87263,7 +87188,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/case.out --label= +CREATE DOMAIN foodomain AS text + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 CREATE FUNCTION volfoo(text) returns foodomain as 'begin return $1::foodomain; end' language plpgsql volatile; +ERROR: current transaction is aborted, commands ignored until end of transaction block @@ -87277,7 +87202,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/case.out --label= +CREATE OPERATOR = (procedure = inline_eq, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 SELECT CASE volfoo('bar') WHEN 'foo'::foodomain THEN 'is foo' ELSE 'is not foo' END; - case ------------- @@ -87296,7 +87221,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/case.out --label= +CREATE DOMAIN arrdomain AS int[] + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 CREATE FUNCTION make_ad(int,int) returns arrdomain as 'declare x arrdomain; begin @@ -87314,7 +87239,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/case.out --label= +CREATE OPERATOR = (procedure = ad_eq, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 SELECT CASE make_ad(1,2) WHEN array[2,4]::arrdomain THEN 'wrong' WHEN array[2,5]::arrdomain THEN 'still wrong' @@ -87369,7 +87294,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/select_into.out - +SET SESSION AUTHORIZATION regress_selinto_user + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 -- WITH DATA, passes. CREATE TABLE selinto_schema.tbl_withdata1 (a) AS SELECT generate_series(1,3) WITH DATA; @@ -87484,7 +87409,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/select_into.out - +SET SESSION AUTHORIZATION regress_selinto_user + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 RESET SESSION AUTHORIZATION; +ERROR: at or near "authorization": syntax error +DETAIL: source SQL: @@ -88744,7 +88669,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/portals.out --lab DECLARE foo1 SCROLL CURSOR FOR SELECT * FROM tenk1 ORDER BY unique2; +ERROR: unimplemented: DECLARE SCROLL CURSOR +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/77102/dev ++See: https://go.crdb.dev/issue-v/77102/v24.3 DECLARE foo2 SCROLL CURSOR FOR SELECT * FROM tenk2; +ERROR: current transaction is aborted, commands ignored until end of transaction block DECLARE foo3 SCROLL CURSOR FOR SELECT * FROM tenk1 ORDER BY unique2; @@ -89542,7 +89467,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/portals.out --lab DECLARE foo25 SCROLL CURSOR WITH HOLD FOR SELECT * FROM tenk2; +ERROR: unimplemented: DECLARE SCROLL CURSOR +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/77102/dev ++See: https://go.crdb.dev/issue-v/77102/v24.3 FETCH FROM foo25; - unique1 | unique2 | two | four | ten | twenty | hundred | thousand | twothousand | fivethous | tenthous | odd | even | stringu1 | stringu2 | string4 ----------+---------+-----+------+-----+--------+---------+----------+-------------+-----------+----------+-----+------+----------+----------+--------- @@ -89609,7 +89534,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/portals.out --lab COMMIT; +ERROR: unimplemented: cursor foo25ns WITH HOLD must be closed before committing +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/77101/dev ++See: https://go.crdb.dev/issue-v/77101/v24.3 FETCH FROM foo25ns; - unique1 | unique2 | two | four | ten | twenty | hundred | thousand | twothousand | fivethous | tenthous | odd | even | stringu1 | stringu2 | string4 ----------+---------+-----+------+-----+--------+---------+----------+-------------+-----------+----------+-----+------+----------+----------+--------- @@ -89704,7 +89629,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/portals.out --lab commit; +ERROR: unimplemented: cursor c2 WITH HOLD must be closed before committing +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/77101/dev ++See: https://go.crdb.dev/issue-v/77101/v24.3 delete from tt1; fetch all from c2; - count_tt1_v | count_tt1_s @@ -89729,7 +89654,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/portals.out --lab DECLARE bc BINARY CURSOR FOR SELECT * FROM tenk1; +ERROR: unimplemented: DECLARE BINARY CURSOR +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/77099/dev ++See: https://go.crdb.dev/issue-v/77099/v24.3 SELECT name, statement, is_holdable, is_binary, is_scrollable FROM pg_cursors ORDER BY 1; - name | statement | is_holdable | is_binary | is_scrollable -------+----------------------------------------------------------------------+-------------+-----------+--------------- @@ -90078,7 +90003,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/portals.out --lab +CREATE TEMP TABLE ucchild () inherits (uctest) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 INSERT INTO ucchild values(100, 'hundred'); +ERROR: relation "ucchild" does not exist SELECT * FROM uctest; @@ -90227,7 +90152,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/portals.out --lab DECLARE cx CURSOR WITH HOLD FOR SELECT * FROM uctest; +ERROR: unimplemented: DECLARE CURSOR WITH HOLD can only be used in transaction blocks +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/77101/dev ++See: https://go.crdb.dev/issue-v/77101/v24.3 DELETE FROM uctest WHERE CURRENT OF cx; -- fail, can't use held cursor -ERROR: cursor "cx" is held from a previous transaction +ERROR: at or near "of": syntax error @@ -90364,14 +90289,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/portals.out --lab +CREATE TABLE current_check_1 () INHERITS (current_check) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 CREATE TABLE current_check_2 () INHERITS (current_check); +ERROR: at or near "(": syntax error: unimplemented: this syntax +DETAIL: source SQL: +CREATE TABLE current_check_2 () INHERITS (current_check) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 INSERT INTO current_check_1 SELECT i, 'p' || i FROM generate_series(1,9) i; +ERROR: current transaction is aborted, commands ignored until end of transaction block INSERT INTO current_check_2 SELECT i, 'P' || i FROM generate_series(10,19) i; @@ -91030,7 +90955,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/union.out --label +select x from (values (array[100::money]), (array[200::money])) _(x) union select x from (values (array[100::money]), (array[300::money])) _(x) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/41578/dev ++See: https://go.crdb.dev/issue-v/41578/v24.3 set enable_hashagg to off; +ERROR: unimplemented: the configuration setting "enable_hashagg" is not supported +HINT: You have attempted to use a feature that is not yet implemented. @@ -91242,7 +91167,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/union.out --label +select x from (values (row(100::money)), (row(200::money))) _(x) union select x from (values (row(100::money)), (row(300::money))) _(x) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/41578/dev ++See: https://go.crdb.dev/issue-v/41578/v24.3 -- With a defined row type, the typcache can inspect the type's fields -- for hashability. create type ct1 as (f1 money); @@ -91251,7 +91176,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/union.out --label +create type ct1 as (f1 money) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/41578/dev ++See: https://go.crdb.dev/issue-v/41578/v24.3 explain (costs off) select x from (values (row(100::money)::ct1), (row(200::money)::ct1)) _(x) union select x from (values (row(100::money)::ct1), (row(300::money)::ct1)) _(x); - QUERY PLAN @@ -91282,7 +91207,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/union.out --label +select x from (values (row(100::money)::ct1), (row(200::money)::ct1)) _(x) union select x from (values (row(100::money)::ct1), (row(300::money)::ct1)) _(x) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/41578/dev ++See: https://go.crdb.dev/issue-v/41578/v24.3 drop type ct1; +ERROR: type "ct1" does not exist set enable_hashagg to off; @@ -91721,7 +91646,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/union.out --label +CREATE TEMP TABLE t2c (primary key (ab)) INHERITS (t2) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 INSERT INTO t1c VALUES ('v', 'w'), ('c', 'd'), ('m', 'n'), ('e', 'f'); INSERT INTO t2c VALUES ('vw'), ('cd'), ('mn'), ('ef'); +ERROR: relation "t2c" does not exist @@ -91818,7 +91743,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/union.out --label +create table events_child () inherits (events) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 explain (costs off) select event_id from (select event_id from events @@ -92520,7 +92445,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/subselect.out --l +create operator = (procedure=bogus_int8_text_eq, leftarg=int8, rightarg=text) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 explain (costs off) select * from int8_tbl where q1 in (select c1 from inner_text); - QUERY PLAN @@ -93142,7 +93067,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/subselect.out --l $$; +ERROR: unimplemented: set-returning PL/pgSQL functions are not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/105240/dev ++See: https://go.crdb.dev/issue-v/105240/v24.3 select * from explain_sq_limit(); - explain_sq_limit ----------------------------------------------------------------- @@ -93175,7 +93100,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/subselect.out --l where i <> all (values (2),(3)); +ERROR: unimplemented: DECLARE SCROLL CURSOR +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/77102/dev ++See: https://go.crdb.dev/issue-v/77102/v24.3 move forward all in c1; +ERROR: current transaction is aborted, commands ignored until end of transaction block fetch backward all in c1; @@ -93479,7 +93404,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/arrays.out --labe + b int4[][][], + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/32552/dev ++See: https://go.crdb.dev/issue-v/32552/v24.3 CREATE TABLE array_op_test ( seqno int4, i int4[], @@ -93777,7 +93702,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/arrays.out --labe - +ERROR: could not parse "{{1,2,3},{4,5,6},{7,8,9}}" as type int[]: unimplemented: nested arrays not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/32552/dev ++See: https://go.crdb.dev/issue-v/32552/v24.3 select ('{{1,2,3},{4,5,6},{7,8,9}}'::int[])[1:2][2]; - int4 ---------------- @@ -93786,7 +93711,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/arrays.out --labe - +ERROR: could not parse "{{1,2,3},{4,5,6},{7,8,9}}" as type int[]: unimplemented: nested arrays not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/32552/dev ++See: https://go.crdb.dev/issue-v/32552/v24.3 select '[0:2][0:2]={{1,2,3},{4,5,6},{7,8,9}}'::int[]; - int4 --------------------------------------- @@ -93809,7 +93734,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/arrays.out --labe -ERROR: number of array dimensions (7) exceeds the maximum allowed (6) +ERROR: unimplemented: multidimensional indexing: ARRAY[][1][2][3][4][5][6][7] +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/32552/dev ++See: https://go.crdb.dev/issue-v/32552/v24.3 -- NULL index yields NULL when selecting SELECT ('{{{1},{2},{3}},{{4},{5},{6}}}'::int[])[1][NULL][1]; - int4 @@ -93819,7 +93744,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/arrays.out --labe - +ERROR: could not parse "{{{1},{2},{3}},{{4},{5},{6}}}" as type int[]: unimplemented: nested arrays not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/32552/dev ++See: https://go.crdb.dev/issue-v/32552/v24.3 SELECT ('{{{1},{2},{3}},{{4},{5},{6}}}'::int[])[1][NULL:1][1]; - int4 ------- @@ -93828,7 +93753,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/arrays.out --labe - +ERROR: could not parse "{{{1},{2},{3}},{{4},{5},{6}}}" as type int[]: unimplemented: nested arrays not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/32552/dev ++See: https://go.crdb.dev/issue-v/32552/v24.3 SELECT ('{{{1},{2},{3}},{{4},{5},{6}}}'::int[])[1][1:NULL][1]; - int4 ------- @@ -93837,7 +93762,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/arrays.out --labe - +ERROR: could not parse "{{{1},{2},{3}},{{4},{5},{6}}}" as type int[]: unimplemented: nested arrays not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/32552/dev ++See: https://go.crdb.dev/issue-v/32552/v24.3 -- NULL index in assignment is an error UPDATE arrtest SET c[NULL] = '{"can''t assign"}' @@ -93888,7 +93813,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/arrays.out --labe + b int2[][] + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/32552/dev ++See: https://go.crdb.dev/issue-v/32552/v24.3 INSERT INTO arrtest_s VALUES ('{1,2,3,4,5}', '{{1,2,3}, {4,5,6}, {7,8,9}}'); +ERROR: relation "arrtest_s" does not exist INSERT INTO arrtest_s VALUES ('[0:4]={1,2,3,4,5}', '[0:2][0:2]={{1,2,3}, {4,5,6}, {7,8,9}}'); @@ -94285,7 +94210,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/arrays.out --labe - +ERROR: unimplemented: multidimensional indexing: f[1][3][1] +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/32552/dev ++See: https://go.crdb.dev/issue-v/32552/v24.3 SELECT ARRAY[[[[[['hello'],['world']]]]]]; - array ---------------------------- @@ -95049,7 +94974,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/arrays.out --labe -DETAIL: Unexpected "{" character. +ERROR: could not parse "{{1,{2}},{2,3}}" as type string[]: unimplemented: nested arrays not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/32552/dev ++See: https://go.crdb.dev/issue-v/32552/v24.3 select '{{},{}}'::text[]; -ERROR: malformed array literal: "{{},{}}" -LINE 1: select '{{},{}}'::text[]; @@ -95057,7 +94982,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/arrays.out --labe -DETAIL: Unexpected "}" character. +ERROR: could not parse "{{},{}}" as type string[]: unimplemented: nested arrays not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/32552/dev ++See: https://go.crdb.dev/issue-v/32552/v24.3 select E'{{1,2},\\{2,3}}'::text[]; -ERROR: malformed array literal: "{{1,2},\{2,3}}" -LINE 1: select E'{{1,2},\\{2,3}}'::text[]; @@ -95065,7 +94990,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/arrays.out --labe -DETAIL: Unexpected "\" character. +ERROR: could not parse "{{1,2},\\{2,3}}" as type string[]: unimplemented: nested arrays not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/32552/dev ++See: https://go.crdb.dev/issue-v/32552/v24.3 select '{{"1 2" x},{3}}'::text[]; -ERROR: malformed array literal: "{{"1 2" x},{3}}" -LINE 1: select '{{"1 2" x},{3}}'::text[]; @@ -95073,7 +94998,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/arrays.out --labe -DETAIL: Unexpected array element. +ERROR: could not parse "{{\"1 2\" x},{3}}" as type string[]: unimplemented: nested arrays not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/32552/dev ++See: https://go.crdb.dev/issue-v/32552/v24.3 select '{}}'::text[]; -ERROR: malformed array literal: "{}}" -LINE 1: select '{}}'::text[]; @@ -95106,7 +95031,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/arrays.out --labe - +ERROR: could not parse "{{{1,2,3,4},{2,3,4,5}},{{3,4,5,6},{4,5,6,7}}}" as type string[]: unimplemented: nested arrays not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/32552/dev ++See: https://go.crdb.dev/issue-v/32552/v24.3 select '{0 second ,0 second}'::interval[]; - interval ---------------- @@ -95124,7 +95049,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/arrays.out --labe - +ERROR: could not parse "{ { \",\" } , { 3 } }" as type string[]: unimplemented: nested arrays not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/32552/dev ++See: https://go.crdb.dev/issue-v/32552/v24.3 select ' { { " 0 second " , 0 second } }'::text[]; - text -------------------------------- @@ -95133,7 +95058,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/arrays.out --labe - +ERROR: could not parse " { { \" 0 second \" , 0 second } }" as type string[]: unimplemented: nested arrays not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/32552/dev ++See: https://go.crdb.dev/issue-v/32552/v24.3 select '{ 0 second, @ 1 hour @ 42 minutes @ 20 seconds @@ -95165,7 +95090,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/arrays.out --labe +CREATE TEMP TABLE arraggtest ( f1 INT[], f2 TEXT[][], f3 FLOAT[]) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/32552/dev ++See: https://go.crdb.dev/issue-v/32552/v24.3 INSERT INTO arraggtest (f1, f2, f3) VALUES ('{1,2,3,4}','{{grey,red},{blue,blue}}','{1.6, 0.0}'); +ERROR: relation "arraggtest" does not exist @@ -95254,7 +95179,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/arrays.out --labe $$ language sql immutable; +ERROR: unimplemented: multidimensional indexing: ""[s1][s2] +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/32552/dev ++See: https://go.crdb.dev/issue-v/32552/v24.3 select * from unnest1(array[1,2,3]); unnest1 --------- @@ -95527,7 +95452,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/arrays.out --labe - +ERROR: cardinality(): could not parse "{{1,2}}" as type int[]: unimplemented: nested arrays not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/32552/dev ++See: https://go.crdb.dev/issue-v/32552/v24.3 select cardinality('{{1,2},{3,4},{5,6}}'::int[]); - cardinality -------------- @@ -95536,7 +95461,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/arrays.out --labe - +ERROR: cardinality(): could not parse "{{1,2},{3,4},{5,6}}" as type int[]: unimplemented: nested arrays not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/32552/dev ++See: https://go.crdb.dev/issue-v/32552/v24.3 select cardinality('{{{1,9},{5,6}},{{2,3},{3,4}}}'::int[]); - cardinality -------------- @@ -95545,7 +95470,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/arrays.out --labe - +ERROR: cardinality(): could not parse "{{{1,9},{5,6}},{{2,3},{3,4}}}" as type int[]: unimplemented: nested arrays not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/32552/dev ++See: https://go.crdb.dev/issue-v/32552/v24.3 -- array_agg(anynonarray) select array_agg(unique1) from (select unique1 from tenk1 where unique1 < 15 order by unique1) ss; array_agg @@ -95661,7 +95586,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/arrays.out --labe create temp table t1 (f1 int8_tbl[]); +ERROR: unimplemented: cannot use table record type as table column +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/70099/dev ++See: https://go.crdb.dev/issue-v/70099/v24.3 insert into t1 (f1[5].q1) values(42); +ERROR: at or near "[": syntax error +DETAIL: source SQL: @@ -96846,19 +96771,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/update.out --labe CREATE FUNCTION trans_updatetrigfunc() RETURNS trigger LANGUAGE plpgsql AS $$ begin -@@ -489,47 +476,49 @@ - return null; - end; - $$; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev +@@ -492,44 +479,43 @@ CREATE TRIGGER trans_updatetrig AFTER UPDATE ON range_parted REFERENCING OLD TABLE AS old_table NEW TABLE AS new_table FOR EACH STATEMENT EXECUTE PROCEDURE trans_updatetrigfunc(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 UPDATE range_parted set c = (case when c = 96 then 110 else c + 1 end ) WHERE a = 'b' and b > 10 and c >= 96; -NOTICE: trigger = trans_updatetrig, old table = (b,12,96,1,), (b,13,97,2,), (b,15,105,16,), (b,17,105,19,), new table = (b,12,110,1,), (b,13,98,2,), (b,15,106,16,), (b,17,106,19,) +ERROR: relation "range_parted" does not exist @@ -96885,13 +96804,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/update.out --labe FOR EACH STATEMENT EXECUTE PROCEDURE trans_updatetrigfunc(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER trans_inserttrig AFTER INSERT ON range_parted REFERENCING NEW TABLE AS new_table FOR EACH STATEMENT EXECUTE PROCEDURE trans_updatetrigfunc(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 UPDATE range_parted set c = c + 50 WHERE a = 'b' and b > 10 and c >= 96; -NOTICE: trigger = trans_updatetrig, old table = (b,12,96,1,), (b,13,97,2,), (b,15,105,16,), (b,17,105,19,), new table = (b,12,146,1,), (b,13,147,2,), (b,15,155,16,), (b,17,155,19,) +ERROR: relation "range_parted" does not exist @@ -96910,36 +96829,42 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/update.out --labe DROP TRIGGER trans_deletetrig ON range_parted; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 DROP TRIGGER trans_inserttrig ON range_parted; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- Don't drop trans_updatetrig yet. It is required below. -- Test with transition tuple conversion happening for rows moved into the -- new partition. This requires a trigger that references transition table -@@ -543,139 +532,283 @@ +@@ -543,139 +529,295 @@ NEW.b = NEW.b + 1; return NEW; END $$ language plpgsql; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev ++ERROR: at or near ";": at or near "new": syntax error ++DETAIL: source SQL: ++NEW.b = NEW.b + 1 ++^ ++-- ++source SQL: ++BEGIN ++ NEW.b = NEW.b + 1; ++ ^ CREATE TRIGGER trig_c1_100 BEFORE UPDATE OR INSERT ON part_c_1_100 FOR EACH ROW EXECUTE PROCEDURE func_parted_mod_b(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER trig_d1_15 BEFORE UPDATE OR INSERT ON part_d_1_15 FOR EACH ROW EXECUTE PROCEDURE func_parted_mod_b(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER trig_d15_20 BEFORE UPDATE OR INSERT ON part_d_15_20 FOR EACH ROW EXECUTE PROCEDURE func_parted_mod_b(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 :init_range_parted; +ERROR: relation "range_parted" does not exist +ERROR: relation "range_parted" does not exist @@ -97000,19 +96925,19 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/update.out --labe DROP TRIGGER trans_updatetrig ON range_parted; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 DROP TRIGGER trig_c1_100 ON part_c_1_100; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 DROP TRIGGER trig_d1_15 ON part_d_1_15; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 DROP TRIGGER trig_d15_20 ON part_d_15_20; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 DROP FUNCTION func_parted_mod_b(); +ERROR: unknown function: func_parted_mod_b() -- RLS policies with update-row-movement @@ -97047,7 +96972,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/update.out --labe +SET SESSION AUTHORIZATION regress_range_parted_user + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 -- This should fail with RLS violation error while moving row from -- part_a_10_a_20 to part_d_1_15, because we are setting 'c' to an odd number. UPDATE range_parted set a = 'b', c = 151 WHERE a = 'a' and c = 200; @@ -97065,14 +96990,20 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/update.out --labe NEW.c = NEW.c + 1; -- Make even numbers odd, or vice versa return NEW; END $$ LANGUAGE plpgsql; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev ++ERROR: at or near ";": at or near "new": syntax error ++DETAIL: source SQL: ++NEW.c = NEW.c + 1 ++^ ++-- ++source SQL: ++BEGIN ++ NEW.c = NEW.c + 1; -- Make even numbers odd, or vice versa ++ ^ CREATE TRIGGER trig_d_1_15 BEFORE INSERT ON part_d_1_15 FOR EACH ROW EXECUTE PROCEDURE func_d_1_15(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 :init_range_parted; +ERROR: relation "range_parted" does not exist +ERROR: relation "range_parted" does not exist @@ -97082,7 +97013,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/update.out --labe +SET SESSION AUTHORIZATION regress_range_parted_user + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 -- Here, RLS checks should succeed while moving row from part_a_10_a_20 to -- part_d_1_15. Even though the UPDATE is setting 'c' to an odd number, the -- trigger at the destination partition again makes it an even number. @@ -97103,7 +97034,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/update.out --labe +SET SESSION AUTHORIZATION regress_range_parted_user + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 -- This should fail with RLS violation error. Even though the UPDATE is setting -- 'c' to an even number, the trigger at the destination partition again makes -- it an odd number. @@ -97120,7 +97051,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/update.out --labe DROP TRIGGER trig_d_1_15 ON part_d_1_15; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 DROP FUNCTION func_d_1_15(); +ERROR: unknown function: func_d_1_15() -- Policy expression contains SubPlan @@ -97147,7 +97078,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/update.out --labe +SET SESSION AUTHORIZATION regress_range_parted_user + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 -- fail, mintab has row with c1 = 120 UPDATE range_parted set a = 'b', c = 122 WHERE a = 'a' and c = 200; -ERROR: new row violates row-level security policy "policy_range_parted_subplan" for table "range_parted" @@ -97178,7 +97109,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/update.out --labe +SET SESSION AUTHORIZATION regress_range_parted_user + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 -- ok, should pass the RLS check UPDATE range_parted set a = 'b', c = 112 WHERE a = 'a' and c = 200; +ERROR: relation "range_parted" does not exist @@ -97197,7 +97128,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/update.out --labe +SET SESSION AUTHORIZATION regress_range_parted_user + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 -- fail, the whole row RLS check should fail UPDATE range_parted set a = 'b', c = 116 WHERE a = 'a' and c = 200; -ERROR: new row violates row-level security policy "policy_range_parted_wholerow" for table "range_parted" @@ -97239,77 +97170,71 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/update.out --labe CREATE FUNCTION trigfunc() returns trigger language plpgsql as $$ begin -@@ -684,268 +817,345 @@ - return null; - end; - $$; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev +@@ -687,265 +829,345 @@ -- Triggers on root partition CREATE TRIGGER parent_delete_trig AFTER DELETE ON range_parted for each statement execute procedure trigfunc(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER parent_update_trig AFTER UPDATE ON range_parted for each statement execute procedure trigfunc(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER parent_insert_trig AFTER INSERT ON range_parted for each statement execute procedure trigfunc(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- Triggers on leaf partition part_c_1_100 CREATE TRIGGER c1_delete_trig AFTER DELETE ON part_c_1_100 for each statement execute procedure trigfunc(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER c1_update_trig AFTER UPDATE ON part_c_1_100 for each statement execute procedure trigfunc(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER c1_insert_trig AFTER INSERT ON part_c_1_100 for each statement execute procedure trigfunc(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- Triggers on leaf partition part_d_1_15 CREATE TRIGGER d1_delete_trig AFTER DELETE ON part_d_1_15 for each statement execute procedure trigfunc(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER d1_update_trig AFTER UPDATE ON part_d_1_15 for each statement execute procedure trigfunc(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER d1_insert_trig AFTER INSERT ON part_d_1_15 for each statement execute procedure trigfunc(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- Triggers on leaf partition part_d_15_20 CREATE TRIGGER d15_delete_trig AFTER DELETE ON part_d_15_20 for each statement execute procedure trigfunc(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER d15_update_trig AFTER UPDATE ON part_d_15_20 for each statement execute procedure trigfunc(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER d15_insert_trig AFTER INSERT ON part_d_15_20 for each statement execute procedure trigfunc(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- Move all rows from part_c_100_200 to part_c_1_100. None of the delete or -- insert statement triggers should be fired. UPDATE range_parted set c = c - 50 WHERE c > 97; @@ -97330,51 +97255,51 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/update.out --labe DROP TRIGGER parent_delete_trig ON range_parted; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 DROP TRIGGER parent_update_trig ON range_parted; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 DROP TRIGGER parent_insert_trig ON range_parted; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 DROP TRIGGER c1_delete_trig ON part_c_1_100; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 DROP TRIGGER c1_update_trig ON part_c_1_100; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 DROP TRIGGER c1_insert_trig ON part_c_1_100; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 DROP TRIGGER d1_delete_trig ON part_d_1_15; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 DROP TRIGGER d1_update_trig ON part_d_1_15; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 DROP TRIGGER d1_insert_trig ON part_d_1_15; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 DROP TRIGGER d15_delete_trig ON part_d_15_20; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 DROP TRIGGER d15_update_trig ON part_d_15_20; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 DROP TRIGGER d15_insert_trig ON part_d_15_20; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- Creating default partition for range :init_range_parted; +ERROR: relation "range_parted" does not exist @@ -97665,14 +97590,20 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/update.out --labe NEW.b = 2; -- This is changing partition key column. return NEW; END $$ LANGUAGE plpgsql; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev ++ERROR: at or near ";": at or near "new": syntax error ++DETAIL: source SQL: ++NEW.b = 2 ++^ ++-- ++source SQL: ++BEGIN ++ NEW.b = 2; -- This is changing partition key column. ++ ^ CREATE TRIGGER parted_mod_b before update on sub_part1 for each row execute procedure func_parted_mod_b(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 SELECT tableoid::regclass::text, * FROM list_parted ORDER BY 1, 2, 3, 4; - tableoid | a | b | c -------------+---+----+---- @@ -97700,22 +97631,17 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/update.out --labe DROP TRIGGER parted_mod_b ON sub_part1; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- If BR DELETE trigger prevented DELETE from happening, we should also skip -- the INSERT if that delete is part of UPDATE=>DELETE+INSERT. CREATE OR REPLACE FUNCTION func_parted_mod_b() returns trigger as $$ -@@ -953,76 +1163,122 @@ - raise notice 'Trigger: Got OLD row %, but returning NULL', OLD; - return NULL; +@@ -955,29 +1177,22 @@ END $$ LANGUAGE plpgsql; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev CREATE TRIGGER trig_skip_delete before delete on sub_part2 for each row execute procedure func_parted_mod_b(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 UPDATE list_parted set b = 1 WHERE c = 70; -NOTICE: Trigger: Got OLD row (2,70,1), but returning NULL +ERROR: relation "list_parted" does not exist @@ -97733,7 +97659,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/update.out --labe DROP TRIGGER trig_skip_delete ON sub_part2; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 UPDATE list_parted set b = 1 WHERE c = 70; +ERROR: relation "list_parted" does not exist SELECT tableoid::regclass::text, * FROM list_parted ORDER BY 1, 2, 3, 4; @@ -97747,10 +97673,9 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/update.out --labe - +ERROR: relation "list_parted" does not exist DROP FUNCTION func_parted_mod_b(); -+ERROR: unknown function: func_parted_mod_b() -- UPDATE partition-key with FROM clause. If join produces multiple output -- rows for the same row to be modified, we should tuple-route the row only - -- once. There should not be any rows inserted. +@@ -985,44 +1200,93 @@ CREATE TABLE non_parted (id int); INSERT into non_parted VALUES (1), (1), (1), (2), (2), (2), (3), (3), (3); UPDATE list_parted t1 set a = 2 FROM non_parted t2 WHERE t1.a = t2.id and a = 1; @@ -97780,7 +97705,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/update.out --labe +create operator class custom_opclass for type int4 using hash as + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 create table hash_parted ( a int, b int @@ -98767,21 +98692,21 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/aggregates.out -- +create table minmaxtest1() inherits (minmaxtest) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 create table minmaxtest2() inherits (minmaxtest); +ERROR: at or near "(": syntax error: unimplemented: this syntax +DETAIL: source SQL: +create table minmaxtest2() inherits (minmaxtest) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 create table minmaxtest3() inherits (minmaxtest); +ERROR: at or near "(": syntax error: unimplemented: this syntax +DETAIL: source SQL: +create table minmaxtest3() inherits (minmaxtest) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 create index minmaxtesti on minmaxtest(f1); create index minmaxtest1i on minmaxtest1(f1); +ERROR: relation "minmaxtest1" does not exist @@ -99003,7 +98928,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/aggregates.out -- +create temp table t1c () inherits (t1) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 -- Ensure we don't remove any columns when t1 has a child table explain (costs off) select * from t1 group by a,b,c,d; - QUERY PLAN @@ -100440,7 +100365,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/aggregates.out -- +create aggregate my_avg(int4) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 create aggregate my_sum(int4) ( stype = avg_state, @@ -100452,7 +100377,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/aggregates.out -- +create aggregate my_sum(int4) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- aggregate state should be shared as aggs are the same. select my_avg(one),my_avg(one) from (values(1),(3)) t(one); -NOTICE: avg_transfn called with 1 @@ -100563,7 +100488,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/aggregates.out -- +create aggregate my_sum_init(int4) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 create aggregate my_avg_init(int4) ( stype = avg_state, @@ -100576,7 +100501,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/aggregates.out -- +create aggregate my_avg_init(int4) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 create aggregate my_avg_init2(int4) ( stype = avg_state, @@ -100589,7 +100514,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/aggregates.out -- +create aggregate my_avg_init2(int4) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- state should be shared if INITCONDs are matching select my_sum_init(one),my_avg_init(one) from (values(1),(3)) t(one); -NOTICE: avg_transfn called with 1 @@ -100640,7 +100565,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/aggregates.out -- +create aggregate my_sum(int4) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 create aggregate my_half_sum(int4) ( stype = int4, @@ -100652,7 +100577,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/aggregates.out -- +create aggregate my_half_sum(int4) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- Agg state should be shared even though my_sum has no finalfn select my_sum(one),my_half_sum(one) from (values(1),(2),(3),(4)) t(one); -NOTICE: sum_transfn called with 1 @@ -100679,7 +100604,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/aggregates.out -- +CREATE AGGREGATE balk(int4) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 SELECT balk(hundred) FROM tenk1; - balk ------- @@ -100723,7 +100648,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/aggregates.out -- +CREATE AGGREGATE balk(int4) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- force use of parallelism ALTER TABLE tenk1 set (parallel_workers = 4); +ERROR: current transaction is aborted, commands ignored until end of transaction block @@ -100779,7 +100704,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/aggregates.out -- +CREATE AGGREGATE rwagg(anyarray) ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 CREATE FUNCTION eatarray(x real[]) RETURNS real[] LANGUAGE plpgsql STRICT IMMUTABLE AS $$ BEGIN @@ -104816,7 +104741,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/join.out --label= +create temp table t2a () inherits (t2) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 insert into t2a values (200, 2001); +ERROR: relation "t2a" does not exist select * from t1 left join t2 on (t1.a = t2.a); @@ -105271,7 +105196,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/join.out --label= create index on tidv (idv); +ERROR: unimplemented: column idv is of type mycomptype and thus is not indexable +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/35730/dev ++See: https://go.crdb.dev/issue-v/35730/v24.3 explain (costs off) select a.idv, b.idv from tidv a, tidv b where a.idv = b.idv; - QUERY PLAN @@ -110550,7 +110475,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/security_label.ou +CREATE DOMAIN seclabel_domain AS text + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 ALTER TABLE seclabel_tbl1 OWNER TO regress_seclabel_user1; ALTER TABLE seclabel_tbl2 OWNER TO regress_seclabel_user2; -- @@ -110612,7 +110537,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/security_label.ou +DROP DOMAIN seclabel_domain + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 DROP VIEW seclabel_view1; DROP TABLE seclabel_tbl1; DROP TABLE seclabel_tbl2; @@ -110628,7 +110553,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/drop_operator.out +CREATE OPERATOR === ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 CREATE OPERATOR !== ( PROCEDURE = int8ne, LEFTARG = bigint, @@ -110641,7 +110566,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/drop_operator.out +CREATE OPERATOR !== ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 DROP OPERATOR !==(bigint, bigint); +ERROR: at or near "!": syntax error: unimplemented: this syntax +DETAIL: source SQL: @@ -110702,7 +110627,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/drop_operator.out +CREATE OPERATOR <| ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 CREATE OPERATOR |> ( PROCEDURE = int8gt, LEFTARG = bigint, @@ -110715,7 +110640,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/drop_operator.out +CREATE OPERATOR |> ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 DROP OPERATOR |>(bigint, bigint); +ERROR: at or near "|": syntax error: unimplemented: this syntax +DETAIL: source SQL: @@ -111543,14 +111468,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/lock.out --label= +CREATE TABLE lock_tbl2 (b BIGINT) INHERITS (lock_tbl1) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 CREATE TABLE lock_tbl3 () INHERITS (lock_tbl2); +ERROR: at or near "(": syntax error: unimplemented: this syntax +DETAIL: source SQL: +CREATE TABLE lock_tbl3 () INHERITS (lock_tbl2) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 BEGIN TRANSACTION; LOCK TABLE lock_tbl1 * IN ACCESS EXCLUSIVE MODE; +ERROR: at or near "lock": syntax error @@ -111708,7 +111633,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/lock.out --label= LANGUAGE C; +ERROR: unimplemented: C is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/102201/dev ++See: https://go.crdb.dev/issue-v/102201/v24.3 SELECT test_atomic_ops(); - test_atomic_ops ------------------ @@ -111828,7 +111753,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/collate.out --lab +CREATE DOMAIN testdomain_p AS text COLLATE "POSIX" + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 CREATE DOMAIN testdomain_i AS int COLLATE "POSIX"; -- fail -ERROR: collations are not supported by type integer +ERROR: at or near "as": syntax error: unimplemented: this syntax @@ -111836,7 +111761,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/collate.out --lab +CREATE DOMAIN testdomain_i AS int COLLATE "POSIX" + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 CREATE TABLE collate_test4 ( a int, b testdomain_p @@ -112105,7 +112030,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/collate.out --lab +CREATE DOMAIN testdomain AS text + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 SELECT a, b::testdomain FROM collate_test1 ORDER BY 2; - a | b ----+----- @@ -112865,9 +112790,9 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/replica_identity. + CONSTRAINT test_replica_identity_unique_defer UNIQUE (keya, keyb) DEFERRABLE, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31632/dev ++See: https://go.crdb.dev/issue-v/31632/v24.3 CREATE TABLE test_replica_identity_othertable (id serial primary key); -+NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/dev/serial.html ++NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/v24.3/serial.html CREATE INDEX test_replica_identity_keyab ON test_replica_identity (keya, keyb); +ERROR: relation "test_replica_identity" does not exist CREATE UNIQUE INDEX test_replica_identity_keyab_key ON test_replica_identity (keya, keyb); @@ -113350,7 +113275,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/replica_identity. diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/object_address.out --label=/mnt/data1/postgres/src/test/regress/results/object_address.out /mnt/data1/postgres/src/test/regress/expected/object_address.out /mnt/data1/postgres/src/test/regress/results/object_address.out --- /mnt/data1/postgres/src/test/regress/expected/object_address.out +++ /mnt/data1/postgres/src/test/regress/results/object_address.out -@@ -10,55 +10,230 @@ +@@ -10,55 +10,227 @@ CREATE SCHEMA addr_nsp; SET search_path TO 'addr_nsp'; CREATE FOREIGN DATA WRAPPER addr_fdw; @@ -113391,21 +113316,21 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/object_address.ou +CREATE TEXT SEARCH DICTIONARY addr_ts_dict (template=simple) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 CREATE TEXT SEARCH CONFIGURATION addr_ts_conf (copy=english); +ERROR: at or near "search": syntax error: unimplemented: this syntax +DETAIL: source SQL: +CREATE TEXT SEARCH CONFIGURATION addr_ts_conf (copy=english) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 CREATE TEXT SEARCH TEMPLATE addr_ts_temp (lexize=dsimple_lexize); +ERROR: at or near "search": syntax error: unimplemented: this syntax +DETAIL: source SQL: +CREATE TEXT SEARCH TEMPLATE addr_ts_temp (lexize=dsimple_lexize) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 CREATE TEXT SEARCH PARSER addr_ts_prs (start = prsd_start, gettoken = prsd_nexttoken, end = prsd_end, lextypes = prsd_lextype); +ERROR: at or near "search": syntax error: unimplemented: this syntax @@ -113413,12 +113338,12 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/object_address.ou +CREATE TEXT SEARCH PARSER addr_ts_prs + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 CREATE TABLE addr_nsp.gentable ( a serial primary key CONSTRAINT a_chk CHECK (a > 0), b text DEFAULT 'hello' ); -+NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/dev/serial.html ++NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/v24.3/serial.html CREATE TABLE addr_nsp.parttable ( a int PRIMARY KEY ) PARTITION BY RANGE (a); @@ -113455,22 +113380,19 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/object_address.ou +CREATE AGGREGATE addr_nsp.genaggr(int4) (sfunc = int4pl, stype = int4) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 CREATE DOMAIN addr_nsp.gendomain AS int4 CONSTRAINT domconstr CHECK (value > 0); +ERROR: at or near "as": syntax error: unimplemented: this syntax +DETAIL: source SQL: +CREATE DOMAIN addr_nsp.gendomain AS int4 CONSTRAINT domconstr CHECK (value > 0) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 CREATE FUNCTION addr_nsp.trig() RETURNS TRIGGER LANGUAGE plpgsql AS $$ BEGIN END; $$; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev CREATE TRIGGER t BEFORE INSERT ON addr_nsp.gentable FOR EACH ROW EXECUTE PROCEDURE addr_nsp.trig(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE POLICY genpol ON addr_nsp.gentable; +ERROR: at or near "policy": syntax error +DETAIL: source SQL: @@ -113586,7 +113508,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/object_address.ou -- unrecognized object types DO $$ DECLARE -@@ -75,21 +250,19 @@ +@@ -75,21 +247,19 @@ END LOOP; END; $$; @@ -113616,7 +113538,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/object_address.ou DO $$ DECLARE objtype text; -@@ -123,265 +296,65 @@ +@@ -123,265 +293,65 @@ END LOOP; END; $$; @@ -113913,7 +113835,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/object_address.ou -- Make sure that NULL handling is correct. \pset null 'NULL' -- Temporarily disable fancy output, so as future additions never create -@@ -455,84 +428,75 @@ +@@ -455,84 +425,75 @@ pg_identify_object_as_address(classid, objid, objsubid) AS ioa (typ, nms, args), pg_get_object_address(typ, nms, ioa.args) AS addr2 ORDER BY addr1.classid, addr1.objid, addr1.objsubid; @@ -114059,7 +113981,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/object_address.ou DROP OWNED BY regress_addr_user; DROP USER regress_addr_user; -- -@@ -592,47 +556,6 @@ +@@ -592,47 +553,6 @@ AS descr FROM objects ORDER BY objects.classid, objects.objid, objects.objsubid; @@ -114377,7 +114299,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/identity.out --la ALTER TABLE itest4 ALTER COLUMN a ADD GENERATED ALWAYS AS IDENTITY; -- ok ALTER TABLE itest4 ALTER COLUMN a DROP NOT NULL; -- error, disallowed -ERROR: column "a" of relation "itest4" is an identity column -+ERROR: relation "itest4" (982): conflicting NULL/NOT NULL declarations for column "a" ++ERROR: relation "itest4" (1026): conflicting NULL/NOT NULL declarations for column "a" ALTER TABLE itest4 ALTER COLUMN a ADD GENERATED ALWAYS AS IDENTITY; -- error, already set ERROR: column "a" of relation "itest4" is already an identity column ALTER TABLE itest4 ALTER COLUMN b ADD GENERATED ALWAYS AS IDENTITY; -- error, wrong data type @@ -114756,7 +114678,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/identity.out --la ALTER TABLE itest13 ADD COLUMN c int GENERATED BY DEFAULT AS IDENTITY; +ERROR: nextval(): unimplemented: cannot evaluate scalar expressions containing sequence operations in this context +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/42508/dev ++See: https://go.crdb.dev/issue-v/42508/v24.3 SELECT * FROM itest13; - a | b | c ----+---+--- @@ -114811,7 +114733,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/identity.out --la ALTER COLUMN c SET GENERATED ALWAYS; +ERROR: nextval(): unimplemented: cannot evaluate scalar expressions containing sequence operations in this context +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/42508/dev ++See: https://go.crdb.dev/issue-v/42508/v24.3 \d itest3 - Table "public.itest3" - Column | Type | Collation | Nullable | Default @@ -114880,7 +114802,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/identity.out --la +CREATE TABLE itest7a (b text) INHERITS (itest7) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 -- make column identity in child table CREATE TABLE itest7b (a int); CREATE TABLE itest7c (a int GENERATED ALWAYS AS IDENTITY) INHERITS (itest7b); @@ -114890,7 +114812,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/identity.out --la +CREATE TABLE itest7c (a int GENERATED ALWAYS AS IDENTITY) INHERITS (itest7b) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 INSERT INTO itest7c DEFAULT VALUES; +ERROR: relation "itest7c" does not exist SELECT * FROM itest7c; @@ -114907,7 +114829,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/identity.out --la +CREATE TABLE itest7e () INHERITS (itest7d) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 ALTER TABLE itest7d ALTER COLUMN a ADD GENERATED ALWAYS AS IDENTITY; ALTER TABLE itest7d ADD COLUMN b int GENERATED ALWAYS AS IDENTITY; -- error -ERROR: cannot recursively add identity column to table that has child tables @@ -115070,7 +114992,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/identity.out --la DROP TYPE itest_type CASCADE; +ERROR: unimplemented: DROP TYPE CASCADE is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/51480/dev ++See: https://go.crdb.dev/issue-v/51480/v24.3 -- table partitions (currently not supported) CREATE TABLE itest_parent (f1 date NOT NULL, f2 text, f3 bigint) PARTITION BY RANGE (f1); +ERROR: at or near "EOF": syntax error @@ -115460,7 +115382,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out + from gstest2 group by rollup (a,b) order by rsum, a, b + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 -- nesting with grouping sets select sum(c) from gstest2 group by grouping sets((), grouping sets((), grouping sets(()))) @@ -115478,7 +115400,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out + group by grouping sets((), grouping sets((), grouping sets(()))) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 select sum(c) from gstest2 group by grouping sets((), grouping sets((), grouping sets(((a, b))))) order by 1 desc; @@ -115497,7 +115419,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out + group by grouping sets((), grouping sets((), grouping sets(((a, b))))) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 select sum(c) from gstest2 group by grouping sets(grouping sets(rollup(c), grouping sets(cube(c)))) order by 1 desc; @@ -115517,7 +115439,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out + group by grouping sets(grouping sets(rollup(c), grouping sets(cube(c)))) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 select sum(c) from gstest2 group by grouping sets(a, grouping sets(a, cube(b))) order by 1 desc; @@ -115538,7 +115460,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out + group by grouping sets(a, grouping sets(a, cube(b))) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 select sum(c) from gstest2 group by grouping sets(grouping sets((a, (b)))) order by 1 desc; @@ -115555,7 +115477,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out + group by grouping sets(grouping sets((a, (b)))) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 select sum(c) from gstest2 group by grouping sets(grouping sets((a, b))) order by 1 desc; @@ -115572,7 +115494,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out + group by grouping sets(grouping sets((a, b))) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 select sum(c) from gstest2 group by grouping sets(grouping sets(a, grouping sets(a), a)) order by 1 desc; @@ -115592,7 +115514,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out + group by grouping sets(grouping sets(a, grouping sets(a), a)) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 select sum(c) from gstest2 group by grouping sets(grouping sets(a, grouping sets(a, grouping sets(a), ((a)), a, grouping sets(a), (a)), a)) order by 1 desc; @@ -115622,7 +115544,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out + group by grouping sets(grouping sets(a, grouping sets(a, grouping sets(a), ((a)), a, grouping sets(a), (a)), a)) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 select sum(c) from gstest2 group by grouping sets((a,(a,b)), grouping sets((a,(a,b)),a)) order by 1 desc; @@ -115644,7 +115566,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out + group by grouping sets((a,(a,b)), grouping sets((a,(a,b)),a)) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 -- empty input: first is 0 rows, second 1, third 3 etc. select a, b, sum(v), count(*) from gstest_empty group by grouping sets ((a,b),a); - a | b | sum | count @@ -115656,7 +115578,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out +select a, b, sum(v), count(*) from gstest_empty group by grouping sets ((a,b),a) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 select a, b, sum(v), count(*) from gstest_empty group by grouping sets ((a,b),()); - a | b | sum | count ----+---+-----+------- @@ -115668,7 +115590,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out +select a, b, sum(v), count(*) from gstest_empty group by grouping sets ((a,b),()) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 select a, b, sum(v), count(*) from gstest_empty group by grouping sets ((a,b),(),(),()); - a | b | sum | count ----+---+-----+------- @@ -115682,7 +115604,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out +select a, b, sum(v), count(*) from gstest_empty group by grouping sets ((a,b),(),(),()) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 select sum(v), count(*) from gstest_empty group by grouping sets ((),(),()); - sum | count ------+------- @@ -115696,7 +115618,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out +select sum(v), count(*) from gstest_empty group by grouping sets ((),(),()) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 -- empty input with joins tests some important code paths select t1.a, t2.b, sum(t1.v), count(*) from gstest_empty t1, gstest_empty t2 group by grouping sets ((t1.a,t2.b),()); @@ -115711,7 +115633,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out + group by grouping sets ((t1.a,t2.b),()) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 -- simple joins, var resolution, GROUPING on join vars select t1.a, t2.b, grouping(t1.a, t2.b), sum(t1.v), max(t2.a) from gstest1 t1, gstest2 t2 @@ -115859,7 +115781,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out + group by alias1, rollup(alias2) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 -- check that pulled-up subquery outputs still go to null when appropriate select four, x from (select four, ten, 'foo'::text as x from tenk1) as t @@ -115877,7 +115799,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out + group by grouping sets (four, x) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 select four, x || 'x' from (select four, ten, 'foo'::text as x from tenk1) as t group by grouping sets (four, x) @@ -115898,7 +115820,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out + group by grouping sets (four, x) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 select (x+y)*1, sum(z) from (select 1 as x, 2 as y, 3 as z) s group by grouping sets (x+y, x); @@ -115915,7 +115837,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out + group by grouping sets (x+y, x) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 select x, not x as not_x, q2 from (select *, q1 = 1 as x from int8_tbl i1) as t group by grouping sets(x, q2) @@ -115936,7 +115858,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out + group by grouping sets(x, q2) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 -- check qual push-down rules for a subquery with grouping sets explain (verbose, costs off) select * from ( @@ -115981,7 +115903,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out + group by grouping sets(1, 2) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 -- check handling of pulled-up SubPlan in GROUPING() argument (bug #17479) explain (verbose, costs off) select grouping(ss.x) @@ -116108,7 +116030,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out + group by rollup (a,b) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 select * from (values (1),(2)) v(x), lateral (select a, b, sum(v.x) from gstest_data(v.x) group by rollup (a,b)) s; @@ -116122,7 +116044,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out + lateral (select a, b, sum(v.x) from gstest_data(v.x) group by rollup (a,b)) s + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 -- min max optimization should still work with GROUP BY () explain (costs off) select min(unique1) from tenk1 GROUP BY (); @@ -116269,7 +116191,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out +select a, b, c, d from gstest2 group by rollup(a,b),grouping sets(c,d) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 select a, b from (values (1,2),(2,3)) v(a,b) group by a,b, grouping sets(a); - a | b ----+--- @@ -116282,7 +116204,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out +select a, b from (values (1,2),(2,3)) v(a,b) group by a,b, grouping sets(a) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 -- Tests for chained aggregates select a, b, grouping(a,b), sum(v), count(*), max(v) from gstest1 group by grouping sets ((a,b),(a+1,b+1),(a+2,b+2)) order by 3,6; @@ -116390,7 +116312,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out + from gstest2 group by cube (a,b) order by rsum, a, b + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 select a, b, sum(c) from (values (1,1,10),(1,1,11),(1,2,12),(1,2,13),(1,3,14),(2,3,15),(3,3,16),(3,4,17),(4,1,18),(4,1,19)) v(a,b,c) group by rollup (a,b); - a | b | sum ----+---+----- @@ -116413,7 +116335,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out +select a, b, sum(c) from (values (1,1,10),(1,1,11),(1,2,12),(1,2,13),(1,3,14),(2,3,15),(3,3,16),(3,4,17),(4,1,18),(4,1,19)) v(a,b,c) group by rollup (a,b) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 select a, b, sum(v.x) from (values (1),(2)) v(x), gstest_data(v.x) group by cube (a,b) order by a,b; @@ -116440,7 +116362,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out + group by cube (a,b) order by a,b + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 -- Test reordering of grouping sets explain (costs off) select * from gstest1 group by grouping sets((a,b,v),(v)) order by v,b,a; @@ -116498,7 +116420,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out +select a, b, sum(c), count(*) from gstest2 group by grouping sets (rollup(a,b),a) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 -- HAVING queries select ten, sum(distinct four) from onek a group by grouping sets((ten,four),(ten)) @@ -116538,7 +116460,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out +group by grouping sets((ten,four),(ten)) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 -- Tests around pushdown of HAVING clauses, partially testing against previous bugs select a,count(*) from gstest2 group by rollup(a) order by a; - a | count @@ -116553,7 +116475,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out +select a,count(*) from gstest2 group by rollup(a) order by a + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 select a,count(*) from gstest2 group by rollup(a) having a is distinct from 1 order by a; - a | count ----+------- @@ -116566,7 +116488,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out +select a,count(*) from gstest2 group by rollup(a) having a is distinct from 1 order by a + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 explain (costs off) select a,count(*) from gstest2 group by rollup(a) having a is distinct from 1 order by a; - QUERY PLAN @@ -116767,7 +116689,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out +group by rollup(ten) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 -- More rescan tests select * from (values (1),(2)) v(a) left join lateral (select v.a, four, ten, count(*) from onek group by cube(four,ten)) s on true order by v.a,four,ten; - a | a | four | ten | count @@ -116849,7 +116771,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out +select * from (values (1),(2)) v(a) left join lateral (select v.a, four, ten, count(*) from onek group by cube(four,ten)) s on true order by v.a,four,ten + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 select array(select row(v.a,s1.*) from (select two,four, count(*) from onek group by cube(two,four) order by two,four) s1) from (values (1),(2)) v(a); - array ------------------------------------------------------------------------------------------------------------------------------------------------------- @@ -116862,7 +116784,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out +select array(select row(v.a,s1.*) from (select two,four, count(*) from onek group by cube(two,four) order by two,four) s1) from (values (1),(2)) v(a) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 -- Grouping on text columns select sum(ten) from onek group by two, rollup(four::text) order by 1; - sum @@ -116880,7 +116802,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out +select sum(ten) from onek group by two, rollup(four::text) order by 1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 select sum(ten) from onek group by rollup(four::text), two order by 1; - sum ------- @@ -116897,7 +116819,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out +select sum(ten) from onek group by rollup(four::text), two order by 1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 -- hashing support set enable_hashagg = true; +ERROR: unimplemented: the configuration setting "enable_hashagg" is not supported @@ -116921,7 +116843,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out +select count(*) from gstest4 group by rollup(unhashable_col,unsortable_col) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 select array_agg(v order by v) from gstest4 group by grouping sets ((id,unsortable_col),(id)); -ERROR: could not implement GROUP BY -DETAIL: Some of the datatypes only support hashing, while others only support sorting. @@ -116930,7 +116852,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out +select array_agg(v order by v) from gstest4 group by grouping sets ((id,unsortable_col),(id)) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 -- simple cases select a, b, grouping(a,b), sum(v), count(*), max(v) from gstest1 group by grouping sets ((a),(b)) order by 3,1,2; @@ -117072,7 +116994,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out + from gstest4 group by grouping sets ((unsortable_col),(unsortable_col)) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 -- mixed hashable/sortable cases select unhashable_col, unsortable_col, grouping(unhashable_col, unsortable_col), @@ -117201,7 +117123,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out +select a, b, sum(v), count(*) from gstest_empty group by grouping sets ((a,b),a) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 explain (costs off) select a, b, sum(v), count(*) from gstest_empty group by grouping sets ((a,b),a); - QUERY PLAN @@ -117228,7 +117150,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out +select a, b, sum(v), count(*) from gstest_empty group by grouping sets ((a,b),()) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 select a, b, sum(v), count(*) from gstest_empty group by grouping sets ((a,b),(),(),()); - a | b | sum | count ----+---+-----+------- @@ -117242,7 +117164,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out +select a, b, sum(v), count(*) from gstest_empty group by grouping sets ((a,b),(),(),()) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 explain (costs off) select a, b, sum(v), count(*) from gstest_empty group by grouping sets ((a,b),(),(),()); - QUERY PLAN @@ -117273,7 +117195,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out +select sum(v), count(*) from gstest_empty group by grouping sets ((),(),()) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 explain (costs off) select sum(v), count(*) from gstest_empty group by grouping sets ((),(),()); - QUERY PLAN @@ -117354,7 +117276,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out + group by grouping sets (a,b) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 explain (costs off) select a, b, sum(v.x) from (values (1),(2)) v(x), gstest_data(v.x) @@ -117390,7 +117312,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out + lateral (select a, b, sum(v.x) from gstest_data(v.x) group by grouping sets (a,b)) s + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 explain (costs off) select * from (values (1),(2)) v(x), @@ -117484,7 +117406,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out + from gstest2 group by cube (a,b) order by rsum, a, b + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 explain (costs off) select a, b, sum(c), sum(sum(c)) over (order by a,b) as rsum from gstest2 group by cube (a,b) order by rsum, a, b; @@ -117534,7 +117456,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out + group by cube (a,b) order by a,b + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 explain (costs off) select a, b, sum(v.x) from (values (1),(2)) v(x), gstest_data(v.x) @@ -117610,7 +117532,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out +SELECT a, b, count(*), max(a), max(b) FROM gstest3 GROUP BY GROUPING SETS(a, b,()) ORDER BY a, b + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 SET LOCAL enable_seqscan = false; +ERROR: current transaction is aborted, commands ignored until end of transaction block EXPLAIN (COSTS OFF) SELECT a, b, count(*), max(a), max(b) FROM gstest3 GROUP BY GROUPING SETS(a, b,()) ORDER BY a, b; @@ -117646,7 +117568,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out +SELECT a, b, count(*), max(a), max(b) FROM gstest3 GROUP BY GROUPING SETS(a, b,()) ORDER BY a, b + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 COMMIT; -- More rescan tests select * from (values (1),(2)) v(a) left join lateral (select v.a, four, ten, count(*) from onek group by cube(four,ten)) s on true order by v.a,four,ten; @@ -117729,7 +117651,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out +select * from (values (1),(2)) v(a) left join lateral (select v.a, four, ten, count(*) from onek group by cube(four,ten)) s on true order by v.a,four,ten + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 select array(select row(v.a,s1.*) from (select two,four, count(*) from onek group by cube(two,four) order by two,four) s1) from (values (1),(2)) v(a); - array ------------------------------------------------------------------------------------------------------------------------------------------------------- @@ -117742,7 +117664,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out +select array(select row(v.a,s1.*) from (select two,four, count(*) from onek group by cube(two,four) order by two,four) s1) from (values (1),(2)) v(a) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 -- Rescan logic changes when there are no empty grouping sets, so test -- that too: select * from (values (1),(2)) v(a) left join lateral (select v.a, four, ten, count(*) from onek group by grouping sets(four,ten)) s on true order by v.a,four,ten; @@ -117783,7 +117705,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out +select * from (values (1),(2)) v(a) left join lateral (select v.a, four, ten, count(*) from onek group by grouping sets(four,ten)) s on true order by v.a,four,ten + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 select array(select row(v.a,s1.*) from (select two,four, count(*) from onek group by grouping sets(two,four) order by two,four) s1) from (values (1),(2)) v(a); - array ---------------------------------------------------------------------------------- @@ -117796,7 +117718,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out +select array(select row(v.a,s1.*) from (select two,four, count(*) from onek group by grouping sets(two,four) order by two,four) s1) from (values (1),(2)) v(a) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 -- test the knapsack set enable_indexscan = false; +ERROR: unimplemented: the configuration setting "enable_indexscan" is not supported @@ -118195,7 +118117,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out + bug_16784 group by cube(i,j)) s + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 -- -- Compare results between plans using sorting and plans using hash -- aggregation. Force spilling in both cases by setting work_mem low @@ -118284,7 +118206,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out +from gs_data_1 group by cube (g1000, g100,g10) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 -- Produce results with hash aggregation. set enable_hashagg = true; +ERROR: unimplemented: the configuration setting "enable_hashagg" is not supported @@ -118344,7 +118266,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out +from gs_data_1 group by cube (g1000, g100,g10) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 set enable_sort = true; +ERROR: unimplemented: the configuration setting "enable_sort" is not supported +HINT: You have attempted to use a feature that is not yet implemented. @@ -118468,7 +118390,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out +group by rollup(a, b), rollup(a, c) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 -- "group by distinct" behavior... select a, b, c from (values (1, 2, 3), (4, null, 6), (7, 8, 9)) as t (a, b, c) @@ -118524,7 +118446,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/groupingsets.out +group by rollup(a, b), rollup(a, c) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 -- test handling of outer GroupingFunc within subqueries explain (costs off) select (select grouping(v1)) from (values ((select 1))) v(v1) group by cube(v1); @@ -119089,7 +119011,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/matview.out --lab +CREATE TABLE mvtest_boxes (id serial primary key, b box) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 INSERT INTO mvtest_boxes (b) VALUES ('(32,32),(31,31)'), ('(2.0000004,2.0000004),(1,1)'), @@ -119307,7 +119229,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/matview.out --lab +SET SESSION AUTHORIZATION regress_matview_user + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE MATERIALIZED VIEW matview_schema.mv_withdata1 (a) AS SELECT generate_series(1, 10) WITH DATA; EXPLAIN (ANALYZE, COSTS OFF, SUMMARY OFF, TIMING OFF) @@ -119431,10 +119353,10 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/generated.out --l -(0 rows) + attrelid | attname | attgenerated +------------+--------------------------+-------------- -+ 4191000834 | crdb_internal_idx_expr | v -+ 57626847 | crdb_internal_idx_expr | v -+ 57626841 | crdb_internal_idx_expr_1 | v -+ 1441863570 | crdb_internal_idx_expr | v ++ 860825005 | crdb_internal_idx_expr | v ++ 2413890983 | crdb_internal_idx_expr | v ++ 2413890977 | crdb_internal_idx_expr_1 | v ++ 310127174 | crdb_internal_idx_expr | v +(4 rows) CREATE TABLE gtest0 (a int PRIMARY KEY, b int GENERATED ALWAYS AS (55) STORED); @@ -119763,7 +119685,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/generated.out --l +CREATE TABLE gtest1_1 () INHERITS (gtest1) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 SELECT * FROM gtest1_1; - a | b ----+--- @@ -119816,7 +119738,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/generated.out --l +CREATE TABLE gtest_normal_child (a int, b int GENERATED ALWAYS AS (a * 2) STORED) INHERITS (gtest_normal) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 CREATE TABLE gtest_normal_child (a int, b int GENERATED ALWAYS AS (a * 2) STORED); ALTER TABLE gtest_normal_child INHERIT gtest_normal; -- error -ERROR: column "b" in child table must not be a generated column @@ -119835,7 +119757,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/generated.out --l +CREATE TABLE gtestx (x int, b int DEFAULT 10) INHERITS (gtest1) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 CREATE TABLE gtestx (x int, b int GENERATED ALWAYS AS IDENTITY) INHERITS (gtest1); -- error -NOTICE: merging column "b" with inherited definition -ERROR: column "b" inherits from generated column but specifies identity @@ -119844,7 +119766,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/generated.out --l +CREATE TABLE gtestx (x int, b int GENERATED ALWAYS AS IDENTITY) INHERITS (gtest1) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 CREATE TABLE gtestx (x int, b int GENERATED ALWAYS AS (a * 22) STORED) INHERITS (gtest1); -- ok, overrides parent -NOTICE: merging column "b" with inherited definition +ERROR: at or near "(": syntax error: unimplemented: this syntax @@ -119852,7 +119774,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/generated.out --l +CREATE TABLE gtestx (x int, b int GENERATED ALWAYS AS (a * 22) STORED) INHERITS (gtest1) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 \d+ gtestx - Table "public.gtestx" - Column | Type | Collation | Nullable | Default | Storage | Stats target | Description @@ -119903,7 +119825,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/generated.out --l +CREATE TABLE gtest1_y () INHERITS (gtest0, gtesty) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 DROP TABLE gtesty; CREATE TABLE gtesty (x int, b int); CREATE TABLE gtest1_y () INHERITS (gtest1, gtesty); -- error @@ -119914,7 +119836,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/generated.out --l +CREATE TABLE gtest1_y () INHERITS (gtest1, gtesty) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 DROP TABLE gtesty; CREATE TABLE gtesty (x int, b int GENERATED ALWAYS AS (x * 22) STORED); CREATE TABLE gtest1_y () INHERITS (gtest1, gtesty); -- error @@ -119926,7 +119848,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/generated.out --l +CREATE TABLE gtest1_y () INHERITS (gtest1, gtesty) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 CREATE TABLE gtest1_y (b int GENERATED ALWAYS AS (x + 1) STORED) INHERITS (gtest1, gtesty); -- ok -NOTICE: merging multiple inherited definitions of column "b" -NOTICE: moving and merging column "b" with inherited definition @@ -119936,7 +119858,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/generated.out --l +CREATE TABLE gtest1_y (b int GENERATED ALWAYS AS (x + 1) STORED) INHERITS (gtest1, gtesty) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 \d gtest1_y - Table "public.gtest1_y" - Column | Type | Collation | Nullable | Default @@ -119964,7 +119886,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/generated.out --l +CREATE TABLE gtestc (f2 int GENERATED ALWAYS AS (f1+1) STORED) INHERITS(gtestp) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 INSERT INTO gtestc values(42); +ERROR: relation "gtestc" does not exist TABLE gtestc; @@ -120811,7 +120733,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/spgist.out --labe +create table spgist_point_tbl(id int4, p point) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 create index spgist_point_idx on spgist_point_tbl using spgist(p) with (fillfactor = 75); +ERROR: at or near "spgist": syntax error: unimplemented: this syntax +DETAIL: source SQL: @@ -120881,7 +120803,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/spgist.out --labe +create table spgist_box_tbl(id serial, b box) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 insert into spgist_box_tbl(b) select box(point(i,j),point(i+s,j+s)) from generate_series(1,100,5) i, @@ -121004,7 +120926,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/spgist.out --labe +create domain spgist_text as varchar + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 create table spgist_domain_tbl (f1 spgist_text); +ERROR: type "spgist_text" does not exist create index spgist_domain_idx on spgist_domain_tbl using spgist(f1); @@ -121054,7 +120976,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/spgist.out --labe +create unlogged table spgist_unlogged_tbl(id serial, b box) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 create index spgist_unlogged_idx on spgist_unlogged_tbl using spgist (b); +ERROR: at or near "spgist": syntax error: unimplemented: this syntax +DETAIL: source SQL: @@ -121125,7 +121047,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_alice + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE TABLE uaccount ( pguser name primary key, seclv int @@ -121252,7 +121174,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_bob + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SET row_security TO ON; SELECT * FROM document WHERE f_leak(dtitle) ORDER BY did; -NOTICE: f_leak => my first novel @@ -121312,7 +121234,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_carol + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM document WHERE f_leak(dtitle) ORDER BY did; -NOTICE: f_leak => my first novel -NOTICE: f_leak => my second novel @@ -121427,7 +121349,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_dave + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM document WHERE f_leak(dtitle) ORDER BY did; -NOTICE: f_leak => my first novel -NOTICE: f_leak => my second novel @@ -121533,7 +121455,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_alice + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 ALTER POLICY p1 ON document USING (dauthor = current_user); +ERROR: at or near "policy": syntax error +DETAIL: source SQL: @@ -121547,7 +121469,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_bob + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM document WHERE f_leak(dtitle) ORDER BY did; -NOTICE: f_leak => my first novel -NOTICE: f_leak => my second novel @@ -121587,7 +121509,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_carol + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM document WHERE f_leak(dtitle) ORDER BY did; -NOTICE: f_leak => great science fiction -NOTICE: f_leak => great technology book @@ -121646,7 +121568,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_alice + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE POLICY p2 ON category USING (CASE WHEN current_user = 'regress_rls_bob' THEN cid IN (11, 33) WHEN current_user = 'regress_rls_carol' THEN cid IN (22, 44) @@ -121669,7 +121591,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_bob + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM document d FULL OUTER JOIN category c on d.cid = c.cid ORDER BY d.did, c.cid; - did | cid | dlevel | dauthor | dtitle | cid | cname ------+-----+--------+-----------------+--------------------+-----+------------ @@ -121707,7 +121629,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_carol + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM document d FULL OUTER JOIN category c on d.cid = c.cid ORDER BY d.did, c.cid; - did | cid | dlevel | dauthor | dtitle | cid | cname ------+-----+--------+-------------------+-----------------------+-----+----------------- @@ -121738,7 +121660,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_bob + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 INSERT INTO document VALUES (8, 44, 1, 'regress_rls_bob', 'my third manga'); -- Must fail with unique violation, revealing presence of did we can't see ERROR: duplicate key value violates unique constraint "document_pkey" +DETAIL: Key (did)=(8) already exists. @@ -121827,7 +121749,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_exempt_user + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SET row_security TO OFF; SELECT * FROM document; - did | cid | dlevel | dauthor | dtitle @@ -121858,7 +121780,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_alice + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SET row_security TO ON; SELECT * FROM document; - did | cid | dlevel | dauthor | dtitle @@ -121889,7 +121811,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_alice + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SET row_security TO OFF; SELECT * FROM document; - did | cid | dlevel | dauthor | dtitle @@ -121920,7 +121842,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_alice + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SET row_security TO ON; CREATE TABLE t1 (id int not null primary key, a int, junk1 text, b text); ALTER TABLE t1 DROP COLUMN junk1; -- just a disturbing factor @@ -122012,7 +121934,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_bob + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM t1; - id | a | b ------+---+----- @@ -122290,7 +122212,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_exempt_user + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SET row_security TO OFF; SELECT * FROM t1 WHERE f_leak(b); -NOTICE: f_leak => aba @@ -122346,7 +122268,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_alice + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE TABLE part_document ( did int, cid int, @@ -122473,7 +122395,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_bob + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SET row_security TO ON; SELECT * FROM part_document WHERE f_leak(dtitle) ORDER BY did; -NOTICE: f_leak => my first novel @@ -122516,7 +122438,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_carol + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM part_document WHERE f_leak(dtitle) ORDER BY did; -NOTICE: f_leak => my first novel -NOTICE: f_leak => my second novel @@ -122570,7 +122492,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_dave + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM part_document WHERE f_leak(dtitle) ORDER BY did; -NOTICE: f_leak => my first novel -NOTICE: f_leak => my second novel @@ -122651,7 +122573,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_alice + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 ALTER TABLE part_document_satire ENABLE ROW LEVEL SECURITY; +ERROR: at or near "enable": syntax error +DETAIL: source SQL: @@ -122672,7 +122594,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_dave + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 INSERT INTO part_document_satire VALUES (101, 55, 1, 'regress_rls_dave', 'testing RLS with partitions'); -- fail -ERROR: new row violates row-level security policy for table "part_document_satire" +ERROR: relation "part_document_satire" does not exist @@ -122721,7 +122643,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_carol + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM part_document WHERE f_leak(dtitle) ORDER BY did; -NOTICE: f_leak => my first novel -NOTICE: f_leak => my second novel @@ -122792,7 +122714,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_alice + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 ALTER POLICY pp1 ON part_document USING (dauthor = current_user); +ERROR: at or near "policy": syntax error +DETAIL: source SQL: @@ -122806,7 +122728,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_bob + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM part_document WHERE f_leak(dtitle) ORDER BY did; -NOTICE: f_leak => my first novel -NOTICE: f_leak => my second novel @@ -122830,7 +122752,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_carol + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM part_document WHERE f_leak(dtitle) ORDER BY did; -NOTICE: f_leak => great science fiction -NOTICE: f_leak => great satire @@ -122901,7 +122823,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_exempt_user + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SET row_security TO OFF; SELECT * FROM part_document ORDER BY did; - did | cid | dlevel | dauthor | dtitle @@ -122936,7 +122858,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_alice + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SET row_security TO ON; SELECT * FROM part_document ORDER by did; - did | cid | dlevel | dauthor | dtitle @@ -122971,7 +122893,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_dave + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SET row_security TO OFF; SELECT * FROM part_document ORDER by did; -ERROR: query would be affected by row-level security policy for table "part_document" @@ -122986,7 +122908,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_alice + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SET row_security TO ON; CREATE POLICY pp3 ON part_document AS RESTRICTIVE USING ((SELECT dlevel <= seclv FROM uaccount WHERE pguser = current_user)); @@ -123001,7 +122923,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_carol + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 INSERT INTO part_document VALUES (100, 11, 5, 'regress_rls_carol', 'testing pp3'); -- fail -ERROR: new row violates row-level security policy "pp3" for table "part_document" +ERROR: relation "part_document" does not exist @@ -123012,7 +122934,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_alice + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SET row_security TO ON; CREATE TABLE dependee (x integer, y integer); CREATE TABLE dependent (x integer, y integer); @@ -123052,7 +122974,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_alice + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE TABLE rec1 (x integer, y integer); CREATE POLICY r1 ON rec1 USING (x = (SELECT r.x FROM rec1 r WHERE y = r.y)); +ERROR: at or near "policy": syntax error @@ -123073,7 +122995,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_bob + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM rec1; -- fail, direct recursion -ERROR: infinite recursion detected in policy for relation "rec1" + x | y @@ -123089,7 +123011,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_alice + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE TABLE rec2 (a integer, b integer); ALTER POLICY r1 ON rec1 USING (x = (SELECT a FROM rec2 WHERE b = y)); +ERROR: at or near "policy": syntax error @@ -123116,7 +123038,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_bob + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM rec1; -- fail, mutual recursion -ERROR: infinite recursion detected in policy for relation "rec1" + x | y @@ -123132,7 +123054,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_bob + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE VIEW rec1v AS SELECT * FROM rec1; CREATE VIEW rec2v AS SELECT * FROM rec2; SET SESSION AUTHORIZATION regress_rls_alice; @@ -123141,7 +123063,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_alice + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 ALTER POLICY r1 ON rec1 USING (x = (SELECT a FROM rec2v WHERE b = y)); +ERROR: at or near "policy": syntax error +DETAIL: source SQL: @@ -123161,7 +123083,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_bob + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM rec1; -- fail, mutual recursion via views -ERROR: infinite recursion detected in policy for relation "rec1" + x | y @@ -123177,7 +123099,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_bob + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 DROP VIEW rec1v, rec2v CASCADE; -NOTICE: drop cascades to 2 other objects -DETAIL: drop cascades to policy r1 on table rec1 @@ -123201,7 +123123,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_alice + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE POLICY r1 ON rec1 USING (x = (SELECT a FROM rec2v WHERE b = y)); +ERROR: at or near "policy": syntax error +DETAIL: source SQL: @@ -123221,7 +123143,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_bob + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM rec1; -- fail, mutual recursion via s.b. views -ERROR: infinite recursion detected in policy for relation "rec1" + x | y @@ -123237,7 +123159,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_alice + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE TABLE s1 (a int, b text); INSERT INTO s1 (SELECT x, public.fipshash(x::text) FROM generate_series(-10,10) x); +ERROR: unknown function: public.fipshash() @@ -123282,7 +123204,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_bob + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE VIEW v2 AS SELECT * FROM s2 WHERE y like '%af%'; SELECT * FROM s1 WHERE f_leak(b); -- fail (infinite recursion) -ERROR: infinite recursion detected in policy for relation "s1" @@ -123295,7 +123217,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_alice + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 DROP POLICY p3 on s1; +ERROR: at or near "policy": syntax error +DETAIL: source SQL: @@ -123315,7 +123237,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_bob + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM s1 WHERE f_leak(b); -- OK -NOTICE: f_leak => 03b26944890929ff751653acb2f2af79 - a | b @@ -123346,7 +123268,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_alice + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 ALTER POLICY p1 ON s1 USING (a in (select x from v2)); -- using VIEW in RLS policy -SET SESSION AUTHORIZATION regress_rls_bob; +ERROR: at or near "policy": syntax error @@ -123360,7 +123282,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_bob + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM s1 WHERE f_leak(b); -- OK -NOTICE: f_leak => 03b26944890929ff751653acb2f2af79 - a | b @@ -123419,7 +123341,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_alice + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 ALTER POLICY p2 ON s2 USING (x in (select a from s1 where b like '%d2%')); -SET SESSION AUTHORIZATION regress_rls_bob; +ERROR: at or near "policy": syntax error @@ -123433,7 +123355,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_bob + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM s1 WHERE f_leak(b); -- fail (infinite recursion via view) -ERROR: infinite recursion detected in policy for relation "s1" +ERROR: unknown function: f_leak() @@ -123588,7 +123510,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_bob + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SET row_security TO ON; EXECUTE p2(2); - id | a | b @@ -123627,7 +123549,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_bob + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 EXPLAIN (COSTS OFF) UPDATE t1 SET b = b || b WHERE f_leak(b); - QUERY PLAN ------------------------------------------------------------ @@ -123905,7 +123827,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_bob + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SET row_security TO ON; EXPLAIN (COSTS OFF) DELETE FROM only t1 WHERE f_leak(b); - QUERY PLAN @@ -123972,7 +123894,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_alice + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE TABLE b1 (a int, b text); INSERT INTO b1 (SELECT x, public.fipshash(x::text) FROM generate_series(-10,10) x); +ERROR: unknown function: public.fipshash() @@ -123995,7 +123917,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_bob + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE VIEW bv1 WITH (security_barrier) AS SELECT * FROM b1 WHERE a > 0 WITH CHECK OPTION; +ERROR: at or near "with": syntax error +DETAIL: source SQL: @@ -124010,7 +123932,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_carol + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 EXPLAIN (COSTS OFF) SELECT * FROM bv1 WHERE f_leak(b); - QUERY PLAN ---------------------------------------------- @@ -124087,7 +124009,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_alice + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM b1; - a | b ------+---------------------------------- @@ -124126,7 +124048,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_alice + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 DROP POLICY p1 ON document; +ERROR: at or near "policy": syntax error +DETAIL: source SQL: @@ -124165,7 +124087,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_bob + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 -- Exists... SELECT * FROM document WHERE did = 2; did | cid | dlevel | dauthor | dtitle @@ -124225,7 +124147,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_alice + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 DROP POLICY p1 ON document; +ERROR: at or near "policy": syntax error +DETAIL: source SQL: @@ -124257,7 +124179,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_bob + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 -- Just because WCO-style enforcement of USING quals occurs with -- existing/target tuple does not mean that the implementation can be allowed -- to fail to also enforce this qual against the final tuple appended to @@ -124289,7 +124211,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_alice + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 DROP POLICY p3_with_default ON document; +ERROR: at or near "policy": syntax error +DETAIL: source SQL: @@ -124314,7 +124236,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_bob + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 -- Fails, since ALL WCO is enforced in insert path: INSERT INTO document VALUES (80, (SELECT cid from category WHERE cname = 'novel'), 1, 'regress_rls_carol', 'my first novel') ON CONFLICT (did) DO UPDATE SET dtitle = EXCLUDED.dtitle, cid = 33; @@ -124408,7 +124330,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_bob + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 -- Fails, since update violates WITH CHECK qual on dlevel MERGE INTO document d USING (SELECT 1 as sdid) s @@ -124521,7 +124443,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_carol + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 MERGE INTO document d USING (SELECT 4 as sdid) s ON did = s.sdid @@ -124547,7 +124469,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_bob + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 -- Try INSERT action. This fails because we are trying to insert -- dauthor = regress_rls_dave and INSERT's WITH CHECK does not allow -- that @@ -124609,7 +124531,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_bob + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 -- MERGE can no longer see the matching row and hence attempts the -- NOT MATCHED action, which results in unique key violation MERGE INTO document d @@ -124710,7 +124632,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_alice + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE TABLE z1 (a int, b text); CREATE TABLE z2 (a int, b text); GRANT SELECT ON z1,z2 TO regress_rls_group1, regress_rls_group2, @@ -124742,7 +124664,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_bob + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM z1 WHERE f_leak(b); -NOTICE: f_leak => bbb -NOTICE: f_leak => dad @@ -124893,7 +124815,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_carol + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM z1 WHERE f_leak(b); -NOTICE: f_leak => aba -NOTICE: f_leak => ccc @@ -125041,7 +124963,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_alice + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE VIEW rls_view AS SELECT * FROM z1 WHERE f_leak(b); +ERROR: unknown function: f_leak() +HINT: There is probably a typo in function name. Or the intention was to use a user-defined function in the view query, which is currently not supported. @@ -125054,7 +124976,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_bob + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM rls_view; -NOTICE: f_leak => aba -NOTICE: f_leak => bbb @@ -125088,7 +125010,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_alice + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM rls_view; -NOTICE: f_leak => aba -NOTICE: f_leak => bbb @@ -125124,7 +125046,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_bob + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE VIEW rls_view AS SELECT * FROM z1 WHERE f_leak(b); +ERROR: unknown function: f_leak() +HINT: There is probably a typo in function name. Or the intention was to use a user-defined function in the view query, which is currently not supported. @@ -125138,7 +125060,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_alice + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM rls_view; -NOTICE: f_leak => bbb -NOTICE: f_leak => dad @@ -125169,7 +125091,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_bob + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM rls_view; -NOTICE: f_leak => bbb -NOTICE: f_leak => dad @@ -125199,7 +125121,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_carol + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM rls_view; --fail - permission denied. -ERROR: permission denied for view rls_view +ERROR: relation "rls_view" does not exist @@ -125217,7 +125139,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_bob + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 GRANT SELECT ON rls_view TO regress_rls_carol; +ERROR: cannot get the privileges on the grant targets: cannot determine the target type of the GRANT statement: relation "rls_view" does not exist SET SESSION AUTHORIZATION regress_rls_carol; @@ -125226,7 +125148,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_carol + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM rls_view; -NOTICE: f_leak => bbb -NOTICE: f_leak => dad @@ -125256,7 +125178,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_alice + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE TABLE z1_blacklist (a int); INSERT INTO z1_blacklist VALUES (3), (4); CREATE POLICY p3 ON z1 AS RESTRICTIVE USING (a NOT IN (SELECT a FROM z1_blacklist)); @@ -125272,7 +125194,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_bob + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM rls_view; --fail - permission denied. -ERROR: permission denied for table z1_blacklist +ERROR: relation "rls_view" does not exist @@ -125290,7 +125212,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_carol + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM rls_view; --fail - permission denied. -ERROR: permission denied for table z1_blacklist +ERROR: relation "rls_view" does not exist @@ -125308,7 +125230,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_alice + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 GRANT SELECT ON z1_blacklist TO regress_rls_bob; SET SESSION AUTHORIZATION regress_rls_bob; +ERROR: at or near "regress_rls_bob": syntax error: unimplemented: this syntax @@ -125316,7 +125238,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_bob + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM rls_view; -NOTICE: f_leak => bbb - a | b @@ -125346,7 +125268,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_carol + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM rls_view; -NOTICE: f_leak => bbb - a | b @@ -125376,7 +125298,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_alice + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 REVOKE SELECT ON z1_blacklist FROM regress_rls_bob; DROP POLICY p3 ON z1; -SET SESSION AUTHORIZATION regress_rls_bob; @@ -125391,7 +125313,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_bob + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 DROP VIEW rls_view; +ERROR: relation "rls_view" does not exist -- @@ -125404,7 +125326,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_alice + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE VIEW rls_view WITH (security_invoker) AS SELECT * FROM z1 WHERE f_leak(b); +ERROR: at or near "with": syntax error @@ -125451,7 +125373,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_bob + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM rls_view; -NOTICE: f_leak => bbb -NOTICE: f_leak => dad @@ -125481,7 +125403,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_carol + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM rls_view; -NOTICE: f_leak => aba -NOTICE: f_leak => ccc @@ -125511,7 +125433,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_alice + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 DROP VIEW rls_view; +ERROR: relation "rls_view" does not exist SET SESSION AUTHORIZATION regress_rls_bob; @@ -125520,7 +125442,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_bob + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE VIEW rls_view WITH (security_invoker) AS SELECT * FROM z1 WHERE f_leak(b); +ERROR: at or near "with": syntax error @@ -125539,7 +125461,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_alice + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM rls_view; -NOTICE: f_leak => aba -NOTICE: f_leak => bbb @@ -125574,7 +125496,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_bob + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM rls_view; -NOTICE: f_leak => bbb -NOTICE: f_leak => dad @@ -125604,7 +125526,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_carol + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM rls_view; -NOTICE: f_leak => aba -NOTICE: f_leak => ccc @@ -125634,7 +125556,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_alice + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE POLICY p3 ON z1 AS RESTRICTIVE USING (a NOT IN (SELECT a FROM z1_blacklist)); +ERROR: at or near "policy": syntax error +DETAIL: source SQL: @@ -125648,7 +125570,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_bob + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM rls_view; --fail - permission denied. -ERROR: permission denied for table z1_blacklist +ERROR: relation "rls_view" does not exist @@ -125666,7 +125588,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_carol + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM rls_view; --fail - permission denied. -ERROR: permission denied for table z1_blacklist +ERROR: relation "rls_view" does not exist @@ -125684,7 +125606,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_alice + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 GRANT SELECT ON z1_blacklist TO regress_rls_bob; SET SESSION AUTHORIZATION regress_rls_bob; +ERROR: at or near "regress_rls_bob": syntax error: unimplemented: this syntax @@ -125692,7 +125614,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_bob + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM rls_view; -NOTICE: f_leak => bbb - a | b @@ -125722,7 +125644,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_carol + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM rls_view; --fail - permission denied. -ERROR: permission denied for table z1_blacklist +ERROR: relation "rls_view" does not exist @@ -125740,7 +125662,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_alice + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 GRANT SELECT ON z1_blacklist TO regress_rls_carol; SET SESSION AUTHORIZATION regress_rls_carol; +ERROR: at or near "regress_rls_carol": syntax error: unimplemented: this syntax @@ -125748,7 +125670,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_carol + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM rls_view; -NOTICE: f_leak => aba - a | b @@ -125778,7 +125700,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_bob + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 DROP VIEW rls_view; +ERROR: relation "rls_view" does not exist -- @@ -125790,7 +125712,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_alice + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE TABLE x1 (a int, b text, c text); GRANT ALL ON x1 TO PUBLIC; INSERT INTO x1 VALUES @@ -125840,7 +125762,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_bob + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM x1 WHERE f_leak(b) ORDER BY a ASC; -NOTICE: f_leak => abc -NOTICE: f_leak => bcd @@ -125883,7 +125805,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_carol + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM x1 WHERE f_leak(b) ORDER BY a ASC; -NOTICE: f_leak => cde -NOTICE: f_leak => fgh @@ -125947,7 +125869,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_alice + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE TABLE y1 (a int, b text); CREATE TABLE y2 (a int, b text); GRANT ALL ON y1, y2 TO regress_rls_bob; @@ -125998,7 +125920,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_alice + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE VIEW rls_sbv WITH (security_barrier) AS SELECT * FROM y1 WHERE f_leak(b); +ERROR: at or near "with": syntax error @@ -126027,7 +125949,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_bob + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE VIEW rls_sbv WITH (security_barrier) AS SELECT * FROM y1 WHERE f_leak(b); +ERROR: at or near "with": syntax error @@ -126058,7 +125980,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_alice + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 INSERT INTO y2 (SELECT x, public.fipshash(x::text) FROM generate_series(0,20) x); +ERROR: unknown function: public.fipshash() CREATE POLICY p2 ON y2 USING (a % 3 = 0); @@ -126080,7 +126002,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_bob + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM y2 WHERE f_leak(b); -NOTICE: f_leak => 5feceb66ffc86f38d952786c6d696c79 -NOTICE: f_leak => d4735e3a265e16eee03f59718b9b5d03 @@ -126363,7 +126285,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_bob + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 WITH cte1 AS MATERIALIZED (SELECT * FROM t1 WHERE f_leak(b)) SELECT * FROM cte1; -NOTICE: f_leak => 5feceb66ffc86f38d952786c6d696c79 -NOTICE: f_leak => d4735e3a265e16eee03f59718b9b5d03 @@ -126488,7 +126410,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_bob + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE TABLE t2 (a integer, b text); INSERT INTO t2 (SELECT * FROM t1); EXPLAIN (COSTS OFF) INSERT INTO t2 (SELECT * FROM t1); @@ -126588,7 +126510,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_alice + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE TABLE blog (id integer, author text, post text); CREATE TABLE comment (blog_id integer, message text); GRANT ALL ON blog, comment TO regress_rls_bob; @@ -126616,7 +126538,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_bob + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 -- Check RLS JOIN with Non-RLS. SELECT id, author, message FROM blog JOIN comment ON id = blog_id; id | author | message @@ -126650,7 +126572,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_alice + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE POLICY comment_1 ON comment USING (blog_id < 4); +ERROR: at or near "policy": syntax error +DETAIL: source SQL: @@ -126670,7 +126592,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_bob + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 -- Check RLS JOIN RLS SELECT id, author, message FROM blog JOIN comment ON id = blog_id; id | author | message @@ -126702,7 +126624,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_alice + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 DROP TABLE blog, comment; -- -- Default Deny Policy @@ -126776,7 +126698,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_alice + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM t1; - a | b -----+---------------------------------- @@ -126825,7 +126747,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_bob + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SET row_security TO ON; SELECT * FROM t1; - a | b @@ -126853,7 +126775,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_bob + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM t1; - a | b ----+--- @@ -126942,7 +126864,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_bob + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SET row_security TO OFF; COPY (SELECT * FROM copy_t ORDER BY a ASC) TO STDOUT WITH DELIMITER ','; --fail - would be affected by RLS -ERROR: query would be affected by row-level security policy for table "copy_t" @@ -126961,7 +126883,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_exempt_user + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SET row_security TO OFF; COPY (SELECT * FROM copy_t ORDER BY a ASC) TO STDOUT WITH DELIMITER ','; --ok -0,5feceb66ffc86f38d952786c6d696c79 @@ -126995,7 +126917,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_carol + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SET row_security TO OFF; COPY (SELECT * FROM copy_t ORDER BY a ASC) TO STDOUT WITH DELIMITER ','; --fail - would be affected by RLS -ERROR: query would be affected by row-level security policy for table "copy_t" @@ -127047,7 +126969,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_bob + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SET row_security TO OFF; COPY copy_rel_to TO STDOUT WITH DELIMITER ','; --fail - would be affected by RLS -ERROR: query would be affected by row-level security policy for table "copy_rel_to" @@ -127060,7 +126982,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_exempt_user + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SET row_security TO OFF; COPY copy_rel_to TO STDOUT WITH DELIMITER ','; --ok -1,6b86b273ff34fce19d6b804eff5a3f57 @@ -127074,7 +126996,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_carol + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SET row_security TO OFF; COPY copy_rel_to TO STDOUT WITH DELIMITER ','; --fail - permission denied -ERROR: permission denied for table copy_rel_to @@ -127095,7 +127017,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +CREATE TABLE copy_rel_to_child () INHERITS (copy_rel_to) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 INSERT INTO copy_rel_to_child VALUES (1, 'one'), (2, 'two'); +ERROR: relation "copy_rel_to_child" does not exist -- Check COPY TO as Superuser/owner. @@ -127118,7 +127040,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_bob + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SET row_security TO OFF; COPY copy_rel_to TO STDOUT WITH DELIMITER ','; --fail - would be affected by RLS -ERROR: query would be affected by row-level security policy for table "copy_rel_to" @@ -127131,7 +127053,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_exempt_user + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SET row_security TO OFF; COPY copy_rel_to TO STDOUT WITH DELIMITER ','; --ok -1,6b86b273ff34fce19d6b804eff5a3f57 @@ -127145,7 +127067,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_carol + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SET row_security TO OFF; COPY copy_rel_to TO STDOUT WITH DELIMITER ','; --fail - permission denied -ERROR: permission denied for table copy_rel_to @@ -127170,7 +127092,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_bob + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SET row_security TO OFF; COPY copy_t FROM STDIN; --fail - would be affected by RLS. -ERROR: query would be affected by row-level security policy for table "copy_t" @@ -127190,7 +127112,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowsecurity.out - +SET SESSION AUTHORIZATION regress_rls_carol + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SET row_security TO OFF; COPY copy_t FROM STDIN; --fail - permission denied. -ERROR: permission denied for table copy_t @@ -127975,7 +127897,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/gin.out --label=/ with (fastupdate = on, gin_pending_list_limit = 4096); +ERROR: unimplemented: storage parameter "fastupdate" +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/43299/dev ++See: https://go.crdb.dev/issue-v/43299/v24.3 insert into gin_test_tbl select array[1, 2, g] from generate_series(1, 20000) g; insert into gin_test_tbl select array[1, 3, g] from generate_series(1, 1000) g; select gin_clean_pending_list('gin_test_idx')>10 as many; -- flush the fastupdate buffers @@ -128150,7 +128072,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/gin.out --label=/ +returns table (explain_line json) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/100226/dev ++See: https://go.crdb.dev/issue-v/100226/v24.3 create function execute_text_query_index(query_sql text) returns setof text language plpgsql @@ -128160,7 +128082,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/gin.out --label=/ $$; +ERROR: unimplemented: set-returning PL/pgSQL functions are not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/105240/dev ++See: https://go.crdb.dev/issue-v/105240/v24.3 create function execute_text_query_heap(query_sql text) returns setof text language plpgsql @@ -128170,7 +128092,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/gin.out --label=/ $$; +ERROR: unimplemented: set-returning PL/pgSQL functions are not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/105240/dev ++See: https://go.crdb.dev/issue-v/105240/v24.3 -- check number of rows returned by index and removed by recheck select query, @@ -128351,7 +128273,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/gist.out --label= +create table gist_point_tbl(id int4, p point) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 create index gist_pointidx on gist_point_tbl using gist(p); +ERROR: relation "gist_point_tbl" does not exist -- Verify the fillfactor and buffering options @@ -128424,7 +128346,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/gist.out --label= +create table gist_tbl (b box, p point, c circle) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 insert into gist_tbl select box(point(0.05*i, 0.05*i), point(0.05*i, 0.05*i)), point(0.05*i, 0.05*i), @@ -128965,7 +128887,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/gist.out --label= +create unlogged table gist_tbl (b box) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 create index gist_tbl_box_index on gist_tbl using gist (b); +ERROR: relation "gist_tbl" does not exist insert into gist_tbl @@ -129000,7 +128922,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/brin.out --label= + macaddrcol macaddr, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/45813/dev ++See: https://go.crdb.dev/issue-v/45813/v24.3 INSERT INTO brintest SELECT repeat(stringu1, 8)::bytea, substr(stringu1, 1, 1)::"char", @@ -129024,7 +128946,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/brin.out --label= + format('%s:00:%s:00:%s:00', to_hex(odd), to_hex(even), to_hex(hundred))::macaddr, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/45813/dev ++See: https://go.crdb.dev/issue-v/45813/v24.3 -- throw in some NULL's and different values INSERT INTO brintest (inetcol, cidrcol, int4rangecol) SELECT inet 'fe80::6e40:8ff:fea9:8c46' + tenthous, @@ -129038,7 +128960,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/brin.out --label= + cidr 'fe80::6e40:8ff:fea9:8c46' + tenthous, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/18846/dev ++See: https://go.crdb.dev/issue-v/18846/v24.3 CREATE INDEX brinidx ON brintest USING brin ( byteacol, charcol, @@ -129110,7 +129032,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/brin.out --label= + format('%s:00:%s:00:%s:00', to_hex(odd), to_hex(even), to_hex(hundred))::macaddr, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/45813/dev ++See: https://go.crdb.dev/issue-v/45813/v24.3 SELECT brin_desummarize_range('brinidx', 0); - brin_desummarize_range ------------------------- @@ -129487,7 +129409,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/join_hash.out --l +returns table (original int, final int) language plpgsql + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/100226/dev ++See: https://go.crdb.dev/issue-v/100226/v24.3 -- Make a simple relation with well distributed keys and correctly -- estimated size. create table simple as @@ -131143,7 +131065,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user8 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 GRANT pg_read_all_settings TO regress_priv_user9 WITH ADMIN OPTION; +ERROR: role/user "pg_read_all_settings" does not exist SET SESSION AUTHORIZATION regress_priv_user9; @@ -131152,7 +131074,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user9 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 GRANT pg_read_all_settings TO regress_priv_user10; +ERROR: role/user "pg_read_all_settings" does not exist SET SESSION AUTHORIZATION regress_priv_user8; @@ -131161,7 +131083,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user8 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 REVOKE pg_read_all_settings FROM regress_priv_user10 GRANTED BY regress_priv_user9; +ERROR: at or near "granted": syntax error +DETAIL: source SQL: @@ -131186,7 +131108,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user8 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SET ROLE pg_read_all_settings; +ERROR: role/user "pg_read_all_settings" does not exist RESET ROLE; @@ -131213,7 +131135,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user8 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SET ROLE pg_read_all_settings; -- fail, no SET option any more -ERROR: permission denied to set role "pg_read_all_settings" +ERROR: role/user "pg_read_all_settings" does not exist @@ -131256,7 +131178,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 ALTER GROUP regress_priv_group2 ADD USER regress_priv_user2; -NOTICE: role "regress_priv_user2" has already been granted membership in role "regress_priv_group2" by role "regress_priv_user1" +ERROR: at or near "add": syntax error @@ -131346,7 +131268,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT session_user, current_user; - session_user | current_user ---------------------+-------------------- @@ -131393,7 +131315,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT session_user, current_user; - session_user | current_user ---------------------+-------------------- @@ -131541,7 +131463,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE TABLE atest12 as SELECT x AS a, 10001 - x AS b FROM generate_series(1,10000) x; CREATE INDEX ON atest12 (a); @@ -131587,7 +131509,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +CREATE OPERATOR <<< (procedure = leak, leftarg = integer, rightarg = integer, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 -- views with leaky operator CREATE VIEW atest12v AS SELECT * FROM atest12 WHERE b <<< 5; @@ -131668,7 +131590,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE FUNCTION leak2(integer,integer) RETURNS boolean AS $$begin raise notice 'leak % %', $1, $2; return $1 > $2; end$$ LANGUAGE plpgsql immutable; @@ -131680,7 +131602,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +CREATE OPERATOR >>> (procedure = leak2, leftarg = integer, rightarg = integer, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 -- This should not show any "leak" notices before failing. EXPLAIN (COSTS OFF) SELECT * FROM atest12 WHERE a >>> 0; -ERROR: permission denied for table atest12 @@ -131769,7 +131691,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 GRANT SELECT (a, b) ON atest12 TO PUBLIC; +ERROR: at or near "(": syntax error +DETAIL: source SQL: @@ -131782,7 +131704,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 -- regress_priv_user2 should continue to get a good row estimate. EXPLAIN (COSTS OFF) SELECT * FROM atest12v x, atest12v y WHERE x.a = y.b; - QUERY PLAN @@ -131841,7 +131763,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user3 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE TABLE atest3 (one int, two int, three int); GRANT DELETE ON atest3 TO GROUP regress_priv_group2; +ERROR: at or near "group": syntax error @@ -131855,7 +131777,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM atest3; -- fail -ERROR: permission denied for table atest3 + one | two | three @@ -131882,7 +131804,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SAVEPOINT s1; +ERROR: current transaction is aborted, commands ignored until end of transaction block DELETE FROM atest3; -- ok because grant-level option is unchanged @@ -131907,7 +131829,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 DELETE FROM atest3; -- fail -ERROR: permission denied for table atest3 +ERROR: current transaction is aborted, commands ignored until end of transaction block @@ -131930,7 +131852,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 DELETE FROM atest3; -- also fail -ERROR: permission denied for table atest3 +ERROR: current transaction is aborted, commands ignored until end of transaction block @@ -131942,7 +131864,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user3 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE VIEW atestv1 AS SELECT * FROM atest1; -- ok /* The next *should* fail, but it's not implemented that way yet. */ CREATE VIEW atestv2 AS SELECT * FROM atest2; @@ -131963,7 +131885,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user4 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM atestv1; -- ok a | b ---+----- @@ -132046,7 +131968,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 -- Two complex cases: SELECT * FROM atestv3; -- fail -ERROR: permission denied for view atestv3 @@ -132078,7 +132000,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE TABLE atest5 (one int, two int unique, three int, four int unique); CREATE TABLE atest6 (one int, two int, blue int); GRANT SELECT (one), INSERT (two), UPDATE (three) ON atest5 TO regress_priv_user4; @@ -132100,7 +132022,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user4 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM atest5; -- fail -ERROR: permission denied for table atest5 + one | two | three | four @@ -132331,7 +132253,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 GRANT SELECT (one,two) ON atest6 TO regress_priv_user4; +ERROR: at or near "(": syntax error +DETAIL: source SQL: @@ -132344,7 +132266,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user4 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT one, two FROM atest5 NATURAL JOIN atest6; -- fail still -ERROR: permission denied for table atest5 + one | two @@ -132357,7 +132279,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 GRANT SELECT (two) ON atest5 TO regress_priv_user4; +ERROR: at or near "(": syntax error +DETAIL: source SQL: @@ -132370,7 +132292,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user4 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT one, two FROM atest5 NATURAL JOIN atest6; -- ok now one | two -----+----- @@ -132422,7 +132344,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 GRANT INSERT (four) ON atest5 TO regress_priv_user4; +ERROR: at or near "(": syntax error +DETAIL: source SQL: @@ -132435,7 +132357,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user4 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 INSERT INTO atest5(four) VALUES (4) ON CONFLICT (four) DO UPDATE set three = 3; -- fails (due to SELECT) -ERROR: permission denied for table atest5 INSERT INTO atest5(four) VALUES (4) ON CONFLICT ON CONSTRAINT atest5_four_key DO UPDATE set three = 3; -- fails (due to SELECT) @@ -132449,7 +132371,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 GRANT SELECT (four) ON atest5 TO regress_priv_user4; +ERROR: at or near "(": syntax error +DETAIL: source SQL: @@ -132462,7 +132384,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user4 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 INSERT INTO atest5(four) VALUES (4) ON CONFLICT (four) DO UPDATE set three = 3; -- ok INSERT INTO atest5(four) VALUES (4) ON CONFLICT ON CONSTRAINT atest5_four_key DO UPDATE set three = 3; -- ok SET SESSION AUTHORIZATION regress_priv_user1; @@ -132471,7 +132393,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 REVOKE ALL (one) ON atest5 FROM regress_priv_user4; +ERROR: at or near "(": syntax error +DETAIL: source SQL: @@ -132490,7 +132412,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user4 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT one FROM atest5; -- fail -ERROR: permission denied for table atest5 + one @@ -132518,7 +132440,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE TABLE mtarget (a int, b text); CREATE TABLE msource (a int, b text); INSERT INTO mtarget VALUES (1, 'init1'), (2, 'init2'); @@ -132553,7 +132475,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user4 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 -- -- test source privileges -- @@ -132606,7 +132528,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 GRANT SELECT (b) ON msource TO regress_priv_user4; +ERROR: at or near "(": syntax error +DETAIL: source SQL: @@ -132619,7 +132541,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user4 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 -- should now be ok BEGIN; MERGE INTO mtarget t USING msource s ON t.a = s.a @@ -132691,7 +132613,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 GRANT DELETE ON mtarget TO regress_priv_user4; -- should be ok now BEGIN; @@ -132710,7 +132632,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE TABLE t1 (c1 int, c2 int, c3 int check (c3 < 5), primary key (c1, c2)); GRANT SELECT (c1) ON t1 TO regress_priv_user2; +ERROR: at or near "(": syntax error @@ -132742,7 +132664,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 INSERT INTO t1 (c1, c2) VALUES (1, 1); -- fail, but row not shown ERROR: duplicate key value violates unique constraint "t1_pkey" +DETAIL: Key (c1, c2)=(1, 1) already exists. @@ -132771,7 +132693,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 DROP TABLE t1; -- check error reporting with column privs on a partitioned table CREATE TABLE errtst(a text, b text NOT NULL, c text, secret1 text, secret2 text) PARTITION BY LIST (a); @@ -132820,7 +132742,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 -- Perform a few updates that violate the NOT NULL constraint. Make sure -- the error messages don't leak the secret fields. -- simple insert. @@ -132857,7 +132779,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 DROP TABLE errtst; +ERROR: relation "errtst" does not exist -- test column-level privileges when involved with DELETE @@ -132867,7 +132789,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 ALTER TABLE atest6 ADD COLUMN three integer; GRANT DELETE ON atest5 TO regress_priv_user3; GRANT SELECT (two) ON atest5 TO regress_priv_user3; @@ -132894,7 +132816,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user4 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT atest6 FROM atest6; -- fail -ERROR: permission denied for table atest6 + atest6 @@ -132913,7 +132835,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 ALTER TABLE atest6 DROP COLUMN three; SET SESSION AUTHORIZATION regress_priv_user4; +ERROR: at or near "regress_priv_user4": syntax error: unimplemented: this syntax @@ -132921,7 +132843,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user4 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT atest6 FROM atest6; -- ok atest6 -------- @@ -132934,7 +132856,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 ALTER TABLE atest6 DROP COLUMN two; REVOKE SELECT (one,blue) ON atest6 FROM regress_priv_user4; +ERROR: at or near "(": syntax error @@ -132948,7 +132870,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user4 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM atest6; -- fail -ERROR: permission denied for table atest6 + one | blue @@ -132967,7 +132889,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user3 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 DELETE FROM atest5 WHERE one = 1; -- fail -ERROR: permission denied for table atest5 DELETE FROM atest5 WHERE two = 2; -- ok @@ -132978,7 +132900,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE TABLE atestp1 (f1 int, f2 int); CREATE TABLE atestp2 (fx int, fy int); CREATE TABLE atestc (fz int) INHERITS (atestp1, atestp2); @@ -132987,7 +132909,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +CREATE TABLE atestc (fz int) INHERITS (atestp1, atestp2) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 GRANT SELECT(fx,fy,tableoid) ON atestp2 TO regress_priv_user2; +ERROR: at or near "(": syntax error +DETAIL: source SQL: @@ -133006,7 +132928,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT fx FROM atestp2; -- ok fx ---- @@ -133022,7 +132944,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 GRANT SELECT(fy,tableoid) ON atestc TO regress_priv_user2; +ERROR: at or near "(": syntax error +DETAIL: source SQL: @@ -133035,7 +132957,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT fx FROM atestp2; -- still ok fx ---- @@ -133048,7 +132970,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 REVOKE ALL ON atestc FROM regress_priv_user2; +ERROR: cannot get the privileges on the grant targets: cannot determine the target type of the GRANT statement: relation "atestc" does not exist GRANT ALL ON atestp1 TO regress_priv_user2; @@ -133058,7 +132980,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT f2 FROM atestp1; -- ok f2 ---- @@ -133123,7 +133045,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 GRANT USAGE ON LANGUAGE sql TO regress_priv_user2; -- fail -WARNING: no privileges were granted for "sql" +ERROR: at or near "sql": syntax error @@ -133139,7 +133061,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +CREATE AGGREGATE priv_testagg1(int) (sfunc = int4pl, stype = int4) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 CREATE PROCEDURE priv_testproc1(int) AS 'select $1;' LANGUAGE sql; REVOKE ALL ON FUNCTION priv_testfunc1(int), priv_testfunc2(int), priv_testagg1(int) FROM PUBLIC; +ERROR: unknown function: priv_testagg1() @@ -133176,7 +133098,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT priv_testfunc1(5), priv_testfunc2(5); -- ok priv_testfunc1 | priv_testfunc2 ----------------+---------------- @@ -133202,7 +133124,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user3 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT priv_testfunc1(5); -- fail -ERROR: permission denied for function priv_testfunc1 + priv_testfunc1 @@ -133237,7 +133159,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user4 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT priv_testfunc1(5); -- ok priv_testfunc1 ---------------- @@ -133264,7 +133186,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +DROP AGGREGATE priv_testagg1(int) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 DROP PROCEDURE priv_testproc1(int); -- fail -ERROR: must be owner of procedure priv_testproc1 \c - @@ -133298,7 +133220,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user4 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT '{1}'::int4[]::int8[]; --other user, fail -ERROR: permission denied for function int8 +ERROR: current transaction is aborted, commands ignored until end of transaction block @@ -133324,7 +133246,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +CREATE DOMAIN priv_testdomain1 AS int + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 REVOKE USAGE on DOMAIN priv_testdomain1 FROM PUBLIC; +ERROR: at or near "priv_testdomain1": syntax error +DETAIL: source SQL: @@ -133345,7 +133267,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 -- commands that should fail CREATE AGGREGATE priv_testagg1a(priv_testdomain1) (sfunc = int4_sum, stype = bigint); -ERROR: permission denied for type priv_testdomain1 @@ -133354,7 +133276,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +CREATE AGGREGATE priv_testagg1a(priv_testdomain1) (sfunc = int4_sum, stype = bigint) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 CREATE DOMAIN priv_testdomain2a AS priv_testdomain1; -ERROR: permission denied for type priv_testdomain1 +ERROR: at or near "as": syntax error: unimplemented: this syntax @@ -133362,14 +133284,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +CREATE DOMAIN priv_testdomain2a AS priv_testdomain1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 CREATE DOMAIN priv_testdomain3a AS int; +ERROR: at or near "as": syntax error: unimplemented: this syntax +DETAIL: source SQL: +CREATE DOMAIN priv_testdomain3a AS int + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 CREATE FUNCTION castfunc(int) RETURNS priv_testdomain3a AS $$ SELECT $1::priv_testdomain3a $$ LANGUAGE SQL; +ERROR: type "priv_testdomain3a" does not exist CREATE CAST (priv_testdomain1 AS priv_testdomain3a) WITH FUNCTION castfunc(int); @@ -133408,7 +133330,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +DROP DOMAIN priv_testdomain3a + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 CREATE FUNCTION priv_testfunc5a(a priv_testdomain1) RETURNS int LANGUAGE SQL AS $$ SELECT $1 $$; -ERROR: permission denied for type priv_testdomain1 +ERROR: type "priv_testdomain1" does not exist @@ -133422,7 +133344,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +CREATE OPERATOR !+! (PROCEDURE = int4pl, LEFTARG = priv_testdomain1, RIGHTARG = priv_testdomain1) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 CREATE TABLE test5a (a int, b priv_testdomain1); -ERROR: permission denied for type priv_testdomain1 +ERROR: type "priv_testdomain1" does not exist @@ -133453,7 +133375,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +ALTER TYPE test8a ADD ATTRIBUTE c priv_testdomain1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/48701/dev ++See: https://go.crdb.dev/issue-v/48701/v24.3 ALTER TYPE test8a ALTER ATTRIBUTE b TYPE priv_testdomain1; -ERROR: permission denied for type priv_testdomain1 +ERROR: at or near "EOF": syntax error: unimplemented: this syntax @@ -133461,7 +133383,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +ALTER TYPE test8a ALTER ATTRIBUTE b TYPE priv_testdomain1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/48701/dev ++See: https://go.crdb.dev/issue-v/48701/v24.3 CREATE TABLE test11a AS (SELECT 1::priv_testdomain1 AS a); -ERROR: permission denied for type priv_testdomain1 +ERROR: type "priv_testdomain1" does not exist @@ -133473,7 +133395,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 -- commands that should succeed CREATE AGGREGATE priv_testagg1b(priv_testdomain1) (sfunc = int4_sum, stype = bigint); +ERROR: at or near "priv_testagg1b": syntax error: unimplemented: this syntax @@ -133481,21 +133403,21 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +CREATE AGGREGATE priv_testagg1b(priv_testdomain1) (sfunc = int4_sum, stype = bigint) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 CREATE DOMAIN priv_testdomain2b AS priv_testdomain1; +ERROR: at or near "as": syntax error: unimplemented: this syntax +DETAIL: source SQL: +CREATE DOMAIN priv_testdomain2b AS priv_testdomain1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 CREATE DOMAIN priv_testdomain3b AS int; +ERROR: at or near "as": syntax error: unimplemented: this syntax +DETAIL: source SQL: +CREATE DOMAIN priv_testdomain3b AS int + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 CREATE FUNCTION castfunc(int) RETURNS priv_testdomain3b AS $$ SELECT $1::priv_testdomain3b $$ LANGUAGE SQL; +ERROR: type "priv_testdomain3b" does not exist CREATE CAST (priv_testdomain1 AS priv_testdomain3b) WITH FUNCTION castfunc(int); @@ -133525,7 +133447,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +CREATE OPERATOR !! (PROCEDURE = priv_testfunc5b, RIGHTARG = priv_testdomain1) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 CREATE TABLE test5b (a int, b priv_testdomain1); +ERROR: type "priv_testdomain1" does not exist CREATE TABLE test6b OF priv_testtype1; @@ -133549,14 +133471,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +ALTER TYPE test8b ADD ATTRIBUTE c priv_testdomain1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/48701/dev ++See: https://go.crdb.dev/issue-v/48701/v24.3 ALTER TYPE test8b ALTER ATTRIBUTE b TYPE priv_testdomain1; +ERROR: at or near "EOF": syntax error: unimplemented: this syntax +DETAIL: source SQL: +ALTER TYPE test8b ALTER ATTRIBUTE b TYPE priv_testdomain1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/48701/dev ++See: https://go.crdb.dev/issue-v/48701/v24.3 CREATE TABLE test11b AS (SELECT 1::priv_testdomain1 AS a); +ERROR: type "priv_testdomain1" does not exist REVOKE ALL ON TYPE priv_testtype1 FROM PUBLIC; @@ -133568,14 +133490,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +DROP AGGREGATE priv_testagg1b(priv_testdomain1) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 DROP DOMAIN priv_testdomain2b; +ERROR: at or near "priv_testdomain2b": syntax error: unimplemented: this syntax +DETAIL: source SQL: +DROP DOMAIN priv_testdomain2b + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 DROP OPERATOR !! (NONE, priv_testdomain1); +ERROR: at or near "!": syntax error: unimplemented: this syntax +DETAIL: source SQL: @@ -133640,7 +133562,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +DROP DOMAIN priv_testdomain3b + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 DROP TABLE test11b; +ERROR: relation "test11b" does not exist DROP TYPE priv_testtype1; -- ok @@ -133651,7 +133573,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +DROP DOMAIN priv_testdomain1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 -- truncate SET SESSION AUTHORIZATION regress_priv_user5; +ERROR: at or near "regress_priv_user5": syntax error: unimplemented: this syntax @@ -133659,7 +133581,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user5 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 TRUNCATE atest2; -- ok TRUNCATE atest3; -- fail -ERROR: permission denied for table atest3 @@ -133751,7 +133673,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user3 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 select has_table_privilege(current_user,'pg_class','select'); has_table_privilege --------------------- @@ -133908,7 +133830,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE TABLE atest4 (a int); GRANT SELECT ON atest4 TO regress_priv_user2 WITH GRANT OPTION; GRANT UPDATE ON atest4 TO regress_priv_user2; @@ -133924,7 +133846,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 GRANT SELECT ON atest4 TO regress_priv_user3; GRANT UPDATE ON atest4 TO regress_priv_user3; -- fail -WARNING: no privileges were granted for "atest4" @@ -133934,7 +133856,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 REVOKE SELECT ON atest4 FROM regress_priv_user3; -- does nothing SELECT has_table_privilege('regress_priv_user3', 'atest4', 'SELECT'); -- true has_table_privilege @@ -133988,7 +133910,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- -- Create a table owned by regress_sro_user CREATE TABLE sro_tab (a int); ALTER TABLE sro_tab OWNER TO regress_sro_user; -@@ -1727,84 +2849,199 @@ +@@ -1727,84 +2849,211 @@ -- Create an expression index with a predicate CREATE INDEX sro_idx ON sro_tab ((sro_ifun(a) + sro_ifun(0))) WHERE sro_ifun(a + 10) > sro_ifun(10); @@ -134102,7 +134024,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_sro_user + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE FUNCTION unwanted_grant() RETURNS void LANGUAGE sql AS 'GRANT regress_priv_group2 TO regress_sro_user'; +ERROR: unimplemented: GRANT usage inside a function definition @@ -134150,14 +134072,26 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_sro_user + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 -- INSERT to this table will queue a GRANT at end of transaction CREATE TABLE sro_trojan_table (); CREATE FUNCTION sro_trojan() RETURNS trigger LANGUAGE plpgsql AS 'BEGIN PERFORM unwanted_grant(); RETURN NULL; END'; -+ERROR: unimplemented: trigger functions are not yet supported ++ERROR: at or near ";": syntax error: unimplemented: this syntax ++DETAIL: source SQL: ++BEGIN PERFORM unwanted_grant(); RETURN NULL; END ++ ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev ++ ++Please check the public issue tracker to check whether this problem is ++already tracked. If you cannot find it there, please report the error ++with details by creating a new issue. ++ ++If you would rather not post publicly, please contact us directly ++using the support form. ++ ++We appreciate your feedback. ++ CREATE CONSTRAINT TRIGGER t AFTER INSERT ON sro_trojan_table INITIALLY DEFERRED FOR EACH ROW EXECUTE PROCEDURE sro_trojan(); +ERROR: at or near "t": syntax error: unimplemented: this syntax @@ -134165,7 +134099,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +CREATE CONSTRAINT TRIGGER t AFTER INSERT ON sro_trojan_table + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/28296/dev ++See: https://go.crdb.dev/issue-v/28296/v24.3 -- Now, REFRESH will issue such an INSERT, queueing the GRANT CREATE OR REPLACE FUNCTION mv_action() RETURNS bool LANGUAGE sql AS 'INSERT INTO sro_trojan_table DEFAULT VALUES; SELECT true'; @@ -134208,11 +134142,11 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_sro_user + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE FUNCTION unwanted_grant_nofail(int) RETURNS int IMMUTABLE LANGUAGE plpgsql AS $$ BEGIN -@@ -1814,52 +3051,102 @@ +@@ -1814,52 +3063,102 @@ EXCEPTION WHEN OTHERS THEN RETURN 2; END$$; @@ -134248,7 +134182,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user4 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE FUNCTION dogrant_ok() RETURNS void LANGUAGE sql SECURITY DEFINER AS 'GRANT regress_priv_group2 TO regress_priv_user5'; +ERROR: unimplemented: GRANT usage inside a function definition @@ -134277,7 +134211,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 GRANT regress_priv_group2 TO regress_priv_user5; -- fails: no ADMIN OPTION -ERROR: permission denied to grant role "regress_priv_group2" -DETAIL: Only roles with the ADMIN option on role "regress_priv_group2" may grant this role. @@ -134302,7 +134236,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_group2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 GRANT regress_priv_group2 TO regress_priv_user5; -- fails: no self-admin -ERROR: permission denied to grant role "regress_priv_group2" -DETAIL: Only roles with the ADMIN option on role "regress_priv_group2" may grant this role. @@ -134313,7 +134247,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user4 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 DROP FUNCTION dogrant_ok(); +ERROR: unknown function: dogrant_ok() REVOKE regress_priv_group2 FROM regress_priv_user5; @@ -134331,7 +134265,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- SELECT has_sequence_privilege('regress_priv_user1', 'x_seq', 'SELECT'); has_sequence_privilege ------------------------ -@@ -1867,6 +3154,12 @@ +@@ -1867,6 +3166,12 @@ (1 row) SET SESSION AUTHORIZATION regress_priv_user2; @@ -134340,11 +134274,11 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT has_sequence_privilege('x_seq', 'USAGE'); has_sequence_privilege ------------------------ -@@ -1876,203 +3169,286 @@ +@@ -1876,203 +3181,286 @@ -- largeobject privilege tests \c - SET SESSION AUTHORIZATION regress_priv_user1; @@ -134353,7 +134287,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT lo_create(1001); - lo_create ------------ @@ -134447,7 +134381,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT lo_create(2001); - lo_create ------------ @@ -134603,7 +134537,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user3 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT loread(lo_open(1001, x'40000'::int), 32); - loread ------------- @@ -134667,7 +134601,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user4 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT loread(lo_open(1002, x'40000'::int), 32); -- to be denied -ERROR: permission denied for large object 1002 +ERROR: lexical error: invalid hexadecimal bytes literal @@ -134721,7 +134655,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user4 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT loread(lo_open(1002, x'40000'::int), 32); - loread --------- @@ -134765,7 +134699,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- -- don't allow unpriv users to access pg_largeobject contents \c - SELECT * FROM pg_largeobject LIMIT 0; -@@ -2081,68 +3457,80 @@ +@@ -2081,68 +3469,80 @@ (0 rows) SET SESSION AUTHORIZATION regress_priv_user1; @@ -134774,7 +134708,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM pg_largeobject LIMIT 0; -- to be denied -ERROR: permission denied for table pg_largeobject + loid | pageno | data @@ -134834,7 +134768,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 TABLE information_schema.enabled_roles ORDER BY role_name COLLATE "C"; - role_name ---------------------- @@ -134865,7 +134799,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_priv_user2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 TABLE information_schema.enabled_roles; - role_name --------------------- @@ -134879,7 +134813,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- ROLLBACK; -- test default ACLs \c - -@@ -2220,69 +3608,34 @@ +@@ -2220,69 +3620,34 @@ (1 row) ALTER DEFAULT PRIVILEGES FOR ROLE regress_priv_user1 REVOKE EXECUTE ON FUNCTIONS FROM public; @@ -134960,7 +134894,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- -- -- Testing blanket default grants is very hazardous since it might change -- the privileges attached to objects created by concurrent regression tests. -@@ -2300,7 +3653,7 @@ +@@ -2300,7 +3665,7 @@ SELECT has_schema_privilege('regress_priv_user6', 'testns2', 'USAGE'); -- yes has_schema_privilege ---------------------- @@ -134969,7 +134903,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- (1 row) SELECT has_schema_privilege('regress_priv_user2', 'testns2', 'CREATE'); -- no -@@ -2354,19 +3707,18 @@ +@@ -2354,19 +3719,18 @@ classid = 'pg_default_acl'::regclass; count ------- @@ -134980,7 +134914,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- DROP OWNED BY regress_priv_user2, regress_priv_user2; +ERROR: unimplemented: drop owned by is not yet implemented +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/55381/dev ++See: https://go.crdb.dev/issue-v/55381/v24.3 SELECT count(*) FROM pg_shdepend WHERE deptype = 'a' AND refobjid = 'regress_priv_user2'::regrole AND @@ -134994,7 +134928,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- ROLLBACK; CREATE SCHEMA testns5; SELECT has_schema_privilege('regress_priv_user2', 'testns5', 'USAGE'); -- no -@@ -2384,30 +3736,59 @@ +@@ -2384,30 +3748,59 @@ SET ROLE regress_priv_user1; CREATE FUNCTION testns.foo() RETURNS int AS 'select 1' LANGUAGE sql; CREATE AGGREGATE testns.agg1(int) (sfunc = int4pl, stype = int4); @@ -135003,7 +134937,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +CREATE AGGREGATE testns.agg1(int) (sfunc = int4pl, stype = int4) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 CREATE PROCEDURE testns.bar() AS 'select 1' LANGUAGE sql; SELECT has_function_privilege('regress_priv_user2', 'testns.foo()', 'EXECUTE'); -- no has_function_privilege @@ -135050,18 +134984,18 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +DROP AGGREGATE testns.agg1(int) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 CREATE AGGREGATE testns.agg1(int) (sfunc = int4pl, stype = int4); +ERROR: at or near "testns": syntax error: unimplemented: this syntax +DETAIL: source SQL: +CREATE AGGREGATE testns.agg1(int) (sfunc = int4pl, stype = int4) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 DROP PROCEDURE testns.bar(); CREATE PROCEDURE testns.bar() AS 'select 1' LANGUAGE sql; SELECT has_function_privilege('regress_priv_user2', 'testns.foo()', 'EXECUTE'); -- yes -@@ -2417,11 +3798,7 @@ +@@ -2417,11 +3810,7 @@ (1 row) SELECT has_function_privilege('regress_priv_user2', 'testns.agg1(int)', 'EXECUTE'); -- yes @@ -135074,7 +135008,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- SELECT has_function_privilege('regress_priv_user2', 'testns.bar()', 'EXECUTE'); -- yes (counts as function here) has_function_privilege ------------------------ -@@ -2430,36 +3807,57 @@ +@@ -2430,36 +3819,57 @@ DROP FUNCTION testns.foo(); DROP AGGREGATE testns.agg1(int); @@ -135083,7 +135017,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +DROP AGGREGATE testns.agg1(int) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 DROP PROCEDURE testns.bar(); ALTER DEFAULT PRIVILEGES FOR ROLE regress_priv_user1 REVOKE USAGE ON TYPES FROM public; CREATE DOMAIN testns.priv_testdomain1 AS int; @@ -135092,7 +135026,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +CREATE DOMAIN testns.priv_testdomain1 AS int + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 SELECT has_type_privilege('regress_priv_user2', 'testns.priv_testdomain1', 'USAGE'); -- no - has_type_privilege --------------------- @@ -135107,14 +135041,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +DROP DOMAIN testns.priv_testdomain1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 CREATE DOMAIN testns.priv_testdomain1 AS int; +ERROR: at or near "as": syntax error: unimplemented: this syntax +DETAIL: source SQL: +CREATE DOMAIN testns.priv_testdomain1 AS int + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 SELECT has_type_privilege('regress_priv_user2', 'testns.priv_testdomain1', 'USAGE'); -- yes - has_type_privilege --------------------- @@ -135128,7 +135062,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +DROP DOMAIN testns.priv_testdomain1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 RESET ROLE; SELECT count(*) FROM pg_default_acl d LEFT JOIN pg_namespace n ON defaclnamespace = n.oid @@ -135144,7 +135078,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- DROP SCHEMA testns2 CASCADE; DROP SCHEMA testns3 CASCADE; DROP SCHEMA testns4 CASCADE; -@@ -2510,6 +3908,12 @@ +@@ -2510,6 +3920,12 @@ CREATE FUNCTION testns.priv_testfunc(int) RETURNS int AS 'select 3 * $1;' LANGUAGE sql; CREATE AGGREGATE testns.priv_testagg(int) (sfunc = int4pl, stype = int4); @@ -135153,11 +135087,11 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +CREATE AGGREGATE testns.priv_testagg(int) (sfunc = int4pl, stype = int4) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 CREATE PROCEDURE testns.priv_testproc(int) AS 'select 3' LANGUAGE sql; SELECT has_function_privilege('regress_priv_user1', 'testns.priv_testfunc(int)', 'EXECUTE'); -- true by default has_function_privilege -@@ -2518,11 +3922,7 @@ +@@ -2518,11 +3934,7 @@ (1 row) SELECT has_function_privilege('regress_priv_user1', 'testns.priv_testagg(int)', 'EXECUTE'); -- true by default @@ -135170,7 +135104,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- SELECT has_function_privilege('regress_priv_user1', 'testns.priv_testproc(int)', 'EXECUTE'); -- true by default has_function_privilege ------------------------ -@@ -2533,15 +3933,11 @@ +@@ -2533,15 +3945,11 @@ SELECT has_function_privilege('regress_priv_user1', 'testns.priv_testfunc(int)', 'EXECUTE'); -- false has_function_privilege ------------------------ @@ -135188,7 +135122,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- SELECT has_function_privilege('regress_priv_user1', 'testns.priv_testproc(int)', 'EXECUTE'); -- still true, not a function has_function_privilege ------------------------ -@@ -2552,10 +3948,15 @@ +@@ -2552,10 +3960,15 @@ SELECT has_function_privilege('regress_priv_user1', 'testns.priv_testproc(int)', 'EXECUTE'); -- now false has_function_privilege ------------------------ @@ -135205,7 +135139,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- SELECT has_function_privilege('regress_priv_user1', 'testns.priv_testfunc(int)', 'EXECUTE'); -- true has_function_privilege ------------------------ -@@ -2563,11 +3964,7 @@ +@@ -2563,11 +3976,7 @@ (1 row) SELECT has_function_privilege('regress_priv_user1', 'testns.priv_testagg(int)', 'EXECUTE'); -- true @@ -135218,7 +135152,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- SELECT has_function_privilege('regress_priv_user1', 'testns.priv_testproc(int)', 'EXECUTE'); -- true has_function_privilege ------------------------ -@@ -2575,38 +3972,52 @@ +@@ -2575,38 +3984,52 @@ (1 row) DROP SCHEMA testns CASCADE; @@ -135283,7 +135217,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- -- test that dependent privileges are revoked (or not) properly \c - set session role regress_priv_user1; -@@ -2620,59 +4031,179 @@ +@@ -2620,59 +4043,179 @@ set session role regress_priv_user4; grant select on dep_priv_test to regress_priv_user5; \dp dep_priv_test @@ -135476,7 +135410,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +DROP AGGREGATE priv_testagg1(int) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 DROP FUNCTION priv_testfunc2(int); DROP FUNCTION priv_testfunc4(boolean); DROP PROCEDURE priv_testproc1(int); @@ -135494,7 +135428,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- DROP TABLE atest1; DROP TABLE atest2; DROP TABLE atest3; -@@ -2680,108 +4211,204 @@ +@@ -2680,108 +4223,204 @@ DROP TABLE atest5; DROP TABLE atest6; DROP TABLE atestc; @@ -135546,7 +135480,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_locktable_user + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 BEGIN; LOCK TABLE lock_table IN ACCESS SHARE MODE; -- should pass +ERROR: at or near "lock": syntax error @@ -135580,7 +135514,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_locktable_user + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 BEGIN; LOCK TABLE lock_table IN ACCESS SHARE MODE; -- should pass +ERROR: at or near "lock": syntax error @@ -135613,7 +135547,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_locktable_user + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 BEGIN; LOCK TABLE lock_table IN ACCESS SHARE MODE; -- should pass +ERROR: at or near "lock": syntax error @@ -135645,7 +135579,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_locktable_user + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 BEGIN; LOCK TABLE lock_table IN ACCESS SHARE MODE; -- should pass +ERROR: at or near "lock": syntax error @@ -135681,7 +135615,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_locktable_user + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 BEGIN; LOCK TABLE lock_table IN ACCESS SHARE MODE; -- should pass +ERROR: at or near "lock": syntax error @@ -135712,7 +135646,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- -- clean up DROP TABLE lock_table; DROP USER regress_locktable_user; -@@ -2791,24 +4418,17 @@ +@@ -2791,24 +4430,17 @@ \c - CREATE ROLE regress_readallstats; SELECT has_table_privilege('regress_readallstats','pg_backend_memory_contexts','SELECT'); -- no @@ -135741,7 +135675,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- SELECT has_table_privilege('regress_readallstats','pg_shmem_allocations','SELECT'); -- yes has_table_privilege --------------------- -@@ -2818,11 +4438,7 @@ +@@ -2818,11 +4450,7 @@ -- run query to ensure that functions within views can be executed SET ROLE regress_readallstats; SELECT COUNT(*) >= 0 AS ok FROM pg_backend_memory_contexts; @@ -135754,7 +135688,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- SELECT COUNT(*) >= 0 AS ok FROM pg_shmem_allocations; ok ---- -@@ -2838,28 +4454,48 @@ +@@ -2838,28 +4466,48 @@ CREATE ROLE regress_group_indirect_manager; CREATE ROLE regress_group_member; GRANT regress_group TO regress_group_direct_manager WITH INHERIT FALSE, ADMIN TRUE; @@ -135770,7 +135704,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_group_direct_manager + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 GRANT regress_group TO regress_group_member; SELECT member::regrole::text, CASE WHEN grantor = 10 THEN 'BOOTSTRAP SUPERUSER' ELSE grantor::regrole::text END FROM pg_auth_members WHERE roleid = 'regress_group'::regrole ORDER BY 1, 2; - member | grantor @@ -135790,7 +135724,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_group_indirect_manager + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 GRANT regress_group TO regress_group_member; SELECT member::regrole::text, CASE WHEN grantor = 10 THEN 'BOOTSTRAP SUPERUSER' ELSE grantor::regrole::text END FROM pg_auth_members WHERE roleid = 'regress_group'::regrole ORDER BY 1, 2; - member | grantor @@ -135813,7 +135747,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- DROP ROLE regress_group; DROP ROLE regress_group_direct_manager; DROP ROLE regress_group_indirect_manager; -@@ -2871,22 +4507,59 @@ +@@ -2871,22 +4519,59 @@ CREATE SCHEMA regress_roleoption; GRANT CREATE, USAGE ON SCHEMA regress_roleoption TO PUBLIC; GRANT regress_roleoption_donor TO regress_roleoption_protagonist WITH INHERIT TRUE, SET FALSE; @@ -135834,7 +135768,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_roleoption_protagonist + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE TABLE regress_roleoption.t1 (a int); CREATE TABLE regress_roleoption.t2 (a int); SET SESSION AUTHORIZATION regress_roleoption_donor; @@ -135843,7 +135777,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_roleoption_donor + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE TABLE regress_roleoption.t3 (a int); SET SESSION AUTHORIZATION regress_roleoption_recipient; +ERROR: at or near "regress_roleoption_recipient": syntax error: unimplemented: this syntax @@ -135851,7 +135785,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_roleoption_recipient + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE TABLE regress_roleoption.t4 (a int); SET SESSION AUTHORIZATION regress_roleoption_protagonist; +ERROR: at or near "regress_roleoption_protagonist": syntax error: unimplemented: this syntax @@ -135859,7 +135793,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/privileges.out -- +SET SESSION AUTHORIZATION regress_roleoption_protagonist + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 ALTER TABLE regress_roleoption.t1 OWNER TO regress_roleoption_donor; -- fails, can't be come donor -ERROR: must be able to SET ROLE "regress_roleoption_donor" ALTER TABLE regress_roleoption.t2 OWNER TO regress_roleoption_recipient; -- works @@ -135897,7 +135831,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/brin_bloom.out -- + macaddrcol macaddr, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/45813/dev ++See: https://go.crdb.dev/issue-v/45813/v24.3 INSERT INTO brintest_bloom SELECT repeat(stringu1, 8)::bytea, substr(stringu1, 1, 1)::"char", @@ -135920,7 +135854,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/brin_bloom.out -- + format('%s:00:%s:00:%s:00', to_hex(odd), to_hex(even), to_hex(hundred))::macaddr, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/45813/dev ++See: https://go.crdb.dev/issue-v/45813/v24.3 -- throw in some NULL's and different values INSERT INTO brintest_bloom (inetcol, cidrcol) SELECT inet 'fe80::6e40:8ff:fea9:8c46' + tenthous, @@ -135933,7 +135867,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/brin_bloom.out -- + cidr 'fe80::6e40:8ff:fea9:8c46' + tenthous + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/18846/dev ++See: https://go.crdb.dev/issue-v/18846/v24.3 -- test bloom specific index options -- ndistinct must be >= -1.0 CREATE INDEX brinidx_bloom ON brintest_bloom USING brin ( @@ -136067,7 +136001,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/brin_bloom.out -- + format('%s:00:%s:00:%s:00', to_hex(odd), to_hex(even), to_hex(hundred))::macaddr, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/45813/dev ++See: https://go.crdb.dev/issue-v/45813/v24.3 SELECT brin_desummarize_range('brinidx_bloom', 0); - brin_desummarize_range ------------------------- @@ -136284,7 +136218,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/brin_multi.out -- + macaddrcol macaddr, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/45813/dev ++See: https://go.crdb.dev/issue-v/45813/v24.3 INSERT INTO brintest_multi SELECT 142857 * tenthous, thousand, @@ -136305,7 +136239,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/brin_multi.out -- + format('%s:00:%s:00:%s:00', to_hex(odd), to_hex(even), to_hex(hundred))::macaddr, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/45813/dev ++See: https://go.crdb.dev/issue-v/45813/v24.3 -- throw in some NULL's and different values INSERT INTO brintest_multi (inetcol, cidrcol) SELECT inet 'fe80::6e40:8ff:fea9:8c46' + tenthous, @@ -136318,7 +136252,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/brin_multi.out -- + cidr 'fe80::6e40:8ff:fea9:8c46' + tenthous + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/18846/dev ++See: https://go.crdb.dev/issue-v/18846/v24.3 -- test minmax-multi specific index options -- number of values must be >= 16 CREATE INDEX brinidx_multi ON brintest_multi USING brin ( @@ -136454,7 +136388,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/brin_multi.out -- + format('%s:00:%s:00:%s:00', to_hex(odd), to_hex(even), to_hex(hundred))::macaddr, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/45813/dev ++See: https://go.crdb.dev/issue-v/45813/v24.3 SELECT brin_desummarize_range('brinidx_multi', 0); - brin_desummarize_range ------------------------- @@ -136746,11 +136680,11 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/async.out --label UNLISTEN notify_async2; +NOTICE: unimplemented: CRDB does not support LISTEN, making UNLISTEN a no-op +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/41522/dev ++See: https://go.crdb.dev/issue-v/41522/v24.3 UNLISTEN *; +NOTICE: unimplemented: CRDB does not support LISTEN, making UNLISTEN a no-op +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/41522/dev ++See: https://go.crdb.dev/issue-v/41522/v24.3 -- Should return zero while there are no pending notifications. -- src/test/isolation/specs/async-notify.spec tests for actual usage. SELECT pg_notification_queue_usage(); @@ -137002,7 +136936,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_operator.ou +CREATE OPERATOR === ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 SELECT pg_describe_object(refclassid,refobjid,refobjsubid) as ref, deptype FROM pg_depend WHERE classid = 'pg_operator'::regclass AND @@ -137203,7 +137137,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_operator.ou +SET SESSION AUTHORIZATION regress_alter_op_user + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 ALTER OPERATOR === (boolean, boolean) SET (RESTRICT = NONE); -ERROR: must be owner of operator === +ERROR: at or near "operator": syntax error @@ -137599,7 +137533,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tidrangescan.out DECLARE c SCROLL CURSOR FOR SELECT ctid FROM tidrangescan WHERE ctid < '(1,0)'; +ERROR: unimplemented: DECLARE SCROLL CURSOR +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/77102/dev ++See: https://go.crdb.dev/issue-v/77102/v24.3 FETCH NEXT c; - ctid -------- @@ -137658,7 +137592,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsrf.out --label= - +ERROR: generate_series(): unimplemented: nested set-returning functions +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/26234/dev ++See: https://go.crdb.dev/issue-v/26234/v24.3 -- but we've traditionally rejected the same in FROM SELECT * FROM generate_series(1, generate_series(1, 3)); -ERROR: set-returning functions must appear at top level of FROM @@ -137679,7 +137613,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsrf.out --label= - +ERROR: generate_series(): unimplemented: nested set-returning functions +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/26234/dev ++See: https://go.crdb.dev/issue-v/26234/v24.3 -- check proper nesting of SRFs in different expressions explain (verbose, costs off) SELECT generate_series(1, generate_series(1, 3)), generate_series(2, 4); @@ -137710,7 +137644,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsrf.out --label= - +ERROR: generate_series(): unimplemented: nested set-returning functions +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/26234/dev ++See: https://go.crdb.dev/issue-v/26234/v24.3 CREATE TABLE few(id int, dataa text, datab text); INSERT INTO few VALUES(1, 'a', 'foo'),(2, 'a', 'bar'),(3, 'b', 'bar'); -- SRF with a provably-dummy relation @@ -138066,28 +138000,28 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsrf.out --label= +SELECT dataa, datab b, generate_series(1,2) g, count(*) FROM few GROUP BY CUBE(dataa, datab) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 +SELECT dataa, datab b, generate_series(1,2) g, count(*) FROM few GROUP BY CUBE(dataa, datab) ORDER BY dataa; +ERROR: at or near "dataa": syntax error: unimplemented: this syntax +DETAIL: source SQL: +SELECT dataa, datab b, generate_series(1,2) g, count(*) FROM few GROUP BY CUBE(dataa, datab) ORDER BY dataa + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 +SELECT dataa, datab b, generate_series(1,2) g, count(*) FROM few GROUP BY CUBE(dataa, datab) ORDER BY g; +ERROR: at or near "dataa": syntax error: unimplemented: this syntax +DETAIL: source SQL: +SELECT dataa, datab b, generate_series(1,2) g, count(*) FROM few GROUP BY CUBE(dataa, datab) ORDER BY g + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 +SELECT dataa, datab b, generate_series(1,2) g, count(*) FROM few GROUP BY CUBE(dataa, datab, g); +ERROR: at or near "dataa": syntax error: unimplemented: this syntax +DETAIL: source SQL: +SELECT dataa, datab b, generate_series(1,2) g, count(*) FROM few GROUP BY CUBE(dataa, datab, g) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 SELECT dataa, datab b, generate_series(1,2) g, count(*) FROM few GROUP BY CUBE(dataa, datab, g) ORDER BY dataa; - dataa | b | g | count --------+-----+---+------- @@ -138122,7 +138056,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsrf.out --label= +SELECT dataa, datab b, generate_series(1,2) g, count(*) FROM few GROUP BY CUBE(dataa, datab, g) ORDER BY dataa + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 SELECT dataa, datab b, generate_series(1,2) g, count(*) FROM few GROUP BY CUBE(dataa, datab, g) ORDER BY g; - dataa | b | g | count --------+-----+---+------- @@ -138157,7 +138091,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsrf.out --label= +SELECT dataa, datab b, generate_series(1,2) g, count(*) FROM few GROUP BY CUBE(dataa, datab, g) ORDER BY g + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46280/dev ++See: https://go.crdb.dev/issue-v/46280/v24.3 reset enable_hashagg; +ERROR: unimplemented: the configuration setting "enable_hashagg" is not supported +HINT: You have attempted to use a feature that is not yet implemented. @@ -138306,7 +138240,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsrf.out --label= +CREATE OPERATOR |@| (PROCEDURE = unnest, RIGHTARG = ANYARRAY) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 SELECT |@|ARRAY[1,2,3]; - ?column? ----------- @@ -138406,7 +138340,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out LANGUAGE C; +ERROR: unimplemented: C is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/102201/dev ++See: https://go.crdb.dev/issue-v/102201/v24.3 -- Clean up in case a prior regression run failed SET client_min_messages TO 'warning'; DROP ROLE IF EXISTS regress_alter_generic_user1; @@ -138431,7 +138365,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +SET SESSION AUTHORIZATION regress_alter_generic_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE FUNCTION alt_func1(int) RETURNS int LANGUAGE sql AS 'SELECT $1 + 1'; CREATE FUNCTION alt_func2(int) RETURNS int LANGUAGE sql @@ -138444,7 +138378,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +CREATE AGGREGATE alt_agg1 ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 CREATE AGGREGATE alt_agg2 ( sfunc1 = int4mi, basetype = int4, stype1 = int4, initcond = 0 ); @@ -138453,7 +138387,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +CREATE AGGREGATE alt_agg2 ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 ALTER AGGREGATE alt_func1(int) RENAME TO alt_func3; -- failed (not aggregate) -ERROR: function alt_func1(integer) is not an aggregate +ERROR: at or near "alt_func1": syntax error: unimplemented: this syntax @@ -138461,7 +138395,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +ALTER AGGREGATE alt_func1(int) RENAME TO alt_func3 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 ALTER AGGREGATE alt_func1(int) OWNER TO regress_alter_generic_user3; -- failed (not aggregate) -ERROR: function alt_func1(integer) is not an aggregate +ERROR: at or near "alt_func1": syntax error: unimplemented: this syntax @@ -138469,7 +138403,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +ALTER AGGREGATE alt_func1(int) OWNER TO regress_alter_generic_user3 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 ALTER AGGREGATE alt_func1(int) SET SCHEMA alt_nsp2; -- failed (not aggregate) -ERROR: function alt_func1(integer) is not an aggregate +ERROR: at or near "alt_func1": syntax error: unimplemented: this syntax @@ -138477,7 +138411,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +ALTER AGGREGATE alt_func1(int) SET SCHEMA alt_nsp2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 ALTER FUNCTION alt_func1(int) RENAME TO alt_func2; -- failed (name conflict) -ERROR: function alt_func2(integer) already exists in schema "alt_nsp1" +ERROR: function alt_func2(INT8) already exists in schema "alt_nsp1" @@ -138494,14 +138428,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +ALTER AGGREGATE alt_agg1(int) RENAME TO alt_agg2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 ALTER AGGREGATE alt_agg1(int) RENAME TO alt_agg3; -- OK +ERROR: at or near "alt_agg1": syntax error: unimplemented: this syntax +DETAIL: source SQL: +ALTER AGGREGATE alt_agg1(int) RENAME TO alt_agg3 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 ALTER AGGREGATE alt_agg2(int) OWNER TO regress_alter_generic_user2; -- failed (no role membership) -ERROR: must be able to SET ROLE "regress_alter_generic_user2" +ERROR: at or near "alt_agg2": syntax error: unimplemented: this syntax @@ -138509,28 +138443,28 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +ALTER AGGREGATE alt_agg2(int) OWNER TO regress_alter_generic_user2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 ALTER AGGREGATE alt_agg2(int) OWNER TO regress_alter_generic_user3; -- OK +ERROR: at or near "alt_agg2": syntax error: unimplemented: this syntax +DETAIL: source SQL: +ALTER AGGREGATE alt_agg2(int) OWNER TO regress_alter_generic_user3 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 ALTER AGGREGATE alt_agg2(int) SET SCHEMA alt_nsp2; -- OK +ERROR: at or near "alt_agg2": syntax error: unimplemented: this syntax +DETAIL: source SQL: +ALTER AGGREGATE alt_agg2(int) SET SCHEMA alt_nsp2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 SET SESSION AUTHORIZATION regress_alter_generic_user2; +ERROR: at or near "regress_alter_generic_user2": syntax error: unimplemented: this syntax +DETAIL: source SQL: +SET SESSION AUTHORIZATION regress_alter_generic_user2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE FUNCTION alt_func1(int) RETURNS int LANGUAGE sql AS 'SELECT $1 + 2'; CREATE FUNCTION alt_func2(int) RETURNS int LANGUAGE sql @@ -138543,7 +138477,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +CREATE AGGREGATE alt_agg1 ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 CREATE AGGREGATE alt_agg2 ( sfunc1 = int4mi, basetype = int4, stype1 = int4, initcond = -100 ); @@ -138552,7 +138486,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +CREATE AGGREGATE alt_agg2 ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 ALTER FUNCTION alt_func3(int) RENAME TO alt_func4; -- failed (not owner) -ERROR: must be owner of function alt_func3 ALTER FUNCTION alt_func1(int) RENAME TO alt_func4; -- OK @@ -138575,14 +138509,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +ALTER AGGREGATE alt_agg3(int) RENAME TO alt_agg4 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 ALTER AGGREGATE alt_agg1(int) RENAME TO alt_agg4; -- OK +ERROR: at or near "alt_agg1": syntax error: unimplemented: this syntax +DETAIL: source SQL: +ALTER AGGREGATE alt_agg1(int) RENAME TO alt_agg4 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 ALTER AGGREGATE alt_agg3(int) OWNER TO regress_alter_generic_user2; -- failed (not owner) -ERROR: must be owner of function alt_agg3 +ERROR: at or near "alt_agg3": syntax error: unimplemented: this syntax @@ -138590,7 +138524,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +ALTER AGGREGATE alt_agg3(int) OWNER TO regress_alter_generic_user2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 ALTER AGGREGATE alt_agg2(int) OWNER TO regress_alter_generic_user3; -- failed (no role membership) -ERROR: must be able to SET ROLE "regress_alter_generic_user3" +ERROR: at or near "alt_agg2": syntax error: unimplemented: this syntax @@ -138598,7 +138532,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +ALTER AGGREGATE alt_agg2(int) OWNER TO regress_alter_generic_user3 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 ALTER AGGREGATE alt_agg3(int) SET SCHEMA alt_nsp2; -- failed (not owner) -ERROR: must be owner of function alt_agg3 +ERROR: at or near "alt_agg3": syntax error: unimplemented: this syntax @@ -138606,7 +138540,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +ALTER AGGREGATE alt_agg3(int) SET SCHEMA alt_nsp2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 ALTER AGGREGATE alt_agg2(int) SET SCHEMA alt_nsp2; -- failed (name conflict) -ERROR: function alt_agg2(integer) already exists in schema "alt_nsp2" +ERROR: at or near "alt_agg2": syntax error: unimplemented: this syntax @@ -138614,7 +138548,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +ALTER AGGREGATE alt_agg2(int) SET SCHEMA alt_nsp2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 RESET SESSION AUTHORIZATION; +ERROR: at or near "authorization": syntax error +DETAIL: source SQL: @@ -138654,7 +138588,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +SET SESSION AUTHORIZATION regress_alter_generic_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE CONVERSION alt_conv1 FOR 'LATIN1' TO 'UTF8' FROM iso8859_1_to_utf8; +ERROR: at or near "alt_conv1": syntax error: unimplemented: this syntax +DETAIL: source SQL: @@ -138725,7 +138659,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +SET SESSION AUTHORIZATION regress_alter_generic_user2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE CONVERSION alt_conv1 FOR 'LATIN1' TO 'UTF8' FROM iso8859_1_to_utf8; +ERROR: at or near "alt_conv1": syntax error: unimplemented: this syntax +DETAIL: source SQL: @@ -138943,14 +138877,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +CREATE LANGUAGE alt_lang1 HANDLER plpgsql_call_handler + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/17511/dev ++See: https://go.crdb.dev/issue-v/17511/v24.3 CREATE LANGUAGE alt_lang2 HANDLER plpgsql_call_handler; +ERROR: at or near "handler": syntax error: unimplemented: this syntax +DETAIL: source SQL: +CREATE LANGUAGE alt_lang2 HANDLER plpgsql_call_handler + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/17511/dev ++See: https://go.crdb.dev/issue-v/17511/v24.3 ALTER LANGUAGE alt_lang1 OWNER TO regress_alter_generic_user1; -- OK +ERROR: at or near "language": syntax error +DETAIL: source SQL: @@ -138969,7 +138903,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +SET SESSION AUTHORIZATION regress_alter_generic_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 ALTER LANGUAGE alt_lang1 RENAME TO alt_lang2; -- failed (name conflict) -ERROR: language "alt_lang2" already exists +ERROR: at or near "language": syntax error @@ -139038,21 +138972,21 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +SET SESSION AUTHORIZATION regress_alter_generic_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE OPERATOR @-@ ( leftarg = int4, rightarg = int4, procedure = int4mi ); +ERROR: at or near "@": syntax error: unimplemented: this syntax +DETAIL: source SQL: +CREATE OPERATOR @-@ ( leftarg = int4, rightarg = int4, procedure = int4mi ) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 CREATE OPERATOR @+@ ( leftarg = int4, rightarg = int4, procedure = int4pl ); +ERROR: at or near "@": syntax error: unimplemented: this syntax +DETAIL: source SQL: +CREATE OPERATOR @+@ ( leftarg = int4, rightarg = int4, procedure = int4pl ) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 ALTER OPERATOR @+@(int4, int4) OWNER TO regress_alter_generic_user2; -- failed (no role membership) -ERROR: must be able to SET ROLE "regress_alter_generic_user2" +ERROR: at or near "operator": syntax error @@ -139078,14 +139012,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +SET SESSION AUTHORIZATION regress_alter_generic_user2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE OPERATOR @-@ ( leftarg = int4, rightarg = int4, procedure = int4mi ); +ERROR: at or near "@": syntax error: unimplemented: this syntax +DETAIL: source SQL: +CREATE OPERATOR @-@ ( leftarg = int4, rightarg = int4, procedure = int4mi ) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 ALTER OPERATOR @+@(int4, int4) OWNER TO regress_alter_generic_user2; -- failed (not owner) -ERROR: must be owner of operator @+@ +ERROR: at or near "operator": syntax error @@ -139140,14 +139074,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +CREATE OPERATOR FAMILY alt_opf1 USING hash + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 CREATE OPERATOR FAMILY alt_opf2 USING hash; +ERROR: at or near "family": syntax error: unimplemented: this syntax +DETAIL: source SQL: +CREATE OPERATOR FAMILY alt_opf2 USING hash + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 ALTER OPERATOR FAMILY alt_opf1 USING hash OWNER TO regress_alter_generic_user1; +ERROR: at or near "operator": syntax error +DETAIL: source SQL: @@ -139166,14 +139100,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +CREATE OPERATOR CLASS alt_opc1 FOR TYPE uuid USING hash AS STORAGE uuid + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 CREATE OPERATOR CLASS alt_opc2 FOR TYPE uuid USING hash AS STORAGE uuid; +ERROR: at or near "class": syntax error: unimplemented: this syntax +DETAIL: source SQL: +CREATE OPERATOR CLASS alt_opc2 FOR TYPE uuid USING hash AS STORAGE uuid + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 ALTER OPERATOR CLASS alt_opc1 USING hash OWNER TO regress_alter_generic_user1; +ERROR: at or near "operator": syntax error +DETAIL: source SQL: @@ -139192,7 +139126,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +SET SESSION AUTHORIZATION regress_alter_generic_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 ALTER OPERATOR FAMILY alt_opf1 USING hash RENAME TO alt_opf2; -- failed (name conflict) -ERROR: operator family "alt_opf2" for access method "hash" already exists in schema "alt_nsp1" +ERROR: at or near "operator": syntax error @@ -139269,14 +139203,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +CREATE OPERATOR FAMILY alt_opf1 USING hash + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 CREATE OPERATOR FAMILY alt_opf2 USING hash; +ERROR: at or near "family": syntax error: unimplemented: this syntax +DETAIL: source SQL: +CREATE OPERATOR FAMILY alt_opf2 USING hash + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 ALTER OPERATOR FAMILY alt_opf1 USING hash OWNER TO regress_alter_generic_user2; +ERROR: at or near "operator": syntax error +DETAIL: source SQL: @@ -139295,14 +139229,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +CREATE OPERATOR CLASS alt_opc1 FOR TYPE macaddr USING hash AS STORAGE macaddr + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 CREATE OPERATOR CLASS alt_opc2 FOR TYPE macaddr USING hash AS STORAGE macaddr; +ERROR: at or near "class": syntax error: unimplemented: this syntax +DETAIL: source SQL: +CREATE OPERATOR CLASS alt_opc2 FOR TYPE macaddr USING hash AS STORAGE macaddr + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 ALTER OPERATOR CLASS alt_opc1 USING hash OWNER TO regress_alter_generic_user2; +ERROR: at or near "operator": syntax error +DETAIL: source SQL: @@ -139321,7 +139255,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +SET SESSION AUTHORIZATION regress_alter_generic_user2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 ALTER OPERATOR FAMILY alt_opf3 USING hash RENAME TO alt_opf4; -- failed (not owner) -ERROR: must be owner of operator family alt_opf3 +ERROR: at or near "operator": syntax error @@ -139452,7 +139386,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +CREATE OPERATOR FAMILY alt_opf4 USING btree + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 ALTER OPERATOR FAMILY alt_opf4 USING btree ADD -- int4 vs int2 OPERATOR 1 < (int4, int2) , @@ -139501,7 +139435,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +CREATE OPERATOR FAMILY alt_opf4 USING btree + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 ALTER OPERATOR FAMILY alt_opf4 USING invalid_index_method ADD OPERATOR 1 < (int4, int2); -- invalid indexing_method -ERROR: access method "invalid_index_method" does not exist +ERROR: at or near "operator": syntax error @@ -139581,7 +139515,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +CREATE OPERATOR FAMILY alt_opf5 USING btree + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 SET ROLE regress_alter_generic_user5; +ERROR: current transaction is aborted, commands ignored until end of transaction block ALTER OPERATOR FAMILY alt_opf5 USING btree ADD OPERATOR 1 < (int4, int2), FUNCTION 1 btint42cmp(int4, int2); @@ -139622,7 +139556,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +CREATE OPERATOR FAMILY alt_nsp6.alt_opf6 USING btree + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 SET ROLE regress_alter_generic_user6; +ERROR: current transaction is aborted, commands ignored until end of transaction block ALTER OPERATOR FAMILY alt_nsp6.alt_opf6 USING btree ADD OPERATOR 1 < (int4, int2); @@ -139640,7 +139574,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +CREATE OPERATOR FAMILY alt_opf7 USING btree + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 ALTER OPERATOR FAMILY alt_opf7 USING btree ADD OPERATOR 1 < (int4, int2); +ERROR: at or near "operator": syntax error +DETAIL: source SQL: @@ -139678,7 +139612,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +CREATE OPERATOR FAMILY alt_opf8 USING btree + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 ALTER OPERATOR FAMILY alt_opf8 USING btree ADD OPERATOR 1 < (int4, int4); +ERROR: at or near "operator": syntax error +DETAIL: source SQL: @@ -139708,7 +139642,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +CREATE OPERATOR FAMILY alt_opf9 USING gist + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 ALTER OPERATOR FAMILY alt_opf9 USING gist ADD OPERATOR 1 < (int4, int4) FOR ORDER BY float_ops; +ERROR: at or near "operator": syntax error +DETAIL: source SQL: @@ -139738,7 +139672,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +CREATE OPERATOR FAMILY alt_opf10 USING btree + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 ALTER OPERATOR FAMILY alt_opf10 USING btree ADD OPERATOR 1 < (int4, int4) FOR ORDER BY float_ops; -ERROR: access method "btree" does not support ordering operators +ERROR: at or near "operator": syntax error @@ -139769,7 +139703,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +CREATE OPERATOR FAMILY alt_opf11 USING gist + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 ALTER OPERATOR FAMILY alt_opf11 USING gist ADD OPERATOR 1 < (int4, int4) FOR ORDER BY float_ops; +ERROR: at or near "operator": syntax error +DETAIL: source SQL: @@ -139806,7 +139740,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +CREATE OPERATOR FAMILY alt_opf12 USING btree + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 CREATE FUNCTION fn_opf12 (int4, int2) RETURNS BIGINT AS 'SELECT NULL::BIGINT;' LANGUAGE SQL; +ERROR: current transaction is aborted, commands ignored until end of transaction block ALTER OPERATOR FAMILY alt_opf12 USING btree ADD FUNCTION 1 fn_opf12(int4, int2); @@ -139842,7 +139776,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +CREATE OPERATOR FAMILY alt_opf13 USING hash + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 CREATE FUNCTION fn_opf13 (int4) RETURNS BIGINT AS 'SELECT NULL::BIGINT;' LANGUAGE SQL; +ERROR: current transaction is aborted, commands ignored until end of transaction block ALTER OPERATOR FAMILY alt_opf13 USING hash ADD FUNCTION 1 fn_opf13(int4); @@ -139878,7 +139812,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +CREATE OPERATOR FAMILY alt_opf14 USING btree + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 CREATE FUNCTION fn_opf14 (int4) RETURNS BIGINT AS 'SELECT NULL::BIGINT;' LANGUAGE SQL; +ERROR: current transaction is aborted, commands ignored until end of transaction block ALTER OPERATOR FAMILY alt_opf14 USING btree ADD FUNCTION 1 fn_opf14(int4); @@ -139914,7 +139848,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +CREATE OPERATOR FAMILY alt_opf15 USING hash + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 CREATE FUNCTION fn_opf15 (int4, int2) RETURNS BIGINT AS 'SELECT NULL::BIGINT;' LANGUAGE SQL; +ERROR: current transaction is aborted, commands ignored until end of transaction block ALTER OPERATOR FAMILY alt_opf15 USING hash ADD FUNCTION 1 fn_opf15(int4, int2); @@ -139950,7 +139884,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +CREATE OPERATOR FAMILY alt_opf16 USING gist + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 ALTER OPERATOR FAMILY alt_opf16 USING gist ADD FUNCTION 1 btint42cmp(int4, int2); -ERROR: associated data types must be specified for index support function +ERROR: at or near "operator": syntax error @@ -139981,7 +139915,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +CREATE OPERATOR FAMILY alt_opf17 USING btree + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 ALTER OPERATOR FAMILY alt_opf17 USING btree ADD OPERATOR 1 < (int4, int4), OPERATOR 1 < (int4, int4); -- operator # appears twice in same statement -ERROR: operator number 1 for (integer,integer) appears more than once +ERROR: at or near "operator": syntax error @@ -140064,7 +139998,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +CREATE OPERATOR FAMILY alt_opf18 USING btree + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 ALTER OPERATOR FAMILY alt_opf18 USING btree DROP OPERATOR 1 (int4, int4); -ERROR: operator 1(integer,integer) does not exist in operator family "alt_opf18" +ERROR: at or near "operator": syntax error @@ -140123,7 +140057,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +CREATE OPERATOR FAMILY alt_opf19 USING btree + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 ALTER OPERATOR FAMILY alt_opf19 USING btree ADD FUNCTION 5 test_opclass_options_func(internal, text[], bool); -ERROR: function test_opclass_options_func(internal, text[], boolean) does not exist +ERROR: at or near "operator": syntax error @@ -140183,7 +140117,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +SET SESSION AUTHORIZATION regress_alter_generic_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE TABLE alt_regress_1 (a INTEGER, b INTEGER); CREATE STATISTICS alt_stat1 ON a, b FROM alt_regress_1; CREATE STATISTICS alt_stat2 ON a, b FROM alt_regress_1; @@ -140225,7 +140159,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +SET SESSION AUTHORIZATION regress_alter_generic_user2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE TABLE alt_regress_2 (a INTEGER, b INTEGER); CREATE STATISTICS alt_stat1 ON a, b FROM alt_regress_2; CREATE STATISTICS alt_stat2 ON a, b FROM alt_regress_2; @@ -140301,21 +140235,21 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +SET SESSION AUTHORIZATION regress_alter_generic_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE TEXT SEARCH DICTIONARY alt_ts_dict1 (template=simple); +ERROR: at or near "search": syntax error: unimplemented: this syntax +DETAIL: source SQL: +CREATE TEXT SEARCH DICTIONARY alt_ts_dict1 (template=simple) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 CREATE TEXT SEARCH DICTIONARY alt_ts_dict2 (template=simple); +ERROR: at or near "search": syntax error: unimplemented: this syntax +DETAIL: source SQL: +CREATE TEXT SEARCH DICTIONARY alt_ts_dict2 (template=simple) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 ALTER TEXT SEARCH DICTIONARY alt_ts_dict1 RENAME TO alt_ts_dict2; -- failed (name conflict) -ERROR: text search dictionary "alt_ts_dict2" already exists in schema "alt_nsp1" +ERROR: at or near "text": syntax error @@ -140354,21 +140288,21 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +SET SESSION AUTHORIZATION regress_alter_generic_user2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE TEXT SEARCH DICTIONARY alt_ts_dict1 (template=simple); +ERROR: at or near "search": syntax error: unimplemented: this syntax +DETAIL: source SQL: +CREATE TEXT SEARCH DICTIONARY alt_ts_dict1 (template=simple) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 CREATE TEXT SEARCH DICTIONARY alt_ts_dict2 (template=simple); +ERROR: at or near "search": syntax error: unimplemented: this syntax +DETAIL: source SQL: +CREATE TEXT SEARCH DICTIONARY alt_ts_dict2 (template=simple) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 ALTER TEXT SEARCH DICTIONARY alt_ts_dict3 RENAME TO alt_ts_dict4; -- failed (not owner) -ERROR: must be owner of text search dictionary alt_ts_dict3 +ERROR: at or near "text": syntax error @@ -140441,21 +140375,21 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +SET SESSION AUTHORIZATION regress_alter_generic_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE TEXT SEARCH CONFIGURATION alt_ts_conf1 (copy=english); +ERROR: at or near "search": syntax error: unimplemented: this syntax +DETAIL: source SQL: +CREATE TEXT SEARCH CONFIGURATION alt_ts_conf1 (copy=english) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 CREATE TEXT SEARCH CONFIGURATION alt_ts_conf2 (copy=english); +ERROR: at or near "search": syntax error: unimplemented: this syntax +DETAIL: source SQL: +CREATE TEXT SEARCH CONFIGURATION alt_ts_conf2 (copy=english) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 ALTER TEXT SEARCH CONFIGURATION alt_ts_conf1 RENAME TO alt_ts_conf2; -- failed (name conflict) -ERROR: text search configuration "alt_ts_conf2" already exists in schema "alt_nsp1" +ERROR: at or near "text": syntax error @@ -140494,21 +140428,21 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +SET SESSION AUTHORIZATION regress_alter_generic_user2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE TEXT SEARCH CONFIGURATION alt_ts_conf1 (copy=english); +ERROR: at or near "search": syntax error: unimplemented: this syntax +DETAIL: source SQL: +CREATE TEXT SEARCH CONFIGURATION alt_ts_conf1 (copy=english) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 CREATE TEXT SEARCH CONFIGURATION alt_ts_conf2 (copy=english); +ERROR: at or near "search": syntax error: unimplemented: this syntax +DETAIL: source SQL: +CREATE TEXT SEARCH CONFIGURATION alt_ts_conf2 (copy=english) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 ALTER TEXT SEARCH CONFIGURATION alt_ts_conf3 RENAME TO alt_ts_conf4; -- failed (not owner) -ERROR: must be owner of text search configuration alt_ts_conf3 +ERROR: at or near "text": syntax error @@ -140581,14 +140515,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +CREATE TEXT SEARCH TEMPLATE alt_ts_temp1 (lexize=dsimple_lexize) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 CREATE TEXT SEARCH TEMPLATE alt_ts_temp2 (lexize=dsimple_lexize); +ERROR: at or near "search": syntax error: unimplemented: this syntax +DETAIL: source SQL: +CREATE TEXT SEARCH TEMPLATE alt_ts_temp2 (lexize=dsimple_lexize) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 ALTER TEXT SEARCH TEMPLATE alt_ts_temp1 RENAME TO alt_ts_temp2; -- failed (name conflict) -ERROR: text search template "alt_ts_temp2" already exists in schema "alt_nsp1" +ERROR: at or near "text": syntax error @@ -140614,7 +140548,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +CREATE TEXT SEARCH TEMPLATE alt_ts_temp2 (lexize=dsimple_lexize) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 ALTER TEXT SEARCH TEMPLATE alt_ts_temp2 SET SCHEMA alt_nsp2; -- failed (name conflict) -ERROR: text search template "alt_ts_temp2" already exists in schema "alt_nsp2" +ERROR: at or near "text": syntax error @@ -140630,7 +140564,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +CREATE TEXT SEARCH TEMPLATE tstemp_case ("Init" = init_function) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT nspname, tmplname FROM pg_ts_template t, pg_namespace n WHERE t.tmplnamespace = n.oid AND nspname like 'alt_nsp%' @@ -140655,7 +140589,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +CREATE TEXT SEARCH PARSER alt_ts_prs1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 CREATE TEXT SEARCH PARSER alt_ts_prs2 (start = prsd_start, gettoken = prsd_nexttoken, end = prsd_end, lextypes = prsd_lextype); +ERROR: at or near "search": syntax error: unimplemented: this syntax @@ -140663,7 +140597,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +CREATE TEXT SEARCH PARSER alt_ts_prs2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 ALTER TEXT SEARCH PARSER alt_ts_prs1 RENAME TO alt_ts_prs2; -- failed (name conflict) -ERROR: text search parser "alt_ts_prs2" already exists in schema "alt_nsp1" +ERROR: at or near "text": syntax error @@ -140690,7 +140624,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +CREATE TEXT SEARCH PARSER alt_ts_prs2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 ALTER TEXT SEARCH PARSER alt_ts_prs2 SET SCHEMA alt_nsp2; -- failed (name conflict) -ERROR: text search parser "alt_ts_prs2" already exists in schema "alt_nsp2" +ERROR: at or near "text": syntax error @@ -140706,7 +140640,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +CREATE TEXT SEARCH PARSER tspars_case ("Start" = start_function) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT nspname, prsname FROM pg_ts_parser t, pg_namespace n WHERE t.prsnamespace = n.oid AND nspname like 'alt_nsp%' @@ -140764,14 +140698,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_generic.out +DROP LANGUAGE alt_lang2 CASCADE + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/17511/dev ++See: https://go.crdb.dev/issue-v/17511/v24.3 DROP LANGUAGE alt_lang3 CASCADE; +ERROR: at or near "cascade": syntax error: unimplemented: this syntax +DETAIL: source SQL: +DROP LANGUAGE alt_lang3 CASCADE + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/17511/dev ++See: https://go.crdb.dev/issue-v/17511/v24.3 DROP SCHEMA alt_nsp1 CASCADE; -NOTICE: drop cascades to 28 other objects -DETAIL: drop cascades to function alt_func3(integer) @@ -141427,7 +141361,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_role.out - +SET SESSION AUTHORIZATION regress_role_limited_admin + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE ROLE regress_nosuch_superuser SUPERUSER; -ERROR: permission denied to create role -DETAIL: Only roles with the SUPERUSER attribute may create roles with the SUPERUSER attribute. @@ -141490,7 +141424,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_role.out - +SET SESSION AUTHORIZATION regress_role_admin + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE ROLE regress_replication_bypassrls REPLICATION BYPASSRLS; +ERROR: at or near "bypassrls": syntax error +DETAIL: source SQL: @@ -141628,7 +141562,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_role.out - +SET SESSION AUTHORIZATION regress_createrole + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE DATABASE regress_nosuch_db; -ERROR: permission denied to create database -- ok, regress_createrole can create new roles @@ -141691,7 +141625,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_role.out - +SET SESSION AUTHORIZATION regress_tenant + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE TABLE tenant_table (i integer); CREATE INDEX tenant_idx ON tenant_table(i); CREATE VIEW tenant_view AS SELECT * FROM pg_catalog.pg_class; @@ -141703,7 +141637,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_role.out - +SET SESSION AUTHORIZATION regress_createrole + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 DROP INDEX tenant_idx; -ERROR: must be owner of index tenant_idx +NOTICE: the data for dropped indexes is reclaimed asynchronously @@ -141739,7 +141673,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_role.out - +SET SESSION AUTHORIZATION regress_tenant2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE TABLE tenant2_table (i integer); REVOKE ALL PRIVILEGES ON tenant2_table FROM PUBLIC; -- ok, because we have SET and INHERIT on regress_tenant2 @@ -141749,7 +141683,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_role.out - +SET SESSION AUTHORIZATION regress_createrole + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE SCHEMA regress_tenant2_schema AUTHORIZATION regress_tenant2; ALTER SCHEMA regress_tenant2_schema OWNER TO regress_createrole; +ERROR: role/user "regress_createrole" does not exist @@ -141872,7 +141806,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_role.out - +SET SESSION AUTHORIZATION regress_role_admin + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 DROP ROLE regress_nosuch_superuser; -ERROR: role "regress_nosuch_superuser" does not exist +ERROR: role/user "regress_nosuch_superuser" does not exist @@ -141988,14 +141922,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/misc.out --label= LANGUAGE C STRICT; +ERROR: unimplemented: C is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/102201/dev ++See: https://go.crdb.dev/issue-v/102201/v24.3 CREATE FUNCTION reverse_name(name) RETURNS name AS :'regresslib' LANGUAGE C STRICT; +ERROR: unimplemented: C is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/102201/dev ++See: https://go.crdb.dev/issue-v/102201/v24.3 -- -- BTREE -- @@ -142034,7 +141968,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/misc.out --label= +COPY onek TO ':abs_builddir/results/onek.data' + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/97181/dev ++See: https://go.crdb.dev/issue-v/97181/v24.3 CREATE TEMP TABLE onek_copy (LIKE onek); COPY onek_copy FROM :'filename'; +ERROR: at or near ":abs_builddir/results/onek.data": syntax error: unimplemented: this syntax @@ -143612,7 +143546,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/misc_functions.ou +SELECT num_nonnulls(1, 2, NULL::text, NULL::point, '', int8 '9', 1.0 / NULL) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 SELECT num_nonnulls(VARIADIC '{1,2,NULL,3}'::int[]); - num_nonnulls --------------- @@ -143689,7 +143623,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/misc_functions.ou +SELECT num_nulls(1, 2, NULL::text, NULL::point, '', int8 '9', 1.0 / NULL) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 SELECT num_nulls(VARIADIC '{1,2,NULL,3}'::int[]); - num_nulls ------------ @@ -143859,7 +143793,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/misc_functions.ou LANGUAGE C STRICT IMMUTABLE; +ERROR: unimplemented: C is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/102201/dev ++See: https://go.crdb.dev/issue-v/102201/v24.3 SELECT test_canonicalize_path('/'); - test_canonicalize_path ------------------------- @@ -144355,7 +144289,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/misc_functions.ou LANGUAGE C STRICT; +ERROR: unimplemented: C is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/102201/dev ++See: https://go.crdb.dev/issue-v/102201/v24.3 ALTER FUNCTION my_int_eq(int, int) SUPPORT test_support_func; +ERROR: at or near "test_support_func": syntax error: unimplemented: this syntax +DETAIL: source SQL: @@ -144578,7 +144512,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/incremental_sort. +returns table (out_line text) language plpgsql + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/100226/dev ++See: https://go.crdb.dev/issue-v/100226/v24.3 create or replace function explain_analyze_inc_sort_nodes(query text) returns jsonb language plpgsql as @@ -146281,7 +146215,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/merge.out --label +SET SESSION AUTHORIZATION regress_merge_privs + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 EXPLAIN (COSTS OFF) MERGE INTO target t USING source AS s @@ -146478,7 +146412,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/merge.out --label +SET SESSION AUTHORIZATION regress_merge_no_privs + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 MERGE INTO target USING source2 ON target.tid = source2.sid @@ -146496,7 +146430,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/merge.out --label +SET SESSION AUTHORIZATION regress_merge_privs + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 MERGE INTO target2 USING source ON target2.tid = source.sid @@ -146814,9 +146748,9 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/merge.out --label -- remove constraints alter table target drop CONSTRAINT target_pkey; -+ERROR: relation "target" (1248): unimplemented: primary key dropped without subsequent addition of new primary key in same transaction ++ERROR: relation "target" (1292): unimplemented: primary key dropped without subsequent addition of new primary key in same transaction +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/48026/dev ++See: https://go.crdb.dev/issue-v/48026/v24.3 alter table target alter column tid drop not null; -- multiple actions BEGIN; @@ -147255,61 +147189,57 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/merge.out --label DROP TABLE wq_target, wq_source; -- test triggers -@@ -873,25 +943,60 @@ - END IF; +@@ -874,24 +944,56 @@ END; $$; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev CREATE TRIGGER merge_bsi BEFORE INSERT ON target FOR EACH STATEMENT EXECUTE PROCEDURE merge_trigfunc (); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER merge_bsu BEFORE UPDATE ON target FOR EACH STATEMENT EXECUTE PROCEDURE merge_trigfunc (); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER merge_bsd BEFORE DELETE ON target FOR EACH STATEMENT EXECUTE PROCEDURE merge_trigfunc (); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER merge_asi AFTER INSERT ON target FOR EACH STATEMENT EXECUTE PROCEDURE merge_trigfunc (); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER merge_asu AFTER UPDATE ON target FOR EACH STATEMENT EXECUTE PROCEDURE merge_trigfunc (); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER merge_asd AFTER DELETE ON target FOR EACH STATEMENT EXECUTE PROCEDURE merge_trigfunc (); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER merge_bri BEFORE INSERT ON target FOR EACH ROW EXECUTE PROCEDURE merge_trigfunc (); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER merge_bru BEFORE UPDATE ON target FOR EACH ROW EXECUTE PROCEDURE merge_trigfunc (); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER merge_brd BEFORE DELETE ON target FOR EACH ROW EXECUTE PROCEDURE merge_trigfunc (); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER merge_ari AFTER INSERT ON target FOR EACH ROW EXECUTE PROCEDURE merge_trigfunc (); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER merge_aru AFTER UPDATE ON target FOR EACH ROW EXECUTE PROCEDURE merge_trigfunc (); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER merge_ard AFTER DELETE ON target FOR EACH ROW EXECUTE PROCEDURE merge_trigfunc (); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- now the classic UPSERT, with a DELETE BEGIN; UPDATE target SET balance = 0 WHERE tid = 3; @@ -147320,7 +147250,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/merge.out --label --EXPLAIN (ANALYZE ON, COSTS OFF, SUMMARY OFF, TIMING OFF) MERGE INTO target t USING source AS s -@@ -902,26 +1007,12 @@ +@@ -902,26 +1004,12 @@ DELETE WHEN NOT MATCHED THEN INSERT VALUES (s.sid, s.delta); @@ -147352,27 +147282,17 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/merge.out --label ROLLBACK; -- Test behavior of triggers that turn UPDATE/DELETE into no-ops create or replace function skip_merge_op() returns trigger -@@ -931,6 +1022,9 @@ - RETURN NULL; - END; - $$; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev - SELECT * FROM target full outer join source on (sid = tid); - tid | balance | sid | delta - -----+---------+-----+------- -@@ -942,6 +1036,9 @@ +@@ -942,6 +1030,9 @@ create trigger merge_skip BEFORE INSERT OR UPDATE or DELETE ON target FOR EACH ROW EXECUTE FUNCTION skip_merge_op(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 DO $$ DECLARE result integer; -@@ -961,17 +1058,10 @@ +@@ -961,17 +1052,10 @@ RAISE NOTICE 'ROW_COUNT = %', result; END; $$; @@ -147394,19 +147314,17 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/merge.out --label SELECT * FROM target FULL OUTER JOIN source ON (sid = tid); tid | balance | sid | delta -----+---------+-----+------- -@@ -982,7 +1072,11 @@ +@@ -982,6 +1066,9 @@ (4 rows) DROP TRIGGER merge_skip ON target; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 DROP FUNCTION skip_merge_op(); -+ERROR: unknown function: skip_merge_op() -- test from PL/pgSQL -- make sure MERGE INTO isn't interpreted to mean returning variables like SELECT INTO - BEGIN; -@@ -995,12 +1089,10 @@ +@@ -995,12 +1082,10 @@ UPDATE SET balance = t.balance - s.delta; END; $$; @@ -147423,7 +147341,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/merge.out --label ROLLBACK; --source constants BEGIN; -@@ -1009,19 +1101,12 @@ +@@ -1009,19 +1094,12 @@ ON t.tid = s.sid WHEN NOT MATCHED THEN INSERT (tid, balance) VALUES (s.sid, s.delta); @@ -147448,7 +147366,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/merge.out --label ROLLBACK; --source query BEGIN; -@@ -1030,19 +1115,12 @@ +@@ -1030,19 +1108,12 @@ ON t.tid = s.sid WHEN NOT MATCHED THEN INSERT (tid, balance) VALUES (s.sid, s.delta); @@ -147473,7 +147391,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/merge.out --label ROLLBACK; BEGIN; MERGE INTO target t -@@ -1050,19 +1128,12 @@ +@@ -1050,19 +1121,12 @@ ON t.tid = s.sid WHEN NOT MATCHED THEN INSERT (tid, balance) VALUES (s.sid, s.newname); @@ -147498,7 +147416,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/merge.out --label ROLLBACK; --self-merge BEGIN; -@@ -1073,24 +1144,12 @@ +@@ -1073,24 +1137,12 @@ UPDATE SET balance = t1.balance + t2.balance WHEN NOT MATCHED THEN INSERT VALUES (t2.tid, t2.balance); @@ -147528,7 +147446,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/merge.out --label ROLLBACK; BEGIN; MERGE INTO target t -@@ -1098,16 +1157,12 @@ +@@ -1098,16 +1150,12 @@ ON t.tid = s.sid WHEN NOT MATCHED THEN INSERT (tid, balance) VALUES (s.sid, s.delta); @@ -147550,7 +147468,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/merge.out --label ROLLBACK; BEGIN; MERGE INTO target t -@@ -1120,19 +1175,12 @@ +@@ -1120,19 +1168,12 @@ ON t.tid = s.sid WHEN NOT MATCHED THEN INSERT (tid, balance) VALUES (s.sid, s.delta); @@ -147575,7 +147493,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/merge.out --label ROLLBACK; -- plpgsql parameters and results BEGIN; -@@ -1154,41 +1202,38 @@ +@@ -1154,41 +1195,38 @@ RETURN result; END; $$; @@ -147641,7 +147559,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/merge.out --label ROLLBACK; BEGIN; PREPARE foom2 (integer, integer) AS -@@ -1197,26 +1242,25 @@ +@@ -1197,26 +1235,25 @@ ON t.tid = $1 WHEN MATCHED THEN UPDATE SET balance = $2; @@ -147678,7 +147596,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/merge.out --label INSERT INTO sq_target(tid, balance) VALUES (1,100), (2,200), (3,300); INSERT INTO sq_source(sid, delta) VALUES (1,10), (2,20), (4,40); BEGIN; -@@ -1225,14 +1269,12 @@ +@@ -1225,14 +1262,12 @@ ON tid = sid WHEN MATCHED AND t.balance > delta THEN UPDATE SET balance = t.balance + delta; @@ -147698,7 +147616,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/merge.out --label ROLLBACK; -- try a view CREATE VIEW v AS SELECT * FROM sq_source WHERE sid < 2; -@@ -1242,14 +1284,12 @@ +@@ -1242,14 +1277,12 @@ ON tid = sid WHEN MATCHED THEN UPDATE SET balance = v.balance + delta; @@ -147718,7 +147636,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/merge.out --label ROLLBACK; -- ambiguous reference to a column BEGIN; -@@ -1262,9 +1302,10 @@ +@@ -1262,9 +1295,10 @@ INSERT (balance, tid) VALUES (balance + delta, sid) WHEN MATCHED AND tid < 2 THEN DELETE; @@ -147732,7 +147650,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/merge.out --label ROLLBACK; BEGIN; INSERT INTO sq_source (sid, balance, delta) VALUES (-1, -1, -10); -@@ -1277,14 +1318,12 @@ +@@ -1277,14 +1311,12 @@ INSERT (balance, tid) VALUES (balance + delta, sid) WHEN MATCHED AND tid < 2 THEN DELETE; @@ -147752,7 +147670,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/merge.out --label ROLLBACK; -- CTEs BEGIN; -@@ -1301,6 +1340,13 @@ +@@ -1301,6 +1333,13 @@ INSERT (balance, tid) VALUES (balance + delta, sid) WHEN MATCHED AND tid < 2 THEN DELETE; @@ -147766,7 +147684,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/merge.out --label ROLLBACK; -- RETURNING BEGIN; -@@ -1315,15 +1361,18 @@ +@@ -1315,15 +1354,18 @@ WHEN MATCHED AND tid < 2 THEN DELETE RETURNING *; @@ -147788,13 +147706,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/merge.out --label INSERT INTO ex_mtarget SELECT i, i*10 FROM generate_series(1,100,2) i; INSERT INTO ex_msource SELECT i, i*10 FROM generate_series(1,100,1) i; CREATE FUNCTION explain_merge(query text) RETURNS SETOF text -@@ -1340,48 +1389,21 @@ +@@ -1340,48 +1382,21 @@ END LOOP; END; $$; +ERROR: unimplemented: set-returning PL/pgSQL functions are not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/105240/dev ++See: https://go.crdb.dev/issue-v/105240/v24.3 -- only updates SELECT explain_merge(' MERGE INTO ex_mtarget t USING ex_msource s ON t.a = s.a @@ -147842,7 +147760,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/merge.out --label -- updates + deletes SELECT explain_merge(' MERGE INTO ex_mtarget t USING ex_msource s ON t.a = s.a -@@ -1389,43 +1411,13 @@ +@@ -1389,43 +1404,13 @@ UPDATE SET b = t.b + 1 WHEN MATCHED AND t.a >= 10 AND t.a <= 20 THEN DELETE'); @@ -147888,7 +147806,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/merge.out --label -- all three SELECT explain_merge(' MERGE INTO ex_mtarget t USING ex_msource s ON t.a = s.a -@@ -1435,45 +1427,16 @@ +@@ -1435,45 +1420,16 @@ DELETE WHEN NOT MATCHED AND s.a < 20 THEN INSERT VALUES (a, b)'); @@ -147937,7 +147855,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/merge.out --label -- Subqueries BEGIN; MERGE INTO sq_target t -@@ -1481,12 +1444,12 @@ +@@ -1481,12 +1437,12 @@ ON tid = sid WHEN MATCHED THEN UPDATE SET balance = (SELECT count(*) FROM sq_target); @@ -147955,7 +147873,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/merge.out --label ROLLBACK; BEGIN; MERGE INTO sq_target t -@@ -1494,12 +1457,12 @@ +@@ -1494,12 +1450,12 @@ ON tid = sid WHEN MATCHED AND (SELECT count(*) > 0 FROM sq_target) THEN UPDATE SET balance = 42; @@ -147973,7 +147891,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/merge.out --label ROLLBACK; BEGIN; MERGE INTO sq_target t -@@ -1507,30 +1470,57 @@ +@@ -1507,30 +1463,57 @@ ON tid = sid AND (SELECT count(*) > 0 FROM sq_target) WHEN MATCHED THEN UPDATE SET balance = 42; @@ -148037,7 +147955,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/merge.out --label -- try simple MERGE BEGIN; MERGE INTO pa_target t -@@ -1540,25 +1530,12 @@ +@@ -1540,25 +1523,12 @@ UPDATE SET balance = balance + delta, val = val || ' updated by merge' WHEN NOT MATCHED THEN INSERT VALUES (sid, delta, 'inserted by merge'); @@ -148068,7 +147986,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/merge.out --label ROLLBACK; -- same with a constant qual BEGIN; -@@ -1569,31 +1546,12 @@ +@@ -1569,31 +1539,12 @@ UPDATE SET balance = balance + delta, val = val || ' updated by merge' WHEN NOT MATCHED THEN INSERT VALUES (sid, delta, 'inserted by merge'); @@ -148105,7 +148023,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/merge.out --label ROLLBACK; -- try updating the partition key column BEGIN; -@@ -1614,52 +1572,80 @@ +@@ -1614,52 +1565,80 @@ RETURN result; END; $$; @@ -148209,7 +148127,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/merge.out --label -- try simple MERGE BEGIN; MERGE INTO pa_target t -@@ -1669,25 +1655,12 @@ +@@ -1669,25 +1648,12 @@ UPDATE SET balance = balance + delta, val = val || ' updated by merge' WHEN NOT MATCHED THEN INSERT VALUES (sid, delta, 'inserted by merge'); @@ -148240,7 +148158,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/merge.out --label ROLLBACK; -- same with a constant qual BEGIN; -@@ -1699,29 +1672,12 @@ +@@ -1699,29 +1665,12 @@ UPDATE SET balance = balance + delta, val = val || ' updated by merge' WHEN NOT MATCHED THEN INSERT VALUES (sid, delta, 'inserted by merge'); @@ -148275,7 +148193,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/merge.out --label ROLLBACK; -- try updating the partition key column BEGIN; -@@ -1732,64 +1688,110 @@ +@@ -1732,64 +1681,110 @@ UPDATE SET tid = tid + 1, balance = balance + delta, val = val || ' updated by merge' WHEN NOT MATCHED THEN INSERT VALUES (sid, delta, 'inserted by merge'); @@ -148405,7 +148323,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/merge.out --label -- try simple MERGE BEGIN; MERGE INTO pa_target t -@@ -1799,91 +1801,78 @@ +@@ -1799,91 +1794,78 @@ UPDATE SET balance = balance + delta, val = val || ' updated by merge' WHEN NOT MATCHED THEN INSERT VALUES (slogts::timestamp, sid, delta, 'inserted by merge'); @@ -148537,7 +148455,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/merge.out --label INSERT INTO cj_source1 VALUES (1, 10, 100); INSERT INTO cj_source1 VALUES (1, 20, 200); INSERT INTO cj_source1 VALUES (2, 20, 300); -@@ -1898,6 +1887,10 @@ +@@ -1898,6 +1880,10 @@ ON t.tid = sid1 WHEN NOT MATCHED THEN INSERT VALUES (sid1, delta, sval); @@ -148548,7 +148466,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/merge.out --label -- try accessing columns from either side of the source join MERGE INTO cj_target t USING cj_source2 s2 -@@ -1907,6 +1900,10 @@ +@@ -1907,6 +1893,10 @@ INSERT VALUES (sid2, delta, sval) WHEN MATCHED THEN DELETE; @@ -148559,7 +148477,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/merge.out --label -- some simple expressions in INSERT targetlist MERGE INTO cj_target t USING cj_source2 s2 -@@ -1916,20 +1913,24 @@ +@@ -1916,20 +1906,24 @@ INSERT VALUES (sid2, delta + scat, sval) WHEN MATCHED THEN UPDATE SET val = val || ' updated by merge'; @@ -148591,7 +148509,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/merge.out --label -- try it with an outer join and PlaceHolderVar MERGE INTO cj_target t -@@ -1938,19 +1939,14 @@ +@@ -1938,19 +1932,14 @@ ON t.tid = fj.scat WHEN NOT MATCHED THEN INSERT (tid, balance, val) VALUES (fj.scat, fj.delta, fj.phv); @@ -148618,7 +148536,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/merge.out --label ALTER TABLE cj_source1 RENAME COLUMN sid1 TO sid; ALTER TABLE cj_source2 RENAME COLUMN sid2 TO sid; -@@ -1961,10 +1957,15 @@ +@@ -1961,10 +1950,15 @@ ON t.tid = s1.sid WHEN NOT MATCHED THEN INSERT VALUES (s2.sid, delta, sval); @@ -148634,7 +148552,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/merge.out --label MERGE INTO fs_target t USING generate_series(1,100,1) AS id ON t.a = id -@@ -1972,6 +1973,10 @@ +@@ -1972,6 +1966,10 @@ UPDATE SET b = b + id WHEN NOT MATCHED THEN INSERT VALUES (id, -1); @@ -148645,7 +148563,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/merge.out --label MERGE INTO fs_target t USING generate_series(1,100,2) AS id ON t.a = id -@@ -1979,10 +1984,14 @@ +@@ -1979,10 +1977,14 @@ UPDATE SET b = b + id, c = 'updated '|| id.*::text WHEN NOT MATCHED THEN INSERT VALUES (id, -1, 'inserted ' || id.*::text); @@ -148661,7 +148579,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/merge.out --label (1 row) DROP TABLE fs_target; -@@ -1995,12 +2004,29 @@ +@@ -1995,12 +1997,29 @@ peaktemp int, unitsales int ) WITH (autovacuum_enabled=off); @@ -148676,7 +148594,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/merge.out --label +) INHERITS (measurement) WITH (autovacuum_enabled=off) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 CREATE TABLE measurement_y2006m03 ( CHECK ( logdate >= DATE '2006-03-01' AND logdate < DATE '2006-04-01' ) ) INHERITS (measurement) WITH (autovacuum_enabled=off); @@ -148687,11 +148605,11 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/merge.out --label +) INHERITS (measurement) WITH (autovacuum_enabled=off) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 CREATE TABLE measurement_y2007m01 ( filler text, peaktemp int, -@@ -2009,8 +2035,14 @@ +@@ -2009,8 +2028,14 @@ unitsales int CHECK ( logdate >= DATE '2007-01-01' AND logdate < DATE '2007-02-01') ) WITH (autovacuum_enabled=off); @@ -148706,23 +148624,17 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/merge.out --label INSERT INTO measurement VALUES (0, '2005-07-21', 5, 15); CREATE OR REPLACE FUNCTION measurement_insert_trigger() RETURNS TRIGGER AS $$ -@@ -2031,9 +2063,15 @@ - RETURN NULL; - END; - $$ LANGUAGE plpgsql ; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev +@@ -2034,6 +2059,9 @@ CREATE TRIGGER insert_measurement_trigger BEFORE INSERT ON measurement FOR EACH ROW EXECUTE PROCEDURE measurement_insert_trigger(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 INSERT INTO measurement VALUES (1, '2006-02-10', 35, 10); INSERT INTO measurement VALUES (1, '2006-02-16', 45, 20); INSERT INTO measurement VALUES (1, '2006-03-17', 25, 10); -@@ -2041,18 +2079,19 @@ +@@ -2041,18 +2069,19 @@ INSERT INTO measurement VALUES (1, '2007-01-15', 10, 10); INSERT INTO measurement VALUES (1, '2007-01-17', 10, 10); SELECT tableoid::regclass, * FROM measurement ORDER BY city_id, logdate; @@ -148751,7 +148663,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/merge.out --label INSERT INTO new_measurement VALUES (0, '2005-07-21', 25, 20); INSERT INTO new_measurement VALUES (1, '2006-03-01', 20, 10); INSERT INTO new_measurement VALUES (1, '2006-02-16', 50, 10); -@@ -2072,25 +2111,12 @@ +@@ -2072,25 +2101,12 @@ WHEN NOT MATCHED THEN INSERT (city_id, logdate, peaktemp, unitsales) VALUES (city_id, logdate, peaktemp, unitsales); @@ -148782,7 +148694,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/merge.out --label ROLLBACK; MERGE into measurement m USING new_measurement nm ON -@@ -2102,58 +2128,68 @@ +@@ -2102,56 +2118,64 @@ WHEN NOT MATCHED THEN INSERT (city_id, logdate, peaktemp, unitsales) VALUES (city_id, logdate, peaktemp, unitsales); @@ -148866,7 +148778,6 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/merge.out --label -drop cascades to table measurement_y2006m03 -drop cascades to table measurement_y2007m01 DROP FUNCTION measurement_insert_trigger(); -+ERROR: unknown function: measurement_insert_trigger() -- prepare RESET SESSION AUTHORIZATION; +ERROR: at or near "authorization": syntax error @@ -148877,9 +148788,6 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/merge.out --label DROP TABLE target, target2; DROP TABLE source, source2; DROP FUNCTION merge_trigfunc(); -+ERROR: unknown function: merge_trigfunc() - DROP USER regress_merge_privs; - DROP USER regress_merge_no_privs; diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_table_like.out --label=/mnt/data1/postgres/src/test/regress/results/create_table_like.out /mnt/data1/postgres/src/test/regress/expected/create_table_like.out /mnt/data1/postgres/src/test/regress/results/create_table_like.out --- /mnt/data1/postgres/src/test/regress/expected/create_table_like.out +++ /mnt/data1/postgres/src/test/regress/results/create_table_like.out @@ -148892,7 +148800,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_table_like +CREATE TABLE ctlb (bb TEXT) INHERITS (ctla) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 CREATE TABLE foo (LIKE nonexistent); ERROR: relation "nonexistent" does not exist -LINE 1: CREATE TABLE foo (LIKE nonexistent); @@ -148903,7 +148811,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_table_like +CREATE TABLE inhe (ee text, LIKE inhx) inherits (ctlb) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 INSERT INTO inhe VALUES ('ee-col1', 'ee-col2', DEFAULT, 'ee-col4'); +ERROR: relation "inhe" does not exist SELECT * FROM inhe; /* Columns aa, bb, xx value NULL, ee */ @@ -148936,7 +148844,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_table_like CREATE TABLE inhf (LIKE inhx, LIKE inhx); /* Throw error */ -ERROR: column "xx" specified more than once -+ERROR: relation "inhf" (1278): duplicate column name: "xx" ++ERROR: relation "inhf" (1325): duplicate column name: "xx" CREATE TABLE inhf (LIKE inhx INCLUDING DEFAULTS INCLUDING CONSTRAINTS); INSERT INTO inhf DEFAULT VALUES; SELECT * FROM inhf; /* Single entry with value 'text' */ @@ -149014,7 +148922,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_table_like +CREATE TABLE test_like_id_3 (LIKE test_like_id_1 INCLUDING IDENTITY) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/47071/dev ++See: https://go.crdb.dev/issue-v/47071/v24.3 \d test_like_id_3 - Table "public.test_like_id_3" - Column | Type | Collation | Nullable | Default @@ -149230,7 +149138,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_table_like +CREATE TABLE test_like_5 (x point, y point, z point) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 CREATE TABLE test_like_5x (p int CHECK (p > 0), q int GENERATED ALWAYS AS (p * 2) STORED); CREATE TABLE test_like_5c (LIKE test_like_4 INCLUDING ALL) @@ -149241,7 +149149,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_table_like + INHERITS (test_like_5, test_like_5x) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 \d test_like_5c - Table "public.test_like_5c" - Column | Type | Collation | Nullable | Default @@ -149395,7 +149303,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_table_like +CREATE TABLE ctlt12_storage (LIKE ctlt1 INCLUDING STORAGE, LIKE ctlt2 INCLUDING STORAGE) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/47071/dev ++See: https://go.crdb.dev/issue-v/47071/v24.3 \d+ ctlt12_storage - Table "public.ctlt12_storage" - Column | Type | Collation | Nullable | Default | Storage | Stats target | Description @@ -149419,7 +149327,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_table_like +CREATE TABLE ctlt12_comments (LIKE ctlt1 INCLUDING COMMENTS, LIKE ctlt2 INCLUDING COMMENTS) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/47071/dev ++See: https://go.crdb.dev/issue-v/47071/v24.3 \d+ ctlt12_comments - Table "public.ctlt12_comments" - Column | Type | Collation | Nullable | Default | Storage | Stats target | Description @@ -149446,7 +149354,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_table_like +CREATE TABLE ctlt1_inh (LIKE ctlt1 INCLUDING CONSTRAINTS INCLUDING COMMENTS) INHERITS (ctlt1) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/47071/dev ++See: https://go.crdb.dev/issue-v/47071/v24.3 \d+ ctlt1_inh - Table "public.ctlt1_inh" - Column | Type | Collation | Nullable | Default | Storage | Stats target | Description @@ -149480,7 +149388,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_table_like +CREATE TABLE ctlt13_inh () INHERITS (ctlt1, ctlt3) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 \d+ ctlt13_inh - Table "public.ctlt13_inh" - Column | Type | Collation | Nullable | Default | Storage | Stats target | Description @@ -149511,7 +149419,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_table_like +CREATE TABLE ctlt13_like (LIKE ctlt3 INCLUDING CONSTRAINTS INCLUDING INDEXES INCLUDING COMMENTS INCLUDING STORAGE) INHERITS (ctlt1) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/47071/dev ++See: https://go.crdb.dev/issue-v/47071/v24.3 \d+ ctlt13_like - Table "public.ctlt13_like" - Column | Type | Collation | Nullable | Default | Storage | Stats target | Description @@ -149598,7 +149506,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_table_like +CREATE TABLE inh_error1 () INHERITS (ctlt1, ctlt4) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 CREATE TABLE inh_error2 (LIKE ctlt4 INCLUDING STORAGE) INHERITS (ctlt1); -NOTICE: merging column "a" with inherited definition -ERROR: column "a" has a storage parameter conflict @@ -149608,7 +149516,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/create_table_like +CREATE TABLE inh_error2 (LIKE ctlt4 INCLUDING STORAGE) INHERITS (ctlt1) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/47071/dev ++See: https://go.crdb.dev/issue-v/47071/v24.3 -- Check that LIKE isn't confused by a system catalog of the same name CREATE TABLE pg_attrdef (LIKE ctlt1 INCLUDING ALL); \d+ public.pg_attrdef @@ -149850,14 +149758,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/collate.linux.utf +CREATE DOMAIN testdomain_sv AS text COLLATE "sv_SE" + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 +CREATE DOMAIN testdomain_i AS int COLLATE "sv_SE"; -- fails +ERROR: at or near "as": syntax error: unimplemented: this syntax +DETAIL: source SQL: +CREATE DOMAIN testdomain_i AS int COLLATE "sv_SE" + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 +CREATE TABLE collate_test4 ( + a int, + b testdomain_sv @@ -150114,7 +150022,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/collate.linux.utf +CREATE DOMAIN testdomain AS text + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 +SELECT a, b::testdomain FROM collate_test1 ORDER BY 2; +ERROR: type "testdomain" does not exist +SELECT a, b::testdomain FROM collate_test2 ORDER BY 2; @@ -150271,7 +150179,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/collate.linux.utf +$$; +ERROR: unimplemented: collation for PL/pgSQL variables is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/105245/dev ++See: https://go.crdb.dev/issue-v/105245/v24.3 +SELECT mylt2('a', 'B') as f; + f +--- @@ -150557,7 +150465,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/collate.linux.utf +CREATE DOMAIN collate_dep_dom1 AS text COLLATE test0 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 +CREATE TYPE collate_dep_test2 AS (x int, y text COLLATE test0); +ERROR: at or near "collate": syntax error +DETAIL: source SQL: @@ -150636,14 +150544,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/collate.linux.utf +create type textrange_c as range(subtype=text, collation="C") + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27791/dev ++See: https://go.crdb.dev/issue-v/27791/v24.3 +create type textrange_en_us as range(subtype=text, collation="en_US"); +ERROR: at or near "(": syntax error: unimplemented: this syntax +DETAIL: source SQL: +create type textrange_en_us as range(subtype=text, collation="en_US") + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27791/dev ++See: https://go.crdb.dev/issue-v/27791/v24.3 +select textrange_c('A','Z') @> 'b'::text; +ERROR: unknown function: textrange_c() +select textrange_en_us('A','Z') @> 'b'::text; @@ -150687,7 +150595,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/collate.windows.w +SET client_encoding TO WIN1252; +ERROR: unimplemented: unimplemented client encoding: "win1252" +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/35882/dev ++See: https://go.crdb.dev/issue-v/35882/v24.3 +CREATE SCHEMA collate_tests; +SET search_path = collate_tests; +CREATE TABLE collate_test1 ( @@ -150797,14 +150705,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/collate.windows.w +CREATE DOMAIN testdomain_sv AS text COLLATE "sv_SE" + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 +CREATE DOMAIN testdomain_i AS int COLLATE "sv_SE"; -- fails +ERROR: at or near "as": syntax error: unimplemented: this syntax +DETAIL: source SQL: +CREATE DOMAIN testdomain_i AS int COLLATE "sv_SE" + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 +CREATE TABLE collate_test4 ( + a int, + b testdomain_sv @@ -150976,7 +150884,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/collate.windows.w +CREATE DOMAIN testdomain AS text + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 +SELECT a, b::testdomain FROM collate_test1 ORDER BY 2; +ERROR: type "testdomain" does not exist +SELECT a, b::testdomain FROM collate_test2 ORDER BY 2; @@ -151104,7 +151012,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/collate.windows.w +$$; +ERROR: unimplemented: collation for PL/pgSQL variables is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/105245/dev ++See: https://go.crdb.dev/issue-v/105245/v24.3 +SELECT mylt2('a', 'B') as f; + f +--- @@ -151382,7 +151290,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/collate.windows.w +CREATE DOMAIN collate_dep_dom1 AS text COLLATE test0 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 +CREATE TYPE collate_dep_test2 AS (x int, y text COLLATE test0); +ERROR: at or near "collate": syntax error +DETAIL: source SQL: @@ -151461,14 +151369,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/collate.windows.w +create type textrange_c as range(subtype=text, collation="C") + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27791/dev ++See: https://go.crdb.dev/issue-v/27791/v24.3 +create type textrange_en_us as range(subtype=text, collation="en_US"); +ERROR: at or near "(": syntax error: unimplemented: this syntax +DETAIL: source SQL: +create type textrange_en_us as range(subtype=text, collation="en_US") + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27791/dev ++See: https://go.crdb.dev/issue-v/27791/v24.3 +select textrange_c('A','Z') @> 'b'::text; +ERROR: unknown function: textrange_c() +select textrange_en_us('A','Z') @> 'b'::text; @@ -151653,7 +151561,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/amutils.out --lab +CREATE INDEX fooindex ON foo (f1 desc, f2 asc, f3 nulls first, f4 nulls last) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/6224/dev ++See: https://go.crdb.dev/issue-v/6224/v24.3 select col, prop, pg_index_column_has_property(o, col, prop) from (values ('fooindex'::regclass)) v1(o), (values (1,'orderable'),(2,'asc'),(3,'desc'), @@ -152084,21 +151992,21 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rules.out --label +create table rtest_emp (ename char(20), salary money) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/41578/dev ++See: https://go.crdb.dev/issue-v/41578/v24.3 create table rtest_emplog (ename char(20), who name, action char(10), newsal money, oldsal money); +ERROR: at or near ",": syntax error: unimplemented: this syntax +DETAIL: source SQL: +create table rtest_emplog (ename char(20), who name, action char(10), newsal money, oldsal money) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/41578/dev ++See: https://go.crdb.dev/issue-v/41578/v24.3 create table rtest_empmass (ename char(20), salary money); +ERROR: at or near ")": syntax error: unimplemented: this syntax +DETAIL: source SQL: +create table rtest_empmass (ename char(20), salary money) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/41578/dev ++See: https://go.crdb.dev/issue-v/41578/v24.3 create rule rtest_emp_ins as on insert to rtest_emp do insert into rtest_emplog values (new.ename, current_user, 'hired', new.salary, '0.00'); @@ -155211,7 +155119,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rules.out --label -- check for planner problems with complex inherited UPDATES -- create table id (id serial primary key, name text); -+NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/dev/serial.html ++NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/v24.3/serial.html -- currently, must respecify PKEY for each inherited subtable create table test_1 (id integer primary key) inherits (id); -NOTICE: merging column "id" with inherited definition @@ -155220,7 +155128,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rules.out --label +create table test_1 (id integer primary key) inherits (id) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 create table test_2 (id integer primary key) inherits (id); -NOTICE: merging column "id" with inherited definition +ERROR: at or near "(": syntax error: unimplemented: this syntax @@ -155228,7 +155136,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rules.out --label +create table test_2 (id integer primary key) inherits (id) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 create table test_3 (id integer primary key) inherits (id); -NOTICE: merging column "id" with inherited definition +ERROR: at or near "(": syntax error: unimplemented: this syntax @@ -155236,7 +155144,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rules.out --label +create table test_3 (id integer primary key) inherits (id) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 insert into test_1 (name) values ('Test 1'); +ERROR: relation "test_1" does not exist insert into test_1 (name) values ('Test 2'); @@ -155318,14 +155226,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rules.out --label +create temp table t1_1 (check (a >= 0 and a < 10)) inherits (t1) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 create temp table t1_2 (check (a >= 10 and a < 20)) inherits (t1); +ERROR: at or near "(": syntax error: unimplemented: this syntax +DETAIL: source SQL: +create temp table t1_2 (check (a >= 10 and a < 20)) inherits (t1) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 create rule t1_ins_1 as on insert to t1 where new.a >= 0 and new.a < 10 do instead @@ -156862,7 +156770,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rules.out --label +SET SESSION AUTHORIZATION regress_rule_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 INSERT INTO ruletest_v1 VALUES (1); +ERROR: relation "ruletest_v1" does not exist RESET SESSION AUTHORIZATION; @@ -156900,7 +156808,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rules.out --label +SET SESSION AUTHORIZATION regress_rule_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 UPDATE ruletest_t1 t1 SET x = 0 FROM ruletest_t3 t3 WHERE t1.x = t3.x; -ERROR: permission denied for table ruletest_t3 RESET SESSION AUTHORIZATION; @@ -156953,7 +156861,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/stats_ext.out --l +create function check_estimated_rows(text) returns table (estimated int, actual int) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/100226/dev ++See: https://go.crdb.dev/issue-v/100226/v24.3 -- Verify failures CREATE TABLE ext_stats_test (x text, y int, z int); CREATE STATISTICS tst; @@ -157062,7 +156970,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/stats_ext.out --l +SET SESSION AUTHORIZATION regress_stats_ext + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 COMMENT ON STATISTICS ab1_a_b_stats IS 'changed comment'; -ERROR: must be owner of statistics object ab1_a_b_stats +ERROR: at or near "statistics": syntax error @@ -157270,7 +157178,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/stats_ext.out --l +CREATE TABLE ab1c () INHERITS (ab1) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 INSERT INTO ab1 VALUES (1,1); CREATE STATISTICS ab1_a_b_stats ON a, b FROM ab1; ANALYZE ab1; @@ -157284,14 +157192,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/stats_ext.out --l +CREATE TABLE stxdinh1() INHERITS(stxdinh) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 CREATE TABLE stxdinh2() INHERITS(stxdinh); +ERROR: at or near "(": syntax error: unimplemented: this syntax +DETAIL: source SQL: +CREATE TABLE stxdinh2() INHERITS(stxdinh) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 INSERT INTO stxdinh SELECT mod(a,50), mod(a,100) FROM generate_series(0, 1999) a; INSERT INTO stxdinh1 SELECT mod(a,100), mod(a,100) FROM generate_series(0, 999) a; +ERROR: relation "stxdinh1" does not exist @@ -157669,7 +157577,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/stats_ext.out --l + SELECT i/100, i/100, i/100, cash_words((i/100)::money) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/41578/dev ++See: https://go.crdb.dev/issue-v/41578/v24.3 ANALYZE ndistinct; -- Group Aggregate, due to over-estimate of the number of groups SELECT * FROM check_estimated_rows('SELECT COUNT(*) FROM ndistinct GROUP BY a, b'); @@ -157839,7 +157747,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/stats_ext.out --l + cash_words(mod(i,23)::int::money) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/41578/dev ++See: https://go.crdb.dev/issue-v/41578/v24.3 ANALYZE ndistinct; SELECT s.stxkind, d.stxdndistinct FROM pg_statistic_ext s, pg_statistic_ext_data d @@ -159018,7 +158926,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/stats_ext.out --l -- condition ALTER TABLE functional_dependencies ALTER COLUMN c TYPE numeric; +ERROR: ALTER COLUMN TYPE from int to decimal is only supported experimentally -+HINT: See: https://go.crdb.dev/issue-v/49329/dev ++HINT: See: https://go.crdb.dev/issue-v/49329/v24.3 +-- +you can enable alter column type general support by running `SET enable_experimental_alter_column_type_general = true` SELECT * FROM check_estimated_rows('SELECT * FROM functional_dependencies WHERE a = 1 AND b = ''1'' AND c = 1'); @@ -159995,7 +159903,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/stats_ext.out --l -- check change of column type resets the MCV statistics ALTER TABLE mcv_lists ALTER COLUMN c TYPE numeric; +ERROR: ALTER COLUMN TYPE from int to decimal is only supported experimentally -+HINT: See: https://go.crdb.dev/issue-v/49329/dev ++HINT: See: https://go.crdb.dev/issue-v/49329/v24.3 +-- +you can enable alter column type general support by running `SET enable_experimental_alter_column_type_general = true` SELECT * FROM check_estimated_rows('SELECT * FROM mcv_lists WHERE a = 1 AND b = ''1'''); @@ -161386,7 +161294,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/stats_ext.out --l +SET SESSION AUTHORIZATION regress_stats_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM tststats.priv_test_tbl; -- Permission denied -ERROR: permission denied for table priv_test_tbl + a | b @@ -161533,7 +161441,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/stats_ext.out --l +CREATE OPERATOR <<< (procedure = op_leak, leftarg = int, rightarg = int, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 SELECT * FROM tststats.priv_test_tbl WHERE a <<< 0 AND b <<< 0; -- Permission denied -ERROR: permission denied for table priv_test_tbl +ERROR: at or near "<": syntax error @@ -161570,7 +161478,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/stats_ext.out --l +SET SESSION AUTHORIZATION regress_stats_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM tststats.priv_test_view WHERE a <<< 0 AND b <<< 0; -- Should not leak - a | b ----+--- @@ -161607,7 +161515,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/stats_ext.out --l +SET SESSION AUTHORIZATION regress_stats_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 SELECT * FROM tststats.priv_test_tbl WHERE a <<< 0 AND b <<< 0; -- Should not leak - a | b ----+--- @@ -161682,7 +161590,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/subscription.out +SET SESSION AUTHORIZATION 'regress_subscription_user' + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 -- fail - no publications CREATE SUBSCRIPTION regress_testsub CONNECTION 'foo'; -ERROR: syntax error at or near ";" @@ -161880,7 +161788,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/subscription.out +SET SESSION AUTHORIZATION 'regress_subscription_user2' + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE SUBSCRIPTION regress_testsub2 CONNECTION 'dbname=regress_doesnotexist' PUBLICATION foo WITH (connect = false); -ERROR: permission denied to create subscription -DETAIL: Only roles with privileges of the "pg_create_subscription" role may create subscriptions. @@ -161905,7 +161813,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/subscription.out +SET SESSION AUTHORIZATION 'regress_subscription_user' + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 -- fail - invalid option combinations CREATE SUBSCRIPTION regress_testsub2 CONNECTION 'dbname=regress_doesnotexist' PUBLICATION testpub WITH (connect = false, copy_data = true); -ERROR: connect = false and copy_data = true are mutually exclusive options @@ -163125,7 +163033,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/subscription.out +SET SESSION AUTHORIZATION regress_subscription_user3 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 -- fail, not enough privileges CREATE SUBSCRIPTION regress_testsub CONNECTION 'dbname=regress_doesnotexist' PUBLICATION testpub WITH (connect = false); -ERROR: permission denied for database regression @@ -163159,7 +163067,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/subscription.out +SET SESSION AUTHORIZATION regress_subscription_user3 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE SUBSCRIPTION regress_testsub CONNECTION 'dbname=regress_doesnotexist' PUBLICATION testpub WITH (connect = false); -ERROR: password is required -DETAIL: Non-superusers must provide a password in the connection string. @@ -163193,7 +163101,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/subscription.out +SET SESSION AUTHORIZATION regress_subscription_user3 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE SUBSCRIPTION regress_testsub CONNECTION 'dbname=regress_doesnotexist' PUBLICATION testpub WITH (connect = false, password_required = false); -ERROR: password_required=false is superuser-only -HINT: Subscriptions with the password_required option set to false may only be created or modified by the superuser. @@ -163227,7 +163135,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/subscription.out +SET SESSION AUTHORIZATION regress_subscription_user3 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE SUBSCRIPTION regress_testsub CONNECTION 'dbname=regress_doesnotexist password=regress_fakepassword' PUBLICATION testpub WITH (connect = false); -WARNING: subscription was created, but is not connected -HINT: To initiate replication, you must manually create the replication slot, enable the subscription, and refresh the subscription. @@ -163276,7 +163184,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/subscription.out +SET SESSION AUTHORIZATION regress_subscription_user3 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 ALTER SUBSCRIPTION regress_testsub2 RENAME TO regress_testsub; +ERROR: at or near "subscription": syntax error +DETAIL: source SQL: @@ -163298,7 +163206,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/subscription.out +SET SESSION AUTHORIZATION regress_subscription_user3 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 ALTER SUBSCRIPTION regress_testsub RENAME TO regress_testsub2; -ERROR: permission denied for database regression +ERROR: at or near "subscription": syntax error @@ -163365,7 +163273,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/publication.out - +SET SESSION AUTHORIZATION 'regress_publication_user' + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 -- suppress warning that depends on wal_level SET client_min_messages = 'ERROR'; CREATE PUBLICATION testpub_default; @@ -163510,7 +163418,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/publication.out - --- adding tables CREATE SCHEMA pub_test; CREATE TABLE testpub_tbl1 (id serial primary key, data text); -+NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/dev/serial.html ++NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/v24.3/serial.html CREATE TABLE pub_test.testpub_nopk (foo int, bar int); CREATE VIEW testpub_view AS SELECT 1; CREATE TABLE testpub_parted (a int) PARTITION BY LIST (a); @@ -163544,7 +163452,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/publication.out - + ^ +HINT: try \h ALTER CREATE TABLE testpub_tbl2 (id serial primary key, data text); -+NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/dev/serial.html ++NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/v24.3/serial.html -- fail - can't add to for all tables publication ALTER PUBLICATION testpub_foralltables ADD TABLE testpub_tbl2; -ERROR: publication "testpub_foralltables" is defined as FOR ALL TABLES @@ -163929,7 +163837,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/publication.out - +CREATE TABLE testpub_tbl3a (b text) INHERITS (testpub_tbl3) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 SET client_min_messages = 'ERROR'; CREATE PUBLICATION testpub3 FOR TABLE testpub_tbl3; +ERROR: at or near "testpub3": syntax error: unimplemented: this syntax @@ -164180,7 +164088,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/publication.out - +CREATE TABLE testpub_rf_tbl5 (a xml) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/43355/dev ++See: https://go.crdb.dev/issue-v/43355/v24.3 CREATE SCHEMA testpub_rf_schema1; CREATE TABLE testpub_rf_schema1.testpub_rf_tbl5 (h integer); CREATE SCHEMA testpub_rf_schema2; @@ -164620,7 +164528,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/publication.out - +CREATE OPERATOR =#> (PROCEDURE = testpub_rf_func1, LEFTARG = integer, RIGHTARG = integer) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 CREATE PUBLICATION testpub6 FOR TABLE testpub_rf_tbl3 WHERE (e =#> 27); -ERROR: invalid publication WHERE expression -LINE 1: ...ICATION testpub6 FOR TABLE testpub_rf_tbl3 WHERE (e =#> 27); @@ -167036,9 +166944,9 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/publication.out - CREATE SCHEMA "CURRENT_SCHEMA"; CREATE TABLE pub_test1.tbl (id int, data text); CREATE TABLE pub_test1.tbl1 (id serial primary key, data text); -+NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/dev/serial.html ++NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/v24.3/serial.html CREATE TABLE pub_test2.tbl1 (id serial primary key, data text); -+NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/dev/serial.html ++NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/v24.3/serial.html CREATE TABLE "CURRENT_SCHEMA"."CURRENT_SCHEMA"(id int); -- suppress warning that depends on wal_level SET client_min_messages = 'ERROR'; @@ -168510,7 +168418,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/dependency.out -- CREATE USER regress_dep_user3; CREATE GROUP regress_dep_group; CREATE TABLE deptest (f1 serial primary key, f2 text); -+NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/dev/serial.html ++NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/v24.3/serial.html GRANT SELECT ON TABLE deptest TO GROUP regress_dep_group; +ERROR: at or near "group": syntax error +DETAIL: source SQL: @@ -168576,7 +168484,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/dependency.out -- +SET SESSION AUTHORIZATION regress_dep_user0 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 -- permission denied DROP OWNED BY regress_dep_user1; -ERROR: permission denied to drop objects @@ -168600,9 +168508,9 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/dependency.out -- +SET SESSION AUTHORIZATION regress_dep_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE TABLE deptest (a serial primary key, b text); -+NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/dev/serial.html ++NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/v24.3/serial.html GRANT ALL ON deptest1 TO regress_dep_user2; RESET SESSION AUTHORIZATION; +ERROR: at or near "authorization": syntax error @@ -168739,7 +168647,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/dependency.out -- +SET SESSION AUTHORIZATION regress_dep_user1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE SCHEMA deptest; CREATE TABLE deptest (a serial primary key, b text); +ERROR: relation "root.public.deptest" already exists @@ -168755,7 +168663,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/dependency.out -- +CREATE TYPE deptest_range AS RANGE (SUBTYPE = int4) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27791/dev ++See: https://go.crdb.dev/issue-v/27791/v24.3 CREATE TABLE deptest2 (f1 int); -- make a serial column the hard way CREATE SEQUENCE ss1; @@ -168829,7 +168737,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/xmlmap_1.out --la +CREATE DOMAIN testxmldomain AS varchar + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 CREATE TABLE testxmlschema.test2 (z int, y varchar(500), x char(6), w numeric(9,2), v smallint, u bigint, t real, s time, stz timetz, r timestamp, rtz timestamptz, q date, @@ -168842,7 +168750,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/xmlmap_1.out --la + p xml, o testxmldomain, n bool, m bytea, aaa text) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/43355/dev ++See: https://go.crdb.dev/issue-v/43355/v24.3 ALTER TABLE testxmlschema.test2 DROP COLUMN aaa; +ERROR: relation "testxmlschema.test2" does not exist INSERT INTO testxmlschema.test2 VALUES (55, 'abc', 'def', @@ -168921,7 +168829,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/xmlmap_1.out --la DECLARE xc CURSOR WITH HOLD FOR SELECT * FROM testxmlschema.test1 ORDER BY 1, 2; +ERROR: unimplemented: DECLARE CURSOR WITH HOLD can only be used in transaction blocks +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/77101/dev ++See: https://go.crdb.dev/issue-v/77101/v24.3 SELECT cursor_to_xml('xc'::refcursor, 5, false, true, ''); -ERROR: unsupported XML feature -DETAIL: This functionality requires the server to be built with libxml support. @@ -168967,14 +168875,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/xmlmap_1.out --la +CREATE DOMAIN testboolxmldomain AS bool + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 CREATE DOMAIN testdatexmldomain AS date; +ERROR: at or near "as": syntax error: unimplemented: this syntax +DETAIL: source SQL: +CREATE DOMAIN testdatexmldomain AS date + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 CREATE TABLE testxmlschema.test3 AS SELECT true c1, true::testboolxmldomain c2, @@ -170566,7 +170474,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/select_views.out +SET SESSION AUTHORIZATION regress_alice + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 -- -- scenario: if a qualifier with tiny-cost is given, it shall be launched -- prior to the security policy of the view. @@ -170858,7 +170766,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/select_views.out +SET SESSION AUTHORIZATION regress_alice + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 EXECUTE p1; -- To be perform as a view with security-barrier -NOTICE: f_leak => passwd123 - cid | name | tel | passwd @@ -171043,7 +170951,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab +CREATE TEXT SEARCH DICTIONARY ispell ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('ispell', 'skies'); - ts_lexize ------------ @@ -171052,7 +170960,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('ispell', 'bookings'); - ts_lexize ----------------- @@ -171061,7 +170969,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('ispell', 'booking'); - ts_lexize ----------------- @@ -171070,7 +170978,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('ispell', 'foot'); - ts_lexize ------------ @@ -171079,7 +170987,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('ispell', 'foots'); - ts_lexize ------------ @@ -171088,7 +170996,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('ispell', 'rebookings'); - ts_lexize ----------------- @@ -171097,7 +171005,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('ispell', 'rebooking'); - ts_lexize ----------------- @@ -171106,7 +171014,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('ispell', 'rebook'); - ts_lexize ------------ @@ -171115,7 +171023,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('ispell', 'unbookings'); - ts_lexize ------------ @@ -171124,7 +171032,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('ispell', 'unbooking'); - ts_lexize ------------ @@ -171133,7 +171041,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('ispell', 'unbook'); - ts_lexize ------------ @@ -171142,7 +171050,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('ispell', 'footklubber'); - ts_lexize ----------------- @@ -171151,7 +171059,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('ispell', 'footballklubber'); - ts_lexize ------------------------------------------------------- @@ -171160,7 +171068,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('ispell', 'ballyklubber'); - ts_lexize ----------------- @@ -171169,7 +171077,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('ispell', 'footballyklubber'); - ts_lexize ---------------------- @@ -171178,7 +171086,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 -- Test ISpell dictionary with hunspell affix file CREATE TEXT SEARCH DICTIONARY hunspell ( Template=ispell, @@ -171190,7 +171098,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab +CREATE TEXT SEARCH DICTIONARY hunspell ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('hunspell', 'skies'); - ts_lexize ------------ @@ -171199,7 +171107,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('hunspell', 'bookings'); - ts_lexize ----------------- @@ -171208,7 +171116,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('hunspell', 'booking'); - ts_lexize ----------------- @@ -171217,7 +171125,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('hunspell', 'foot'); - ts_lexize ------------ @@ -171226,7 +171134,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('hunspell', 'foots'); - ts_lexize ------------ @@ -171235,7 +171143,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('hunspell', 'rebookings'); - ts_lexize ----------------- @@ -171244,7 +171152,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('hunspell', 'rebooking'); - ts_lexize ----------------- @@ -171253,7 +171161,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('hunspell', 'rebook'); - ts_lexize ------------ @@ -171262,7 +171170,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('hunspell', 'unbookings'); - ts_lexize ------------ @@ -171271,7 +171179,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('hunspell', 'unbooking'); - ts_lexize ------------ @@ -171280,7 +171188,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('hunspell', 'unbook'); - ts_lexize ------------ @@ -171289,7 +171197,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('hunspell', 'footklubber'); - ts_lexize ----------------- @@ -171298,7 +171206,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('hunspell', 'footballklubber'); - ts_lexize ------------------------------------------------------- @@ -171307,7 +171215,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('hunspell', 'ballyklubber'); - ts_lexize ----------------- @@ -171316,7 +171224,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('hunspell', 'footballyklubber'); - ts_lexize ---------------------- @@ -171325,7 +171233,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 -- Test ISpell dictionary with hunspell affix file with FLAG long parameter CREATE TEXT SEARCH DICTIONARY hunspell_long ( Template=ispell, @@ -171337,7 +171245,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab +CREATE TEXT SEARCH DICTIONARY hunspell_long ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('hunspell_long', 'skies'); - ts_lexize ------------ @@ -171346,7 +171254,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('hunspell_long', 'bookings'); - ts_lexize ----------------- @@ -171355,7 +171263,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('hunspell_long', 'booking'); - ts_lexize ----------------- @@ -171364,7 +171272,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('hunspell_long', 'foot'); - ts_lexize ------------ @@ -171373,7 +171281,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('hunspell_long', 'foots'); - ts_lexize ------------ @@ -171382,7 +171290,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('hunspell_long', 'rebookings'); - ts_lexize ----------------- @@ -171391,7 +171299,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('hunspell_long', 'rebooking'); - ts_lexize ----------------- @@ -171400,7 +171308,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('hunspell_long', 'rebook'); - ts_lexize ------------ @@ -171409,7 +171317,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('hunspell_long', 'unbookings'); - ts_lexize ------------ @@ -171418,7 +171326,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('hunspell_long', 'unbooking'); - ts_lexize ------------ @@ -171427,7 +171335,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('hunspell_long', 'unbook'); - ts_lexize ------------ @@ -171436,7 +171344,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('hunspell_long', 'booked'); - ts_lexize ------------ @@ -171445,7 +171353,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('hunspell_long', 'footklubber'); - ts_lexize ----------------- @@ -171454,7 +171362,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('hunspell_long', 'footballklubber'); - ts_lexize ------------------------------------------------------- @@ -171463,7 +171371,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('hunspell_long', 'ballyklubber'); - ts_lexize ----------------- @@ -171472,7 +171380,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('hunspell_long', 'ballsklubber'); - ts_lexize ----------------- @@ -171481,7 +171389,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('hunspell_long', 'footballyklubber'); - ts_lexize ---------------------- @@ -171490,7 +171398,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('hunspell_long', 'ex-machina'); - ts_lexize ---------------- @@ -171499,7 +171407,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 -- Test ISpell dictionary with hunspell affix file with FLAG num parameter CREATE TEXT SEARCH DICTIONARY hunspell_num ( Template=ispell, @@ -171511,7 +171419,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab +CREATE TEXT SEARCH DICTIONARY hunspell_num ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('hunspell_num', 'skies'); - ts_lexize ------------ @@ -171520,7 +171428,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('hunspell_num', 'sk'); - ts_lexize ------------ @@ -171529,7 +171437,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('hunspell_num', 'bookings'); - ts_lexize ----------------- @@ -171538,7 +171446,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('hunspell_num', 'booking'); - ts_lexize ----------------- @@ -171547,7 +171455,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('hunspell_num', 'foot'); - ts_lexize ------------ @@ -171556,7 +171464,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('hunspell_num', 'foots'); - ts_lexize ------------ @@ -171565,7 +171473,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('hunspell_num', 'rebookings'); - ts_lexize ----------------- @@ -171574,7 +171482,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('hunspell_num', 'rebooking'); - ts_lexize ----------------- @@ -171583,7 +171491,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('hunspell_num', 'rebook'); - ts_lexize ------------ @@ -171592,7 +171500,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('hunspell_num', 'unbookings'); - ts_lexize ------------ @@ -171601,7 +171509,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('hunspell_num', 'unbooking'); - ts_lexize ------------ @@ -171610,7 +171518,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('hunspell_num', 'unbook'); - ts_lexize ------------ @@ -171619,7 +171527,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('hunspell_num', 'booked'); - ts_lexize ------------ @@ -171628,7 +171536,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('hunspell_num', 'footklubber'); - ts_lexize ----------------- @@ -171637,7 +171545,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('hunspell_num', 'footballklubber'); - ts_lexize ------------------------------------------------------- @@ -171646,7 +171554,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('hunspell_num', 'ballyklubber'); - ts_lexize ----------------- @@ -171655,7 +171563,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('hunspell_num', 'footballyklubber'); - ts_lexize ---------------------- @@ -171664,7 +171572,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 -- Test suitability of affix and dict files CREATE TEXT SEARCH DICTIONARY hunspell_err ( Template=ispell, @@ -171677,7 +171585,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab +CREATE TEXT SEARCH DICTIONARY hunspell_err ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 CREATE TEXT SEARCH DICTIONARY hunspell_err ( Template=ispell, DictFile=ispell_sample, @@ -171689,7 +171597,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab +CREATE TEXT SEARCH DICTIONARY hunspell_err ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 CREATE TEXT SEARCH DICTIONARY hunspell_invalid_1 ( Template=ispell, DictFile=hunspell_sample_long, @@ -171700,7 +171608,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab +CREATE TEXT SEARCH DICTIONARY hunspell_invalid_1 ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 CREATE TEXT SEARCH DICTIONARY hunspell_invalid_2 ( Template=ispell, DictFile=hunspell_sample_long, @@ -171711,7 +171619,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab +CREATE TEXT SEARCH DICTIONARY hunspell_invalid_2 ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 CREATE TEXT SEARCH DICTIONARY hunspell_invalid_3 ( Template=ispell, DictFile=hunspell_sample_num, @@ -171722,7 +171630,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab +CREATE TEXT SEARCH DICTIONARY hunspell_invalid_3 ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 CREATE TEXT SEARCH DICTIONARY hunspell_err ( Template=ispell, DictFile=hunspell_sample_num, @@ -171734,7 +171642,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab +CREATE TEXT SEARCH DICTIONARY hunspell_err ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 -- Synonym dictionary CREATE TEXT SEARCH DICTIONARY synonym ( Template=synonym, @@ -171745,7 +171653,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab +CREATE TEXT SEARCH DICTIONARY synonym ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('synonym', 'PoStGrEs'); - ts_lexize ------------ @@ -171754,7 +171662,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('synonym', 'Gogle'); - ts_lexize ------------ @@ -171763,7 +171671,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('synonym', 'indices'); - ts_lexize ------------ @@ -171772,7 +171680,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 -- test altering boolean parameters SELECT dictinitoption FROM pg_ts_dict WHERE dictname = 'synonym'; - dictinitoption @@ -171797,7 +171705,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT dictinitoption FROM pg_ts_dict WHERE dictname = 'synonym'; - dictinitoption ------------------------------------------------- @@ -171828,7 +171736,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT dictinitoption FROM pg_ts_dict WHERE dictname = 'synonym'; - dictinitoption ----------------------------------------------------- @@ -171849,7 +171757,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab +CREATE TEXT SEARCH DICTIONARY thesaurus ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('thesaurus', 'one'); - ts_lexize ------------ @@ -171858,7 +171766,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 -- Test ispell dictionary in configuration CREATE TEXT SEARCH CONFIGURATION ispell_tst ( COPY=english @@ -171868,7 +171776,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab +CREATE TEXT SEARCH CONFIGURATION ispell_tst ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 ALTER TEXT SEARCH CONFIGURATION ispell_tst ALTER MAPPING FOR word, numword, asciiword, hword, numhword, asciihword, hword_part, hword_numpart, hword_asciipart WITH ispell, english_stem; @@ -171907,7 +171815,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab +CREATE TEXT SEARCH CONFIGURATION hunspell_tst ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 ALTER TEXT SEARCH CONFIGURATION hunspell_tst ALTER MAPPING REPLACE ispell WITH hunspell; +ERROR: at or near "text": syntax error @@ -172017,7 +171925,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab +CREATE TEXT SEARCH CONFIGURATION synonym_tst ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 ALTER TEXT SEARCH CONFIGURATION synonym_tst ALTER MAPPING FOR asciiword, hword_asciipart, asciihword WITH synonym, english_stem; @@ -172064,7 +171972,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab +CREATE TEXT SEARCH CONFIGURATION thesaurus_tst ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 ALTER TEXT SEARCH CONFIGURATION thesaurus_tst ALTER MAPPING FOR asciiword, hword_asciipart, asciihword WITH synonym, thesaurus, english_stem; @@ -172107,7 +172015,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsdicts.out --lab +CREATE TEXT SEARCH DICTIONARY tsdict_case + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/functional_deps.out --label=/mnt/data1/postgres/src/test/regress/results/functional_deps.out /mnt/data1/postgres/src/test/regress/expected/functional_deps.out /mnt/data1/postgres/src/test/regress/results/functional_deps.out --- /mnt/data1/postgres/src/test/regress/expected/functional_deps.out +++ /mnt/data1/postgres/src/test/regress/results/functional_deps.out @@ -172200,7 +172108,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/functional_deps.o -- snip PRIMARY KEY (nid, vid) ); -+NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/dev/serial.html ++NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/v24.3/serial.html CREATE TEMP TABLE users ( uid integer NOT NULL default '0', name varchar(60) NOT NULL default '', @@ -172222,9 +172130,9 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/functional_deps.o -ERROR: cannot drop constraint articles_pkey on table articles because other objects depend on it -DETAIL: view fdv1 depends on constraint articles_pkey on table articles -HINT: Use DROP ... CASCADE to drop the dependent objects too. -+ERROR: relation "articles" (1530): unimplemented: primary key dropped without subsequent addition of new primary key in same transaction ++ERROR: relation "articles" (1577): unimplemented: primary key dropped without subsequent addition of new primary key in same transaction +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/48026/dev ++See: https://go.crdb.dev/issue-v/48026/v24.3 DROP VIEW fdv1; -- multiple dependencies CREATE TEMP VIEW fdv2 AS @@ -172235,16 +172143,16 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/functional_deps.o -ERROR: cannot drop constraint articles_pkey on table articles because other objects depend on it -DETAIL: view fdv2 depends on constraint articles_pkey on table articles -HINT: Use DROP ... CASCADE to drop the dependent objects too. -+ERROR: relation "articles" (1530): unimplemented: primary key dropped without subsequent addition of new primary key in same transaction ++ERROR: relation "articles" (1577): unimplemented: primary key dropped without subsequent addition of new primary key in same transaction +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/48026/dev ++See: https://go.crdb.dev/issue-v/48026/v24.3 ALTER TABLE articles_in_category DROP CONSTRAINT articles_in_category_pkey RESTRICT; --fail -ERROR: cannot drop constraint articles_in_category_pkey on table articles_in_category because other objects depend on it -DETAIL: view fdv2 depends on constraint articles_in_category_pkey on table articles_in_category -HINT: Use DROP ... CASCADE to drop the dependent objects too. -+ERROR: relation "articles_in_category" (1531): unimplemented: primary key dropped without subsequent addition of new primary key in same transaction ++ERROR: relation "articles_in_category" (1578): unimplemented: primary key dropped without subsequent addition of new primary key in same transaction +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/48026/dev ++See: https://go.crdb.dev/issue-v/48026/v24.3 DROP VIEW fdv2; -- nested queries CREATE TEMP VIEW fdv3 AS @@ -172255,9 +172163,9 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/functional_deps.o -ERROR: cannot drop constraint articles_pkey on table articles because other objects depend on it -DETAIL: view fdv3 depends on constraint articles_pkey on table articles -HINT: Use DROP ... CASCADE to drop the dependent objects too. -+ERROR: relation "articles" (1530): unimplemented: primary key dropped without subsequent addition of new primary key in same transaction ++ERROR: relation "articles" (1577): unimplemented: primary key dropped without subsequent addition of new primary key in same transaction +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/48026/dev ++See: https://go.crdb.dev/issue-v/48026/v24.3 DROP VIEW fdv3; CREATE TEMP VIEW fdv4 AS SELECT * FROM articles WHERE title IN (SELECT title FROM articles GROUP BY id); @@ -172265,9 +172173,9 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/functional_deps.o -ERROR: cannot drop constraint articles_pkey on table articles because other objects depend on it -DETAIL: view fdv4 depends on constraint articles_pkey on table articles -HINT: Use DROP ... CASCADE to drop the dependent objects too. -+ERROR: relation "articles" (1530): unimplemented: primary key dropped without subsequent addition of new primary key in same transaction ++ERROR: relation "articles" (1577): unimplemented: primary key dropped without subsequent addition of new primary key in same transaction +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/48026/dev ++See: https://go.crdb.dev/issue-v/48026/v24.3 DROP VIEW fdv4; -- prepared query plans: this results in failure on reuse PREPARE foo AS @@ -172275,9 +172183,9 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/functional_deps.o (0 rows) ALTER TABLE articles DROP CONSTRAINT articles_pkey RESTRICT; -+ERROR: relation "articles" (1530): unimplemented: primary key dropped without subsequent addition of new primary key in same transaction ++ERROR: relation "articles" (1577): unimplemented: primary key dropped without subsequent addition of new primary key in same transaction +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/48026/dev ++See: https://go.crdb.dev/issue-v/48026/v24.3 EXECUTE foo; -- fail -ERROR: column "articles.keywords" must appear in the GROUP BY clause or be used in an aggregate function + id | keywords | title | body | created @@ -172296,7 +172204,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/equivclass.out -- +create type int8alias1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27793/dev ++See: https://go.crdb.dev/issue-v/27793/v24.3 create function int8alias1in(cstring) returns int8alias1 strict immutable language internal as 'int8in'; -NOTICE: return type int8alias1 is only a shell @@ -172316,14 +172224,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/equivclass.out -- + input = int8alias1in, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27793/dev ++See: https://go.crdb.dev/issue-v/27793/v24.3 create type int8alias2; +ERROR: at or near "EOF": syntax error: unimplemented: this syntax +DETAIL: source SQL: +create type int8alias2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27793/dev ++See: https://go.crdb.dev/issue-v/27793/v24.3 create function int8alias2in(cstring) returns int8alias2 strict immutable language internal as 'int8in'; -NOTICE: return type int8alias2 is only a shell @@ -172343,7 +172251,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/equivclass.out -- + input = int8alias2in, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27793/dev ++See: https://go.crdb.dev/issue-v/27793/v24.3 create cast (int8 as int8alias1) without function; +ERROR: at or near "(": syntax error: unimplemented: this syntax +DETAIL: source SQL: @@ -172423,7 +172331,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/equivclass.out -- +create operator = ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 alter operator family integer_ops using btree add operator 3 = (int8alias1, int8alias1); +ERROR: at or near "operator": syntax error @@ -172446,7 +172354,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/equivclass.out -- +create operator = ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 alter operator family integer_ops using btree add operator 3 = (int8alias2, int8alias2); +ERROR: at or near "operator": syntax error @@ -172468,7 +172376,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/equivclass.out -- +create operator = ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 alter operator family integer_ops using btree add operator 3 = (int8, int8alias1); +ERROR: at or near "operator": syntax error @@ -172490,7 +172398,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/equivclass.out -- +create operator = ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 alter operator family integer_ops using btree add operator 3 = (int8alias1, int8alias2); +ERROR: at or near "operator": syntax error @@ -172510,7 +172418,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/equivclass.out -- +create operator < ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 alter operator family integer_ops using btree add operator 1 < (int8alias1, int8alias1); +ERROR: at or near "operator": syntax error @@ -173037,7 +172945,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/equivclass.out -- +set session authorization regress_user_ectest + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 -- with RLS active, the non-leakproof a.ff = 43 clause is not treated -- as a suitable source for an EquivalenceClass; currently, this is true -- even though the RLS clause has nothing to do directly with the EC @@ -174377,7 +174285,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/window.out --labe +CREATE FUNCTION unbounded_syntax_test1a(x int) RETURNS TABLE (a int, b int, c int) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/100226/dev ++See: https://go.crdb.dev/issue-v/100226/v24.3 CREATE FUNCTION unbounded_syntax_test1b(x int) RETURNS TABLE (a int, b int, c int) LANGUAGE SQL AS $$ @@ -174390,7 +174298,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/window.out --labe +CREATE FUNCTION unbounded_syntax_test1b(x int) RETURNS TABLE (a int, b int, c int) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/100226/dev ++See: https://go.crdb.dev/issue-v/100226/v24.3 -- These will apply the argument to the window specification inside the function. SELECT * FROM unbounded_syntax_test1a(2); - a | b | c @@ -174436,7 +174344,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/window.out --labe +CREATE FUNCTION unbounded_syntax_test2a(unbounded int) RETURNS TABLE (a int, b int, c int) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/100226/dev ++See: https://go.crdb.dev/issue-v/100226/v24.3 CREATE FUNCTION unbounded_syntax_test2b(unbounded int) RETURNS TABLE (a int, b int, c int) LANGUAGE SQL AS $$ @@ -174449,7 +174357,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/window.out --labe +CREATE FUNCTION unbounded_syntax_test2b(unbounded int) RETURNS TABLE (a int, b int, c int) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/100226/dev ++See: https://go.crdb.dev/issue-v/100226/v24.3 -- These will not apply the argument but instead treat UNBOUNDED as a keyword. SELECT * FROM unbounded_syntax_test2a(2); - a | b | c @@ -176410,7 +176318,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/window.out --labe +CREATE AGGREGATE logging_agg_nonstrict (anyelement) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 CREATE AGGREGATE logging_agg_nonstrict_initcond (anyelement) ( stype = text, @@ -176423,7 +176331,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/window.out --labe +CREATE AGGREGATE logging_agg_nonstrict_initcond (anyelement) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 CREATE FUNCTION logging_sfunc_strict(text, anyelement) RETURNS text AS $$ SELECT $1 || '*' || quote_nullable($2) $$ LANGUAGE SQL STRICT IMMUTABLE; @@ -176436,7 +176344,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/window.out --labe +CREATE AGGREGATE logging_agg_strict (text) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 CREATE AGGREGATE logging_agg_strict_initcond (anyelement) ( stype = text, @@ -176449,7 +176357,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/window.out --labe +CREATE AGGREGATE logging_agg_strict_initcond (anyelement) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- test strict and non-strict cases SELECT p::text || ',' || i::text || ':' || COALESCE(v::text, 'NULL') AS row, @@ -176549,7 +176457,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/window.out --labe +CREATE AGGREGATE sum_int_randomrestart (int4) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 WITH vs AS ( SELECT i, (random() * 100)::int4 AS v @@ -176659,7 +176567,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/window.out --labe +SELECT i,SUM(v::money) OVER (ORDER BY i ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/41578/dev ++See: https://go.crdb.dev/issue-v/41578/v24.3 SELECT i,SUM(v::interval) OVER (ORDER BY i ROWS BETWEEN CURRENT ROW AND UNBOUNDED FOLLOWING) FROM (VALUES(1,'1 sec'),(2,'2 sec'),(3,NULL),(4,NULL)) t(i,v); i | sum @@ -177185,7 +177093,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/indirect_toast.ou LANGUAGE C STRICT; +ERROR: unimplemented: C is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/102201/dev ++See: https://go.crdb.dev/issue-v/102201/v24.3 -- Other compression algorithms may cause the compressed data to be stored -- inline. pglz guarantees that the data is externalized, so stick to it. SET default_toast_compression = 'pglz'; @@ -177220,25 +177128,17 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/indirect_toast.ou SELECT substring(indtoasttest::text, 1, 200) FROM indtoasttest; substring ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -@@ -94,11 +97,17 @@ - NEW := make_tuple_indirect(NEW); - RETURN NEW; - END$$; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev - CREATE TRIGGER indtoasttest_update_indirect - BEFORE INSERT OR UPDATE +@@ -99,6 +102,9 @@ ON indtoasttest FOR EACH ROW EXECUTE PROCEDURE update_using_indirect(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- modification without changing varlenas UPDATE indtoasttest SET cnt = cnt +1 RETURNING substring(indtoasttest::text, 1, 200); substring -@@ -151,6 +160,10 @@ +@@ -151,6 +157,10 @@ -- check we didn't screw with main/toast tuple visibility VACUUM FREEZE indtoasttest; @@ -177249,11 +177149,9 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/indirect_toast.ou SELECT substring(indtoasttest::text, 1, 200) FROM indtoasttest; substring ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -@@ -163,4 +176,6 @@ - +@@ -164,3 +174,4 @@ DROP TABLE indtoasttest; DROP FUNCTION update_using_indirect(); -+ERROR: unknown function: update_using_indirect() RESET default_toast_compression; +ERROR: unrecognized configuration parameter "default_toast_compression" diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --label=/mnt/data1/postgres/src/test/regress/results/tsearch.out /mnt/data1/postgres/src/test/regress/expected/tsearch.out /mnt/data1/postgres/src/test/regress/results/tsearch.out @@ -178595,7 +178493,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_lexize('english_stem', 'identity'); - ts_lexize ------------ @@ -178604,7 +178502,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_lexize(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT * FROM ts_token_type('default'); - tokid | alias | description --------+-----------------+------------------------------------------ @@ -178940,7 +178838,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_debug(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 -- check parsing of URLs SELECT * from ts_debug('english', 'http://www.harewoodsolutions.co.uk/press.aspx'); - alias | description | token | dictionaries | dictionary | lexemes @@ -178954,7 +178852,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_debug(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT * from ts_debug('english', 'http://aew.wer0c.ewr/id?ad=qwe&dw'); - alias | description | token | dictionaries | dictionary | lexemes -----------+---------------+----------------------------+--------------+------------+------------------------------ @@ -178967,7 +178865,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_debug(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT * from ts_debug('english', 'http://5aew.werc.ewr:8100/?'); - alias | description | token | dictionaries | dictionary | lexemes -----------+---------------+----------------------+--------------+------------+------------------------ @@ -178979,7 +178877,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_debug(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT * from ts_debug('english', '5aew.werc.ewr:8100/?xx'); - alias | description | token | dictionaries | dictionary | lexemes -----------+-------------+------------------------+--------------+------------+-------------------------- @@ -178990,7 +178888,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_debug(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT token, alias, dictionaries, dictionaries is null as dnull, array_dims(dictionaries) as ddims, lexemes, lexemes is null as lnull, array_dims(lexemes) as ldims @@ -179004,7 +178902,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_debug(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 -- to_tsquery SELECT to_tsquery('english', 'qwe & sKies '); to_tsquery @@ -179063,7 +178961,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_rank_cd(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_rank_cd(to_tsvector('english', ' Day after day, day after day, We stuck, nor breath nor motion, @@ -179078,7 +178976,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_rank_cd(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_rank_cd(to_tsvector('english', ' Day after day, day after day, We stuck, nor breath nor motion, @@ -179093,7 +178991,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_rank_cd(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_rank_cd(to_tsvector('english', ' Day after day, day after day, We stuck, nor breath nor motion, @@ -179108,7 +179006,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_rank_cd(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_rank_cd(strip(to_tsvector('both stripped')), to_tsquery('both & stripped')); - ts_rank_cd @@ -179118,7 +179016,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_rank_cd(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_rank_cd(to_tsvector('unstripped') || strip(to_tsvector('stripped')), to_tsquery('unstripped & stripped')); - ts_rank_cd @@ -179128,7 +179026,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_rank_cd(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 --headline tests SELECT ts_headline('english', ' Day after day, day after day, @@ -179146,7 +179044,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_headline(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_headline('english', ' Day after day, day after day, We stuck, nor breath nor motion, @@ -179164,7 +179062,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_headline(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_headline('english', ' Day after day, day after day, We stuck, nor breath nor motion, @@ -179182,7 +179080,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_headline(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_headline('english', ' Day after day, day after day, We stuck, nor breath nor motion, @@ -179204,7 +179102,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_headline(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_headline('english', ' Day after day, day after day, We stuck, nor breath nor motion, @@ -179221,7 +179119,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_headline(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_headline('english', ' Day after day, day after day, We stuck, nor breath nor motion, @@ -179238,7 +179136,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_headline(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_headline('english', ' Day after day, day after day, We stuck, nor breath nor motion, @@ -179258,7 +179156,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_headline(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_headline('english', ' Day after day, day after day, We stuck, nor breath nor motion, @@ -179276,7 +179174,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_headline(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_headline('english', ' Day after day, day after day, We stuck, nor breath nor motion, @@ -179294,7 +179192,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_headline(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_headline('english', ' Day after day, day after day, We stuck, nor breath nor motion, @@ -179312,7 +179210,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_headline(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_headline('english', ' Day after day, day after day, We stuck, nor breath nor motion, @@ -179330,7 +179228,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_headline(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_headline('english', 'Lorem ipsum urna. Nullam nullam ullamcorper urna.', to_tsquery('english','Lorem') && phraseto_tsquery('english','ullamcorper urna'), @@ -179342,7 +179240,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_headline(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_headline('english', 'Lorem ipsum urna. Nullam nullam ullamcorper urna.', phraseto_tsquery('english','ullamcorper urna'), @@ -179354,7 +179252,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_headline(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_headline('english', ' @@ -179380,7 +179278,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_headline(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_headline('simple', '1 2 3 1 3'::text, '1 <-> 3', 'MaxWords=2, MinWords=1'); - ts_headline -------------------- @@ -179389,7 +179287,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_headline(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_headline('simple', '1 2 3 1 3'::text, '1 & 3', 'MaxWords=4, MinWords=1'); - ts_headline ---------------------- @@ -179398,7 +179296,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_headline(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_headline('simple', '1 2 3 1 3'::text, '1 <-> 3', 'MaxWords=4, MinWords=1'); - ts_headline -------------------- @@ -179407,7 +179305,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_headline(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 --Check if headline fragments work SELECT ts_headline('english', ' Day after day, day after day, @@ -179429,7 +179327,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_headline(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 --Check if more than one fragments are displayed SELECT ts_headline('english', ' Day after day, day after day, @@ -179451,7 +179349,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_headline(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 --Fragments when there all query words are not in the document SELECT ts_headline('english', ' Day after day, day after day, @@ -179469,7 +179367,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_headline(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 --FragmentDelimiter option SELECT ts_headline('english', ' Day after day, day after day, @@ -179491,7 +179389,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_headline(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 --Fragments with phrase search SELECT ts_headline('english', 'Lorem ipsum urna. Nullam nullam ullamcorper urna.', @@ -179504,7 +179402,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_headline(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 -- Edge cases with empty query SELECT ts_headline('english', '', to_tsquery('english', '')); @@ -179516,7 +179414,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_headline(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_headline('english', 'foo bar', to_tsquery('english', '')); -NOTICE: text-search query doesn't contain lexemes: "" @@ -179527,7 +179425,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_headline(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 --Rewrite sub system CREATE TABLE test_tsquery (txtkeyword TEXT, txtsample TEXT); \set ECHO none @@ -179571,7 +179469,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab CREATE UNIQUE INDEX bt_tsq ON test_tsquery (keyword); +ERROR: unimplemented: column keyword is of type tsquery and thus is not indexable +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/35730/dev ++See: https://go.crdb.dev/issue-v/35730/v24.3 SET enable_seqscan=OFF; +WARNING: setting session var "enable_seqscan" is a no-op SELECT COUNT(*) FROM test_tsquery WHERE keyword < 'new <-> york'; @@ -179618,7 +179516,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_rewrite(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_rewrite(ts_rewrite('new & !york ', 'york', '!jersey'), 'jersey', 'mexico'); - ts_rewrite @@ -179628,7 +179526,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_rewrite(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_rewrite('moscow', 'SELECT keyword, sample FROM test_tsquery'::text ); - ts_rewrite ---------------------- @@ -179637,7 +179535,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_rewrite(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_rewrite('moscow & hotel', 'SELECT keyword, sample FROM test_tsquery'::text ); - ts_rewrite ------------------------------------ @@ -179646,7 +179544,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_rewrite(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_rewrite('bar & qq & foo & (new <-> york)', 'SELECT keyword, sample FROM test_tsquery'::text ); - ts_rewrite -------------------------------------------------------------------------------------- @@ -179655,7 +179553,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_rewrite(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_rewrite( 'moscow', 'SELECT keyword, sample FROM test_tsquery'); - ts_rewrite ---------------------- @@ -179664,7 +179562,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_rewrite(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_rewrite( 'moscow & hotel', 'SELECT keyword, sample FROM test_tsquery'); - ts_rewrite ------------------------------------ @@ -179673,7 +179571,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_rewrite(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_rewrite( 'bar & qq & foo & (new <-> york)', 'SELECT keyword, sample FROM test_tsquery'); - ts_rewrite -------------------------------------------------------------------------------------- @@ -179682,7 +179580,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_rewrite(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_rewrite('1 & (2 <-> 3)', 'SELECT keyword, sample FROM test_tsquery'::text ); - ts_rewrite -------------- @@ -179691,7 +179589,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_rewrite(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_rewrite('1 & (2 <2> 3)', 'SELECT keyword, sample FROM test_tsquery'::text ); - ts_rewrite -------------------- @@ -179700,7 +179598,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_rewrite(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_rewrite('5 <-> (1 & (2 <-> 3))', 'SELECT keyword, sample FROM test_tsquery'::text ); - ts_rewrite -------------------------- @@ -179709,7 +179607,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_rewrite(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_rewrite('5 <-> (6 | 8)', 'SELECT keyword, sample FROM test_tsquery'::text ); - ts_rewrite ------------------------ @@ -179718,7 +179616,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_rewrite(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 -- Check empty substitution SELECT ts_rewrite(to_tsquery('5 & (6 | 5)'), to_tsquery('5'), to_tsquery('')); -NOTICE: text-search query doesn't contain lexemes: "" @@ -179729,7 +179627,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_rewrite(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_rewrite(to_tsquery('!5'), to_tsquery('5'), to_tsquery('')); -NOTICE: text-search query doesn't contain lexemes: "" - ts_rewrite @@ -179739,7 +179637,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_rewrite(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT keyword FROM test_tsquery WHERE keyword @> 'new'; - keyword ------------------- @@ -179775,7 +179673,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_rewrite(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_rewrite( query, 'SELECT keyword, sample FROM test_tsquery' ) FROM to_tsquery('english', 'moscow & hotel') AS query; - ts_rewrite ------------------------------------ @@ -179784,7 +179682,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_rewrite(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_rewrite( query, 'SELECT keyword, sample FROM test_tsquery' ) FROM to_tsquery('english', 'bar & qq & foo & (new <-> york)') AS query; - ts_rewrite -------------------------------------------------------------------------------------- @@ -179793,7 +179691,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_rewrite(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_rewrite( query, 'SELECT keyword, sample FROM test_tsquery' ) FROM to_tsquery('english', 'moscow') AS query; - ts_rewrite ---------------------- @@ -179802,7 +179700,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_rewrite(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_rewrite( query, 'SELECT keyword, sample FROM test_tsquery' ) FROM to_tsquery('english', 'moscow & hotel') AS query; - ts_rewrite ------------------------------------ @@ -179811,7 +179709,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_rewrite(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_rewrite( query, 'SELECT keyword, sample FROM test_tsquery' ) FROM to_tsquery('english', 'bar & qq & foo & (new <-> york)') AS query; - ts_rewrite -------------------------------------------------------------------------------------- @@ -179820,10 +179718,10 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_rewrite(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 CREATE INDEX qq ON test_tsquery USING gist (keyword tsquery_ops); +ERROR: column keyword of type tsquery is not allowed as the last column in an inverted index -+HINT: see the documentation for more information about inverted indexes: https://www.cockroachlabs.com/docs/dev/inverted-indexes.html ++HINT: see the documentation for more information about inverted indexes: https://www.cockroachlabs.com/docs/v24.3/inverted-indexes.html SET enable_seqscan=OFF; +WARNING: setting session var "enable_seqscan" is a no-op SELECT keyword FROM test_tsquery WHERE keyword @> 'new'; @@ -179861,7 +179759,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_rewrite(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_rewrite( query, 'SELECT keyword, sample FROM test_tsquery' ) FROM to_tsquery('english', 'moscow & hotel') AS query; - ts_rewrite ------------------------------------ @@ -179870,7 +179768,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_rewrite(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_rewrite( query, 'SELECT keyword, sample FROM test_tsquery' ) FROM to_tsquery('english', 'bar & qq & foo & (new <-> york)') AS query; - ts_rewrite -------------------------------------------------------------------------------------- @@ -179879,7 +179777,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_rewrite(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_rewrite( query, 'SELECT keyword, sample FROM test_tsquery' ) FROM to_tsquery('english', 'moscow') AS query; - ts_rewrite ---------------------- @@ -179888,7 +179786,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_rewrite(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_rewrite( query, 'SELECT keyword, sample FROM test_tsquery' ) FROM to_tsquery('english', 'moscow & hotel') AS query; - ts_rewrite ------------------------------------ @@ -179897,7 +179795,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_rewrite(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_rewrite( query, 'SELECT keyword, sample FROM test_tsquery' ) FROM to_tsquery('english', 'bar & qq & foo & (new <-> york)') AS query; - ts_rewrite -------------------------------------------------------------------------------------- @@ -179906,7 +179804,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_rewrite(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT ts_rewrite(tsquery_phrase('foo', 'foo'), 'foo', 'bar | baz'); - ts_rewrite ------------------------------------------ @@ -179915,7 +179813,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_rewrite(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT to_tsvector('foo bar') @@ ts_rewrite(tsquery_phrase('foo', 'foo'), 'foo', 'bar | baz'); - ?column? @@ -179925,7 +179823,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_rewrite(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 SELECT to_tsvector('bar baz') @@ ts_rewrite(tsquery_phrase('foo', 'foo'), 'foo', 'bar | baz'); - ?column? @@ -179935,7 +179833,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: ts_rewrite(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 RESET enable_seqscan; +WARNING: setting session var "enable_seqscan" is a no-op --test GUC @@ -179947,7 +179845,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab FOR EACH ROW EXECUTE PROCEDURE tsvector_update_trigger(a, 'pg_catalog.english', t); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 SELECT count(*) FROM test_tsvector WHERE a @@ to_tsquery('345&qwerty'); count ------- @@ -180025,7 +179923,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select websearch_to_tsquery('simple', 'orange:**AABBCCDD'); - websearch_to_tsquery ------------------------ @@ -180034,7 +179932,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select websearch_to_tsquery('simple', 'fat:A!cat:B|rat:C<'); - websearch_to_tsquery ------------------------------------------ @@ -180043,7 +179941,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select websearch_to_tsquery('simple', 'fat:A : cat:B'); - websearch_to_tsquery ---------------------------- @@ -180052,7 +179950,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select websearch_to_tsquery('simple', 'fat*rat'); - websearch_to_tsquery ----------------------- @@ -180061,7 +179959,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select websearch_to_tsquery('simple', 'fat-rat'); - websearch_to_tsquery -------------------------------- @@ -180070,7 +179968,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select websearch_to_tsquery('simple', 'fat_rat'); - websearch_to_tsquery ----------------------- @@ -180079,7 +179977,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 -- weights are completely ignored select websearch_to_tsquery('simple', 'abc : def'); - websearch_to_tsquery @@ -180089,7 +179987,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select websearch_to_tsquery('simple', 'abc:def'); - websearch_to_tsquery ----------------------- @@ -180098,7 +179996,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select websearch_to_tsquery('simple', 'a:::b'); - websearch_to_tsquery ----------------------- @@ -180107,7 +180005,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select websearch_to_tsquery('simple', 'abc:d'); - websearch_to_tsquery ----------------------- @@ -180116,7 +180014,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select websearch_to_tsquery('simple', ':'); -NOTICE: text-search query contains only stop words or doesn't contain lexemes, ignored - websearch_to_tsquery @@ -180126,7 +180024,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 -- these operators are ignored select websearch_to_tsquery('simple', 'abc & def'); - websearch_to_tsquery @@ -180136,7 +180034,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select websearch_to_tsquery('simple', 'abc | def'); - websearch_to_tsquery ----------------------- @@ -180145,7 +180043,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select websearch_to_tsquery('simple', 'abc <-> def'); - websearch_to_tsquery ----------------------- @@ -180154,7 +180052,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select websearch_to_tsquery('simple', 'abc (pg or class)'); - websearch_to_tsquery ------------------------- @@ -180163,7 +180061,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 -- NOT is ignored in quotes select websearch_to_tsquery('english', 'My brand new smartphone'); - websearch_to_tsquery @@ -180173,7 +180071,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select websearch_to_tsquery('english', 'My brand "new smartphone"'); - websearch_to_tsquery ---------------------------------- @@ -180182,7 +180080,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select websearch_to_tsquery('english', 'My brand "new -smartphone"'); - websearch_to_tsquery ---------------------------------- @@ -180191,7 +180089,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 -- test OR operator select websearch_to_tsquery('simple', 'cat or rat'); - websearch_to_tsquery @@ -180201,7 +180099,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select websearch_to_tsquery('simple', 'cat OR rat'); - websearch_to_tsquery ----------------------- @@ -180210,7 +180108,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select websearch_to_tsquery('simple', 'cat "OR" rat'); - websearch_to_tsquery ----------------------- @@ -180219,7 +180117,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select websearch_to_tsquery('simple', 'cat OR'); - websearch_to_tsquery ----------------------- @@ -180228,7 +180126,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select websearch_to_tsquery('simple', 'OR rat'); - websearch_to_tsquery ----------------------- @@ -180237,7 +180135,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select websearch_to_tsquery('simple', '"fat cat OR rat"'); - websearch_to_tsquery ------------------------------------- @@ -180246,7 +180144,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select websearch_to_tsquery('simple', 'fat (cat OR rat'); - websearch_to_tsquery ------------------------ @@ -180255,7 +180153,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select websearch_to_tsquery('simple', 'or OR or'); - websearch_to_tsquery ----------------------- @@ -180264,7 +180162,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 -- OR is an operator here ... select websearch_to_tsquery('simple', '"fat cat"or"fat rat"'); - websearch_to_tsquery @@ -180274,7 +180172,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select websearch_to_tsquery('simple', 'fat or(rat'); - websearch_to_tsquery ----------------------- @@ -180283,7 +180181,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select websearch_to_tsquery('simple', 'fat or)rat'); - websearch_to_tsquery ----------------------- @@ -180292,7 +180190,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select websearch_to_tsquery('simple', 'fat or&rat'); - websearch_to_tsquery ----------------------- @@ -180301,7 +180199,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select websearch_to_tsquery('simple', 'fat or|rat'); - websearch_to_tsquery ----------------------- @@ -180310,7 +180208,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select websearch_to_tsquery('simple', 'fat or!rat'); - websearch_to_tsquery ----------------------- @@ -180319,7 +180217,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select websearch_to_tsquery('simple', 'fat orrat'); - websearch_to_tsquery ----------------------- @@ -180337,7 +180235,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select websearch_to_tsquery('simple', 'fat or '); - websearch_to_tsquery ----------------------- @@ -180346,7 +180244,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 -- ... but not here select websearch_to_tsquery('simple', 'abc orange'); - websearch_to_tsquery @@ -180356,7 +180254,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select websearch_to_tsquery('simple', 'abc OR1234'); - websearch_to_tsquery ----------------------- @@ -180365,7 +180263,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select websearch_to_tsquery('simple', 'abc or-abc'); - websearch_to_tsquery -------------------------------------- @@ -180374,7 +180272,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select websearch_to_tsquery('simple', 'abc OR_abc'); - websearch_to_tsquery ------------------------- @@ -180383,7 +180281,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 -- test quotes select websearch_to_tsquery('english', '"pg_class pg'); - websearch_to_tsquery @@ -180393,7 +180291,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select websearch_to_tsquery('english', 'pg_class pg"'); - websearch_to_tsquery -------------------------- @@ -180402,7 +180300,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select websearch_to_tsquery('english', '"pg_class pg"'); - websearch_to_tsquery ---------------------------- @@ -180411,7 +180309,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select websearch_to_tsquery('english', '"pg_class : pg"'); - websearch_to_tsquery ---------------------------- @@ -180420,7 +180318,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select websearch_to_tsquery('english', 'abc "pg_class pg"'); - websearch_to_tsquery ------------------------------------ @@ -180429,7 +180327,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select websearch_to_tsquery('english', '"pg_class pg" def'); - websearch_to_tsquery ------------------------------------ @@ -180438,7 +180336,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select websearch_to_tsquery('english', 'abc "pg pg_class pg" def'); - websearch_to_tsquery ----------------------------------------------------- @@ -180447,7 +180345,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select websearch_to_tsquery('english', ' or "pg pg_class pg" or '); - websearch_to_tsquery ------------------------------------- @@ -180456,7 +180354,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select websearch_to_tsquery('english', '""pg pg_class pg""'); - websearch_to_tsquery --------------------------------- @@ -180465,7 +180363,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select websearch_to_tsquery('english', 'abc """"" def'); - websearch_to_tsquery ----------------------- @@ -180474,7 +180372,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select websearch_to_tsquery('english', 'cat -"fat rat"'); - websearch_to_tsquery ------------------------------- @@ -180483,7 +180381,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select websearch_to_tsquery('english', 'cat -"fat rat" cheese'); - websearch_to_tsquery ----------------------------------------- @@ -180492,7 +180390,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select websearch_to_tsquery('english', 'abc "def -"'); - websearch_to_tsquery ----------------------- @@ -180501,7 +180399,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select websearch_to_tsquery('english', 'abc "def :"'); - websearch_to_tsquery ----------------------- @@ -180510,7 +180408,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select websearch_to_tsquery('english', '"A fat cat" has just eaten a -rat.'); - websearch_to_tsquery ------------------------------------- @@ -180519,7 +180417,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select websearch_to_tsquery('english', '"A fat cat" has just eaten OR !rat.'); - websearch_to_tsquery ------------------------------------ @@ -180528,7 +180426,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select websearch_to_tsquery('english', '"A fat cat" has just (+eaten OR -rat)'); - websearch_to_tsquery ------------------------------------- @@ -180537,7 +180435,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select websearch_to_tsquery('english', 'this is ----fine'); - websearch_to_tsquery ----------------------- @@ -180546,7 +180444,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select websearch_to_tsquery('english', '(()) )))) this ||| is && -fine, "dear friend" OR good'); - websearch_to_tsquery ----------------------------------------- @@ -180555,7 +180453,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select websearch_to_tsquery('english', 'an old <-> cat " is fine &&& too'); - websearch_to_tsquery ------------------------- @@ -180564,7 +180462,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select websearch_to_tsquery('english', '"A the" OR just on'); -NOTICE: text-search query contains only stop words or doesn't contain lexemes, ignored - websearch_to_tsquery @@ -180574,7 +180472,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select websearch_to_tsquery('english', '"a fat cat" ate a rat'); - websearch_to_tsquery ---------------------------------- @@ -180583,7 +180481,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select to_tsvector('english', 'A fat cat ate a rat') @@ websearch_to_tsquery('english', '"a fat cat" ate a rat'); - ?column? @@ -180593,7 +180491,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select to_tsvector('english', 'A fat grey cat ate a rat') @@ websearch_to_tsquery('english', '"a fat cat" ate a rat'); - ?column? @@ -180603,7 +180501,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 -- cases handled by gettoken_tsvector() select websearch_to_tsquery(''''); -NOTICE: text-search query contains only stop words or doesn't contain lexemes, ignored @@ -180614,7 +180512,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select websearch_to_tsquery('''abc''''def'''); - websearch_to_tsquery ----------------------- @@ -180623,7 +180521,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select websearch_to_tsquery('\abc'); - websearch_to_tsquery ----------------------- @@ -180632,7 +180530,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select websearch_to_tsquery('\'); -NOTICE: text-search query contains only stop words or doesn't contain lexemes, ignored - websearch_to_tsquery @@ -180642,7 +180540,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/tsearch.out --lab - +ERROR: websearch_to_tsquery(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/cluster.out --label=/mnt/data1/postgres/src/test/regress/results/cluster.out /mnt/data1/postgres/src/test/regress/expected/cluster.out /mnt/data1/postgres/src/test/regress/results/cluster.out --- /mnt/data1/postgres/src/test/regress/expected/cluster.out +++ /mnt/data1/postgres/src/test/regress/results/cluster.out @@ -180650,13 +180548,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/cluster.out --lab -- CREATE TABLE clstr_tst_s (rf_a SERIAL PRIMARY KEY, b INT); -+NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/dev/serial.html ++NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/v24.3/serial.html CREATE TABLE clstr_tst (a SERIAL PRIMARY KEY, b INT, c TEXT, d TEXT, CONSTRAINT clstr_tst_con FOREIGN KEY (b) REFERENCES clstr_tst_s); -+NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/dev/serial.html ++NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/v24.3/serial.html CREATE INDEX clstr_tst_b ON clstr_tst (b); CREATE INDEX clstr_tst_c ON clstr_tst (c); CREATE INDEX clstr_tst_c_b ON clstr_tst (c,b); @@ -180669,7 +180567,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/cluster.out --lab +CREATE TABLE clstr_tst_inh () INHERITS (clstr_tst) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 INSERT INTO clstr_tst (b, c) VALUES (11, 'once'); +ERROR: insert on table "clstr_tst" violates foreign key constraint "clstr_tst_con" +DETAIL: Key (b)=(11) is not present in table "clstr_tst_s". @@ -181109,7 +181007,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/cluster.out --lab +SET SESSION AUTHORIZATION regress_clstr_user + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CLUSTER; +ERROR: at or near "cluster": syntax error +DETAIL: source SQL: @@ -181374,7 +181272,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/cluster.out --lab +SET SESSION AUTHORIZATION regress_ptnowner + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CLUSTER ptnowner USING ptnowner_i_idx; +ERROR: at or near "cluster": syntax error +DETAIL: source SQL: @@ -181668,7 +181566,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/foreign_data.out LANGUAGE C; +ERROR: unimplemented: C is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/102201/dev ++See: https://go.crdb.dev/issue-v/102201/v24.3 -- Clean up in case a prior regression run failed -- Suppress NOTICE messages when roles don't exist SET client_min_messages TO 'warning'; @@ -181685,7 +181583,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/foreign_data.out +SET SESSION AUTHORIZATION 'regress_foreign_data_user' + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE ROLE regress_test_role; CREATE ROLE regress_test_role2; CREATE ROLE regress_test_role_super SUPERUSER; @@ -184720,7 +184618,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/foreign_data.out RESET ROLE; -- has_foreign_data_wrapper_privilege -@@ -1096,299 +2460,653 @@ +@@ -1096,255 +2460,566 @@ (SELECT oid FROM pg_foreign_data_wrapper WHERE fdwname='foo'), 'USAGE'); has_foreign_data_wrapper_privilege ------------------------------------ @@ -185414,26 +185312,20 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/foreign_data.out -- Triggers CREATE FUNCTION dummy_trigger() RETURNS TRIGGER AS $$ BEGIN - RETURN NULL; - END - $$ language plpgsql; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev - CREATE TRIGGER trigtest_before_stmt BEFORE INSERT OR UPDATE OR DELETE +@@ -1355,39 +3030,78 @@ ON foreign_schema.foreign_table_1 FOR EACH STATEMENT EXECUTE PROCEDURE dummy_trigger(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER trigtest_after_stmt AFTER INSERT OR UPDATE OR DELETE ON foreign_schema.foreign_table_1 FOR EACH STATEMENT EXECUTE PROCEDURE dummy_trigger(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER trigtest_after_stmt_tt AFTER INSERT OR UPDATE OR DELETE -- ERROR ON foreign_schema.foreign_table_1 REFERENCING NEW TABLE AS new_table @@ -185443,21 +185335,21 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/foreign_data.out -DETAIL: Triggers on foreign tables cannot have transition tables. +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER trigtest_before_row BEFORE INSERT OR UPDATE OR DELETE ON foreign_schema.foreign_table_1 FOR EACH ROW EXECUTE PROCEDURE dummy_trigger(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER trigtest_after_row AFTER INSERT OR UPDATE OR DELETE ON foreign_schema.foreign_table_1 FOR EACH ROW EXECUTE PROCEDURE dummy_trigger(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE CONSTRAINT TRIGGER trigtest_constraint AFTER INSERT OR UPDATE OR DELETE ON foreign_schema.foreign_table_1 FOR EACH ROW @@ -185469,7 +185361,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/foreign_data.out +CREATE CONSTRAINT TRIGGER trigtest_constraint AFTER INSERT OR UPDATE OR DELETE + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/28296/dev ++See: https://go.crdb.dev/issue-v/28296/v24.3 ALTER FOREIGN TABLE foreign_schema.foreign_table_1 DISABLE TRIGGER trigtest_before_stmt; +ERROR: at or near "foreign": syntax error @@ -185487,25 +185379,23 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/foreign_data.out DROP TRIGGER trigtest_before_stmt ON foreign_schema.foreign_table_1; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 DROP TRIGGER trigtest_before_row ON foreign_schema.foreign_table_1; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 DROP TRIGGER trigtest_after_stmt ON foreign_schema.foreign_table_1; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 DROP TRIGGER trigtest_after_row ON foreign_schema.foreign_table_1; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 DROP FUNCTION dummy_trigger(); -+ERROR: unknown function: dummy_trigger() -- Table inheritance CREATE TABLE fd_pt1 ( - c1 integer NOT NULL, -@@ -1397,113 +3115,181 @@ +@@ -1397,113 +3111,181 @@ ); CREATE FOREIGN TABLE ft2 () INHERITS (fd_pt1) SERVER s0 OPTIONS (delimiter ',', quote '"', "be quoted" 'value'); @@ -185684,7 +185574,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/foreign_data.out +CREATE TABLE ct3() INHERITS(ft2) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 CREATE FOREIGN TABLE ft3 ( c1 integer NOT NULL, c2 text, @@ -185771,7 +185661,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/foreign_data.out -- add attributes recursively ALTER TABLE fd_pt1 ADD COLUMN c4 integer; ALTER TABLE fd_pt1 ADD COLUMN c5 integer DEFAULT 0; -@@ -1511,111 +3297,109 @@ +@@ -1511,111 +3293,109 @@ ALTER TABLE fd_pt1 ADD COLUMN c7 integer NOT NULL; ALTER TABLE fd_pt1 ADD COLUMN c8 integer; \d+ fd_pt1 @@ -185879,17 +185769,17 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/foreign_data.out ALTER TABLE fd_pt1 ALTER COLUMN c8 TYPE char(10) USING '0'; -- ERROR -ERROR: "ft2" is not a table +ERROR: ALTER COLUMN TYPE from int to char is only supported experimentally -+HINT: See: https://go.crdb.dev/issue-v/49329/dev ++HINT: See: https://go.crdb.dev/issue-v/49329/v24.3 +-- +you can enable alter column type general support by running `SET enable_experimental_alter_column_type_general = true` ALTER TABLE fd_pt1 ALTER COLUMN c8 TYPE char(10); +ERROR: ALTER COLUMN TYPE from int to char is only supported experimentally -+HINT: See: https://go.crdb.dev/issue-v/49329/dev ++HINT: See: https://go.crdb.dev/issue-v/49329/v24.3 +-- +you can enable alter column type general support by running `SET enable_experimental_alter_column_type_general = true` ALTER TABLE fd_pt1 ALTER COLUMN c8 SET DATA TYPE text; +ERROR: ALTER COLUMN TYPE from int to string is only supported experimentally -+HINT: See: https://go.crdb.dev/issue-v/49329/dev ++HINT: See: https://go.crdb.dev/issue-v/49329/v24.3 +-- +you can enable alter column type general support by running `SET enable_experimental_alter_column_type_general = true` ALTER TABLE fd_pt1 ALTER COLUMN c1 SET STATISTICS 10000; @@ -185969,7 +185859,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/foreign_data.out -- drop attributes recursively ALTER TABLE fd_pt1 DROP COLUMN c4; ALTER TABLE fd_pt1 DROP COLUMN c5; -@@ -1623,172 +3407,205 @@ +@@ -1623,172 +3403,205 @@ ALTER TABLE fd_pt1 DROP COLUMN c7; ALTER TABLE fd_pt1 DROP COLUMN c8; \d+ fd_pt1 @@ -186301,7 +186191,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/foreign_data.out -- changes name of an attribute recursively ALTER TABLE fd_pt1 RENAME COLUMN c1 TO f1; ALTER TABLE fd_pt1 RENAME COLUMN c2 TO f2; -@@ -1796,297 +3613,606 @@ +@@ -1796,297 +3609,606 @@ -- changes name of a constraint recursively ALTER TABLE fd_pt1 RENAME CONSTRAINT fd_pt1chk3 TO f2_check; \d+ fd_pt1 @@ -187760,7 +187650,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/foreign_key.out - +CREATE TABLE FKTABLE (ftest1 cidr, ftest2 timestamp, FOREIGN KEY(ftest1, ftest2) REFERENCES pktable) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/18846/dev ++See: https://go.crdb.dev/issue-v/18846/v24.3 -- Again, so should this... CREATE TABLE FKTABLE (ftest1 cidr, ftest2 timestamp, FOREIGN KEY(ftest1, ftest2) REFERENCES pktable(ptest1, ptest2)); -ERROR: foreign key constraint "fktable_ftest1_ftest2_fkey" cannot be implemented @@ -187770,7 +187660,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/foreign_key.out - +CREATE TABLE FKTABLE (ftest1 cidr, ftest2 timestamp, FOREIGN KEY(ftest1, ftest2) REFERENCES pktable(ptest1, ptest2)) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/18846/dev ++See: https://go.crdb.dev/issue-v/18846/v24.3 -- This fails because we mixed up the column ordering CREATE TABLE FKTABLE (ftest1 int, ftest2 inet, FOREIGN KEY(ftest2, ftest1) REFERENCES pktable); -ERROR: foreign key constraint "fktable_ftest2_ftest1_fkey" cannot be implemented @@ -187818,7 +187708,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/foreign_key.out - +create table pktable (ptest1 int, primary key(base1), unique(base1, ptest1)) inherits (pktable_base) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 create table fktable (ftest1 int references pktable(base1)); +ERROR: relation "pktable" does not exist -- now some ins, upd, del @@ -187909,7 +187799,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/foreign_key.out - + pktable(base1, ptest1)) inherits (pktable_base) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 insert into pktable (base1, ptest1, base2, ptest2) values (1, 1, 1, 1); +ERROR: relation "pktable" does not exist insert into pktable (base1, ptest1, base2, ptest2) values (2, 1, 1, 1); @@ -187949,7 +187839,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/foreign_key.out - +create table pktable(ptest1 inet, primary key(base1, ptest1)) inherits (pktable_base) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 -- just generally bad types (with and without column references on the referenced table) create table fktable(ftest1 cidr, ftest2 int[], foreign key (ftest1, ftest2) references pktable); -ERROR: foreign key constraint "fktable_ftest1_ftest2_fkey" cannot be implemented @@ -187959,7 +187849,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/foreign_key.out - +create table fktable(ftest1 cidr, ftest2 int[], foreign key (ftest1, ftest2) references pktable) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/18846/dev ++See: https://go.crdb.dev/issue-v/18846/v24.3 create table fktable(ftest1 cidr, ftest2 int[], foreign key (ftest1, ftest2) references pktable(base1, ptest1)); -ERROR: foreign key constraint "fktable_ftest1_ftest2_fkey" cannot be implemented -DETAIL: Key columns "ftest1" and "base1" are of incompatible types: cidr and integer. @@ -187968,7 +187858,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/foreign_key.out - +create table fktable(ftest1 cidr, ftest2 int[], foreign key (ftest1, ftest2) references pktable(base1, ptest1)) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/18846/dev ++See: https://go.crdb.dev/issue-v/18846/v24.3 -- let's mix up which columns reference which create table fktable(ftest1 int, ftest2 inet, foreign key(ftest2, ftest1) references pktable); -ERROR: foreign key constraint "fktable_ftest2_ftest1_fkey" cannot be implemented @@ -187997,7 +187887,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/foreign_key.out - + pktable(base1, ptest1)) inherits (pktable_base) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 create table pktable(ptest1 inet, ptest2 inet, primary key(base1, ptest1), foreign key(base2, ptest2) references pktable(ptest1, base1)) inherits (pktable_base); -ERROR: foreign key constraint "pktable_base2_ptest2_fkey" cannot be implemented @@ -188008,7 +187898,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/foreign_key.out - + pktable(ptest1, base1)) inherits (pktable_base) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 create table pktable(ptest1 inet, ptest2 inet, primary key(base1, ptest1), foreign key(ptest2, base2) references pktable(base1, ptest1)) inherits (pktable_base); -ERROR: foreign key constraint "pktable_ptest2_base2_fkey" cannot be implemented @@ -188019,7 +187909,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/foreign_key.out - + pktable(base1, ptest1)) inherits (pktable_base) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 create table pktable(ptest1 inet, ptest2 inet, primary key(base1, ptest1), foreign key(ptest2, base2) references pktable(base1, ptest1)) inherits (pktable_base); -ERROR: foreign key constraint "pktable_ptest2_base2_fkey" cannot be implemented @@ -188030,7 +187920,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/foreign_key.out - + pktable(base1, ptest1)) inherits (pktable_base) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 drop table pktable; -ERROR: table "pktable" does not exist +ERROR: relation "pktable" does not exist @@ -188362,7 +188252,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/foreign_key.out - +ALTER TABLE fktable ALTER CONSTRAINT fktable_fk_fkey DEFERRABLE INITIALLY IMMEDIATE + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31632/dev ++See: https://go.crdb.dev/issue-v/31632/v24.3 BEGIN; -- doesn't match FK, should throw error now UPDATE pktable SET id = 10 WHERE id = 5; @@ -188383,7 +188273,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/foreign_key.out - +ALTER TABLE fktable ALTER CONSTRAINT fktable_fk_fkey NOT DEFERRABLE + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31632/dev ++See: https://go.crdb.dev/issue-v/31632/v24.3 -- illegal option ALTER TABLE fktable ALTER CONSTRAINT fktable_fk_fkey NOT DEFERRABLE INITIALLY DEFERRED; -ERROR: constraint declared INITIALLY DEFERRED must be DEFERRABLE @@ -188394,7 +188284,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/foreign_key.out - +ALTER TABLE fktable ALTER CONSTRAINT fktable_fk_fkey NOT DEFERRABLE INITIALLY DEFERRED + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31632/dev ++See: https://go.crdb.dev/issue-v/31632/v24.3 -- test order of firing of FK triggers when several RI-induced changes need to -- be made to the same row. This was broken by subtransaction-related -- changes in 8.0. @@ -189258,7 +189148,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/foreign_key.out - + FOREIGN KEY (a, b) REFERENCES fk_notpartitioned_pk(a, b) ON UPDATE CASCADE ON DELETE CASCADE DEFERRABLE, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31632/dev ++See: https://go.crdb.dev/issue-v/31632/v24.3 CREATE TABLE fk_partitioned_fk_5_1 (a int, b int, FOREIGN KEY (a, b) REFERENCES fk_notpartitioned_pk); ALTER TABLE fk_partitioned_fk ATTACH PARTITION fk_partitioned_fk_5 FOR VALUES IN (4500); +ERROR: at or near "attach": syntax error @@ -190464,7 +190354,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/foreign_key.out - + DEFERRABLE INITIALLY DEFERRED + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31632/dev ++See: https://go.crdb.dev/issue-v/31632/v24.3 INSERT INTO pt VALUES(1,2,3); INSERT INTO ref VALUES(1,2,3); +ERROR: relation "ref" does not exist @@ -190528,7 +190418,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/foreign_key.out - + DEFERRABLE INITIALLY IMMEDIATE + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31632/dev ++See: https://go.crdb.dev/issue-v/31632/v24.3 ALTER TABLE ref ALTER CONSTRAINT ref_f1_f2_fkey DEFERRABLE INITIALLY DEFERRED; +ERROR: at or near "deferrable": syntax error: unimplemented: this syntax @@ -190537,7 +190427,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/foreign_key.out - + DEFERRABLE INITIALLY DEFERRED + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31632/dev ++See: https://go.crdb.dev/issue-v/31632/v24.3 BEGIN; DELETE FROM pt; DELETE FROM ref; @@ -190576,7 +190466,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/foreign_key.out - + DEFERRABLE INITIALLY DEFERRED + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31632/dev ++See: https://go.crdb.dev/issue-v/31632/v24.3 INSERT INTO pt VALUES(1,2,3); +ERROR: duplicate key value violates unique constraint "pt_pkey" +DETAIL: Key (f1, f2)=(1, 2) already exists. @@ -190630,7 +190520,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/foreign_key.out - + DEFERRABLE INITIALLY DEFERRED + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31632/dev ++See: https://go.crdb.dev/issue-v/31632/v24.3 ALTER TABLE ref ALTER CONSTRAINT ref_f1_f2_fkey DEFERRABLE INITIALLY DEFERRED; +ERROR: at or near "deferrable": syntax error: unimplemented: this syntax @@ -190639,7 +190529,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/foreign_key.out - + DEFERRABLE INITIALLY DEFERRED + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31632/dev ++See: https://go.crdb.dev/issue-v/31632/v24.3 INSERT INTO pt VALUES(1,2,3); +ERROR: relation "pt" does not exist INSERT INTO ref VALUES(1,2,3); @@ -191241,36 +191131,36 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/foreign_key.out - CREATE TRIGGER trig_upd_pk AFTER UPDATE ON fkpart11.pk FOR EACH ROW EXECUTE FUNCTION fkpart11.print_row(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER trig_del_pk AFTER DELETE ON fkpart11.pk FOR EACH ROW EXECUTE FUNCTION fkpart11.print_row(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER trig_ins_pk AFTER INSERT ON fkpart11.pk FOR EACH ROW EXECUTE FUNCTION fkpart11.print_row(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE CONSTRAINT TRIGGER trig_upd_fk_parted AFTER UPDATE ON fkpart11.fk_parted INITIALLY DEFERRED FOR EACH ROW EXECUTE FUNCTION fkpart11.print_row(); +ERROR: at or near "trig_upd_fk_parted": syntax error: unimplemented: this syntax +DETAIL: source SQL: +CREATE CONSTRAINT TRIGGER trig_upd_fk_parted AFTER UPDATE ON fkpart11.fk_parted INITIALLY DEFERRED FOR EACH ROW EXECUTE FUNCTION fkpart11.print_row() + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/28296/dev ++See: https://go.crdb.dev/issue-v/28296/v24.3 CREATE CONSTRAINT TRIGGER trig_del_fk_parted AFTER DELETE ON fkpart11.fk_parted INITIALLY DEFERRED FOR EACH ROW EXECUTE FUNCTION fkpart11.print_row(); +ERROR: at or near "trig_del_fk_parted": syntax error: unimplemented: this syntax +DETAIL: source SQL: +CREATE CONSTRAINT TRIGGER trig_del_fk_parted AFTER DELETE ON fkpart11.fk_parted INITIALLY DEFERRED FOR EACH ROW EXECUTE FUNCTION fkpart11.print_row() + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/28296/dev ++See: https://go.crdb.dev/issue-v/28296/v24.3 CREATE CONSTRAINT TRIGGER trig_ins_fk_parted AFTER INSERT ON fkpart11.fk_parted INITIALLY DEFERRED FOR EACH ROW EXECUTE FUNCTION fkpart11.print_row(); +ERROR: at or near "trig_ins_fk_parted": syntax error: unimplemented: this syntax +DETAIL: source SQL: +CREATE CONSTRAINT TRIGGER trig_ins_fk_parted AFTER INSERT ON fkpart11.fk_parted INITIALLY DEFERRED FOR EACH ROW EXECUTE FUNCTION fkpart11.print_row() + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/28296/dev ++See: https://go.crdb.dev/issue-v/28296/v24.3 UPDATE fkpart11.pk SET a = 3 WHERE a = 4; -NOTICE: TABLE: pk3, OP: DELETE, OLD: (4,yyy), NEW: -NOTICE: TABLE: pk2, OP: INSERT, OLD: , NEW: (3,yyy) @@ -191556,35 +191446,35 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath_encoding +SELECT '"\u"'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 +SELECT '"\u00"'::jsonpath; -- ERROR, incomplete escape +ERROR: at or near "EOF": syntax error: unimplemented: this syntax +DETAIL: source SQL: +SELECT '"\u00"'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 +SELECT '"\u000g"'::jsonpath; -- ERROR, g is not a hex digit +ERROR: at or near "EOF": syntax error: unimplemented: this syntax +DETAIL: source SQL: +SELECT '"\u000g"'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 +SELECT '"\u0000"'::jsonpath; -- OK, legal escape +ERROR: at or near "EOF": syntax error: unimplemented: this syntax +DETAIL: source SQL: +SELECT '"\u0000"'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 +SELECT '"\uaBcD"'::jsonpath; -- OK, uppercase and lower case both OK +ERROR: at or near "EOF": syntax error: unimplemented: this syntax +DETAIL: source SQL: +SELECT '"\uaBcD"'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 +-- handling of unicode surrogate pairs +select '"\ud83d\ude04\ud83d\udc36"'::jsonpath as correct_in_utf8; +ERROR: at or near "as": syntax error: unimplemented: this syntax @@ -191592,35 +191482,35 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath_encoding +select '"\ud83d\ude04\ud83d\udc36"'::jsonpath as correct_in_utf8 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 +select '"\ud83d\ud83d"'::jsonpath; -- 2 high surrogates in a row +ERROR: at or near "EOF": syntax error: unimplemented: this syntax +DETAIL: source SQL: +select '"\ud83d\ud83d"'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 +select '"\ude04\ud83d"'::jsonpath; -- surrogates in wrong order +ERROR: at or near "EOF": syntax error: unimplemented: this syntax +DETAIL: source SQL: +select '"\ude04\ud83d"'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 +select '"\ud83dX"'::jsonpath; -- orphan high surrogate +ERROR: at or near "EOF": syntax error: unimplemented: this syntax +DETAIL: source SQL: +select '"\ud83dX"'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 +select '"\ude04X"'::jsonpath; -- orphan low surrogate +ERROR: at or near "EOF": syntax error: unimplemented: this syntax +DETAIL: source SQL: +select '"\ude04X"'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 +--handling of simple unicode escapes +select '"the Copyright \u00a9 sign"'::jsonpath as correct_in_utf8; +ERROR: at or near "as": syntax error: unimplemented: this syntax @@ -191628,35 +191518,35 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath_encoding +select '"the Copyright \u00a9 sign"'::jsonpath as correct_in_utf8 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 +select '"dollar \u0024 character"'::jsonpath as correct_everywhere; +ERROR: at or near "as": syntax error: unimplemented: this syntax +DETAIL: source SQL: +select '"dollar \u0024 character"'::jsonpath as correct_everywhere + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 +select '"dollar \\u0024 character"'::jsonpath as not_an_escape; +ERROR: at or near "as": syntax error: unimplemented: this syntax +DETAIL: source SQL: +select '"dollar \\u0024 character"'::jsonpath as not_an_escape + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 +select '"null \u0000 escape"'::jsonpath as not_unescaped; +ERROR: at or near "as": syntax error: unimplemented: this syntax +DETAIL: source SQL: +select '"null \u0000 escape"'::jsonpath as not_unescaped + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 +select '"null \\u0000 escape"'::jsonpath as not_an_escape; +ERROR: at or near "as": syntax error: unimplemented: this syntax +DETAIL: source SQL: +select '"null \\u0000 escape"'::jsonpath as not_an_escape + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 +-- checks for quoted key names +-- basic unicode input +SELECT '$."\u"'::jsonpath; -- ERROR, incomplete escape @@ -191665,35 +191555,35 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath_encoding +SELECT '$."\u"'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 +SELECT '$."\u00"'::jsonpath; -- ERROR, incomplete escape +ERROR: at or near "EOF": syntax error: unimplemented: this syntax +DETAIL: source SQL: +SELECT '$."\u00"'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 +SELECT '$."\u000g"'::jsonpath; -- ERROR, g is not a hex digit +ERROR: at or near "EOF": syntax error: unimplemented: this syntax +DETAIL: source SQL: +SELECT '$."\u000g"'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 +SELECT '$."\u0000"'::jsonpath; -- OK, legal escape +ERROR: at or near "EOF": syntax error: unimplemented: this syntax +DETAIL: source SQL: +SELECT '$."\u0000"'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 +SELECT '$."\uaBcD"'::jsonpath; -- OK, uppercase and lower case both OK +ERROR: at or near "EOF": syntax error: unimplemented: this syntax +DETAIL: source SQL: +SELECT '$."\uaBcD"'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 +-- handling of unicode surrogate pairs +select '$."\ud83d\ude04\ud83d\udc36"'::jsonpath as correct_in_utf8; +ERROR: at or near "as": syntax error: unimplemented: this syntax @@ -191701,35 +191591,35 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath_encoding +select '$."\ud83d\ude04\ud83d\udc36"'::jsonpath as correct_in_utf8 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 +select '$."\ud83d\ud83d"'::jsonpath; -- 2 high surrogates in a row +ERROR: at or near "EOF": syntax error: unimplemented: this syntax +DETAIL: source SQL: +select '$."\ud83d\ud83d"'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 +select '$."\ude04\ud83d"'::jsonpath; -- surrogates in wrong order +ERROR: at or near "EOF": syntax error: unimplemented: this syntax +DETAIL: source SQL: +select '$."\ude04\ud83d"'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 +select '$."\ud83dX"'::jsonpath; -- orphan high surrogate +ERROR: at or near "EOF": syntax error: unimplemented: this syntax +DETAIL: source SQL: +select '$."\ud83dX"'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 +select '$."\ude04X"'::jsonpath; -- orphan low surrogate +ERROR: at or near "EOF": syntax error: unimplemented: this syntax +DETAIL: source SQL: +select '$."\ude04X"'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 +--handling of simple unicode escapes +select '$."the Copyright \u00a9 sign"'::jsonpath as correct_in_utf8; +ERROR: at or near "as": syntax error: unimplemented: this syntax @@ -191737,35 +191627,35 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath_encoding +select '$."the Copyright \u00a9 sign"'::jsonpath as correct_in_utf8 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 +select '$."dollar \u0024 character"'::jsonpath as correct_everywhere; +ERROR: at or near "as": syntax error: unimplemented: this syntax +DETAIL: source SQL: +select '$."dollar \u0024 character"'::jsonpath as correct_everywhere + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 +select '$."dollar \\u0024 character"'::jsonpath as not_an_escape; +ERROR: at or near "as": syntax error: unimplemented: this syntax +DETAIL: source SQL: +select '$."dollar \\u0024 character"'::jsonpath as not_an_escape + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 +select '$."null \u0000 escape"'::jsonpath as not_unescaped; +ERROR: at or near "as": syntax error: unimplemented: this syntax +DETAIL: source SQL: +select '$."null \u0000 escape"'::jsonpath as not_unescaped + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 +select '$."null \\u0000 escape"'::jsonpath as not_an_escape; +ERROR: at or near "as": syntax error: unimplemented: this syntax +DETAIL: source SQL: +select '$."null \\u0000 escape"'::jsonpath as not_an_escape + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --label=/mnt/data1/postgres/src/test/regress/results/jsonpath.out /mnt/data1/postgres/src/test/regress/expected/jsonpath.out /mnt/data1/postgres/src/test/regress/results/jsonpath.out --- /mnt/data1/postgres/src/test/regress/expected/jsonpath.out +++ /mnt/data1/postgres/src/test/regress/results/jsonpath.out @@ -191780,7 +191670,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select ''::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$'::jsonpath; - jsonpath ----------- @@ -191792,7 +191682,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select 'strict $'::jsonpath; - jsonpath ----------- @@ -191804,7 +191694,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select 'strict $'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select 'lax $'::jsonpath; - jsonpath ----------- @@ -191816,7 +191706,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select 'lax $'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$.a'::jsonpath; - jsonpath ----------- @@ -191828,7 +191718,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$.a'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$.a.v'::jsonpath; - jsonpath ------------ @@ -191840,7 +191730,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$.a.v'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$.a.*'::jsonpath; - jsonpath ----------- @@ -191852,7 +191742,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$.a.*'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$.*[*]'::jsonpath; - jsonpath ----------- @@ -191864,7 +191754,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$.*[*]'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$.a[*]'::jsonpath; - jsonpath ----------- @@ -191876,7 +191766,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$.a[*]'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$.a[*][*]'::jsonpath; - jsonpath -------------- @@ -191888,7 +191778,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$.a[*][*]'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$[*]'::jsonpath; - jsonpath ----------- @@ -191900,7 +191790,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$[*]'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$[0]'::jsonpath; - jsonpath ----------- @@ -191912,7 +191802,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$[0]'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$[*][0]'::jsonpath; - jsonpath ----------- @@ -191924,7 +191814,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$[*][0]'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$[*].a'::jsonpath; - jsonpath ----------- @@ -191936,7 +191826,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$[*].a'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$[*][0].a.b'::jsonpath; - jsonpath ------------------ @@ -191948,7 +191838,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$[*][0].a.b'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$.a.**.b'::jsonpath; - jsonpath --------------- @@ -191960,7 +191850,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$.a.**.b'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$.a.**{2}.b'::jsonpath; - jsonpath ------------------ @@ -191972,7 +191862,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$.a.**{2}.b'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$.a.**{2 to 2}.b'::jsonpath; - jsonpath ------------------ @@ -191984,7 +191874,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$.a.**{2 to 2}.b'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$.a.**{2 to 5}.b'::jsonpath; - jsonpath ----------------------- @@ -191996,7 +191886,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$.a.**{2 to 5}.b'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$.a.**{0 to 5}.b'::jsonpath; - jsonpath ----------------------- @@ -192008,7 +191898,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$.a.**{0 to 5}.b'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$.a.**{5 to last}.b'::jsonpath; - jsonpath -------------------------- @@ -192020,7 +191910,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$.a.**{5 to last}.b'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$.a.**{last}.b'::jsonpath; - jsonpath --------------------- @@ -192032,7 +191922,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$.a.**{last}.b'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$.a.**{last to 5}.b'::jsonpath; - jsonpath -------------------------- @@ -192044,7 +191934,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$.a.**{last to 5}.b'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$+1'::jsonpath; - jsonpath ----------- @@ -192056,7 +191946,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$+1'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$-1'::jsonpath; - jsonpath ----------- @@ -192068,7 +191958,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$-1'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$--+1'::jsonpath; - jsonpath ----------- @@ -192080,7 +191970,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$--+1'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$.a/+-1'::jsonpath; - jsonpath --------------- @@ -192092,7 +191982,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$.a/+-1'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '1 * 2 + 4 % -3 != false'::jsonpath; - jsonpath ---------------------------- @@ -192104,7 +191994,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '1 * 2 + 4 % -3 != false'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '"\b\f\r\n\t\v\"\''\\"'::jsonpath; - jsonpath -------------------------- @@ -192116,7 +192006,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '"\b\f\r\n\t\v\"\''\\"'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '"\x50\u0067\u{53}\u{051}\u{00004C}"'::jsonpath; - jsonpath ----------- @@ -192128,7 +192018,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '"\x50\u0067\u{53}\u{051}\u{00004C}"'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$.foo\x50\u0067\u{53}\u{051}\u{00004C}\t\"bar'::jsonpath; - jsonpath ---------------------- @@ -192140,7 +192030,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$.foo\x50\u0067\u{53}\u{051}\u{00004C}\t\"bar'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '"\z"'::jsonpath; -- unrecognized escape is just the literal char - jsonpath ----------- @@ -192152,7 +192042,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '"\z"'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$.g ? ($.a == 1)'::jsonpath; - jsonpath --------------------- @@ -192164,7 +192054,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$.g ? ($.a == 1)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$.g ? (@ == 1)'::jsonpath; - jsonpath ----------------- @@ -192176,7 +192066,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$.g ? (@ == 1)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$.g ? (@.a == 1)'::jsonpath; - jsonpath --------------------- @@ -192188,7 +192078,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$.g ? (@.a == 1)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$.g ? (@.a == 1 || @.a == 4)'::jsonpath; - jsonpath ----------------------------------- @@ -192200,7 +192090,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$.g ? (@.a == 1 || @.a == 4)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$.g ? (@.a == 1 && @.a == 4)'::jsonpath; - jsonpath ----------------------------------- @@ -192212,7 +192102,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$.g ? (@.a == 1 && @.a == 4)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$.g ? (@.a == 1 || @.a == 4 && @.b == 7)'::jsonpath; - jsonpath ------------------------------------------------- @@ -192224,7 +192114,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$.g ? (@.a == 1 || @.a == 4 && @.b == 7)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$.g ? (@.a == 1 || !(@.a == 4) && @.b == 7)'::jsonpath; - jsonpath ---------------------------------------------------- @@ -192236,7 +192126,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$.g ? (@.a == 1 || !(@.a == 4) && @.b == 7)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$.g ? (@.a == 1 || !(@.x >= 123 || @.a == 4) && @.b == 7)'::jsonpath; - jsonpath -------------------------------------------------------------------- @@ -192248,7 +192138,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$.g ? (@.a == 1 || !(@.x >= 123 || @.a == 4) && @.b == 7)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$.g ? (@.x >= @[*]?(@.a > "abc"))'::jsonpath; - jsonpath ---------------------------------------- @@ -192260,7 +192150,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$.g ? (@.x >= @[*]?(@.a > "abc"))'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$.g ? ((@.x >= 123 || @.a == 4) is unknown)'::jsonpath; - jsonpath -------------------------------------------------- @@ -192272,7 +192162,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$.g ? ((@.x >= 123 || @.a == 4) is unknown)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$.g ? (exists (@.x))'::jsonpath; - jsonpath ------------------------- @@ -192284,7 +192174,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$.g ? (exists (@.x))'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$.g ? (exists (@.x ? (@ == 14)))'::jsonpath; - jsonpath ----------------------------------- @@ -192296,7 +192186,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$.g ? (exists (@.x ? (@ == 14)))'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$.g ? ((@.x >= 123 || @.a == 4) && exists (@.x ? (@ == 14)))'::jsonpath; - jsonpath ------------------------------------------------------------------- @@ -192308,7 +192198,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$.g ? ((@.x >= 123 || @.a == 4) && exists (@.x ? (@ == 14)))'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$.g ? (+@.x >= +-(+@.a + 2))'::jsonpath; - jsonpath ------------------------------------- @@ -192320,7 +192210,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$.g ? (+@.x >= +-(+@.a + 2))'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$a'::jsonpath; - jsonpath ----------- @@ -192332,7 +192222,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$a'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$a.b'::jsonpath; - jsonpath ----------- @@ -192344,7 +192234,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$a.b'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$a[*]'::jsonpath; - jsonpath ----------- @@ -192356,7 +192246,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$a[*]'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$.g ? (@.zip == $zip)'::jsonpath; - jsonpath ---------------------------- @@ -192368,7 +192258,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$.g ? (@.zip == $zip)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$.a[1,2, 3 to 16]'::jsonpath; - jsonpath --------------------- @@ -192380,7 +192270,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$.a[1,2, 3 to 16]'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$.a[$a + 1, ($b[*]) to -($[0] * 2)]'::jsonpath; - jsonpath ----------------------------------------- @@ -192392,7 +192282,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$.a[$a + 1, ($b[*]) to -($[0] * 2)]'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$.a[$.a.size() - 3]'::jsonpath; - jsonpath -------------------------- @@ -192404,7 +192294,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$.a[$.a.size() - 3]'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select 'last'::jsonpath; -ERROR: LAST is allowed only in array subscripts -LINE 1: select 'last'::jsonpath; @@ -192414,7 +192304,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select 'last'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '"last"'::jsonpath; - jsonpath ----------- @@ -192426,7 +192316,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '"last"'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$.last'::jsonpath; - jsonpath ----------- @@ -192438,7 +192328,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$.last'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (last > 0)'::jsonpath; -ERROR: LAST is allowed only in array subscripts -LINE 1: select '$ ? (last > 0)'::jsonpath; @@ -192448,7 +192338,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (last > 0)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$[last]'::jsonpath; - jsonpath ----------- @@ -192460,7 +192350,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$[last]'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$[$[0] ? (last > 0)]'::jsonpath; - jsonpath --------------------- @@ -192472,7 +192362,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$[$[0] ? (last > 0)]'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select 'null.type()'::jsonpath; - jsonpath -------------- @@ -192484,7 +192374,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select 'null.type()'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '1.type()'::jsonpath; -ERROR: trailing junk after numeric literal at or near "1.t" of jsonpath input -LINE 1: select '1.type()'::jsonpath; @@ -192494,7 +192384,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '1.type()'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '(1).type()'::jsonpath; - jsonpath ------------- @@ -192506,7 +192396,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '(1).type()'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '1.2.type()'::jsonpath; - jsonpath --------------- @@ -192518,7 +192408,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '1.2.type()'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '"aaa".type()'::jsonpath; - jsonpath --------------- @@ -192530,7 +192420,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '"aaa".type()'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select 'true.type()'::jsonpath; - jsonpath -------------- @@ -192542,7 +192432,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select 'true.type()'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$.double().floor().ceiling().abs()'::jsonpath; - jsonpath ------------------------------------- @@ -192554,7 +192444,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$.double().floor().ceiling().abs()'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$.keyvalue().key'::jsonpath; - jsonpath --------------------- @@ -192566,7 +192456,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$.keyvalue().key'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$.datetime()'::jsonpath; - jsonpath --------------- @@ -192578,7 +192468,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$.datetime()'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$.datetime("datetime template")'::jsonpath; - jsonpath ---------------------------------- @@ -192590,7 +192480,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$.datetime("datetime template")'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@ starts with "abc")'::jsonpath; - jsonpath -------------------------- @@ -192602,7 +192492,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@ starts with "abc")'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@ starts with $var)'::jsonpath; - jsonpath --------------------------- @@ -192614,7 +192504,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@ starts with $var)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@ like_regex "(invalid pattern")'::jsonpath; -ERROR: invalid regular expression: parentheses () not balanced -LINE 1: select '$ ? (@ like_regex "(invalid pattern")'::jsonpath; @@ -192624,7 +192514,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@ like_regex "(invalid pattern")'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@ like_regex "pattern")'::jsonpath; - jsonpath ----------------------------- @@ -192636,7 +192526,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@ like_regex "pattern")'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@ like_regex "pattern" flag "")'::jsonpath; - jsonpath ----------------------------- @@ -192648,7 +192538,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@ like_regex "pattern" flag "")'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@ like_regex "pattern" flag "i")'::jsonpath; - jsonpath -------------------------------------- @@ -192660,7 +192550,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@ like_regex "pattern" flag "i")'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@ like_regex "pattern" flag "is")'::jsonpath; - jsonpath --------------------------------------- @@ -192672,7 +192562,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@ like_regex "pattern" flag "is")'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@ like_regex "pattern" flag "isim")'::jsonpath; - jsonpath ---------------------------------------- @@ -192684,7 +192574,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@ like_regex "pattern" flag "isim")'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@ like_regex "pattern" flag "xsms")'::jsonpath; -ERROR: XQuery "x" flag (expanded regular expressions) is not implemented -LINE 1: select '$ ? (@ like_regex "pattern" flag "xsms")'::jsonpath; @@ -192694,7 +192584,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@ like_regex "pattern" flag "xsms")'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@ like_regex "pattern" flag "q")'::jsonpath; - jsonpath -------------------------------------- @@ -192706,7 +192596,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@ like_regex "pattern" flag "q")'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@ like_regex "pattern" flag "iq")'::jsonpath; - jsonpath --------------------------------------- @@ -192718,7 +192608,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@ like_regex "pattern" flag "iq")'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@ like_regex "pattern" flag "smixq")'::jsonpath; - jsonpath ------------------------------------------ @@ -192730,7 +192620,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@ like_regex "pattern" flag "smixq")'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@ like_regex "pattern" flag "a")'::jsonpath; -ERROR: invalid input syntax for type jsonpath -LINE 1: select '$ ? (@ like_regex "pattern" flag "a")'::jsonpath; @@ -192741,7 +192631,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@ like_regex "pattern" flag "a")'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ < 1'::jsonpath; - jsonpath ----------- @@ -192753,7 +192643,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ < 1'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '($ < 1) || $.a.b <= $x'::jsonpath; - jsonpath ------------------------------- @@ -192765,7 +192655,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '($ < 1) || $.a.b <= $x'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '@ + 1'::jsonpath; -ERROR: @ is not allowed in root expressions -LINE 1: select '@ + 1'::jsonpath; @@ -192775,7 +192665,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '@ + 1'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '($).a.b'::jsonpath; - jsonpath ------------ @@ -192787,7 +192677,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '($).a.b'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '($.a.b).c.d'::jsonpath; - jsonpath -------------------- @@ -192799,7 +192689,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '($.a.b).c.d'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '($.a.b + -$.x.y).c.d'::jsonpath; - jsonpath ----------------------------------- @@ -192811,7 +192701,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '($.a.b + -$.x.y).c.d'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '(-+$.a.b).c.d'::jsonpath; - jsonpath -------------------------- @@ -192823,7 +192713,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '(-+$.a.b).c.d'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '1 + ($.a.b + 2).c.d'::jsonpath; - jsonpath -------------------------------- @@ -192835,7 +192725,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '1 + ($.a.b + 2).c.d'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '1 + ($.a.b > 2).c.d'::jsonpath; - jsonpath -------------------------------- @@ -192847,7 +192737,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '1 + ($.a.b > 2).c.d'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '($)'::jsonpath; - jsonpath ----------- @@ -192859,7 +192749,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '($)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '(($))'::jsonpath; - jsonpath ----------- @@ -192871,7 +192761,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '(($))'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '((($ + 1)).a + ((2)).b ? ((((@ > 1)) || (exists(@.c)))))'::jsonpath; - jsonpath ---------------------------------------------------- @@ -192883,7 +192773,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '((($ + 1)).a + ((2)).b ? ((((@ > 1)) || (exists(@.c)))))'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@.a < 1)'::jsonpath; - jsonpath ---------------- @@ -192895,7 +192785,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@.a < 1)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@.a < -1)'::jsonpath; - jsonpath ----------------- @@ -192907,7 +192797,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@.a < -1)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@.a < +1)'::jsonpath; - jsonpath ---------------- @@ -192919,7 +192809,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@.a < +1)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@.a < .1)'::jsonpath; - jsonpath ------------------ @@ -192931,7 +192821,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@.a < .1)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@.a < -.1)'::jsonpath; - jsonpath ------------------- @@ -192943,7 +192833,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@.a < -.1)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@.a < +.1)'::jsonpath; - jsonpath ------------------ @@ -192955,7 +192845,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@.a < +.1)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@.a < 0.1)'::jsonpath; - jsonpath ------------------ @@ -192967,7 +192857,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@.a < 0.1)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@.a < -0.1)'::jsonpath; - jsonpath ------------------- @@ -192979,7 +192869,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@.a < -0.1)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@.a < +0.1)'::jsonpath; - jsonpath ------------------ @@ -192991,7 +192881,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@.a < +0.1)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@.a < 10.1)'::jsonpath; - jsonpath ------------------- @@ -193003,7 +192893,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@.a < 10.1)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@.a < -10.1)'::jsonpath; - jsonpath -------------------- @@ -193015,7 +192905,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@.a < -10.1)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@.a < +10.1)'::jsonpath; - jsonpath ------------------- @@ -193027,7 +192917,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@.a < +10.1)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@.a < 1e1)'::jsonpath; - jsonpath ----------------- @@ -193039,7 +192929,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@.a < 1e1)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@.a < -1e1)'::jsonpath; - jsonpath ------------------ @@ -193051,7 +192941,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@.a < -1e1)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@.a < +1e1)'::jsonpath; - jsonpath ----------------- @@ -193063,7 +192953,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@.a < +1e1)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@.a < .1e1)'::jsonpath; - jsonpath ---------------- @@ -193075,7 +192965,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@.a < .1e1)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@.a < -.1e1)'::jsonpath; - jsonpath ----------------- @@ -193087,7 +192977,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@.a < -.1e1)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@.a < +.1e1)'::jsonpath; - jsonpath ---------------- @@ -193099,7 +192989,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@.a < +.1e1)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@.a < 0.1e1)'::jsonpath; - jsonpath ---------------- @@ -193111,7 +193001,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@.a < 0.1e1)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@.a < -0.1e1)'::jsonpath; - jsonpath ----------------- @@ -193123,7 +193013,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@.a < -0.1e1)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@.a < +0.1e1)'::jsonpath; - jsonpath ---------------- @@ -193135,7 +193025,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@.a < +0.1e1)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@.a < 10.1e1)'::jsonpath; - jsonpath ------------------ @@ -193147,7 +193037,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@.a < 10.1e1)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@.a < -10.1e1)'::jsonpath; - jsonpath ------------------- @@ -193159,7 +193049,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@.a < -10.1e1)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@.a < +10.1e1)'::jsonpath; - jsonpath ------------------ @@ -193171,7 +193061,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@.a < +10.1e1)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@.a < 1e-1)'::jsonpath; - jsonpath ------------------ @@ -193183,7 +193073,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@.a < 1e-1)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@.a < -1e-1)'::jsonpath; - jsonpath ------------------- @@ -193195,7 +193085,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@.a < -1e-1)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@.a < +1e-1)'::jsonpath; - jsonpath ------------------ @@ -193207,7 +193097,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@.a < +1e-1)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@.a < .1e-1)'::jsonpath; - jsonpath ------------------- @@ -193219,7 +193109,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@.a < .1e-1)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@.a < -.1e-1)'::jsonpath; - jsonpath -------------------- @@ -193231,7 +193121,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@.a < -.1e-1)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@.a < +.1e-1)'::jsonpath; - jsonpath ------------------- @@ -193243,7 +193133,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@.a < +.1e-1)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@.a < 0.1e-1)'::jsonpath; - jsonpath ------------------- @@ -193255,7 +193145,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@.a < 0.1e-1)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@.a < -0.1e-1)'::jsonpath; - jsonpath -------------------- @@ -193267,7 +193157,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@.a < -0.1e-1)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@.a < +0.1e-1)'::jsonpath; - jsonpath ------------------- @@ -193279,7 +193169,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@.a < +0.1e-1)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@.a < 10.1e-1)'::jsonpath; - jsonpath ------------------- @@ -193291,7 +193181,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@.a < 10.1e-1)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@.a < -10.1e-1)'::jsonpath; - jsonpath -------------------- @@ -193303,7 +193193,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@.a < -10.1e-1)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@.a < +10.1e-1)'::jsonpath; - jsonpath ------------------- @@ -193315,7 +193205,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@.a < +10.1e-1)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@.a < 1e+1)'::jsonpath; - jsonpath ----------------- @@ -193327,7 +193217,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@.a < 1e+1)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@.a < -1e+1)'::jsonpath; - jsonpath ------------------ @@ -193339,7 +193229,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@.a < -1e+1)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@.a < +1e+1)'::jsonpath; - jsonpath ----------------- @@ -193351,7 +193241,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@.a < +1e+1)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@.a < .1e+1)'::jsonpath; - jsonpath ---------------- @@ -193363,7 +193253,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@.a < .1e+1)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@.a < -.1e+1)'::jsonpath; - jsonpath ----------------- @@ -193375,7 +193265,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@.a < -.1e+1)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@.a < +.1e+1)'::jsonpath; - jsonpath ---------------- @@ -193387,7 +193277,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@.a < +.1e+1)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@.a < 0.1e+1)'::jsonpath; - jsonpath ---------------- @@ -193399,7 +193289,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@.a < 0.1e+1)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@.a < -0.1e+1)'::jsonpath; - jsonpath ----------------- @@ -193411,7 +193301,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@.a < -0.1e+1)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@.a < +0.1e+1)'::jsonpath; - jsonpath ---------------- @@ -193423,7 +193313,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@.a < +0.1e+1)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@.a < 10.1e+1)'::jsonpath; - jsonpath ------------------ @@ -193435,7 +193325,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@.a < 10.1e+1)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@.a < -10.1e+1)'::jsonpath; - jsonpath ------------------- @@ -193447,7 +193337,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@.a < -10.1e+1)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '$ ? (@.a < +10.1e+1)'::jsonpath; - jsonpath ------------------ @@ -193459,7 +193349,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '$ ? (@.a < +10.1e+1)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 -- numeric literals select '0'::jsonpath; - jsonpath @@ -193472,7 +193362,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '0'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '00'::jsonpath; -ERROR: trailing junk after numeric literal at or near "00" of jsonpath input -LINE 1: select '00'::jsonpath; @@ -193482,7 +193372,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '00'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '0755'::jsonpath; -ERROR: syntax error at end of jsonpath input -LINE 1: select '0755'::jsonpath; @@ -193492,7 +193382,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '0755'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '0.0'::jsonpath; - jsonpath ----------- @@ -193504,7 +193394,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '0.0'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '0.000'::jsonpath; - jsonpath ----------- @@ -193516,7 +193406,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '0.000'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '0.000e1'::jsonpath; - jsonpath ----------- @@ -193528,7 +193418,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '0.000e1'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '0.000e2'::jsonpath; - jsonpath ----------- @@ -193540,7 +193430,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '0.000e2'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '0.000e3'::jsonpath; - jsonpath ----------- @@ -193552,7 +193442,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '0.000e3'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '0.0010'::jsonpath; - jsonpath ----------- @@ -193564,7 +193454,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '0.0010'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '0.0010e-1'::jsonpath; - jsonpath ----------- @@ -193576,7 +193466,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '0.0010e-1'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '0.0010e+1'::jsonpath; - jsonpath ----------- @@ -193588,7 +193478,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '0.0010e+1'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '0.0010e+2'::jsonpath; - jsonpath ----------- @@ -193600,7 +193490,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '0.0010e+2'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '.001'::jsonpath; - jsonpath ----------- @@ -193612,7 +193502,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '.001'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '.001e1'::jsonpath; - jsonpath ----------- @@ -193624,7 +193514,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '.001e1'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '1.'::jsonpath; - jsonpath ----------- @@ -193636,7 +193526,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '1.'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '1.e1'::jsonpath; - jsonpath ----------- @@ -193648,7 +193538,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '1.e1'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '1a'::jsonpath; -ERROR: trailing junk after numeric literal at or near "1a" of jsonpath input -LINE 1: select '1a'::jsonpath; @@ -193658,7 +193548,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '1a'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '1e'::jsonpath; -ERROR: trailing junk after numeric literal at or near "1e" of jsonpath input -LINE 1: select '1e'::jsonpath; @@ -193668,7 +193558,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '1e'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '1.e'::jsonpath; -ERROR: trailing junk after numeric literal at or near "1.e" of jsonpath input -LINE 1: select '1.e'::jsonpath; @@ -193678,7 +193568,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '1.e'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '1.2a'::jsonpath; -ERROR: trailing junk after numeric literal at or near "1.2a" of jsonpath input -LINE 1: select '1.2a'::jsonpath; @@ -193688,7 +193578,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '1.2a'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '1.2e'::jsonpath; -ERROR: trailing junk after numeric literal at or near "1.2e" of jsonpath input -LINE 1: select '1.2e'::jsonpath; @@ -193698,7 +193588,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '1.2e'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '1.2.e'::jsonpath; - jsonpath ------------ @@ -193710,7 +193600,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '1.2.e'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '(1.2).e'::jsonpath; - jsonpath ------------ @@ -193722,7 +193612,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '(1.2).e'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '1e3'::jsonpath; - jsonpath ----------- @@ -193734,7 +193624,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '1e3'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '1.e3'::jsonpath; - jsonpath ----------- @@ -193746,7 +193636,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '1.e3'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '1.e3.e'::jsonpath; - jsonpath ------------- @@ -193758,7 +193648,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '1.e3.e'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '1.e3.e4'::jsonpath; - jsonpath -------------- @@ -193770,7 +193660,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '1.e3.e4'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '1.2e3'::jsonpath; - jsonpath ----------- @@ -193782,7 +193672,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '1.2e3'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '1.2e3a'::jsonpath; -ERROR: trailing junk after numeric literal at or near "1.2e3a" of jsonpath input -LINE 1: select '1.2e3a'::jsonpath; @@ -193792,7 +193682,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '1.2e3a'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '1.2.e3'::jsonpath; - jsonpath ------------- @@ -193804,7 +193694,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '1.2.e3'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '(1.2).e3'::jsonpath; - jsonpath ------------- @@ -193816,7 +193706,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '(1.2).e3'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '1..e'::jsonpath; - jsonpath ----------- @@ -193828,7 +193718,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '1..e'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '1..e3'::jsonpath; - jsonpath ----------- @@ -193840,7 +193730,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '1..e3'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '(1.).e'::jsonpath; - jsonpath ----------- @@ -193852,7 +193742,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '(1.).e'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '(1.).e3'::jsonpath; - jsonpath ----------- @@ -193864,7 +193754,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '(1.).e3'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '1?(2>3)'::jsonpath; - jsonpath -------------- @@ -193876,7 +193766,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '1?(2>3)'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 -- nondecimal select '0b100101'::jsonpath; - jsonpath @@ -193889,7 +193779,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '0b100101'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '0o273'::jsonpath; - jsonpath ----------- @@ -193901,7 +193791,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '0o273'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '0x42F'::jsonpath; - jsonpath ----------- @@ -193913,7 +193803,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '0x42F'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 -- error cases select '0b'::jsonpath; -ERROR: trailing junk after numeric literal at or near "0b" of jsonpath input @@ -193924,7 +193814,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '0b'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '1b'::jsonpath; -ERROR: trailing junk after numeric literal at or near "1b" of jsonpath input -LINE 1: select '1b'::jsonpath; @@ -193934,7 +193824,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '1b'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '0b0x'::jsonpath; -ERROR: syntax error at end of jsonpath input -LINE 1: select '0b0x'::jsonpath; @@ -193944,7 +193834,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '0b0x'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '0o'::jsonpath; -ERROR: trailing junk after numeric literal at or near "0o" of jsonpath input -LINE 1: select '0o'::jsonpath; @@ -193954,7 +193844,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '0o'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '1o'::jsonpath; -ERROR: trailing junk after numeric literal at or near "1o" of jsonpath input -LINE 1: select '1o'::jsonpath; @@ -193964,7 +193854,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '1o'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '0o0x'::jsonpath; -ERROR: syntax error at end of jsonpath input -LINE 1: select '0o0x'::jsonpath; @@ -193974,7 +193864,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '0o0x'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '0x'::jsonpath; -ERROR: trailing junk after numeric literal at or near "0x" of jsonpath input -LINE 1: select '0x'::jsonpath; @@ -193984,7 +193874,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '0x'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '1x'::jsonpath; -ERROR: trailing junk after numeric literal at or near "1x" of jsonpath input -LINE 1: select '1x'::jsonpath; @@ -193994,7 +193884,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '1x'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '0x0y'::jsonpath; -ERROR: syntax error at end of jsonpath input -LINE 1: select '0x0y'::jsonpath; @@ -194004,7 +193894,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '0x0y'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 -- underscores select '1_000_000'::jsonpath; - jsonpath @@ -194017,7 +193907,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '1_000_000'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '1_2_3'::jsonpath; - jsonpath ----------- @@ -194029,7 +193919,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '1_2_3'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '0x1EEE_FFFF'::jsonpath; - jsonpath ------------ @@ -194041,7 +193931,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '0x1EEE_FFFF'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '0o2_73'::jsonpath; - jsonpath ----------- @@ -194053,7 +193943,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '0o2_73'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '0b10_0101'::jsonpath; - jsonpath ----------- @@ -194065,7 +193955,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '0b10_0101'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '1_000.000_005'::jsonpath; - jsonpath -------------- @@ -194077,7 +193967,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '1_000.000_005'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '1_000.'::jsonpath; - jsonpath ----------- @@ -194089,7 +193979,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '1_000.'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '.000_005'::jsonpath; - jsonpath ----------- @@ -194101,7 +193991,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '.000_005'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '1_000.5e0_1'::jsonpath; - jsonpath ----------- @@ -194113,7 +194003,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '1_000.5e0_1'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 -- error cases select '_100'::jsonpath; -ERROR: syntax error at end of jsonpath input @@ -194124,7 +194014,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '_100'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '100_'::jsonpath; -ERROR: trailing junk after numeric literal at or near "100_" of jsonpath input -LINE 1: select '100_'::jsonpath; @@ -194134,7 +194024,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '100_'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '100__000'::jsonpath; -ERROR: syntax error at end of jsonpath input -LINE 1: select '100__000'::jsonpath; @@ -194144,7 +194034,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '100__000'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '_1_000.5'::jsonpath; -ERROR: syntax error at end of jsonpath input -LINE 1: select '_1_000.5'::jsonpath; @@ -194154,7 +194044,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '_1_000.5'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '1_000_.5'::jsonpath; -ERROR: trailing junk after numeric literal at or near "1_000_" of jsonpath input -LINE 1: select '1_000_.5'::jsonpath; @@ -194164,7 +194054,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '1_000_.5'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '1_000._5'::jsonpath; -ERROR: trailing junk after numeric literal at or near "1_000._" of jsonpath input -LINE 1: select '1_000._5'::jsonpath; @@ -194174,7 +194064,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '1_000._5'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '1_000.5_'::jsonpath; -ERROR: trailing junk after numeric literal at or near "1_000.5_" of jsonpath input -LINE 1: select '1_000.5_'::jsonpath; @@ -194184,7 +194074,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '1_000.5_'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '1_000.5e_1'::jsonpath; -ERROR: trailing junk after numeric literal at or near "1_000.5e" of jsonpath input -LINE 1: select '1_000.5e_1'::jsonpath; @@ -194194,7 +194084,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '1_000.5e_1'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 -- underscore after prefix not allowed in JavaScript (but allowed in SQL) select '0b_10_0101'::jsonpath; -ERROR: syntax error at end of jsonpath input @@ -194205,7 +194095,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '0b_10_0101'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '0o_273'::jsonpath; -ERROR: syntax error at end of jsonpath input -LINE 1: select '0o_273'::jsonpath; @@ -194215,7 +194105,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '0o_273'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select '0x_42F'::jsonpath; -ERROR: syntax error at end of jsonpath input -LINE 1: select '0x_42F'::jsonpath; @@ -194225,7 +194115,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonpath.out --la +select '0x_42F'::jsonpath + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 -- test non-error-throwing API SELECT str as jsonpath, pg_input_is_valid(str,'jsonpath') as ok, @@ -196296,7 +196186,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/json.out --label= - +ERROR: array_to_json(): could not parse "{{1,5},{99,100}}" as type int[]: unimplemented: nested arrays not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/32552/dev ++See: https://go.crdb.dev/issue-v/32552/v24.3 -- row_to_json SELECT row_to_json(row(1,'foo')); - row_to_json @@ -196833,21 +196723,21 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/json.out --label= +CREATE DOMAIN js_int_not_null AS int NOT NULL + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 CREATE DOMAIN js_int_array_1d AS int[] CHECK(array_length(VALUE, 1) = 3); +ERROR: at or near "as": syntax error: unimplemented: this syntax +DETAIL: source SQL: +CREATE DOMAIN js_int_array_1d AS int[] CHECK(array_length(VALUE, 1) = 3) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 CREATE DOMAIN js_int_array_2d AS int[][] CHECK(array_length(VALUE, 2) = 3); +ERROR: at or near "as": syntax error: unimplemented: this syntax +DETAIL: source SQL: +CREATE DOMAIN js_int_array_2d AS int[][] CHECK(array_length(VALUE, 2) = 3) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 create type j_unordered_pair as (x int, y int); create domain j_ordered_pair as j_unordered_pair check((value).x <= (value).y); +ERROR: at or near "as": syntax error: unimplemented: this syntax @@ -196855,7 +196745,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/json.out --label= +create domain j_ordered_pair as j_unordered_pair check((value).x <= (value).y) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 CREATE TYPE jsrec AS ( i int, ia _int4, @@ -197626,28 +197516,28 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/json.out --label= +DROP DOMAIN js_int_not_null + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 DROP DOMAIN js_int_array_1d; +ERROR: at or near "js_int_array_1d": syntax error: unimplemented: this syntax +DETAIL: source SQL: +DROP DOMAIN js_int_array_1d + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 DROP DOMAIN js_int_array_2d; +ERROR: at or near "js_int_array_2d": syntax error: unimplemented: this syntax +DETAIL: source SQL: +DROP DOMAIN js_int_array_2d + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 DROP DOMAIN j_ordered_pair; +ERROR: at or near "j_ordered_pair": syntax error: unimplemented: this syntax +DETAIL: source SQL: +DROP DOMAIN j_ordered_pair + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 DROP TYPE j_unordered_pair; --json_typeof() function select value, json_typeof(value) @@ -197828,7 +197718,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/json.out --label= +SELECT json_build_array(VARIADIC '{{1,4},{2,5},{3,6}}'::int[][]) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/32552/dev ++See: https://go.crdb.dev/issue-v/32552/v24.3 SELECT json_build_object('a',1,'b',1.2,'c',true,'d',null,'e',json '{"x": 3, "y": [1,2,3]}'); - json_build_object ----------------------------------------------------------------------------- @@ -198017,7 +197907,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/json.out --label= +SELECT json_build_object(VARIADIC '{{1,4},{2,5},{3,6}}'::int[][]) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/32552/dev ++See: https://go.crdb.dev/issue-v/32552/v24.3 -- empty objects/arrays SELECT json_build_array(); json_build_array @@ -198171,7 +198061,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/json.out --label= + as t(a int, b json, c text, x int, ca char(5)[], ia int[][], r jpop) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/32552/dev ++See: https://go.crdb.dev/issue-v/32552/v24.3 select *, c is null as c_is_null from json_to_recordset('[{"a":1, "b":{"c":16, "d":2}, "x":8}]'::json) as t(a int, b json, c text, x int); @@ -198221,7 +198111,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/json.out --label= +select * from json_to_record('{"ia2": [1, 2, 3]}') as x(ia2 int[][]) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/32552/dev ++See: https://go.crdb.dev/issue-v/32552/v24.3 select * from json_to_record('{"ia2": [[1, 2], [3, 4]]}') as x(ia2 int4[][]); - ia2 ---------------- @@ -198233,7 +198123,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/json.out --label= +select * from json_to_record('{"ia2": [[1, 2], [3, 4]]}') as x(ia2 int4[][]) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/32552/dev ++See: https://go.crdb.dev/issue-v/32552/v24.3 select * from json_to_record('{"ia2": [[[1], [2], [3]]]}') as x(ia2 int4[][]); - ia2 ------------------ @@ -198245,7 +198135,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/json.out --label= +select * from json_to_record('{"ia2": [[[1], [2], [3]]]}') as x(ia2 int4[][]) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/32552/dev ++See: https://go.crdb.dev/issue-v/32552/v24.3 select * from json_to_record('{"out": {"key": 1}}') as x(out json); out ------------ @@ -198360,7 +198250,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/json.out --label= - +ERROR: json_to_tsvector(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select json_to_tsvector('english', '{"a": "aaa in bbb", "b": 123, "c": 456, "d": true, "f": false, "g": null}'::json, '"key"'); - json_to_tsvector --------------------------------- @@ -198369,7 +198259,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/json.out --label= - +ERROR: json_to_tsvector(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select json_to_tsvector('english', '{"a": "aaa in bbb", "b": 123, "c": 456, "d": true, "f": false, "g": null}'::json, '"string"'); - json_to_tsvector ------------------- @@ -198378,7 +198268,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/json.out --label= - +ERROR: json_to_tsvector(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select json_to_tsvector('english', '{"a": "aaa in bbb", "b": 123, "c": 456, "d": true, "f": false, "g": null}'::json, '"numeric"'); - json_to_tsvector ------------------- @@ -198387,7 +198277,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/json.out --label= - +ERROR: json_to_tsvector(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select json_to_tsvector('english', '{"a": "aaa in bbb", "b": 123, "c": 456, "d": true, "f": false, "g": null}'::json, '"boolean"'); - json_to_tsvector -------------------- @@ -198396,7 +198286,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/json.out --label= - +ERROR: json_to_tsvector(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select json_to_tsvector('english', '{"a": "aaa in bbb", "b": 123, "c": 456, "d": true, "f": false, "g": null}'::json, '["string", "numeric"]'); - json_to_tsvector ---------------------------------- @@ -198405,7 +198295,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/json.out --label= - +ERROR: json_to_tsvector(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select json_to_tsvector('english', '{"a": "aaa in bbb", "b": 123, "c": 456, "d": true, "f": false, "g": null}'::json, '"all"'); - json_to_tsvector ----------------------------------------------------------------------------------------- @@ -198414,7 +198304,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/json.out --label= - +ERROR: json_to_tsvector(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select json_to_tsvector('english', '{"a": "aaa in bbb", "b": 123, "c": 456, "d": true, "f": false, "g": null}'::json, '"key"'); - json_to_tsvector --------------------------------- @@ -198423,7 +198313,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/json.out --label= - +ERROR: json_to_tsvector(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select json_to_tsvector('english', '{"a": "aaa in bbb", "b": 123, "c": 456, "d": true, "f": false, "g": null}'::json, '"string"'); - json_to_tsvector ------------------- @@ -198432,7 +198322,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/json.out --label= - +ERROR: json_to_tsvector(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select json_to_tsvector('english', '{"a": "aaa in bbb", "b": 123, "c": 456, "d": true, "f": false, "g": null}'::json, '"numeric"'); - json_to_tsvector ------------------- @@ -198441,7 +198331,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/json.out --label= - +ERROR: json_to_tsvector(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select json_to_tsvector('english', '{"a": "aaa in bbb", "b": 123, "c": 456, "d": true, "f": false, "g": null}'::json, '"boolean"'); - json_to_tsvector -------------------- @@ -198450,7 +198340,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/json.out --label= - +ERROR: json_to_tsvector(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select json_to_tsvector('english', '{"a": "aaa in bbb", "b": 123, "c": 456, "d": true, "f": false, "g": null}'::json, '["string", "numeric"]'); - json_to_tsvector ---------------------------------- @@ -198459,7 +198349,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/json.out --label= - +ERROR: json_to_tsvector(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 -- to_tsvector corner cases select to_tsvector('""'::json); - to_tsvector @@ -198502,7 +198392,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/json.out --label= - +ERROR: json_to_tsvector(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select json_to_tsvector('{}'::json, '"all"'); - json_to_tsvector ------------------- @@ -198511,7 +198401,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/json.out --label= - +ERROR: json_to_tsvector(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select json_to_tsvector('[]'::json, '"all"'); - json_to_tsvector ------------------- @@ -198520,7 +198410,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/json.out --label= - +ERROR: json_to_tsvector(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select json_to_tsvector('null'::json, '"all"'); - json_to_tsvector ------------------- @@ -198529,18 +198419,18 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/json.out --label= - +ERROR: json_to_tsvector(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select json_to_tsvector('english', '{"a": "aaa in bbb", "b": 123, "c": 456, "d": true, "f": false, "g": null}'::json, '""'); -ERROR: wrong flag in flag array: "" -HINT: Possible values are: "string", "numeric", "boolean", "key", and "all". +ERROR: json_to_tsvector(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select json_to_tsvector('english', '{"a": "aaa in bbb", "b": 123, "c": 456, "d": true, "f": false, "g": null}'::json, '{}'); -ERROR: wrong flag type, only arrays and scalars are allowed +ERROR: json_to_tsvector(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select json_to_tsvector('english', '{"a": "aaa in bbb", "b": 123, "c": 456, "d": true, "f": false, "g": null}'::json, '[]'); - json_to_tsvector ------------------- @@ -198549,19 +198439,19 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/json.out --label= - +ERROR: json_to_tsvector(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select json_to_tsvector('english', '{"a": "aaa in bbb", "b": 123, "c": 456, "d": true, "f": false, "g": null}'::json, 'null'); -ERROR: flag array element is not a string -HINT: Possible values are: "string", "numeric", "boolean", "key", and "all". +ERROR: json_to_tsvector(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select json_to_tsvector('english', '{"a": "aaa in bbb", "b": 123, "c": 456, "d": true, "f": false, "g": null}'::json, '["all", null]'); -ERROR: flag array element is not a string -HINT: Possible values are: "string", "numeric", "boolean", "key", and "all". +ERROR: json_to_tsvector(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 -- ts_headline for json select ts_headline('{"a": "aaa bbb", "b": {"c": "ccc ddd fff", "c1": "ccc1 ddd1"}, "d": ["ggg hhh", "iii jjj"]}'::json, tsquery('bbb & ddd & hhh')); - ts_headline @@ -198571,7 +198461,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/json.out --label= - +ERROR: ts_headline(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select ts_headline('english', '{"a": "aaa bbb", "b": {"c": "ccc ddd fff"}, "d": ["ggg hhh", "iii jjj"]}'::json, tsquery('bbb & ddd & hhh')); - ts_headline ----------------------------------------------------------------------------------------- @@ -198580,7 +198470,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/json.out --label= - +ERROR: ts_headline(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select ts_headline('{"a": "aaa bbb", "b": {"c": "ccc ddd fff", "c1": "ccc1 ddd1"}, "d": ["ggg hhh", "iii jjj"]}'::json, tsquery('bbb & ddd & hhh'), 'StartSel = <, StopSel = >'); - ts_headline ------------------------------------------------------------------------------------------- @@ -198589,7 +198479,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/json.out --label= - +ERROR: ts_headline(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select ts_headline('english', '{"a": "aaa bbb", "b": {"c": "ccc ddd fff", "c1": "ccc1 ddd1"}, "d": ["ggg hhh", "iii jjj"]}'::json, tsquery('bbb & ddd & hhh'), 'StartSel = <, StopSel = >'); - ts_headline ------------------------------------------------------------------------------------------- @@ -198598,7 +198488,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/json.out --label= - +ERROR: ts_headline(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 -- corner cases for ts_headline with json select ts_headline('null'::json, tsquery('aaa & bbb')); - ts_headline @@ -198608,7 +198498,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/json.out --label= - +ERROR: ts_headline(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select ts_headline('{}'::json, tsquery('aaa & bbb')); - ts_headline -------------- @@ -198617,7 +198507,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/json.out --label= - +ERROR: ts_headline(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select ts_headline('[]'::json, tsquery('aaa & bbb')); - ts_headline -------------- @@ -198626,7 +198516,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/json.out --label= - +ERROR: ts_headline(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.out --label=/mnt/data1/postgres/src/test/regress/results/jsonb_jsonpath.out /mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.out /mnt/data1/postgres/src/test/regress/results/jsonb_jsonpath.out --- /mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.out +++ /mnt/data1/postgres/src/test/regress/results/jsonb_jsonpath.out @@ -198835,7 +198725,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou -ERROR: jsonpath array subscript is out of bounds +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[1]', 'strict $[1]', silent => true); - jsonb_path_query ------------------- @@ -198870,12 +198760,12 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou -ERROR: jsonpath array subscript is out of integer range +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[1]', 'strict $[10000000000000000]'); -ERROR: jsonpath array subscript is out of integer range +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb '[1]' @? '$[0]'; - ?column? ----------- @@ -199063,17 +198953,17 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('1', 'strict $.a'); -ERROR: jsonpath member accessor can only be applied to an object +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('1', 'strict $.*'); -ERROR: jsonpath wildcard member accessor can only be applied to an object +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('1', 'strict $.a', silent => true); - jsonb_path_query ------------------- @@ -199101,12 +198991,12 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[]', 'strict $.a'); -ERROR: jsonpath member accessor can only be applied to an object +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[]', 'strict $.a', silent => true); - jsonb_path_query ------------------- @@ -199124,12 +199014,12 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('{}', 'strict $.a'); -ERROR: JSON object does not contain key "a" +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('{}', 'strict $.a', silent => true); - jsonb_path_query ------------------- @@ -199144,22 +199034,22 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou -ERROR: jsonpath array accessor can only be applied to an array +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('1', 'strict $[*]'); -ERROR: jsonpath wildcard array accessor can only be applied to an array +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[]', 'strict $[1]'); -ERROR: jsonpath array subscript is out of bounds +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[]', 'strict $["a"]'); -ERROR: jsonpath array subscript is not a single numeric value +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('1', 'strict $[1]', silent => true); - jsonb_path_query ------------------- @@ -199208,7 +199098,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('{"a": 12, "b": {"a": 13}}', '$.b'); - jsonb_path_query ------------------- @@ -199217,7 +199107,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('{"a": 12, "b": {"a": 13}}', '$.*'); - jsonb_path_query ------------------- @@ -199227,7 +199117,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('{"a": 12, "b": {"a": 13}}', 'lax $.*.a'); - jsonb_path_query ------------------- @@ -199236,7 +199126,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[12, {"a": 13}, {"b": 14}]', 'lax $[*].a'); - jsonb_path_query ------------------- @@ -199245,7 +199135,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[12, {"a": 13}, {"b": 14}]', 'lax $[*].*'); - jsonb_path_query ------------------- @@ -199255,7 +199145,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[12, {"a": 13}, {"b": 14}]', 'lax $[0].a'); - jsonb_path_query ------------------- @@ -199263,7 +199153,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[12, {"a": 13}, {"b": 14}]', 'lax $[1].a'); - jsonb_path_query ------------------- @@ -199272,7 +199162,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[12, {"a": 13}, {"b": 14}]', 'lax $[2].a'); - jsonb_path_query ------------------- @@ -199280,7 +199170,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[12, {"a": 13}, {"b": 14}]', 'lax $[0,1].a'); - jsonb_path_query ------------------- @@ -199289,7 +199179,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[12, {"a": 13}, {"b": 14}]', 'lax $[0 to 10].a'); - jsonb_path_query ------------------- @@ -199298,12 +199188,12 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[12, {"a": 13}, {"b": 14}]', 'lax $[0 to 10 / 0].a'); -ERROR: division by zero +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[12, {"a": 13}, {"b": 14}, "ccc", true]', '$[2.5 - 1 to $.size() - 2]'); - jsonb_path_query ------------------- @@ -199314,7 +199204,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('1', 'lax $[0]'); - jsonb_path_query ------------------- @@ -199323,7 +199213,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('1', 'lax $[*]'); - jsonb_path_query ------------------- @@ -199332,7 +199222,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[1]', 'lax $[0]'); - jsonb_path_query ------------------- @@ -199341,7 +199231,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[1]', 'lax $[*]'); - jsonb_path_query ------------------- @@ -199350,7 +199240,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[1,2,3]', 'lax $[*]'); - jsonb_path_query ------------------- @@ -199361,12 +199251,12 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[1,2,3]', 'strict $[*].a'); -ERROR: jsonpath member accessor can only be applied to an object +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[1,2,3]', 'strict $[*].a', silent => true); - jsonb_path_query ------------------- @@ -199384,7 +199274,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[]', '$[last ? (exists(last))]'); - jsonb_path_query ------------------- @@ -199392,12 +199282,12 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[]', 'strict $[last]'); -ERROR: jsonpath array subscript is out of bounds +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[]', 'strict $[last]', silent => true); - jsonb_path_query ------------------- @@ -199416,7 +199306,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[1,2,3]', '$[last]'); - jsonb_path_query ------------------- @@ -199425,7 +199315,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[1,2,3]', '$[last - 1]'); - jsonb_path_query ------------------- @@ -199434,7 +199324,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[1,2,3]', '$[last ? (@.type() == "number")]'); - jsonb_path_query ------------------- @@ -199443,12 +199333,12 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[1,2,3]', '$[last ? (@.type() == "string")]'); -ERROR: jsonpath array subscript is not a single numeric value +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[1,2,3]', '$[last ? (@.type() == "string")]', silent => true); - jsonb_path_query ------------------- @@ -199467,24 +199357,24 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select * from jsonb_path_query('{"a": 10}', '$ ? (@.a < $value)'); -ERROR: could not find jsonpath variable "value" +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select * from jsonb_path_query('{"a": 10}', '$ ? (@.a < $value)', '1'); -ERROR: "vars" argument is not an object -DETAIL: Jsonpath parameters should be encoded as key-value pairs of "vars" object. +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select * from jsonb_path_query('{"a": 10}', '$ ? (@.a < $value)', '[{"value" : 13}]'); -ERROR: "vars" argument is not an object -DETAIL: Jsonpath parameters should be encoded as key-value pairs of "vars" object. +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select * from jsonb_path_query('{"a": 10}', '$ ? (@.a < $value)', '{"value" : 13}'); - jsonb_path_query ------------------- @@ -199493,7 +199383,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select * from jsonb_path_query('{"a": 10}', '$ ? (@.a < $value)', '{"value" : 8}'); - jsonb_path_query ------------------- @@ -199501,7 +199391,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select * from jsonb_path_query('{"a": 10}', '$.a ? (@ < $value)', '{"value" : 13}'); - jsonb_path_query ------------------- @@ -199510,7 +199400,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select * from jsonb_path_query('[10,11,12,13,14,15]', '$[*] ? (@ < $value)', '{"value" : 13}'); - jsonb_path_query ------------------- @@ -199521,7 +199411,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select * from jsonb_path_query('[10,11,12,13,14,15]', '$[0,1] ? (@ < $x.value)', '{"x": {"value" : 13}}'); - jsonb_path_query ------------------- @@ -199531,7 +199421,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select * from jsonb_path_query('[10,11,12,13,14,15]', '$[0 to 2] ? (@ < $value)', '{"value" : 15}'); - jsonb_path_query ------------------- @@ -199542,7 +199432,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select * from jsonb_path_query('[1,"1",2,"2",null]', '$[*] ? (@ == "1")'); - jsonb_path_query ------------------- @@ -199551,7 +199441,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select * from jsonb_path_query('[1,"1",2,"2",null]', '$[*] ? (@ == $value)', '{"value" : "1"}'); - jsonb_path_query ------------------- @@ -199560,7 +199450,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select * from jsonb_path_query('[1,"1",2,"2",null]', '$[*] ? (@ == $value)', '{"value" : null}'); - jsonb_path_query ------------------- @@ -199569,7 +199459,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select * from jsonb_path_query('[1, "2", null]', '$[*] ? (@ != null)'); - jsonb_path_query ------------------- @@ -199579,7 +199469,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select * from jsonb_path_query('[1, "2", null]', '$[*] ? (@ == null)'); - jsonb_path_query ------------------- @@ -199588,7 +199478,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select * from jsonb_path_query('{}', '$ ? (@ == @)'); - jsonb_path_query ------------------- @@ -199596,7 +199486,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select * from jsonb_path_query('[]', 'strict $ ? (@ == @)'); - jsonb_path_query ------------------- @@ -199604,7 +199494,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('{"a": {"b": 1}}', 'lax $.**'); - jsonb_path_query ------------------- @@ -199615,7 +199505,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('{"a": {"b": 1}}', 'lax $.**{0}'); - jsonb_path_query ------------------- @@ -199624,7 +199514,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('{"a": {"b": 1}}', 'lax $.**{0 to last}'); - jsonb_path_query ------------------- @@ -199635,7 +199525,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('{"a": {"b": 1}}', 'lax $.**{1}'); - jsonb_path_query ------------------- @@ -199644,7 +199534,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('{"a": {"b": 1}}', 'lax $.**{1 to last}'); - jsonb_path_query ------------------- @@ -199654,7 +199544,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('{"a": {"b": 1}}', 'lax $.**{2}'); - jsonb_path_query ------------------- @@ -199663,7 +199553,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('{"a": {"b": 1}}', 'lax $.**{2 to last}'); - jsonb_path_query ------------------- @@ -199672,7 +199562,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('{"a": {"b": 1}}', 'lax $.**{3 to last}'); - jsonb_path_query ------------------- @@ -199680,7 +199570,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('{"a": {"b": 1}}', 'lax $.**{last}'); - jsonb_path_query ------------------- @@ -199689,7 +199579,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('{"a": {"b": 1}}', 'lax $.**.b ? (@ > 0)'); - jsonb_path_query ------------------- @@ -199698,7 +199588,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('{"a": {"b": 1}}', 'lax $.**{0}.b ? (@ > 0)'); - jsonb_path_query ------------------- @@ -199706,7 +199596,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('{"a": {"b": 1}}', 'lax $.**{1}.b ? (@ > 0)'); - jsonb_path_query ------------------- @@ -199715,7 +199605,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('{"a": {"b": 1}}', 'lax $.**{0 to last}.b ? (@ > 0)'); - jsonb_path_query ------------------- @@ -199724,7 +199614,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('{"a": {"b": 1}}', 'lax $.**{1 to last}.b ? (@ > 0)'); - jsonb_path_query ------------------- @@ -199733,7 +199623,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('{"a": {"b": 1}}', 'lax $.**{1 to 2}.b ? (@ > 0)'); - jsonb_path_query ------------------- @@ -199742,7 +199632,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('{"a": {"c": {"b": 1}}}', 'lax $.**.b ? (@ > 0)'); - jsonb_path_query ------------------- @@ -199751,7 +199641,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('{"a": {"c": {"b": 1}}}', 'lax $.**{0}.b ? (@ > 0)'); - jsonb_path_query ------------------- @@ -199759,7 +199649,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('{"a": {"c": {"b": 1}}}', 'lax $.**{1}.b ? (@ > 0)'); - jsonb_path_query ------------------- @@ -199767,7 +199657,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('{"a": {"c": {"b": 1}}}', 'lax $.**{0 to last}.b ? (@ > 0)'); - jsonb_path_query ------------------- @@ -199776,7 +199666,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('{"a": {"c": {"b": 1}}}', 'lax $.**{1 to last}.b ? (@ > 0)'); - jsonb_path_query ------------------- @@ -199785,7 +199675,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('{"a": {"c": {"b": 1}}}', 'lax $.**{1 to 2}.b ? (@ > 0)'); - jsonb_path_query ------------------- @@ -199794,7 +199684,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('{"a": {"c": {"b": 1}}}', 'lax $.**{2 to 3}.b ? (@ > 0)'); - jsonb_path_query ------------------- @@ -199803,7 +199693,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb '{"a": {"b": 1}}' @? '$.**.b ? ( @ > 0)'; - ?column? ----------- @@ -199942,7 +199832,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('{"g": {"x": 2}}', '$.g ? (exists (@.y))'); - jsonb_path_query ------------------- @@ -199950,7 +199840,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('{"g": {"x": 2}}', '$.g ? (exists (@.x ? (@ >= 2) ))'); - jsonb_path_query ------------------- @@ -199959,7 +199849,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('{"g": [{"x": 2}, {"y": 3}]}', 'lax $.g ? (exists (@.x))'); - jsonb_path_query ------------------- @@ -199968,7 +199858,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('{"g": [{"x": 2}, {"y": 3}]}', 'lax $.g ? (exists (@.x + "3"))'); - jsonb_path_query ------------------- @@ -199976,7 +199866,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('{"g": [{"x": 2}, {"y": 3}]}', 'lax $.g ? ((exists (@.x + "3")) is unknown)'); - jsonb_path_query ------------------- @@ -199986,7 +199876,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('{"g": [{"x": 2}, {"y": 3}]}', 'strict $.g[*] ? (exists (@.x))'); - jsonb_path_query ------------------- @@ -199995,7 +199885,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('{"g": [{"x": 2}, {"y": 3}]}', 'strict $.g[*] ? ((exists (@.x)) is unknown)'); - jsonb_path_query ------------------- @@ -200004,7 +199894,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('{"g": [{"x": 2}, {"y": 3}]}', 'strict $.g ? (exists (@[*].x))'); - jsonb_path_query ------------------- @@ -200012,7 +199902,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('{"g": [{"x": 2}, {"y": 3}]}', 'strict $.g ? ((exists (@[*].x)) is unknown)'); - jsonb_path_query ----------------------- @@ -200021,7 +199911,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 --test ternary logic select x, y, @@ -200142,7 +200032,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('{"c": {"a": 2, "b":1}}', '$.** ? (@.a == (1 + 1))'); - jsonb_path_query ------------------- @@ -200151,7 +200041,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('{"c": {"a": 2, "b":1}}', '$.** ? (@.a == @.b + 1)'); - jsonb_path_query ------------------- @@ -200160,7 +200050,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('{"c": {"a": 2, "b":1}}', '$.** ? (@.a == (@.b + 1))'); - jsonb_path_query ------------------- @@ -200169,7 +200059,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb '{"c": {"a": -1, "b":1}}' @? '$.** ? (@.a == - 1)'; - ?column? ----------- @@ -200301,7 +200191,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[1,2,0,3]', '$[*] ? ((2 / @ > 0) is unknown)'); - jsonb_path_query ------------------- @@ -200310,42 +200200,42 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('0', '1 / $'); -ERROR: division by zero +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('0', '1 / $ + 2'); -ERROR: division by zero +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('0', '-(3 + 1 % $)'); -ERROR: division by zero +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('1', '$ + "2"'); -ERROR: right operand of jsonpath operator + is not a single numeric value +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[1, 2]', '3 * $'); -ERROR: right operand of jsonpath operator * is not a single numeric value +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"a"', '-$'); -ERROR: operand of unary jsonpath operator - is not a numeric value +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[1,"2",3]', '+$'); -ERROR: operand of unary jsonpath operator + is not a numeric value +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('1', '$ + "2"', silent => true); - jsonb_path_query ------------------- @@ -200436,7 +200326,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('{"a": [2]}', 'lax $.a + 3'); - jsonb_path_query ------------------- @@ -200445,7 +200335,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('{"a": [2, 3, 4]}', 'lax -$.a'); - jsonb_path_query ------------------- @@ -200456,13 +200346,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 -- should fail select jsonb_path_query('{"a": [1, 2]}', 'lax $.a * 3'); -ERROR: left operand of jsonpath operator * is not a single numeric value +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('{"a": [1, 2]}', 'lax $.a * 3', silent => true); - jsonb_path_query ------------------- @@ -200482,7 +200372,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('2', '$ <= 1'); - jsonb_path_query ------------------- @@ -200491,7 +200381,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('2', '$ == "2"'); - jsonb_path_query ------------------- @@ -200500,7 +200390,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb '2' @? '$ == "2"'; - ?column? ----------- @@ -200575,7 +200465,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_match(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_match('[[1, true], [2, false]]', 'strict $[*] ? (@[0] < $x) [1]', '{"x": 2}'); - jsonb_path_match ------------------- @@ -200584,7 +200474,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_match(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_match('[{"a": 1}, {"a": 2}, 3]', 'lax exists($[*].a)', silent => false); - jsonb_path_match ------------------- @@ -200637,7 +200527,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[null,1,true,"a",[],{}]', 'lax $.type()'); - jsonb_path_query ------------------- @@ -200646,7 +200536,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[null,1,true,"a",[],{}]', '$[*].type()'); - jsonb_path_query ------------------- @@ -200660,7 +200550,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('null', 'null.type()'); - jsonb_path_query ------------------- @@ -200669,7 +200559,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('null', 'true.type()'); - jsonb_path_query ------------------- @@ -200678,7 +200568,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('null', '(123).type()'); - jsonb_path_query ------------------- @@ -200687,7 +200577,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('null', '"123".type()'); - jsonb_path_query ------------------- @@ -200696,7 +200586,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('{"a": 2}', '($.a - 5).abs() + 10'); - jsonb_path_query ------------------- @@ -200705,7 +200595,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('{"a": 2.5}', '-($.a * $.a).floor() % 4.3'); - jsonb_path_query ------------------- @@ -200714,7 +200604,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[1, 2, 3]', '($[*] > 2) ? (@ == true)'); - jsonb_path_query ------------------- @@ -200723,7 +200613,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[1, 2, 3]', '($[*] > 3).type()'); - jsonb_path_query ------------------- @@ -200732,7 +200622,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[1, 2, 3]', '($[*].a > 3).type()'); - jsonb_path_query ------------------- @@ -200741,7 +200631,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[1, 2, 3]', 'strict ($[*].a > 3).type()'); - jsonb_path_query ------------------- @@ -200750,12 +200640,12 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[1,null,true,"11",[],[1],[1,2,3],{},{"a":1,"b":2}]', 'strict $[*].size()'); -ERROR: jsonpath item method .size() can only be applied to an array +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[1,null,true,"11",[],[1],[1,2,3],{},{"a":1,"b":2}]', 'strict $[*].size()', silent => true); - jsonb_path_query ------------------- @@ -200782,7 +200672,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[0, 1, -2, -3.4, 5.6]', '$[*].abs()'); - jsonb_path_query ------------------- @@ -200795,7 +200685,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[0, 1, -2, -3.4, 5.6]', '$[*].floor()'); - jsonb_path_query ------------------- @@ -200808,7 +200698,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[0, 1, -2, -3.4, 5.6]', '$[*].ceiling()'); - jsonb_path_query ------------------- @@ -200821,7 +200711,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[0, 1, -2, -3.4, 5.6]', '$[*].ceiling().abs()'); - jsonb_path_query ------------------- @@ -200834,7 +200724,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[0, 1, -2, -3.4, 5.6]', '$[*].ceiling().abs().type()'); - jsonb_path_query ------------------- @@ -200847,12 +200737,12 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[{},1]', '$[*].keyvalue()'); -ERROR: jsonpath item method .keyvalue() can only be applied to an object +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[{},1]', '$[*].keyvalue()', silent => true); - jsonb_path_query ------------------- @@ -200870,7 +200760,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('{"a": 1, "b": [1, 2], "c": {"a": "bbb"}}', '$.keyvalue()'); - jsonb_path_query ----------------------------------------------- @@ -200881,7 +200771,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[{"a": 1, "b": [1, 2]}, {"c": {"a": "bbb"}}]', '$[*].keyvalue()'); - jsonb_path_query ------------------------------------------------ @@ -200892,12 +200782,12 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[{"a": 1, "b": [1, 2]}, {"c": {"a": "bbb"}}]', 'strict $.keyvalue()'); -ERROR: jsonpath item method .keyvalue() can only be applied to an object +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[{"a": 1, "b": [1, 2]}, {"c": {"a": "bbb"}}]', 'lax $.keyvalue()'); - jsonb_path_query ------------------------------------------------ @@ -200908,12 +200798,12 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[{"a": 1, "b": [1, 2]}, {"c": {"a": "bbb"}}]', 'strict $.keyvalue().a'); -ERROR: jsonpath item method .keyvalue() can only be applied to an object +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb '{"a": 1, "b": [1, 2]}' @? 'lax $.keyvalue()'; - ?column? ----------- @@ -200938,12 +200828,12 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou -ERROR: jsonpath item method .double() can only be applied to a string or numeric value +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('true', '$.double()'); -ERROR: jsonpath item method .double() can only be applied to a string or numeric value +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('null', '$.double()', silent => true); - jsonb_path_query ------------------- @@ -200971,17 +200861,17 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[]', 'strict $.double()'); -ERROR: jsonpath item method .double() can only be applied to a string or numeric value +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('{}', '$.double()'); -ERROR: jsonpath item method .double() can only be applied to a string or numeric value +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[]', 'strict $.double()', silent => true); - jsonb_path_query ------------------- @@ -201010,7 +200900,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"1.23"', '$.double()'); - jsonb_path_query ------------------- @@ -201019,37 +200909,37 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"1.23aaa"', '$.double()'); -ERROR: string argument of jsonpath item method .double() is not a valid representation of a double precision number +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('1e1000', '$.double()'); -ERROR: numeric argument of jsonpath item method .double() is out of range for type double precision +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"nan"', '$.double()'); -ERROR: string argument of jsonpath item method .double() is not a valid representation of a double precision number +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"NaN"', '$.double()'); -ERROR: string argument of jsonpath item method .double() is not a valid representation of a double precision number +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"inf"', '$.double()'); -ERROR: string argument of jsonpath item method .double() is not a valid representation of a double precision number +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"-inf"', '$.double()'); -ERROR: string argument of jsonpath item method .double() is not a valid representation of a double precision number +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"inf"', '$.double()', silent => true); - jsonb_path_query ------------------- @@ -201074,17 +200964,17 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou -ERROR: jsonpath item method .abs() can only be applied to a numeric value +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('true', '$.floor()'); -ERROR: jsonpath item method .floor() can only be applied to a numeric value +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"1.2"', '$.ceiling()'); -ERROR: jsonpath item method .ceiling() can only be applied to a numeric value +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('{}', '$.abs()', silent => true); - jsonb_path_query ------------------- @@ -201124,7 +201014,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('["", "a", "abc", "abcabc"]', 'strict $ ? (@[*] starts with "abc")'); - jsonb_path_query ----------------------------- @@ -201133,7 +201023,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('["", "a", "abd", "abdabc"]', 'strict $ ? (@[*] starts with "abc")'); - jsonb_path_query ------------------- @@ -201141,7 +201031,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('["abc", "abcabc", null, 1]', 'strict $ ? (@[*] starts with "abc")'); - jsonb_path_query ------------------- @@ -201149,7 +201039,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('["abc", "abcabc", null, 1]', 'strict $ ? ((@[*] starts with "abc") is unknown)'); - jsonb_path_query ----------------------------- @@ -201158,7 +201048,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[[null, 1, "abc", "abcabc"]]', 'lax $ ? (@[*] starts with "abc")'); - jsonb_path_query ----------------------------- @@ -201167,7 +201057,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[[null, 1, "abd", "abdabc"]]', 'lax $ ? ((@[*] starts with "abc") is unknown)'); - jsonb_path_query ----------------------------- @@ -201176,7 +201066,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[null, 1, "abd", "abdabc"]', 'lax $[*] ? ((@ starts with "abc") is unknown)'); - jsonb_path_query ------------------- @@ -201186,7 +201076,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[null, 1, "abc", "abd", "aBdC", "abdacb", "babc", "adc\nabc", "ab\nadc"]', 'lax $[*] ? (@ like_regex "^ab.*c")'); - jsonb_path_query ------------------- @@ -201196,7 +201086,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[null, 1, "abc", "abd", "aBdC", "abdacb", "babc", "adc\nabc", "ab\nadc"]', 'lax $[*] ? (@ like_regex "^ab.*c" flag "i")'); - jsonb_path_query ------------------- @@ -201207,7 +201097,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[null, 1, "abc", "abd", "aBdC", "abdacb", "babc", "adc\nabc", "ab\nadc"]', 'lax $[*] ? (@ like_regex "^ab.*c" flag "m")'); - jsonb_path_query ------------------- @@ -201218,7 +201108,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[null, 1, "abc", "abd", "aBdC", "abdacb", "babc", "adc\nabc", "ab\nadc"]', 'lax $[*] ? (@ like_regex "^ab.*c" flag "s")'); - jsonb_path_query ------------------- @@ -201229,7 +201119,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[null, 1, "a\b", "a\\b", "^a\\b$"]', 'lax $[*] ? (@ like_regex "a\\b" flag "q")'); - jsonb_path_query ------------------- @@ -201239,7 +201129,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[null, 1, "a\b", "a\\b", "^a\\b$"]', 'lax $[*] ? (@ like_regex "a\\b" flag "")'); - jsonb_path_query ------------------- @@ -201248,7 +201138,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[null, 1, "a\b", "a\\b", "^a\\b$"]', 'lax $[*] ? (@ like_regex "^a\\b$" flag "q")'); - jsonb_path_query ------------------- @@ -201257,7 +201147,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[null, 1, "a\b", "a\\b", "^a\\b$"]', 'lax $[*] ? (@ like_regex "^a\\B$" flag "q")'); - jsonb_path_query ------------------- @@ -201265,7 +201155,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[null, 1, "a\b", "a\\b", "^a\\b$"]', 'lax $[*] ? (@ like_regex "^a\\B$" flag "iq")'); - jsonb_path_query ------------------- @@ -201274,7 +201164,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[null, 1, "a\b", "a\\b", "^a\\b$"]', 'lax $[*] ? (@ like_regex "^a\\b$" flag "")'); - jsonb_path_query ------------------- @@ -201283,22 +201173,22 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('null', '$.datetime()'); -ERROR: jsonpath item method .datetime() can only be applied to a string +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('true', '$.datetime()'); -ERROR: jsonpath item method .datetime() can only be applied to a string +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('1', '$.datetime()'); -ERROR: jsonpath item method .datetime() can only be applied to a string +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[]', '$.datetime()'); - jsonb_path_query ------------------- @@ -201306,34 +201196,34 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('[]', 'strict $.datetime()'); -ERROR: jsonpath item method .datetime() can only be applied to a string +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('{}', '$.datetime()'); -ERROR: jsonpath item method .datetime() can only be applied to a string +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"bogus"', '$.datetime()'); -ERROR: datetime format is not recognized: "bogus" -HINT: Use a datetime template argument to specify the input data format. +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"12:34"', '$.datetime("aaa")'); -ERROR: invalid datetime format separator: "a" +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"aaaa"', '$.datetime("HH24")'); -ERROR: invalid value "aa" for "HH24" -DETAIL: Value must be an integer. +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb '"10-03-2017"' @? '$.datetime("dd-mm-yyyy")'; - ?column? ----------- @@ -201352,7 +201242,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"10-03-2017"', '$.datetime("dd-mm-yyyy").type()'); - jsonb_path_query ------------------- @@ -201361,17 +201251,17 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"10-03-2017 12:34"', '$.datetime("dd-mm-yyyy")'); -ERROR: trailing characters remain in input string after datetime format +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"10-03-2017 12:34"', '$.datetime("dd-mm-yyyy").type()'); -ERROR: trailing characters remain in input string after datetime format +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"10-03-2017 12:34"', ' $.datetime("dd-mm-yyyy HH24:MI").type()'); - jsonb_path_query -------------------------------- @@ -201380,7 +201270,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"10-03-2017 12:34 +05:20"', '$.datetime("dd-mm-yyyy HH24:MI TZH:TZM").type()'); - jsonb_path_query ----------------------------- @@ -201389,7 +201279,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"12:34:56"', '$.datetime("HH24:MI:SS").type()'); - jsonb_path_query --------------------------- @@ -201398,7 +201288,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"12:34:56 +05:20"', '$.datetime("HH24:MI:SS TZH:TZM").type()'); - jsonb_path_query ------------------------ @@ -201407,7 +201297,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"10-03-2017T12:34:56"', '$.datetime("dd-mm-yyyy\"T\"HH24:MI:SS")'); - jsonb_path_query ------------------------ @@ -201416,17 +201306,17 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"10-03-2017t12:34:56"', '$.datetime("dd-mm-yyyy\"T\"HH24:MI:SS")'); -ERROR: unmatched format character "T" +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"10-03-2017 12:34:56"', '$.datetime("dd-mm-yyyy\"T\"HH24:MI:SS")'); -ERROR: unmatched format character "T" +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 set time zone '+00'; select jsonb_path_query('"10-03-2017 12:34"', '$.datetime("dd-mm-yyyy HH24:MI")'); - jsonb_path_query @@ -201436,12 +201326,12 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"10-03-2017 12:34"', '$.datetime("dd-mm-yyyy HH24:MI TZH")'); -ERROR: input string is too short for datetime format +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"10-03-2017 12:34 +05"', '$.datetime("dd-mm-yyyy HH24:MI TZH")'); - jsonb_path_query ------------------------------ @@ -201450,7 +201340,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"10-03-2017 12:34 -05"', '$.datetime("dd-mm-yyyy HH24:MI TZH")'); - jsonb_path_query ------------------------------ @@ -201459,7 +201349,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"10-03-2017 12:34 +05:20"', '$.datetime("dd-mm-yyyy HH24:MI TZH:TZM")'); - jsonb_path_query ------------------------------ @@ -201468,7 +201358,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"10-03-2017 12:34 -05:20"', '$.datetime("dd-mm-yyyy HH24:MI TZH:TZM")'); - jsonb_path_query ------------------------------ @@ -201477,7 +201367,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"12:34"', '$.datetime("HH24:MI")'); - jsonb_path_query ------------------- @@ -201486,12 +201376,12 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"12:34"', '$.datetime("HH24:MI TZH")'); -ERROR: input string is too short for datetime format +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"12:34 +05"', '$.datetime("HH24:MI TZH")'); - jsonb_path_query ------------------- @@ -201500,7 +201390,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"12:34 -05"', '$.datetime("HH24:MI TZH")'); - jsonb_path_query ------------------- @@ -201509,7 +201399,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"12:34 +05:20"', '$.datetime("HH24:MI TZH:TZM")'); - jsonb_path_query ------------------- @@ -201518,7 +201408,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"12:34 -05:20"', '$.datetime("HH24:MI TZH:TZM")'); - jsonb_path_query ------------------- @@ -201527,7 +201417,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 set time zone '+10'; select jsonb_path_query('"10-03-2017 12:34"', '$.datetime("dd-mm-yyyy HH24:MI")'); - jsonb_path_query @@ -201537,12 +201427,12 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"10-03-2017 12:34"', '$.datetime("dd-mm-yyyy HH24:MI TZH")'); -ERROR: input string is too short for datetime format +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"10-03-2017 12:34 +05"', '$.datetime("dd-mm-yyyy HH24:MI TZH")'); - jsonb_path_query ------------------------------ @@ -201551,7 +201441,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"10-03-2017 12:34 -05"', '$.datetime("dd-mm-yyyy HH24:MI TZH")'); - jsonb_path_query ------------------------------ @@ -201560,7 +201450,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"10-03-2017 12:34 +05:20"', '$.datetime("dd-mm-yyyy HH24:MI TZH:TZM")'); - jsonb_path_query ------------------------------ @@ -201569,7 +201459,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"10-03-2017 12:34 -05:20"', '$.datetime("dd-mm-yyyy HH24:MI TZH:TZM")'); - jsonb_path_query ------------------------------ @@ -201578,7 +201468,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"12:34"', '$.datetime("HH24:MI")'); - jsonb_path_query ------------------- @@ -201587,12 +201477,12 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"12:34"', '$.datetime("HH24:MI TZH")'); -ERROR: input string is too short for datetime format +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"12:34 +05"', '$.datetime("HH24:MI TZH")'); - jsonb_path_query ------------------- @@ -201601,7 +201491,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"12:34 -05"', '$.datetime("HH24:MI TZH")'); - jsonb_path_query ------------------- @@ -201610,7 +201500,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"12:34 +05:20"', '$.datetime("HH24:MI TZH:TZM")'); - jsonb_path_query ------------------- @@ -201619,7 +201509,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"12:34 -05:20"', '$.datetime("HH24:MI TZH:TZM")'); - jsonb_path_query ------------------- @@ -201628,7 +201518,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 set time zone default; select jsonb_path_query('"2017-03-10"', '$.datetime().type()'); - jsonb_path_query @@ -201638,7 +201528,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"2017-03-10"', '$.datetime()'); - jsonb_path_query ------------------- @@ -201647,7 +201537,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"2017-03-10 12:34:56"', '$.datetime().type()'); - jsonb_path_query -------------------------------- @@ -201656,7 +201546,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"2017-03-10 12:34:56"', '$.datetime()'); - jsonb_path_query ------------------------ @@ -201665,7 +201555,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"2017-03-10 12:34:56+3"', '$.datetime().type()'); - jsonb_path_query ----------------------------- @@ -201674,7 +201564,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"2017-03-10 12:34:56+3"', '$.datetime()'); - jsonb_path_query ------------------------------ @@ -201683,7 +201573,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"2017-03-10 12:34:56+3:10"', '$.datetime().type()'); - jsonb_path_query ----------------------------- @@ -201692,7 +201582,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"2017-03-10 12:34:56+3:10"', '$.datetime()'); - jsonb_path_query ------------------------------ @@ -201701,7 +201591,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"2017-03-10T12:34:56+3:10"', '$.datetime()'); - jsonb_path_query ------------------------------ @@ -201710,13 +201600,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"2017-03-10t12:34:56+3:10"', '$.datetime()'); -ERROR: datetime format is not recognized: "2017-03-10t12:34:56+3:10" -HINT: Use a datetime template argument to specify the input data format. +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"2017-03-10 12:34:56.789+3:10"', '$.datetime()'); - jsonb_path_query ---------------------------------- @@ -201725,7 +201615,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"2017-03-10T12:34:56.789+3:10"', '$.datetime()'); - jsonb_path_query ---------------------------------- @@ -201734,13 +201624,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"2017-03-10t12:34:56.789+3:10"', '$.datetime()'); -ERROR: datetime format is not recognized: "2017-03-10t12:34:56.789+3:10" -HINT: Use a datetime template argument to specify the input data format. +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"12:34:56"', '$.datetime().type()'); - jsonb_path_query --------------------------- @@ -201749,7 +201639,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"12:34:56"', '$.datetime()'); - jsonb_path_query ------------------- @@ -201758,7 +201648,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"12:34:56+3"', '$.datetime().type()'); - jsonb_path_query ------------------------ @@ -201767,7 +201657,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"12:34:56+3"', '$.datetime()'); - jsonb_path_query ------------------- @@ -201776,7 +201666,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"12:34:56+3:10"', '$.datetime().type()'); - jsonb_path_query ------------------------ @@ -201785,7 +201675,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query('"12:34:56+3:10"', '$.datetime()'); - jsonb_path_query ------------------- @@ -201794,7 +201684,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 set time zone '+00'; -- date comparison select jsonb_path_query( @@ -201804,7 +201694,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou -HINT: Use *_tz() function for time zone support. +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query( '["2017-03-10", "2017-03-11", "2017-03-09", "12:34:56", "01:02:03+04", "2017-03-10 00:00:00", "2017-03-10 12:34:56", "2017-03-10 01:02:03+04", "2017-03-10 03:00:00+03"]', '$[*].datetime() ? (@ >= "10.03.2017".datetime("dd.mm.yyyy"))'); @@ -201812,7 +201702,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou -HINT: Use *_tz() function for time zone support. +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query( '["2017-03-10", "2017-03-11", "2017-03-09", "12:34:56", "01:02:03+04", "2017-03-10 00:00:00", "2017-03-10 12:34:56", "2017-03-10 01:02:03+04", "2017-03-10 03:00:00+03"]', '$[*].datetime() ? (@ < "10.03.2017".datetime("dd.mm.yyyy"))'); @@ -201820,7 +201710,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou -HINT: Use *_tz() function for time zone support. +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query_tz( '["2017-03-10", "2017-03-11", "2017-03-09", "12:34:56", "01:02:03+04", "2017-03-10 00:00:00", "2017-03-10 12:34:56", "2017-03-10 01:02:03+04", "2017-03-10 03:00:00+03"]', '$[*].datetime() ? (@ == "10.03.2017".datetime("dd.mm.yyyy"))'); @@ -201863,7 +201753,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou -HINT: Use *_tz() function for time zone support. +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query( '["12:34:00", "12:35:00", "12:36:00", "12:35:00+00", "12:35:00+01", "13:35:00+01", "2017-03-10", "2017-03-10 12:35:00", "2017-03-10 12:35:00+01"]', '$[*].datetime() ? (@ >= "12:35".datetime("HH24:MI"))'); @@ -201871,7 +201761,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou -HINT: Use *_tz() function for time zone support. +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query( '["12:34:00", "12:35:00", "12:36:00", "12:35:00+00", "12:35:00+01", "13:35:00+01", "2017-03-10", "2017-03-10 12:35:00", "2017-03-10 12:35:00+01"]', '$[*].datetime() ? (@ < "12:35".datetime("HH24:MI"))'); @@ -201879,7 +201769,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou -HINT: Use *_tz() function for time zone support. +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query_tz( '["12:34:00", "12:35:00", "12:36:00", "12:35:00+00", "12:35:00+01", "13:35:00+01", "2017-03-10", "2017-03-10 12:35:00", "2017-03-10 12:35:00+01"]', '$[*].datetime() ? (@ == "12:35".datetime("HH24:MI"))'); @@ -201920,7 +201810,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou -HINT: Use *_tz() function for time zone support. +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query( '["12:34:00+01", "12:35:00+01", "12:36:00+01", "12:35:00+02", "12:35:00-02", "10:35:00", "11:35:00", "12:35:00", "2017-03-10", "2017-03-10 12:35:00", "2017-03-10 12:35:00 +1"]', '$[*].datetime() ? (@ >= "12:35 +1".datetime("HH24:MI TZH"))'); @@ -201928,7 +201818,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou -HINT: Use *_tz() function for time zone support. +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query( '["12:34:00+01", "12:35:00+01", "12:36:00+01", "12:35:00+02", "12:35:00-02", "10:35:00", "11:35:00", "12:35:00", "2017-03-10", "2017-03-10 12:35:00", "2017-03-10 12:35:00 +1"]', '$[*].datetime() ? (@ < "12:35 +1".datetime("HH24:MI TZH"))'); @@ -201936,7 +201826,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou -HINT: Use *_tz() function for time zone support. +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query_tz( '["12:34:00+01", "12:35:00+01", "12:36:00+01", "12:35:00+02", "12:35:00-02", "10:35:00", "11:35:00", "12:35:00", "2017-03-10", "2017-03-10 12:35:00", "2017-03-10 12:35:00 +1"]', '$[*].datetime() ? (@ == "12:35 +1".datetime("HH24:MI TZH"))'); @@ -201978,7 +201868,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou -HINT: Use *_tz() function for time zone support. +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query( '["2017-03-10 12:34:00", "2017-03-10 12:35:00", "2017-03-10 12:36:00", "2017-03-10 12:35:00+01", "2017-03-10 13:35:00+01", "2017-03-10 12:35:00-01", "2017-03-10", "2017-03-11", "12:34:56", "12:34:56+01"]', '$[*].datetime() ? (@ >= "10.03.2017 12:35".datetime("dd.mm.yyyy HH24:MI"))'); @@ -201986,7 +201876,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou -HINT: Use *_tz() function for time zone support. +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query( '["2017-03-10 12:34:00", "2017-03-10 12:35:00", "2017-03-10 12:36:00", "2017-03-10 12:35:00+01", "2017-03-10 13:35:00+01", "2017-03-10 12:35:00-01", "2017-03-10", "2017-03-11", "12:34:56", "12:34:56+01"]', '$[*].datetime() ? (@ < "10.03.2017 12:35".datetime("dd.mm.yyyy HH24:MI"))'); @@ -201994,7 +201884,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou -HINT: Use *_tz() function for time zone support. +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query_tz( '["2017-03-10 12:34:00", "2017-03-10 12:35:00", "2017-03-10 12:36:00", "2017-03-10 12:35:00+01", "2017-03-10 13:35:00+01", "2017-03-10 12:35:00-01", "2017-03-10", "2017-03-11", "12:34:56", "12:34:56+01"]', '$[*].datetime() ? (@ == "10.03.2017 12:35".datetime("dd.mm.yyyy HH24:MI"))'); @@ -202037,7 +201927,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou -HINT: Use *_tz() function for time zone support. +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query( '["2017-03-10 12:34:00+01", "2017-03-10 12:35:00+01", "2017-03-10 12:36:00+01", "2017-03-10 12:35:00+02", "2017-03-10 12:35:00-02", "2017-03-10 10:35:00", "2017-03-10 11:35:00", "2017-03-10 12:35:00", "2017-03-10", "2017-03-11", "12:34:56", "12:34:56+01"]', '$[*].datetime() ? (@ >= "10.03.2017 12:35 +1".datetime("dd.mm.yyyy HH24:MI TZH"))'); @@ -202045,7 +201935,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou -HINT: Use *_tz() function for time zone support. +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query( '["2017-03-10 12:34:00+01", "2017-03-10 12:35:00+01", "2017-03-10 12:36:00+01", "2017-03-10 12:35:00+02", "2017-03-10 12:35:00-02", "2017-03-10 10:35:00", "2017-03-10 11:35:00", "2017-03-10 12:35:00", "2017-03-10", "2017-03-11", "12:34:56", "12:34:56+01"]', '$[*].datetime() ? (@ < "10.03.2017 12:35 +1".datetime("dd.mm.yyyy HH24:MI TZH"))'); @@ -202053,7 +201943,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou -HINT: Use *_tz() function for time zone support. +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 select jsonb_path_query_tz( '["2017-03-10 12:34:00+01", "2017-03-10 12:35:00+01", "2017-03-10 12:36:00+01", "2017-03-10 12:35:00+02", "2017-03-10 12:35:00-02", "2017-03-10 10:35:00", "2017-03-10 11:35:00", "2017-03-10 12:35:00", "2017-03-10", "2017-03-11", "12:34:56", "12:34:56+01"]', '$[*].datetime() ? (@ == "10.03.2017 12:35 +1".datetime("dd.mm.yyyy HH24:MI TZH"))'); @@ -202102,7 +201992,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou +select jsonb_path_query('"1000000-01-01"', '$.datetime() > "2020-01-01 12:00:00".datetime()'::jsonpath) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 set time zone default; -- jsonpath operators SELECT jsonb_path_query('[{"a": 1}, {"a": 2}]', '$[*]'); @@ -202114,7 +202004,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 SELECT jsonb_path_query('[{"a": 1}, {"a": 2}]', '$[*] ? (@.a > 10)'); - jsonb_path_query ------------------- @@ -202122,12 +202012,12 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 SELECT jsonb_path_query('[{"a": 1}]', '$undefined_var'); -ERROR: could not find jsonpath variable "undefined_var" +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 SELECT jsonb_path_query('[{"a": 1}]', 'false'); - jsonb_path_query ------------------- @@ -202136,12 +202026,12 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 SELECT jsonb_path_query_array('[{"a": 1}, {"a": 2}, {}]', 'strict $[*].a'); -ERROR: JSON object does not contain key "a" +ERROR: jsonb_path_query_array(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 SELECT jsonb_path_query_array('[{"a": 1}, {"a": 2}]', '$[*].a'); - jsonb_path_query_array ------------------------- @@ -202150,7 +202040,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query_array(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 SELECT jsonb_path_query_array('[{"a": 1}, {"a": 2}]', '$[*].a ? (@ == 1)'); - jsonb_path_query_array ------------------------- @@ -202159,7 +202049,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query_array(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 SELECT jsonb_path_query_array('[{"a": 1}, {"a": 2}]', '$[*].a ? (@ > 10)'); - jsonb_path_query_array ------------------------- @@ -202168,7 +202058,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query_array(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 SELECT jsonb_path_query_array('[{"a": 1}, {"a": 2}, {"a": 3}, {"a": 5}]', '$[*].a ? (@ > $min && @ < $max)', vars => '{"min": 1, "max": 4}'); - jsonb_path_query_array ------------------------- @@ -202195,7 +202085,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou -ERROR: JSON object does not contain key "a" +ERROR: jsonb_path_query_first(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 SELECT jsonb_path_query_first('[{"a": 1}, {"a": 2}, {}]', 'strict $[*].a', silent => true); - jsonb_path_query_first ------------------------- @@ -202215,7 +202105,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query_first(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 SELECT jsonb_path_query_first('[{"a": 1}, {"a": 2}]', '$[*].a ? (@ == 1)'); - jsonb_path_query_first ------------------------- @@ -202224,7 +202114,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query_first(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 SELECT jsonb_path_query_first('[{"a": 1}, {"a": 2}]', '$[*].a ? (@ > 10)'); - jsonb_path_query_first ------------------------- @@ -202233,7 +202123,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query_first(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 SELECT jsonb_path_query_first('[{"a": 1}, {"a": 2}, {"a": 3}, {"a": 5}]', '$[*].a ? (@ > $min && @ < $max)', vars => '{"min": 1, "max": 4}'); - jsonb_path_query_first ------------------------- @@ -202260,7 +202150,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou -ERROR: could not find jsonpath variable "undefined_var" +ERROR: jsonb_path_query_first(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 SELECT jsonb_path_query_first('[{"a": 1}]', 'false'); - jsonb_path_query_first ------------------------- @@ -202269,7 +202159,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_query_first(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 SELECT jsonb '[{"a": 1}, {"a": 2}]' @? '$[*].a ? (@ > 1)'; - ?column? ----------- @@ -202298,7 +202188,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_exists(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 SELECT jsonb_path_exists('[{"a": 1}, {"a": 2}, {"a": 3}, {"a": 5}]', '$[*] ? (@.a > $min && @.a < $max)', vars => '{"min": 1, "max": 4}'); - jsonb_path_exists -------------------- @@ -202325,7 +202215,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou -ERROR: could not find jsonpath variable "undefined_var" +ERROR: jsonb_path_exists(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 SELECT jsonb_path_exists('[{"a": 1}]', 'false'); - jsonb_path_exists -------------------- @@ -202334,7 +202224,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_exists(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 SELECT jsonb_path_match('true', '$', silent => false); - jsonb_path_match ------------------- @@ -202461,12 +202351,12 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_match(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 SELECT jsonb_path_match('[{"a": 1}]', '$undefined_var'); -ERROR: could not find jsonpath variable "undefined_var" +ERROR: jsonb_path_match(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 SELECT jsonb_path_match('[{"a": 1}]', 'false'); - jsonb_path_match ------------------- @@ -202475,7 +202365,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb_jsonpath.ou - +ERROR: jsonb_path_match(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 -- test string comparison (Unicode codepoint collation) WITH str(j, num) AS ( @@ -203510,7 +203400,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb.out --label +SELECT jsonb_build_array(VARIADIC '{{1,4},{2,5},{3,6}}'::int[][]) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/32552/dev ++See: https://go.crdb.dev/issue-v/32552/v24.3 SELECT jsonb_build_object('a',1,'b',1.2,'c',true,'d',null,'e',json '{"x": 3, "y": [1,2,3]}'); jsonb_build_object ------------------------------------------------------------------------- @@ -203683,7 +203573,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb.out --label +SELECT jsonb_build_object(VARIADIC '{{1,4},{2,5},{3,6}}'::int[][]) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/32552/dev ++See: https://go.crdb.dev/issue-v/32552/v24.3 -- empty objects/arrays SELECT jsonb_build_array(); jsonb_build_array @@ -203822,21 +203712,21 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb.out --label +CREATE DOMAIN jsb_int_not_null AS int NOT NULL + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 CREATE DOMAIN jsb_int_array_1d AS int[] CHECK(array_length(VALUE, 1) = 3); +ERROR: at or near "as": syntax error: unimplemented: this syntax +DETAIL: source SQL: +CREATE DOMAIN jsb_int_array_1d AS int[] CHECK(array_length(VALUE, 1) = 3) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 CREATE DOMAIN jsb_int_array_2d AS int[][] CHECK(array_length(VALUE, 2) = 3); +ERROR: at or near "as": syntax error: unimplemented: this syntax +DETAIL: source SQL: +CREATE DOMAIN jsb_int_array_2d AS int[][] CHECK(array_length(VALUE, 2) = 3) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 create type jb_unordered_pair as (x int, y int); create domain jb_ordered_pair as jb_unordered_pair check((value).x <= (value).y); +ERROR: at or near "as": syntax error: unimplemented: this syntax @@ -203844,7 +203734,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb.out --label +create domain jb_ordered_pair as jb_unordered_pair check((value).x <= (value).y) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 CREATE TYPE jsbrec AS ( i int, ia _int4, @@ -204592,7 +204482,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb.out --label + as t(a int, b jsonb, c text, x int, ca char(5)[], ia int[][], r jbpop) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/32552/dev ++See: https://go.crdb.dev/issue-v/32552/v24.3 select *, c is null as c_is_null from jsonb_to_recordset('[{"a":1, "b":{"c":16, "d":2}, "x":8}]'::jsonb) as t(a int, b jsonb, c text, x int); @@ -204633,7 +204523,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb.out --label +select * from jsonb_to_record('{"ia2": [1, 2, 3]}') as x(ia2 int[][]) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/32552/dev ++See: https://go.crdb.dev/issue-v/32552/v24.3 select * from jsonb_to_record('{"ia2": [[1, 2], [3, 4]]}') as x(ia2 int4[][]); - ia2 ---------------- @@ -204645,7 +204535,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb.out --label +select * from jsonb_to_record('{"ia2": [[1, 2], [3, 4]]}') as x(ia2 int4[][]) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/32552/dev ++See: https://go.crdb.dev/issue-v/32552/v24.3 select * from jsonb_to_record('{"ia2": [[[1], [2], [3]]]}') as x(ia2 int4[][]); - ia2 ------------------ @@ -204657,7 +204547,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb.out --label +select * from jsonb_to_record('{"ia2": [[[1], [2], [3]]]}') as x(ia2 int4[][]) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/32552/dev ++See: https://go.crdb.dev/issue-v/32552/v24.3 select * from jsonb_to_record('{"out": {"key": 1}}') as x(out json); out ------------ @@ -204709,28 +204599,28 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb.out --label +DROP DOMAIN jsb_int_not_null + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 DROP DOMAIN jsb_int_array_1d; +ERROR: at or near "jsb_int_array_1d": syntax error: unimplemented: this syntax +DETAIL: source SQL: +DROP DOMAIN jsb_int_array_1d + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 DROP DOMAIN jsb_int_array_2d; +ERROR: at or near "jsb_int_array_2d": syntax error: unimplemented: this syntax +DETAIL: source SQL: +DROP DOMAIN jsb_int_array_2d + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 DROP DOMAIN jb_ordered_pair; +ERROR: at or near "jb_ordered_pair": syntax error: unimplemented: this syntax +DETAIL: source SQL: +DROP DOMAIN jb_ordered_pair + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 DROP TYPE jb_unordered_pair; -- indexing SELECT count(*) FROM testjsonb WHERE j @> '{"wait":null}'; @@ -205481,7 +205371,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb.out --label CREATE INDEX jidx ON testjsonb USING gin (j jsonb_path_ops); +ERROR: unimplemented: operator class "jsonb_path_ops" is not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/81115/dev ++See: https://go.crdb.dev/issue-v/81115/v24.3 SET enable_seqscan = off; +WARNING: setting session var "enable_seqscan" is a no-op SELECT count(*) FROM testjsonb WHERE j @> '{"wait":null}'; @@ -205757,7 +205647,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb.out --label create index on nestjsonb using gin(j jsonb_path_ops); +ERROR: unimplemented: operator class "jsonb_path_ops" is not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/81115/dev ++See: https://go.crdb.dev/issue-v/81115/v24.3 set enable_seqscan = on; +WARNING: setting session var "enable_seqscan" is a no-op set enable_bitmapscan = off; @@ -206921,7 +206811,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb.out --label - +ERROR: jsonb_to_tsvector(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select jsonb_to_tsvector('english', '{"a": "aaa in bbb", "b": 123, "c": 456, "d": true, "f": false, "g": null}'::jsonb, '"key"'); - jsonb_to_tsvector --------------------------------- @@ -206930,7 +206820,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb.out --label - +ERROR: jsonb_to_tsvector(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select jsonb_to_tsvector('english', '{"a": "aaa in bbb", "b": 123, "c": 456, "d": true, "f": false, "g": null}'::jsonb, '"string"'); - jsonb_to_tsvector -------------------- @@ -206939,7 +206829,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb.out --label - +ERROR: jsonb_to_tsvector(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select jsonb_to_tsvector('english', '{"a": "aaa in bbb", "b": 123, "c": 456, "d": true, "f": false, "g": null}'::jsonb, '"numeric"'); - jsonb_to_tsvector -------------------- @@ -206948,7 +206838,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb.out --label - +ERROR: jsonb_to_tsvector(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select jsonb_to_tsvector('english', '{"a": "aaa in bbb", "b": 123, "c": 456, "d": true, "f": false, "g": null}'::jsonb, '"boolean"'); - jsonb_to_tsvector -------------------- @@ -206957,7 +206847,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb.out --label - +ERROR: jsonb_to_tsvector(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select jsonb_to_tsvector('english', '{"a": "aaa in bbb", "b": 123, "c": 456, "d": true, "f": false, "g": null}'::jsonb, '["string", "numeric"]'); - jsonb_to_tsvector ---------------------------------- @@ -206966,7 +206856,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb.out --label - +ERROR: jsonb_to_tsvector(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select jsonb_to_tsvector('english', '{"a": "aaa in bbb", "b": 123, "c": 456, "d": true, "f": false, "g": null}'::jsonb, '"all"'); - jsonb_to_tsvector ----------------------------------------------------------------------------------------- @@ -206975,7 +206865,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb.out --label - +ERROR: jsonb_to_tsvector(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select jsonb_to_tsvector('english', '{"a": "aaa in bbb", "b": 123, "c": 456, "d": true, "f": false, "g": null}'::jsonb, '"key"'); - jsonb_to_tsvector --------------------------------- @@ -206984,7 +206874,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb.out --label - +ERROR: jsonb_to_tsvector(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select jsonb_to_tsvector('english', '{"a": "aaa in bbb", "b": 123, "c": 456, "d": true, "f": false, "g": null}'::jsonb, '"string"'); - jsonb_to_tsvector -------------------- @@ -206993,7 +206883,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb.out --label - +ERROR: jsonb_to_tsvector(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select jsonb_to_tsvector('english', '{"a": "aaa in bbb", "b": 123, "c": 456, "d": true, "f": false, "g": null}'::jsonb, '"numeric"'); - jsonb_to_tsvector -------------------- @@ -207002,7 +206892,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb.out --label - +ERROR: jsonb_to_tsvector(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select jsonb_to_tsvector('english', '{"a": "aaa in bbb", "b": 123, "c": 456, "d": true, "f": false, "g": null}'::jsonb, '"boolean"'); - jsonb_to_tsvector -------------------- @@ -207011,7 +206901,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb.out --label - +ERROR: jsonb_to_tsvector(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select jsonb_to_tsvector('english', '{"a": "aaa in bbb", "b": 123, "c": 456, "d": true, "f": false, "g": null}'::jsonb, '["string", "numeric"]'); - jsonb_to_tsvector ---------------------------------- @@ -207020,7 +206910,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb.out --label - +ERROR: jsonb_to_tsvector(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 -- to_tsvector corner cases select to_tsvector('""'::jsonb); - to_tsvector @@ -207063,7 +206953,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb.out --label - +ERROR: jsonb_to_tsvector(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select jsonb_to_tsvector('{}'::jsonb, '"all"'); - jsonb_to_tsvector -------------------- @@ -207072,7 +206962,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb.out --label - +ERROR: jsonb_to_tsvector(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select jsonb_to_tsvector('[]'::jsonb, '"all"'); - jsonb_to_tsvector -------------------- @@ -207081,7 +206971,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb.out --label - +ERROR: jsonb_to_tsvector(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select jsonb_to_tsvector('null'::jsonb, '"all"'); - jsonb_to_tsvector -------------------- @@ -207090,18 +206980,18 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb.out --label - +ERROR: jsonb_to_tsvector(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select jsonb_to_tsvector('english', '{"a": "aaa in bbb", "b": 123, "c": 456, "d": true, "f": false, "g": null}'::jsonb, '""'); -ERROR: wrong flag in flag array: "" -HINT: Possible values are: "string", "numeric", "boolean", "key", and "all". +ERROR: jsonb_to_tsvector(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select jsonb_to_tsvector('english', '{"a": "aaa in bbb", "b": 123, "c": 456, "d": true, "f": false, "g": null}'::jsonb, '{}'); -ERROR: wrong flag type, only arrays and scalars are allowed +ERROR: jsonb_to_tsvector(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select jsonb_to_tsvector('english', '{"a": "aaa in bbb", "b": 123, "c": 456, "d": true, "f": false, "g": null}'::jsonb, '[]'); - jsonb_to_tsvector -------------------- @@ -207110,19 +207000,19 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb.out --label - +ERROR: jsonb_to_tsvector(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select jsonb_to_tsvector('english', '{"a": "aaa in bbb", "b": 123, "c": 456, "d": true, "f": false, "g": null}'::jsonb, 'null'); -ERROR: flag array element is not a string -HINT: Possible values are: "string", "numeric", "boolean", "key", and "all". +ERROR: jsonb_to_tsvector(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select jsonb_to_tsvector('english', '{"a": "aaa in bbb", "b": 123, "c": 456, "d": true, "f": false, "g": null}'::jsonb, '["all", null]'); -ERROR: flag array element is not a string -HINT: Possible values are: "string", "numeric", "boolean", "key", and "all". +ERROR: jsonb_to_tsvector(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 -- ts_headline for jsonb select ts_headline('{"a": "aaa bbb", "b": {"c": "ccc ddd fff", "c1": "ccc1 ddd1"}, "d": ["ggg hhh", "iii jjj"]}'::jsonb, tsquery('bbb & ddd & hhh')); - ts_headline @@ -207132,7 +207022,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb.out --label - +ERROR: ts_headline(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select ts_headline('english', '{"a": "aaa bbb", "b": {"c": "ccc ddd fff"}, "d": ["ggg hhh", "iii jjj"]}'::jsonb, tsquery('bbb & ddd & hhh')); - ts_headline ------------------------------------------------------------------------------------------------ @@ -207141,7 +207031,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb.out --label - +ERROR: ts_headline(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select ts_headline('{"a": "aaa bbb", "b": {"c": "ccc ddd fff", "c1": "ccc1 ddd1"}, "d": ["ggg hhh", "iii jjj"]}'::jsonb, tsquery('bbb & ddd & hhh'), 'StartSel = <, StopSel = >'); - ts_headline ---------------------------------------------------------------------------------------------------- @@ -207150,7 +207040,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb.out --label - +ERROR: ts_headline(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select ts_headline('english', '{"a": "aaa bbb", "b": {"c": "ccc ddd fff", "c1": "ccc1 ddd1"}, "d": ["ggg hhh", "iii jjj"]}'::jsonb, tsquery('bbb & ddd & hhh'), 'StartSel = <, StopSel = >'); - ts_headline ---------------------------------------------------------------------------------------------------- @@ -207159,7 +207049,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb.out --label - +ERROR: ts_headline(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 -- corner cases for ts_headline with jsonb select ts_headline('null'::jsonb, tsquery('aaa & bbb')); - ts_headline @@ -207169,7 +207059,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb.out --label - +ERROR: ts_headline(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select ts_headline('{}'::jsonb, tsquery('aaa & bbb')); - ts_headline -------------- @@ -207178,7 +207068,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb.out --label - +ERROR: ts_headline(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 select ts_headline('[]'::jsonb, tsquery('aaa & bbb')); - ts_headline -------------- @@ -207187,7 +207077,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/jsonb.out --label - +ERROR: ts_headline(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 -- casts select 'true'::jsonb::bool; bool @@ -208058,7 +207948,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/returning.out --l +CREATE TEMP TABLE foochild (fc int) INHERITS (foo) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 INSERT INTO foochild VALUES(123,'child',999,-123); +ERROR: relation "foochild" does not exist ALTER TABLE foo ADD COLUMN f4 int8 DEFAULT 99; @@ -208837,7 +208727,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/conversion.out -- LANGUAGE C STRICT; +ERROR: unimplemented: C is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/102201/dev ++See: https://go.crdb.dev/issue-v/102201/v24.3 CREATE USER regress_conversion_user WITH NOCREATEDB NOCREATEROLE; SET SESSION AUTHORIZATION regress_conversion_user; +ERROR: at or near "regress_conversion_user": syntax error: unimplemented: this syntax @@ -208845,7 +208735,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/conversion.out -- +SET SESSION AUTHORIZATION regress_conversion_user + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE CONVERSION myconv FOR 'LATIN1' TO 'UTF8' FROM iso8859_1_to_utf8; +ERROR: at or near "myconv": syntax error: unimplemented: this syntax +DETAIL: source SQL: @@ -209559,7 +209449,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/xml_1.out --label +) +^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/43355/dev ++See: https://go.crdb.dev/issue-v/43355/v24.3 INSERT INTO xmltest VALUES (1, 'one'); -ERROR: unsupported XML feature -LINE 1: INSERT INTO xmltest VALUES (1, 'one'); @@ -209982,7 +209872,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/xml_1.out --label +SELECT xmlroot(xml '', version no value, standalone no value) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/43355/dev ++See: https://go.crdb.dev/issue-v/43355/v24.3 SELECT xmlroot(xml '', version '2.0'); -ERROR: unsupported XML feature -LINE 1: SELECT xmlroot(xml '', version '2.0'); @@ -209993,7 +209883,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/xml_1.out --label +SELECT xmlroot(xml '', version '2.0') + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/43355/dev ++See: https://go.crdb.dev/issue-v/43355/v24.3 SELECT xmlroot(xml '', version no value, standalone yes); -ERROR: unsupported XML feature -LINE 1: SELECT xmlroot(xml '', version no value, standalone ye... @@ -210004,7 +209894,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/xml_1.out --label +SELECT xmlroot(xml '', version no value, standalone yes) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/43355/dev ++See: https://go.crdb.dev/issue-v/43355/v24.3 SELECT xmlroot(xml '', version no value, standalone yes); -ERROR: unsupported XML feature -LINE 1: SELECT xmlroot(xml '', version no... @@ -210015,7 +209905,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/xml_1.out --label +SELECT xmlroot(xml '', version no value, standalone yes) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/43355/dev ++See: https://go.crdb.dev/issue-v/43355/v24.3 SELECT xmlroot(xmlroot(xml '', version '1.0'), version '1.1', standalone no); -ERROR: unsupported XML feature -LINE 1: SELECT xmlroot(xmlroot(xml '', version '1.0'), version... @@ -210026,7 +209916,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/xml_1.out --label +SELECT xmlroot(xmlroot(xml '', version '1.0'), version '1.1', standalone no) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/43355/dev ++See: https://go.crdb.dev/issue-v/43355/v24.3 SELECT xmlroot('', version no value, standalone no); -ERROR: unsupported XML feature -LINE 1: SELECT xmlroot('... @@ -210336,7 +210226,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/xml_1.out --label +SELECT xml 'bar' IS DOCUMENT + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/43355/dev ++See: https://go.crdb.dev/issue-v/43355/v24.3 SELECT xml 'barfoo' IS DOCUMENT; -ERROR: unsupported XML feature -LINE 1: SELECT xml 'barfoo' IS DOCUMENT; @@ -210347,7 +210237,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/xml_1.out --label +SELECT xml 'barfoo' IS DOCUMENT + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/43355/dev ++See: https://go.crdb.dev/issue-v/43355/v24.3 SELECT xml '' IS NOT DOCUMENT; -ERROR: unsupported XML feature -LINE 1: SELECT xml '' IS NOT DOCUMENT; @@ -210358,7 +210248,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/xml_1.out --label +SELECT xml '' IS NOT DOCUMENT + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/43355/dev ++See: https://go.crdb.dev/issue-v/43355/v24.3 SELECT xml 'abc' IS NOT DOCUMENT; -ERROR: unsupported XML feature -LINE 1: SELECT xml 'abc' IS NOT DOCUMENT; @@ -210369,7 +210259,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/xml_1.out --label +SELECT xml 'abc' IS NOT DOCUMENT + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/43355/dev ++See: https://go.crdb.dev/issue-v/43355/v24.3 SELECT '<>' IS NOT DOCUMENT; -ERROR: unsupported XML feature -LINE 1: SELECT '<>' IS NOT DOCUMENT; @@ -210425,7 +210315,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/xml_1.out --label +PREPARE foo (xml) AS SELECT xmlconcat('', $1) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/43355/dev ++See: https://go.crdb.dev/issue-v/43355/v24.3 SET XML OPTION DOCUMENT; +ERROR: at or near "option": syntax error +DETAIL: source SQL: @@ -210446,7 +210336,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/xml_1.out --label +SELECT xml '' + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/43355/dev ++See: https://go.crdb.dev/issue-v/43355/v24.3 SET XML OPTION CONTENT; +ERROR: at or near "option": syntax error +DETAIL: source SQL: @@ -210467,7 +210357,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/xml_1.out --label +SELECT xml ' ' + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/43355/dev ++See: https://go.crdb.dev/issue-v/43355/v24.3 SELECT xml ' '; -ERROR: unsupported XML feature -LINE 1: SELECT xml ' ' + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/43355/dev ++See: https://go.crdb.dev/issue-v/43355/v24.3 SELECT xml ''; -ERROR: unsupported XML feature -LINE 1: SELECT xml ''; @@ -210489,7 +210379,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/xml_1.out --label +SELECT xml '' + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/43355/dev ++See: https://go.crdb.dev/issue-v/43355/v24.3 SELECT xml ' oops '; -ERROR: unsupported XML feature -LINE 1: SELECT xml ' oops '; @@ -210500,7 +210390,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/xml_1.out --label +SELECT xml ' oops ' + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/43355/dev ++See: https://go.crdb.dev/issue-v/43355/v24.3 SELECT xml ' '; -ERROR: unsupported XML feature -LINE 1: SELECT xml ' '; @@ -210511,7 +210401,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/xml_1.out --label +SELECT xml ' ' + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/43355/dev ++See: https://go.crdb.dev/issue-v/43355/v24.3 SELECT xml ''; -ERROR: unsupported XML feature -LINE 1: SELECT xml ''; @@ -210522,7 +210412,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/xml_1.out --label +SELECT xml '' + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/43355/dev ++See: https://go.crdb.dev/issue-v/43355/v24.3 -- Test backwards parsing CREATE VIEW xmlview1 AS SELECT xmlcomment('test'); +ERROR: unknown function: xmlcomment() @@ -210568,7 +210458,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/xml_1.out --label +CREATE VIEW xmlview7 AS SELECT xmlroot(xml '', version no value, standalone yes) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/43355/dev ++See: https://go.crdb.dev/issue-v/43355/v24.3 CREATE VIEW xmlview8 AS SELECT xmlserialize(content 'good' as char(10)); -ERROR: unsupported XML feature -LINE 1: ...EATE VIEW xmlview8 AS SELECT xmlserialize(content 'good' as ... @@ -210750,7 +210640,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/xml_1.out --label +SELECT xpath_exists('//town[text() = ''Toronto'']','Bidford-on-AvonCwmbranBristol'::xml) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/43355/dev ++See: https://go.crdb.dev/issue-v/43355/v24.3 SELECT xpath_exists('//town[text() = ''Cwmbran'']','Bidford-on-AvonCwmbranBristol'::xml); -ERROR: unsupported XML feature -LINE 1: ...ELECT xpath_exists('//town[text() = ''Cwmbran'']','Bidford-on-AvonCwmbranBristol'::xml) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/43355/dev ++See: https://go.crdb.dev/issue-v/43355/v24.3 SELECT xpath_exists('count(/nosuchtag)', ''::xml); -ERROR: unsupported XML feature -LINE 1: SELECT xpath_exists('count(/nosuchtag)', ''::xml); @@ -210772,7 +210662,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/xml_1.out --label +SELECT xpath_exists('count(/nosuchtag)', ''::xml) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/43355/dev ++See: https://go.crdb.dev/issue-v/43355/v24.3 INSERT INTO xmltest VALUES (4, 'BudvarfreeCarlinglots'::xml); -ERROR: unsupported XML feature -LINE 1: INSERT INTO xmltest VALUES (4, 'BudvarBudvarfreeCarlinglots'::xml) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/43355/dev ++See: https://go.crdb.dev/issue-v/43355/v24.3 INSERT INTO xmltest VALUES (5, 'MolsonfreeCarlinglots'::xml); -ERROR: unsupported XML feature -LINE 1: INSERT INTO xmltest VALUES (5, 'MolsonMolsonfreeCarlinglots'::xml) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/43355/dev ++See: https://go.crdb.dev/issue-v/43355/v24.3 INSERT INTO xmltest VALUES (6, 'BudvarfreeCarlinglots'::xml); -ERROR: unsupported XML feature -LINE 1: INSERT INTO xmltest VALUES (6, 'BudvarfreeCarlinglots'::xml) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/43355/dev ++See: https://go.crdb.dev/issue-v/43355/v24.3 INSERT INTO xmltest VALUES (7, 'MolsonfreeCarlinglots'::xml); -ERROR: unsupported XML feature -LINE 1: INSERT INTO xmltest VALUES (7, 'MolsonfreeCarlinglots'::xml) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/43355/dev ++See: https://go.crdb.dev/issue-v/43355/v24.3 SELECT COUNT(id) FROM xmltest WHERE xmlexists('/menu/beer' PASSING data); - count -------- @@ -211039,7 +210929,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/xml_1.out --label +CREATE TABLE xmldata(data xml) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/43355/dev ++See: https://go.crdb.dev/issue-v/43355/v24.3 INSERT INTO xmldata VALUES(' AU @@ -211521,7 +211411,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/xml_1.out --label +CREATE TABLE xmltest2(x xml, _path text) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/43355/dev ++See: https://go.crdb.dev/issue-v/43355/v24.3 INSERT INTO xmltest2 VALUES('1', 'A'); -ERROR: unsupported XML feature -LINE 1: INSERT INTO xmltest2 VALUES('1', 'A')... @@ -211634,7 +211524,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/temp.out --label= +CREATE TEMP TABLE temptest(col int) ON COMMIT DELETE ROWS + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46556/dev ++See: https://go.crdb.dev/issue-v/46556/v24.3 -- while we're here, verify successful truncation of index with SQL function CREATE INDEX ON temptest(bit_length('')); +ERROR: relation "temptest" does not exist @@ -211691,7 +211581,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/temp.out --label= +CREATE TEMP TABLE temptest(col int) ON COMMIT DROP + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46556/dev ++See: https://go.crdb.dev/issue-v/46556/v24.3 INSERT INTO temptest VALUES (1); +ERROR: current transaction is aborted, commands ignored until end of transaction block INSERT INTO temptest VALUES (2); @@ -211736,7 +211626,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/temp.out --label= +CREATE TABLE temptest(col int) ON COMMIT DELETE ROWS + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46556/dev ++See: https://go.crdb.dev/issue-v/46556/v24.3 CREATE TABLE temptest(col) ON COMMIT DELETE ROWS AS SELECT 1; -ERROR: ON COMMIT can only be used on temporary tables +ERROR: at or near "on": syntax error @@ -211755,7 +211645,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/temp.out --label= + ON COMMIT DELETE ROWS + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46556/dev ++See: https://go.crdb.dev/issue-v/46556/v24.3 INSERT INTO temptest1 VALUES (1); +ERROR: current transaction is aborted, commands ignored until end of transaction block INSERT INTO temptest2 VALUES (1); @@ -211781,7 +211671,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/temp.out --label= +CREATE TEMP TABLE temptest3(col int PRIMARY KEY) ON COMMIT DELETE ROWS + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46556/dev ++See: https://go.crdb.dev/issue-v/46556/v24.3 CREATE TEMP TABLE temptest4(col int REFERENCES temptest3); +ERROR: current transaction is aborted, commands ignored until end of transaction block COMMIT; @@ -211796,7 +211686,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/temp.out --label= as $$select 'temp'::text$$ language sql; +ERROR: unimplemented: cannot create UDFs under a temporary schema +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/104687/dev ++See: https://go.crdb.dev/issue-v/104687/v24.3 -- default should have pg_temp implicitly first, but only for tables select * from whereami; f1 @@ -211819,7 +211709,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/temp.out --label= +create domain pg_temp.nonempty as text check (value <> '') + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 -- function-syntax invocation of types matches rules for functions select nonempty(''); -ERROR: function nonempty(unknown) does not exist @@ -211965,7 +211855,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/temp.out --label= +create temp table temp_inh_oncommit_test (a int) on commit drop + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46556/dev ++See: https://go.crdb.dev/issue-v/46556/v24.3 create temp table temp_inh_oncommit_test1 () inherits(temp_inh_oncommit_test) on commit delete rows; +ERROR: at or near "(": syntax error: unimplemented: this syntax @@ -211974,7 +211864,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/temp.out --label= + inherits(temp_inh_oncommit_test) on commit delete rows + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 insert into temp_inh_oncommit_test1 values (1); +ERROR: current transaction is aborted, commands ignored until end of transaction block commit; @@ -211989,7 +211879,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/temp.out --label= +create temp table temp_inh_oncommit_test (a int) on commit delete rows + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46556/dev ++See: https://go.crdb.dev/issue-v/46556/v24.3 create temp table temp_inh_oncommit_test1 () inherits(temp_inh_oncommit_test) on commit drop; +ERROR: at or near "(": syntax error: unimplemented: this syntax @@ -211998,7 +211888,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/temp.out --label= + inherits(temp_inh_oncommit_test) on commit drop + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 insert into temp_inh_oncommit_test1 values (1); +ERROR: current transaction is aborted, commands ignored until end of transaction block insert into temp_inh_oncommit_test values (1); @@ -212031,7 +211921,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/temp.out --label= $$ select '2pc_func'::text $$ language sql; +ERROR: unimplemented: cannot create UDFs under a temporary schema +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/104687/dev ++See: https://go.crdb.dev/issue-v/104687/v24.3 prepare transaction 'twophase_func'; -ERROR: cannot PREPARE a transaction that has operated on temporary objects +ERROR: at or near "twophase_func": syntax error @@ -212063,7 +211953,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/temp.out --label= +create operator pg_temp.@@ (leftarg = int4, rightarg = int4, procedure = int4mi) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 prepare transaction 'twophase_operator'; -ERROR: cannot PREPARE a transaction that has operated on temporary objects +ERROR: at or near "twophase_operator": syntax error @@ -212315,7 +212205,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rangefuncs.out -- declare rf_cur scroll cursor for select * from rows from(generate_series(1,5),generate_series(1,2)) with ordinality as g(i,j,o); +ERROR: unimplemented: DECLARE SCROLL CURSOR +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/77102/dev ++See: https://go.crdb.dev/issue-v/77102/v24.3 fetch all from rf_cur; - i | j | o ----+---+--- @@ -212868,7 +212758,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rangefuncs.out -- CREATE FUNCTION rngfunc_mat(int,int) RETURNS setof rngfunc_rescan_t AS 'begin for i in $1..$2 loop return next (i, nextval(''rngfunc_rescan_seq2'')); end loop; end;' LANGUAGE plpgsql; +ERROR: unimplemented: set-returning PL/pgSQL functions are not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/105240/dev ++See: https://go.crdb.dev/issue-v/105240/v24.3 --invokes ExecReScanFunctionScan - all these cases should materialize the function only once -- LEFT JOIN on a condition that the planner can't prove to be true is used to ensure the function -- is on the inner path of a nestloop join @@ -213651,7 +213541,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rangefuncs.out -- +RETURNS TABLE(a int) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/100226/dev ++See: https://go.crdb.dev/issue-v/100226/v24.3 SELECT * FROM rngfunc(); - a ---- @@ -213676,7 +213566,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rangefuncs.out -- +RETURNS TABLE(a int, b int) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/100226/dev ++See: https://go.crdb.dev/issue-v/100226/v24.3 SELECT * FROM rngfunc(3); - a | b ----+--- @@ -213704,7 +213594,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rangefuncs.out -- +RETURNS TABLE(a varchar(5)) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/100226/dev ++See: https://go.crdb.dev/issue-v/100226/v24.3 SELECT * FROM rngfunc() GROUP BY 1; - a -------- @@ -213845,18 +213735,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rangefuncs.out -- -- triggers will fire, too create function noticetrigger() returns trigger as $$ -@@ -1762,72 +1314,59 @@ - raise notice 'noticetrigger % %', new.f1, new.data; - return null; +@@ -1764,70 +1316,54 @@ end $$ language plpgsql; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev create trigger tnoticetrigger after insert on tt for each row execute procedure noticetrigger(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 select insert_tt2('foolme','barme') limit 1; -NOTICE: noticetrigger 11 foolme -NOTICE: noticetrigger 12 barme @@ -213956,7 +213841,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rangefuncs.out -- -- test case for a whole-row-variable bug create function rngfunc1(n integer, out a text, out b text) -@@ -1835,6 +1374,18 @@ +@@ -1835,6 +1371,18 @@ language sql as $$ select 'foo ' || i, 'bar ' || i from generate_series(1,$1) i $$; set work_mem='64kB'; @@ -213975,7 +213860,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rangefuncs.out -- select t.a, t, t.a from rngfunc1(10000) t limit 1; a | t | a -------+-------------------+------- -@@ -1842,6 +1393,18 @@ +@@ -1842,6 +1390,18 @@ (1 row) reset work_mem; @@ -213994,7 +213879,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rangefuncs.out -- select t.a, t, t.a from rngfunc1(10000) t limit 1; a | t | a -------+-------------------+------- -@@ -1871,31 +1434,24 @@ +@@ -1871,31 +1431,24 @@ select * from array_to_set(array['one', 'two']); -- fail ERROR: a column definition list is required for functions returning "record" @@ -214019,7 +213904,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rangefuncs.out -- +select * from array_to_set(array['one', 'two']) as t(f1 point,f2 text) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 -- with "strict", this function can't be inlined in FROM explain (verbose, costs off) select * from array_to_set(array['one', 'two']) as t(f1 numeric(4,2),f2 text); @@ -214038,7 +213923,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rangefuncs.out -- -- but without, it can be: create or replace function array_to_set(anyarray) returns setof record as $$ select i AS "index", $1[i] AS "value" from generate_subscripts($1, 1) i -@@ -1914,26 +1470,21 @@ +@@ -1914,26 +1467,21 @@ 2 | two (2 rows) @@ -214059,7 +213944,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rangefuncs.out -- +select * from array_to_set(array['one', 'two']) as t(f1 point,f2 text) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 explain (verbose, costs off) select * from array_to_set(array['one', 'two']) as t(f1 numeric(4,2),f2 text); - QUERY PLAN @@ -214077,7 +213962,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rangefuncs.out -- create temp table rngfunc(f1 int8, f2 int8); create function testrngfunc() returns record as $$ insert into rngfunc values (1,2) returning *; -@@ -1952,8 +1503,6 @@ +@@ -1952,8 +1500,6 @@ select * from testrngfunc(); -- fail ERROR: a column definition list is required for functions returning "record" @@ -214086,7 +213971,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rangefuncs.out -- drop function testrngfunc(); create function testrngfunc() returns setof record as $$ insert into rngfunc values (1,2), (3,4) returning *; -@@ -1974,8 +1523,6 @@ +@@ -1974,8 +1520,6 @@ select * from testrngfunc(); -- fail ERROR: a column definition list is required for functions returning "record" @@ -214095,7 +213980,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rangefuncs.out -- drop function testrngfunc(); -- Check that typmod imposed by a composite type is honored create type rngfunc_type as (f1 numeric(35,6), f2 numeric(35,2)); -@@ -1984,12 +1531,11 @@ +@@ -1984,12 +1528,11 @@ $$ language sql immutable; explain (verbose, costs off) select testrngfunc(); @@ -214113,7 +213998,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rangefuncs.out -- select testrngfunc(); testrngfunc ----------------- -@@ -1998,13 +1544,11 @@ +@@ -1998,13 +1541,11 @@ explain (verbose, costs off) select * from testrngfunc(); @@ -214132,7 +214017,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rangefuncs.out -- select * from testrngfunc(); f1 | f2 ----------+------ -@@ -2016,12 +1560,11 @@ +@@ -2016,12 +1557,11 @@ $$ language sql volatile; explain (verbose, costs off) select testrngfunc(); @@ -214150,7 +214035,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rangefuncs.out -- select testrngfunc(); testrngfunc ----------------- -@@ -2030,13 +1573,11 @@ +@@ -2030,13 +1570,11 @@ explain (verbose, costs off) select * from testrngfunc(); @@ -214169,7 +214054,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rangefuncs.out -- select * from testrngfunc(); f1 | f2 ----------+------ -@@ -2049,13 +1590,11 @@ +@@ -2049,13 +1587,11 @@ $$ language sql immutable; explain (verbose, costs off) select testrngfunc(); @@ -214188,7 +214073,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rangefuncs.out -- select testrngfunc(); testrngfunc ----------------- -@@ -2064,12 +1603,11 @@ +@@ -2064,12 +1600,11 @@ explain (verbose, costs off) select * from testrngfunc(); @@ -214206,7 +214091,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rangefuncs.out -- select * from testrngfunc(); f1 | f2 ----------+------ -@@ -2081,13 +1619,11 @@ +@@ -2081,13 +1616,11 @@ $$ language sql volatile; explain (verbose, costs off) select testrngfunc(); @@ -214225,7 +214110,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rangefuncs.out -- select testrngfunc(); testrngfunc ----------------- -@@ -2096,13 +1632,11 @@ +@@ -2096,13 +1629,11 @@ explain (verbose, costs off) select * from testrngfunc(); @@ -214244,7 +214129,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rangefuncs.out -- select * from testrngfunc(); f1 | f2 ----------+------ -@@ -2112,62 +1646,45 @@ +@@ -2112,62 +1643,45 @@ create or replace function testrngfunc() returns setof rngfunc_type as $$ select 1, 2 union select 3, 4 order by 1; $$ language sql immutable; @@ -214324,11 +214209,11 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rangefuncs.out -- -NOTICE: drop cascades to function testrngfunc() +ERROR: unimplemented: DROP TYPE CASCADE is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/51480/dev ++See: https://go.crdb.dev/issue-v/51480/v24.3 -- -- Check some cases involving added/dropped columns in a rowtype result -- -@@ -2178,79 +1695,37 @@ +@@ -2178,79 +1692,37 @@ create or replace function get_first_user() returns users as $$ SELECT * FROM users ORDER BY userid LIMIT 1; $$ language sql stable; @@ -214421,7 +214306,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rangefuncs.out -- -- We used to have a bug that would allow the above to succeed, posing -- hazards for later execution of the view. Check that the internal -- defenses for those hazards haven't bit-rotted, in case some other -@@ -2264,18 +1739,17 @@ +@@ -2264,18 +1736,17 @@ returning pg_describe_object(classid, objid, objsubid) as obj, pg_describe_object(refclassid, refobjid, refobjsubid) as ref, deptype; @@ -214441,13 +214326,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rangefuncs.out -- -ERROR: cannot alter type of a column used by a view or rule -DETAIL: rule _RETURN on view usersview depends on column "seq" +ERROR: ALTER COLUMN TYPE from int to decimal is only supported experimentally -+HINT: See: https://go.crdb.dev/issue-v/49329/dev ++HINT: See: https://go.crdb.dev/issue-v/49329/v24.3 +-- +you can enable alter column type general support by running `SET enable_experimental_alter_column_type_general = true` -- likewise, check we don't crash if the dependency goes wrong begin; -- destroy the dependency entry that prevents the ALTER: -@@ -2286,19 +1760,18 @@ +@@ -2286,19 +1757,18 @@ returning pg_describe_object(classid, objid, objsubid) as obj, pg_describe_object(refclassid, refobjid, refobjsubid) as ref, deptype; @@ -214473,7 +214358,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rangefuncs.out -- drop table users; -- check behavior with type coercion required for a set-op create or replace function rngfuncbar() returns setof text as -@@ -2320,17 +1793,11 @@ +@@ -2320,17 +1790,11 @@ -- this function is now inlinable, too: explain (verbose, costs off) select * from rngfuncbar(); @@ -214496,7 +214381,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rangefuncs.out -- drop function rngfuncbar(); -- check handling of a SQL function with multiple OUT params (bug #5777) create or replace function rngfuncbar(out integer, out numeric) as -@@ -2344,115 +1811,100 @@ +@@ -2344,115 +1808,100 @@ create or replace function rngfuncbar(out integer, out numeric) as $$ select (1, 2) $$ language sql; select * from rngfuncbar(); -- fail @@ -214562,7 +214447,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rangefuncs.out -- +create function extractq2_2(t int8_tbl) returns table(ret1 int8) as $$ + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/100226/dev ++See: https://go.crdb.dev/issue-v/100226/v24.3 explain (verbose, costs off) select x from int8_tbl, extractq2_2(int8_tbl) f(x); - QUERY PLAN @@ -214600,7 +214485,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rangefuncs.out -- +create function extractq2_2_opt(t int8_tbl) returns table(ret1 int8) as $$ + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/100226/dev ++See: https://go.crdb.dev/issue-v/100226/v24.3 explain (verbose, costs off) select x from int8_tbl, extractq2_2_opt(int8_tbl) f(x); - QUERY PLAN @@ -214670,7 +214555,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rangefuncs.out -- (0 rows) drop type rngfunc2; -@@ -2463,25 +1915,16 @@ +@@ -2463,25 +1912,16 @@ from unnest(array['{"lectures": [{"id": "1"}]}'::jsonb]) as unnested_modules(module)) as ss, jsonb_to_recordset(ss.lecture) as j (id text); @@ -214703,7 +214588,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rangefuncs.out -- - +ERROR: jsonb_path_query_array(): unimplemented: this function is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22513/dev ++See: https://go.crdb.dev/issue-v/22513/v24.3 diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/sequence.out --label=/mnt/data1/postgres/src/test/regress/results/sequence.out /mnt/data1/postgres/src/test/regress/expected/sequence.out /mnt/data1/postgres/src/test/regress/results/sequence.out --- /mnt/data1/postgres/src/test/regress/expected/sequence.out +++ /mnt/data1/postgres/src/test/regress/results/sequence.out @@ -214805,9 +214690,9 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/sequence.out --la CREATE TABLE serialTest2 (f1 text, f2 serial, f3 smallserial, f4 serial2, f5 bigserial, f6 serial8); +NOTICE: upgrading the column f3 to INT8 to utilize the session serial_normalization setting -+HINT: change the serial_normalization to sql_sequence or sql_sequence_cached if you wish to use a smaller sized serial column at the cost of performance. See https://www.cockroachlabs.com/docs/dev/serial.html ++HINT: change the serial_normalization to sql_sequence or sql_sequence_cached if you wish to use a smaller sized serial column at the cost of performance. See https://www.cockroachlabs.com/docs/v24.3/serial.html +NOTICE: upgrading the column f4 to INT8 to utilize the session serial_normalization setting -+HINT: change the serial_normalization to sql_sequence or sql_sequence_cached if you wish to use a smaller sized serial column at the cost of performance. See https://www.cockroachlabs.com/docs/dev/serial.html ++HINT: change the serial_normalization to sql_sequence or sql_sequence_cached if you wish to use a smaller sized serial column at the cost of performance. See https://www.cockroachlabs.com/docs/v24.3/serial.html INSERT INTO serialTest2 (f1) VALUES ('test_defaults'); INSERT INTO serialTest2 (f1, f2, f3, f4, f5, f6) @@ -215003,7 +214888,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/sequence.out --la INCREMENT BY 4 MAXVALUE 36 MINVALUE 5 CYCLE; +ERROR: unimplemented: CYCLE option is not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/20961/dev ++See: https://go.crdb.dev/issue-v/20961/v24.3 SELECT nextval('sequence_test2'); nextval --------- @@ -215068,7 +214953,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/sequence.out --la INCREMENT BY -4 MINVALUE -36 MAXVALUE -5 CYCLE; +ERROR: unimplemented: CYCLE option is not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/20961/dev ++See: https://go.crdb.dev/issue-v/20961/v24.3 SELECT nextval('sequence_test2'); nextval --------- @@ -215147,7 +215032,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/sequence.out --la INCREMENT BY 4 MAXVALUE 36 MINVALUE 5 CYCLE; +ERROR: unimplemented: CYCLE option is not supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/20961/dev ++See: https://go.crdb.dev/issue-v/20961/v24.3 SELECT setval('sequence_test2', -100); -- error -ERROR: setval: value -100 is out of bounds for sequence "sequence_test2" (5..36) +ERROR: setval(): value -100 is out of bounds for sequence "sequence_test2" (1..9223372036854775807) @@ -215670,7 +215555,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/truncate.out --la -- Test foreign-key checks CREATE TABLE trunc_b (a int REFERENCES truncate_a); CREATE TABLE trunc_c (a serial PRIMARY KEY); -+NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/dev/serial.html ++NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/v24.3/serial.html CREATE TABLE trunc_d (a int REFERENCES trunc_c); CREATE TABLE trunc_e (a int REFERENCES truncate_a, b int REFERENCES trunc_c); TRUNCATE TABLE truncate_a; -- fail @@ -215763,7 +215648,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/truncate.out --la +CREATE TABLE trunc_fa (col2a text) INHERITS (trunc_f) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 INSERT INTO trunc_fa VALUES (3, 'three'); +ERROR: relation "trunc_fa" does not exist CREATE TABLE trunc_fb (col2b int) INHERITS (trunc_f); @@ -215772,7 +215657,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/truncate.out --la +CREATE TABLE trunc_fb (col2b int) INHERITS (trunc_f) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 INSERT INTO trunc_fb VALUES (4, 444); +ERROR: relation "trunc_fb" does not exist CREATE TABLE trunc_faa (col3 text) INHERITS (trunc_fa); @@ -215781,7 +215666,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/truncate.out --la +CREATE TABLE trunc_faa (col3 text) INHERITS (trunc_fa) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 INSERT INTO trunc_faa VALUES (5, 'five', 'FIVE'); +ERROR: relation "trunc_faa" does not exist BEGIN; @@ -215929,13 +215814,23 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/truncate.out --la -- Test ON TRUNCATE triggers CREATE TABLE trunc_trigger_test (f1 int, f2 text, f3 text); CREATE TABLE trunc_trigger_log (tgop text, tglevel text, tgwhen text, -@@ -294,12 +228,18 @@ +@@ -294,12 +228,28 @@ return null; end; $$ LANGUAGE plpgsql; -+ERROR: unimplemented: trigger functions are not yet supported ++ERROR: unimplemented: attempted to use a PL/pgSQL statement that is not yet supported ++DETAIL: stmt_dyn_exec is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev ++ ++Please check the public issue tracker to check whether this problem is ++already tracked. If you cannot find it there, please report the error ++with details by creating a new issue. ++ ++If you would rather not post publicly, please contact us directly ++using the support form. ++ ++We appreciate your feedback. ++ -- basic before trigger INSERT INTO trunc_trigger_test VALUES(1, 'foo', 'bar'), (2, 'baz', 'quux'); CREATE TRIGGER t @@ -215944,11 +215839,11 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/truncate.out --la EXECUTE PROCEDURE trunctrigger('before trigger truncate'); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 SELECT count(*) as "Row count in test table" FROM trunc_trigger_test; Row count in test table ------------------------- -@@ -319,12 +259,14 @@ +@@ -319,12 +269,14 @@ (1 row) SELECT * FROM trunc_trigger_log; @@ -215963,21 +215858,21 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/truncate.out --la DROP TRIGGER t ON trunc_trigger_test; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 truncate trunc_trigger_log; -- same test with an after trigger INSERT INTO trunc_trigger_test VALUES(1, 'foo', 'bar'), (2, 'baz', 'quux'); -@@ -332,6 +274,9 @@ +@@ -332,6 +284,9 @@ AFTER TRUNCATE ON trunc_trigger_test FOR EACH STATEMENT EXECUTE PROCEDURE trunctrigger('after trigger truncate'); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 SELECT count(*) as "Row count in test table" FROM trunc_trigger_test; Row count in test table ------------------------- -@@ -351,17 +296,18 @@ +@@ -351,17 +306,18 @@ (1 row) SELECT * FROM trunc_trigger_log; @@ -216001,7 +215896,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/truncate.out --la id1 integer default nextval('truncate_a_id1')); ALTER SEQUENCE truncate_a_id1 OWNED BY truncate_a.id1; INSERT INTO truncate_a DEFAULT VALUES; -@@ -384,14 +330,20 @@ +@@ -384,14 +340,20 @@ (2 rows) TRUNCATE truncate_a RESTART IDENTITY; @@ -216025,7 +215920,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/truncate.out --la CREATE TABLE truncate_b (id int GENERATED ALWAYS AS IDENTITY (START WITH 44)); INSERT INTO truncate_b DEFAULT VALUES; -@@ -414,56 +366,74 @@ +@@ -414,56 +376,74 @@ (2 rows) TRUNCATE truncate_b RESTART IDENTITY; @@ -216118,7 +216013,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/truncate.out --la -- foreign key on partitioned table: partition key is referencing column. -- Make sure truncate did execute on all tables CREATE FUNCTION tp_ins_data() RETURNS void LANGUAGE plpgsql AS $$ -@@ -472,6 +442,7 @@ +@@ -472,6 +452,7 @@ INSERT INTO truncpart VALUES (1), (100), (150); END $$; @@ -216126,7 +216021,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/truncate.out --la CREATE FUNCTION tp_chk_data(OUT pktb regclass, OUT pkval int, OUT fktb regclass, OUT fkval int) RETURNS SETOF record LANGUAGE plpgsql AS $$ BEGIN -@@ -481,114 +452,173 @@ +@@ -481,114 +462,173 @@ ORDER BY 2, 4; END $$; @@ -216377,7 +216272,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +ALTER TABLE attmp ADD COLUMN g polygon + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 ALTER TABLE attmp ADD COLUMN i char; ALTER TABLE attmp ADD COLUMN k int4; ALTER TABLE attmp ADD COLUMN l tid; @@ -216394,28 +216289,28 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +ALTER TABLE attmp ADD COLUMN q point + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 ALTER TABLE attmp ADD COLUMN r lseg; +ERROR: at or near "EOF": syntax error: unimplemented: this syntax +DETAIL: source SQL: +ALTER TABLE attmp ADD COLUMN r lseg + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 ALTER TABLE attmp ADD COLUMN s path; +ERROR: at or near "EOF": syntax error: unimplemented: this syntax +DETAIL: source SQL: +ALTER TABLE attmp ADD COLUMN s path + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 ALTER TABLE attmp ADD COLUMN t box; +ERROR: at or near "EOF": syntax error: unimplemented: this syntax +DETAIL: source SQL: +ALTER TABLE attmp ADD COLUMN t box + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 ALTER TABLE attmp ADD COLUMN v timestamp; ALTER TABLE attmp ADD COLUMN w interval; ALTER TABLE attmp ADD COLUMN x float8[]; @@ -216444,7 +216339,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +ALTER TABLE attmp ADD COLUMN g polygon + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 ALTER TABLE attmp ADD COLUMN i char; ALTER TABLE attmp ADD COLUMN k int4; ALTER TABLE attmp ADD COLUMN l tid; @@ -216461,28 +216356,28 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +ALTER TABLE attmp ADD COLUMN q point + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 ALTER TABLE attmp ADD COLUMN r lseg; +ERROR: at or near "EOF": syntax error: unimplemented: this syntax +DETAIL: source SQL: +ALTER TABLE attmp ADD COLUMN r lseg + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 ALTER TABLE attmp ADD COLUMN s path; +ERROR: at or near "EOF": syntax error: unimplemented: this syntax +DETAIL: source SQL: +ALTER TABLE attmp ADD COLUMN s path + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 ALTER TABLE attmp ADD COLUMN t box; +ERROR: at or near "EOF": syntax error: unimplemented: this syntax +DETAIL: source SQL: +ALTER TABLE attmp ADD COLUMN t box + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 ALTER TABLE attmp ADD COLUMN v timestamp; ALTER TABLE attmp ADD COLUMN w interval; ALTER TABLE attmp ADD COLUMN x float8[]; @@ -216824,7 +216719,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - ALTER TABLE onek DROP CONSTRAINT onek_unique1_constraint_foo; +ERROR: unimplemented: cannot drop UNIQUE constraint "onek_unique1_constraint_foo" using ALTER TABLE DROP CONSTRAINT, use DROP INDEX CASCADE instead +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/42840/dev ++See: https://go.crdb.dev/issue-v/42840/v24.3 -- renaming constraint ALTER TABLE onek ADD CONSTRAINT onek_check_constraint CHECK (unique1 >= 0); ALTER TABLE onek RENAME CONSTRAINT onek_check_constraint TO onek_check_constraint_foo; @@ -216874,7 +216769,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +CREATE TABLE constraint_rename_test2 (a int CONSTRAINT con1 CHECK (a > 0), d int) INHERITS (constraint_rename_test) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 \d constraint_rename_test2 - Table "public.constraint_rename_test2" - Column | Type | Collation | Nullable | Default @@ -217129,14 +217024,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +CREATE TABLE attmp6 () INHERITS (attmp3) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 CREATE TABLE attmp7 () INHERITS (attmp3); +ERROR: at or near "(": syntax error: unimplemented: this syntax +DETAIL: source SQL: +CREATE TABLE attmp7 () INHERITS (attmp3) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 INSERT INTO attmp6 VALUES (6, 30), (7, 16); +ERROR: relation "attmp6" does not exist ALTER TABLE attmp3 ADD CONSTRAINT b_le_20 CHECK (b <= 20) NOT VALID; @@ -217168,7 +217063,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +create table child_noinh_convalid () inherits (parent_noinh_convalid) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 insert into parent_noinh_convalid values (1); insert into child_noinh_convalid values (1); +ERROR: relation "child_noinh_convalid" does not exist @@ -217253,14 +217148,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +create table nv_child_2010 () inherits (nv_parent) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 create table nv_child_2011 () inherits (nv_parent); +ERROR: at or near "(": syntax error: unimplemented: this syntax +DETAIL: source SQL: +create table nv_child_2011 () inherits (nv_parent) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 alter table nv_child_2010 add check (d between '2010-01-01'::date and '2010-12-31'::date) not valid; +ERROR: relation "nv_child_2010" does not exist alter table nv_child_2011 add check (d between '2011-01-01'::date and '2011-12-31'::date) not valid; @@ -217288,7 +217183,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +create table nv_child_2009 (check (d between '2009-01-01'::date and '2009-12-31'::date)) inherits (nv_parent) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 explain (costs off) select * from nv_parent where d between '2011-08-01'::date and '2011-08-31'::date; - QUERY PLAN ---------------------------------------------------------------------------- @@ -217426,7 +217321,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +CREATE TEMP TABLE FKTABLE (ftest1 cidr, ftest2 timestamp) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/18846/dev ++See: https://go.crdb.dev/issue-v/18846/v24.3 ALTER TABLE FKTABLE ADD FOREIGN KEY(ftest1, ftest2) references pktable; -ERROR: foreign key constraint "fktable_ftest1_ftest2_fkey" cannot be implemented -DETAIL: Key columns "ftest1" and "ptest1" are of incompatible types: cidr and integer. @@ -217440,7 +217335,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +CREATE TEMP TABLE FKTABLE (ftest1 cidr, ftest2 timestamp) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/18846/dev ++See: https://go.crdb.dev/issue-v/18846/v24.3 ALTER TABLE FKTABLE ADD FOREIGN KEY(ftest1, ftest2) references pktable(ptest1, ptest2); -ERROR: foreign key constraint "fktable_ftest1_ftest2_fkey" cannot be implemented @@ -217482,7 +217377,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - + ON DELETE CASCADE ON UPDATE NO ACTION DEFERRABLE INITIALLY DEFERRED + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31632/dev ++See: https://go.crdb.dev/issue-v/31632/v24.3 ALTER TABLE FKTABLE ADD CONSTRAINT fkdi FOREIGN KEY(ftest1) REFERENCES pktable ON DELETE CASCADE ON UPDATE NO ACTION DEFERRABLE INITIALLY IMMEDIATE; +ERROR: at or near "immediate": syntax error: unimplemented: this syntax @@ -217491,7 +217386,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - + ON DELETE CASCADE ON UPDATE NO ACTION DEFERRABLE INITIALLY IMMEDIATE + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31632/dev ++See: https://go.crdb.dev/issue-v/31632/v24.3 ALTER TABLE FKTABLE ADD CONSTRAINT fknd2 FOREIGN KEY(ftest1) REFERENCES pktable ON DELETE CASCADE ON UPDATE NO ACTION DEFERRABLE INITIALLY DEFERRED; +ERROR: at or near "deferred": syntax error: unimplemented: this syntax @@ -217500,14 +217395,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - + ON DELETE CASCADE ON UPDATE NO ACTION DEFERRABLE INITIALLY DEFERRED + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31632/dev ++See: https://go.crdb.dev/issue-v/31632/v24.3 ALTER TABLE FKTABLE ALTER CONSTRAINT fknd2 NOT DEFERRABLE; +ERROR: at or near "not": syntax error: unimplemented: this syntax +DETAIL: source SQL: +ALTER TABLE FKTABLE ALTER CONSTRAINT fknd2 NOT DEFERRABLE + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31632/dev ++See: https://go.crdb.dev/issue-v/31632/v24.3 ALTER TABLE FKTABLE ADD CONSTRAINT fkdd2 FOREIGN KEY(ftest1) REFERENCES pktable ON DELETE CASCADE ON UPDATE NO ACTION NOT DEFERRABLE; +ERROR: at or near "deferrable": syntax error @@ -217522,7 +217417,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +ALTER TABLE FKTABLE ALTER CONSTRAINT fkdd2 DEFERRABLE INITIALLY DEFERRED + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31632/dev ++See: https://go.crdb.dev/issue-v/31632/v24.3 ALTER TABLE FKTABLE ADD CONSTRAINT fkdi2 FOREIGN KEY(ftest1) REFERENCES pktable ON DELETE CASCADE ON UPDATE NO ACTION NOT DEFERRABLE; +ERROR: at or near "deferrable": syntax error @@ -217537,7 +217432,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +ALTER TABLE FKTABLE ALTER CONSTRAINT fkdi2 DEFERRABLE INITIALLY IMMEDIATE + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/31632/dev ++See: https://go.crdb.dev/issue-v/31632/v24.3 SELECT conname, tgfoid::regproc, tgtype, tgdeferrable, tginitdeferred FROM pg_trigger JOIN pg_constraint con ON con.oid = tgconstraint WHERE tgrelid = 'pktable'::regclass @@ -217641,7 +217536,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +create table atacc3 (test3 int) inherits (atacc1, atacc2) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 alter table atacc2 add constraint foo check (test2>0); -- fail and then succeed on atacc2 insert into atacc2 (test2) values (-3); @@ -217669,7 +217564,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +create table atacc3 (test3 int) inherits (atacc1, atacc2) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 alter table atacc3 no inherit atacc2; +ERROR: at or near "inherit": syntax error +DETAIL: source SQL: @@ -217778,7 +217673,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +create table atacc2 (test2 int) inherits (atacc1) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 -- ok: alter table atacc1 add constraint foo check (test>0) no inherit; +ERROR: at or near "no": syntax error @@ -217812,7 +217707,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - -ERROR: could not create unique index "atacc_test1" -DETAIL: Key (test)=(0) is duplicated. +ERROR: ALTER COLUMN TYPE from int to int is only supported experimentally -+HINT: See: https://go.crdb.dev/issue-v/49329/dev ++HINT: See: https://go.crdb.dev/issue-v/49329/v24.3 +-- +you can enable alter column type general support by running `SET enable_experimental_alter_column_type_general = true` drop table atacc1; @@ -217976,9 +217871,9 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - -ERROR: column "test" is in a primary key +ERROR: column "test" is in a primary index alter table atacc1 drop constraint "atacc1_pkey"; -+ERROR: relation "atacc1" (1893): unimplemented: primary key dropped without subsequent addition of new primary key in same transaction ++ERROR: relation "atacc1" (1943): unimplemented: primary key dropped without subsequent addition of new primary key in same transaction +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/48026/dev ++See: https://go.crdb.dev/issue-v/48026/v24.3 alter table atacc1 alter column test drop not null; +ERROR: column "test" is in a primary index insert into atacc1 values (null); @@ -218048,7 +217943,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +create table child (b varchar(255)) inherits (parent) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 alter table parent alter a set not null; insert into parent values (NULL); -ERROR: null value in column "a" of relation "parent" violates not-null constraint @@ -218508,7 +218403,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - drop table atacc1; -- test constraint error reporting in presence of dropped columns create table atacc1 (id serial primary key, value int check (value < 10)); -+NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/dev/serial.html ++NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/v24.3/serial.html insert into atacc1(value) values (100); -ERROR: new row for relation "atacc1" violates check constraint "atacc1_value_check" -DETAIL: Failing row contains (1, 100). @@ -218534,7 +218429,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +create table child (d varchar(255)) inherits (parent) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 insert into child values (12, 13, 'testing'); +ERROR: relation "child" does not exist select * from parent; @@ -218592,7 +218487,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +create table child (a float4) inherits (parent) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 create table child (b decimal(10,7)) inherits (parent); -- fail -NOTICE: moving and merging column "b" with inherited definition -DETAIL: User-specified column moved to the position of the inherited column. @@ -218603,7 +218498,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +create table child (b decimal(10,7)) inherits (parent) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 create table child (c text collate "POSIX") inherits (parent); -- fail -NOTICE: moving and merging column "c" with inherited definition -DETAIL: User-specified column moved to the position of the inherited column. @@ -218621,7 +218516,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +create table child (a double precision, b decimal(10,4)) inherits (parent) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 drop table child; +ERROR: relation "child" does not exist drop table parent; @@ -218666,14 +218561,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +create table dropColumnChild (c int) inherits (dropColumn) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 create table dropColumnAnother (d int) inherits (dropColumnChild); +ERROR: at or near "(": syntax error: unimplemented: this syntax +DETAIL: source SQL: +create table dropColumnAnother (d int) inherits (dropColumnChild) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 -- these two should fail alter table dropColumnchild drop column a; -ERROR: cannot drop inherited column "a" @@ -218693,14 +218588,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +create table renameColumnChild (b int) inherits (renameColumn) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 create table renameColumnAnother (c int) inherits (renameColumnChild); +ERROR: at or near "(": syntax error: unimplemented: this syntax +DETAIL: source SQL: +create table renameColumnAnother (c int) inherits (renameColumnChild) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 -- these three should fail alter table renameColumnChild rename column a to d; -ERROR: cannot rename inherited column "a" @@ -218734,7 +218629,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +create table c1 (f1 int not null) inherits(p1) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 -- should be rejected since c1.f1 is inherited alter table c1 drop column f1; -ERROR: cannot drop inherited column "f1" @@ -218765,7 +218660,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +create table c1 () inherits(p1) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 -- should be rejected since c1.f1 is inherited alter table c1 drop column f1; -ERROR: cannot drop inherited column "f1" @@ -218787,7 +218682,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +create table c1 () inherits(p1) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 -- should be rejected since c1.f1 is inherited alter table c1 drop column f1; -ERROR: cannot drop inherited column "f1" @@ -218806,7 +218701,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +create table c1 (f1 int not null) inherits(p1) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 -- should be rejected since c1.f1 is inherited alter table c1 drop column f1; -ERROR: cannot drop inherited column "f1" @@ -218826,14 +218721,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +create table c1(age int) inherits(p1,p2) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 create table gc1() inherits (c1); +ERROR: at or near "(": syntax error: unimplemented: this syntax +DETAIL: source SQL: +create table gc1() inherits (c1) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 select relname, attname, attinhcount, attislocal from pg_class join pg_attribute on (pg_class.oid = pg_attribute.attrelid) where relname in ('p1','p2','c1','gc1') and attnum > 0 and not attisdropped @@ -218915,14 +218810,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +create table depth1(c text) inherits (depth0) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 create table depth2() inherits (depth1); +ERROR: at or near "(": syntax error: unimplemented: this syntax +DETAIL: source SQL: +create table depth2() inherits (depth1) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 alter table depth0 add c text; -NOTICE: merging definition of column "c" for child "depth1" select attrelid::regclass, attname, attinhcount, attislocal @@ -218945,7 +218840,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +create table c1 (f2 text, f3 int) inherits (p1) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 alter table p1 add column a1 int check (a1 > 0); alter table p1 add column f2 text; -NOTICE: merging definition of column "f2" for child "c1" @@ -218983,7 +218878,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +create domain mytype as text + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 create temp table foo (f1 text, f2 mytype, f3 text); +ERROR: type "mytype" does not exist insert into foo values('bb','cc','dd'); @@ -219002,7 +218897,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +drop domain mytype cascade + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 select * from foo; - f1 | f3 -----+---- @@ -219096,7 +218991,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - when atcol2 is false then 'IT WAS FALSE' else 'IT WAS NULL!' end; +ERROR: ALTER COLUMN TYPE from bool to string is only supported experimentally -+HINT: See: https://go.crdb.dev/issue-v/49329/dev ++HINT: See: https://go.crdb.dev/issue-v/49329/v24.3 +-- +you can enable alter column type general support by running `SET enable_experimental_alter_column_type_general = true` select * from anothertab; @@ -219120,7 +219015,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - -ERROR: operator does not exist: boolean <= integer -HINT: No operator matches the given name and argument types. You might need to add explicit type casts. +ERROR: ALTER COLUMN TYPE from int to bool is only supported experimentally -+HINT: See: https://go.crdb.dev/issue-v/49329/dev ++HINT: See: https://go.crdb.dev/issue-v/49329/v24.3 +-- +you can enable alter column type general support by running `SET enable_experimental_alter_column_type_general = true` alter table anothertab drop constraint anothertab_chk; @@ -219131,7 +219026,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - alter table anothertab alter column atcol1 type boolean using case when atcol1 % 2 = 0 then true else false end; +ERROR: ALTER COLUMN TYPE from int to bool is only supported experimentally -+HINT: See: https://go.crdb.dev/issue-v/49329/dev ++HINT: See: https://go.crdb.dev/issue-v/49329/v24.3 +-- +you can enable alter column type general support by running `SET enable_experimental_alter_column_type_general = true` select * from anothertab; @@ -219157,7 +219052,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - + add exclude using btree (f3 with =) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46657/dev ++See: https://go.crdb.dev/issue-v/46657/v24.3 alter table anothertab add exclude using btree (f4 with =) where (f4 is not null); +ERROR: at or near "btree": syntax error: unimplemented: this syntax @@ -219166,7 +219061,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - + add exclude using btree (f4 with =) where (f4 is not null) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46657/dev ++See: https://go.crdb.dev/issue-v/46657/v24.3 alter table anothertab add exclude using btree (f4 with =) where (f5 > 0); +ERROR: at or near "btree": syntax error: unimplemented: this syntax @@ -219175,7 +219070,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - + add exclude using btree (f4 with =) where (f5 > 0) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46657/dev ++See: https://go.crdb.dev/issue-v/46657/v24.3 alter table anothertab add unique(f1,f4); create index on anothertab(f2,f3); @@ -219250,7 +219145,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - alter f2 type bigint using f1 * 10, drop column f3; +ERROR: ALTER COLUMN TYPE from int to string is only supported experimentally -+HINT: See: https://go.crdb.dev/issue-v/49329/dev ++HINT: See: https://go.crdb.dev/issue-v/49329/v24.3 +-- +you can enable alter column type general support by running `SET enable_experimental_alter_column_type_general = true` select * from another; @@ -219273,7 +219168,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - create table at_tab2 (x int, y at_tab1); +ERROR: unimplemented: cannot use table record type as table column +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/70099/dev ++See: https://go.crdb.dev/issue-v/70099/v24.3 alter table at_tab1 alter column b type varchar; -- fails -ERROR: cannot alter table "at_tab1" because column "at_tab2.y" uses its row type drop table at_tab2; @@ -219297,7 +219192,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - create table at_tab2 (x int, y at_tab1); +ERROR: unimplemented: cannot use table record type as table column +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/70099/dev ++See: https://go.crdb.dev/issue-v/70099/v24.3 alter table at_tab1 alter column b type varchar; -- fails -ERROR: cannot alter table "at_tab1" because column "at_tab2.y" uses its row type drop table at_tab1, at_tab2; @@ -219546,26 +219441,26 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - -ERROR: composite type recur1 cannot be made a member of itself +ERROR: unimplemented: cannot use table record type as table column +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/70099/dev ++See: https://go.crdb.dev/issue-v/70099/v24.3 alter table recur1 add column f2 recur1[]; -- fails -ERROR: composite type recur1 cannot be made a member of itself +ERROR: unimplemented: cannot use table record type as table column +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/70099/dev ++See: https://go.crdb.dev/issue-v/70099/v24.3 create domain array_of_recur1 as recur1[]; +ERROR: at or near "as": syntax error: unimplemented: this syntax +DETAIL: source SQL: +create domain array_of_recur1 as recur1[] + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 alter table recur1 add column f2 array_of_recur1; -- fails -ERROR: composite type recur1 cannot be made a member of itself +ERROR: type "array_of_recur1" does not exist create temp table recur2 (f1 int, f2 recur1); +ERROR: unimplemented: cannot use table record type as table column +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/70099/dev ++See: https://go.crdb.dev/issue-v/70099/v24.3 alter table recur1 add column f2 recur2; -- fails -ERROR: composite type recur1 cannot be made a member of itself +ERROR: type "recur2" does not exist @@ -219680,7 +219575,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +CREATE TABLE test_inh_check_child() INHERITS(test_inh_check) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 \d test_inh_check - Table "public.test_inh_check" - Column | Type | Collation | Nullable | Default @@ -219735,7 +219630,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - ALTER TABLE test_inh_check ALTER COLUMN a TYPE numeric; +ERROR: ALTER COLUMN TYPE from float to decimal is only supported experimentally -+HINT: See: https://go.crdb.dev/issue-v/49329/dev ++HINT: See: https://go.crdb.dev/issue-v/49329/v24.3 +-- +you can enable alter column type general support by running `SET enable_experimental_alter_column_type_general = true` \d test_inh_check @@ -219867,7 +219762,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - ALTER TABLE test_inh_check ALTER COLUMN b TYPE numeric; -NOTICE: merging constraint "bmerged" with inherited definition +ERROR: ALTER COLUMN TYPE from float to decimal is only supported experimentally -+HINT: See: https://go.crdb.dev/issue-v/49329/dev ++HINT: See: https://go.crdb.dev/issue-v/49329/v24.3 +-- +you can enable alter column type general support by running `SET enable_experimental_alter_column_type_general = true` \d test_inh_check @@ -219941,13 +219836,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +CREATE TABLE test_type_diff_c (extra smallint) INHERITS (test_type_diff) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 ALTER TABLE test_type_diff ADD COLUMN f2 int; INSERT INTO test_type_diff_c VALUES (1, 2, 3); +ERROR: relation "test_type_diff_c" does not exist ALTER TABLE test_type_diff ALTER COLUMN f2 TYPE bigint USING f2::bigint; +ERROR: ALTER COLUMN TYPE from int to int is only supported experimentally -+HINT: See: https://go.crdb.dev/issue-v/49329/dev ++HINT: See: https://go.crdb.dev/issue-v/49329/v24.3 +-- +you can enable alter column type general support by running `SET enable_experimental_alter_column_type_general = true` CREATE TABLE test_type_diff2 (int_two int2, int_four int4, int_eight int8); @@ -219977,7 +219872,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - INSERT INTO test_type_diff2_c3 VALUES (7, 8, 9); ALTER TABLE test_type_diff2 ALTER COLUMN int_four TYPE int8 USING int_four::int8; +ERROR: ALTER COLUMN TYPE from int4 to int is only supported experimentally -+HINT: See: https://go.crdb.dev/issue-v/49329/dev ++HINT: See: https://go.crdb.dev/issue-v/49329/v24.3 +-- +you can enable alter column type general support by running `SET enable_experimental_alter_column_type_general = true` -- whole-row references are disallowed @@ -219985,7 +219880,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - -ERROR: cannot convert whole-row table reference -DETAIL: USING expression contains a whole-row table reference. +ERROR: ALTER COLUMN TYPE from int4 to int4 is only supported experimentally -+HINT: See: https://go.crdb.dev/issue-v/49329/dev ++HINT: See: https://go.crdb.dev/issue-v/49329/v24.3 +-- +you can enable alter column type general support by running `SET enable_experimental_alter_column_type_general = true` -- check for rollback of ANALYZE corrupting table property flags (bug #11638) @@ -220461,7 +220356,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - ttdummy (1, 1); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 select * from my_locks order by 1; - relname | max_lockmode ------------+----------------------- @@ -220596,7 +220491,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +create sequence f1_seq; +ERROR: relation "root.public.f1_seq" already exists +create table alter1.t1(f1 int primary key default nextval('f1_seq'), f2 int check (f2 > 0)); -+NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/dev/serial.html ++NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/v24.3/serial.html create view alter1.v1 as select * from alter1.t1; create function alter1.plus1(int) returns int as 'select $1+1' language sql; create domain alter1.posint integer check (value > 0); @@ -220605,7 +220500,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +create domain alter1.posint integer check (value > 0) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 create type alter1.ctype as (f1 int, f2 text); create function alter1.same(alter1.ctype, alter1.ctype) returns boolean language sql as 'select $1.f1 is not distinct from $2.f1 and $1.f2 is not distinct from $2.f2'; @@ -220619,7 +220514,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +create operator alter1.=(procedure = alter1.same, leftarg = alter1.ctype, rightarg = alter1.ctype) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 create operator class alter1.ctype_hash_ops default for type alter1.ctype using hash as operator 1 alter1.=(alter1.ctype, alter1.ctype); +ERROR: at or near "class": syntax error: unimplemented: this syntax @@ -220627,7 +220522,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +create operator class alter1.ctype_hash_ops default for type alter1.ctype using hash as + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 create conversion alter1.latin1_to_utf8 for 'latin1' to 'utf8' from iso8859_1_to_utf8; +ERROR: at or near "alter1": syntax error: unimplemented: this syntax +DETAIL: source SQL: @@ -220650,28 +220545,28 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +create text search parser alter1.prs(start = prsd_start, gettoken = prsd_nexttoken, end = prsd_end, lextypes = prsd_lextype) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 create text search configuration alter1.cfg(parser = alter1.prs); +ERROR: at or near "search": syntax error: unimplemented: this syntax +DETAIL: source SQL: +create text search configuration alter1.cfg(parser = alter1.prs) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 create text search template alter1.tmpl(init = dsimple_init, lexize = dsimple_lexize); +ERROR: at or near "search": syntax error: unimplemented: this syntax +DETAIL: source SQL: +create text search template alter1.tmpl(init = dsimple_init, lexize = dsimple_lexize) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 create text search dictionary alter1.dict(template = alter1.tmpl); +ERROR: at or near "search": syntax error: unimplemented: this syntax +DETAIL: source SQL: +create text search dictionary alter1.dict(template = alter1.tmpl) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/7821/dev ++See: https://go.crdb.dev/issue-v/7821/v24.3 insert into alter1.t1(f2) values(11); insert into alter1.t1(f2) values(12); alter table alter1.t1 set schema alter1; -- no-op, same schema @@ -220825,14 +220720,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +ALTER TYPE nosuchtype ADD ATTRIBUTE b text + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/48701/dev ++See: https://go.crdb.dev/issue-v/48701/v24.3 ALTER TYPE test_type ADD ATTRIBUTE b text; +ERROR: at or near "EOF": syntax error: unimplemented: this syntax +DETAIL: source SQL: +ALTER TYPE test_type ADD ATTRIBUTE b text + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/48701/dev ++See: https://go.crdb.dev/issue-v/48701/v24.3 \d test_type - Composite type "public.test_type" - Column | Type | Collation | Nullable | Default @@ -220856,14 +220751,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +ALTER TYPE test_type ADD ATTRIBUTE b text + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/48701/dev ++See: https://go.crdb.dev/issue-v/48701/v24.3 ALTER TYPE test_type ALTER ATTRIBUTE b SET DATA TYPE varchar; +ERROR: at or near "EOF": syntax error: unimplemented: this syntax +DETAIL: source SQL: +ALTER TYPE test_type ALTER ATTRIBUTE b SET DATA TYPE varchar + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/48701/dev ++See: https://go.crdb.dev/issue-v/48701/v24.3 \d test_type - Composite type "public.test_type" - Column | Type | Collation | Nullable | Default @@ -220886,7 +220781,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +ALTER TYPE test_type ALTER ATTRIBUTE b SET DATA TYPE integer + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/48701/dev ++See: https://go.crdb.dev/issue-v/48701/v24.3 \d test_type - Composite type "public.test_type" - Column | Type | Collation | Nullable | Default @@ -220909,7 +220804,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +ALTER TYPE test_type DROP ATTRIBUTE b + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/48701/dev ++See: https://go.crdb.dev/issue-v/48701/v24.3 \d test_type - Composite type "public.test_type" - Column | Type | Collation | Nullable | Default @@ -220932,7 +220827,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +ALTER TYPE test_type DROP ATTRIBUTE c + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/48701/dev ++See: https://go.crdb.dev/issue-v/48701/v24.3 ALTER TYPE test_type DROP ATTRIBUTE IF EXISTS c; -NOTICE: column "c" of relation "test_type" does not exist, skipping +ERROR: at or near "EOF": syntax error: unimplemented: this syntax @@ -220940,14 +220835,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +ALTER TYPE test_type DROP ATTRIBUTE IF EXISTS c + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/48701/dev ++See: https://go.crdb.dev/issue-v/48701/v24.3 ALTER TYPE test_type DROP ATTRIBUTE a, ADD ATTRIBUTE d boolean; +ERROR: at or near "EOF": syntax error: unimplemented: this syntax +DETAIL: source SQL: +ALTER TYPE test_type DROP ATTRIBUTE a, ADD ATTRIBUTE d boolean + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/48701/dev ++See: https://go.crdb.dev/issue-v/48701/v24.3 \d test_type - Composite type "public.test_type" - Column | Type | Collation | Nullable | Default @@ -220970,14 +220865,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +ALTER TYPE test_type RENAME ATTRIBUTE a TO aa + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/48701/dev ++See: https://go.crdb.dev/issue-v/48701/v24.3 ALTER TYPE test_type RENAME ATTRIBUTE d TO dd; +ERROR: at or near "EOF": syntax error: unimplemented: this syntax +DETAIL: source SQL: +ALTER TYPE test_type RENAME ATTRIBUTE d TO dd + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/48701/dev ++See: https://go.crdb.dev/issue-v/48701/v24.3 \d test_type - Composite type "public.test_type" - Column | Type | Collation | Nullable | Default @@ -221003,7 +220898,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +ALTER TYPE test_type1 ALTER ATTRIBUTE b TYPE varchar + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/48701/dev ++See: https://go.crdb.dev/issue-v/48701/v24.3 DROP TABLE test_tbl1; CREATE TABLE test_tbl1 (x int, y text); CREATE INDEX test_tbl1_idx ON test_tbl1((row(x,y)::test_type1)); @@ -221015,7 +220910,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +ALTER TYPE test_type1 ALTER ATTRIBUTE b TYPE varchar + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/48701/dev ++See: https://go.crdb.dev/issue-v/48701/v24.3 DROP TABLE test_tbl1; DROP TYPE test_type1; CREATE TYPE test_type2 AS (a int, b text); @@ -221031,7 +220926,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +CREATE TABLE test_tbl2_subclass () INHERITS (test_tbl2) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 \d test_type2 - Composite type "public.test_type2" - Column | Type | Collation | Nullable | Default @@ -221074,14 +220969,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +ALTER TYPE test_type2 ADD ATTRIBUTE c text + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/48701/dev ++See: https://go.crdb.dev/issue-v/48701/v24.3 ALTER TYPE test_type2 ADD ATTRIBUTE c text CASCADE; +ERROR: at or near "EOF": syntax error: unimplemented: this syntax +DETAIL: source SQL: +ALTER TYPE test_type2 ADD ATTRIBUTE c text CASCADE + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/48701/dev ++See: https://go.crdb.dev/issue-v/48701/v24.3 \d test_type2 - Composite type "public.test_type2" - Column | Type | Collation | Nullable | Default @@ -221126,14 +221021,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +ALTER TYPE test_type2 ALTER ATTRIBUTE b TYPE varchar + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/48701/dev ++See: https://go.crdb.dev/issue-v/48701/v24.3 ALTER TYPE test_type2 ALTER ATTRIBUTE b TYPE varchar CASCADE; +ERROR: at or near "EOF": syntax error: unimplemented: this syntax +DETAIL: source SQL: +ALTER TYPE test_type2 ALTER ATTRIBUTE b TYPE varchar CASCADE + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/48701/dev ++See: https://go.crdb.dev/issue-v/48701/v24.3 \d test_type2 - Composite type "public.test_type2" - Column | Type | Collation | Nullable | Default @@ -221178,14 +221073,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +ALTER TYPE test_type2 DROP ATTRIBUTE b + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/48701/dev ++See: https://go.crdb.dev/issue-v/48701/v24.3 ALTER TYPE test_type2 DROP ATTRIBUTE b CASCADE; +ERROR: at or near "EOF": syntax error: unimplemented: this syntax +DETAIL: source SQL: +ALTER TYPE test_type2 DROP ATTRIBUTE b CASCADE + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/48701/dev ++See: https://go.crdb.dev/issue-v/48701/v24.3 \d test_type2 - Composite type "public.test_type2" - Column | Type | Collation | Nullable | Default @@ -221228,14 +221123,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +ALTER TYPE test_type2 RENAME ATTRIBUTE a TO aa + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/48701/dev ++See: https://go.crdb.dev/issue-v/48701/v24.3 ALTER TYPE test_type2 RENAME ATTRIBUTE a TO aa CASCADE; +ERROR: at or near "cascade": syntax error: unimplemented: this syntax +DETAIL: source SQL: +ALTER TYPE test_type2 RENAME ATTRIBUTE a TO aa CASCADE + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/48701/dev ++See: https://go.crdb.dev/issue-v/48701/v24.3 \d test_type2 - Composite type "public.test_type2" - Column | Type | Collation | Nullable | Default @@ -221301,7 +221196,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +ALTER TYPE test_typex DROP ATTRIBUTE a + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/48701/dev ++See: https://go.crdb.dev/issue-v/48701/v24.3 ALTER TYPE test_typex DROP ATTRIBUTE a CASCADE; -NOTICE: drop cascades to constraint test_tblx_y_check on table test_tblx +ERROR: at or near "EOF": syntax error: unimplemented: this syntax @@ -221309,7 +221204,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +ALTER TYPE test_typex DROP ATTRIBUTE a CASCADE + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/48701/dev ++See: https://go.crdb.dev/issue-v/48701/v24.3 \d test_tblx - Table "public.test_tblx" - Column | Type | Collation | Nullable | Default @@ -221338,7 +221233,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +ALTER TYPE test_type3 DROP ATTRIBUTE a, ADD ATTRIBUTE b int + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/48701/dev ++See: https://go.crdb.dev/issue-v/48701/v24.3 CREATE TYPE test_type_empty AS (); DROP TYPE test_type_empty; -- @@ -221351,7 +221246,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +ALTER TYPE tt_t0 DROP ATTRIBUTE z + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/48701/dev ++See: https://go.crdb.dev/issue-v/48701/v24.3 CREATE TABLE tt0 (x int NOT NULL, y numeric(8,2)); -- OK CREATE TABLE tt1 (x int, y bigint); -- wrong base type CREATE TABLE tt2 (x int, y numeric(9,2)); -- wrong typmod @@ -221364,7 +221259,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +CREATE TABLE tt6 () INHERITS (tt0) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 CREATE TABLE tt7 (x int, q text, y numeric(8,2)); ALTER TABLE tt7 DROP q; -- OK ALTER TABLE tt0 OF tt_t0; @@ -221458,7 +221353,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +CREATE TABLE test_drop_constr_child () INHERITS (test_drop_constr_parent) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 ALTER TABLE ONLY test_drop_constr_parent DROP CONSTRAINT "test_drop_constr_parent_c_check"; +ERROR: constraint "test_drop_constr_parent_c_check" of relation "test_drop_constr_parent" does not exist -- should fail @@ -221528,13 +221423,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +ERROR: index with name "tt9_c_key" already exists ALTER TABLE tt9 ADD CONSTRAINT foo UNIQUE(c); -- fail, dup name -ERROR: constraint "foo" for relation "tt9" already exists -+ERROR: error executing StatementPhase stage 1 of 1 with 7 MutationType ops: relation "tt9" (1987): duplicate constraint name: "foo" ++ERROR: error executing StatementPhase stage 1 of 1 with 7 MutationType ops: relation "tt9" (2037): duplicate constraint name: "foo" ALTER TABLE tt9 ADD CONSTRAINT tt9_c_key CHECK(c > 5); -- fail, dup name -ERROR: constraint "tt9_c_key" for relation "tt9" already exists -+ERROR: error executing StatementPhase stage 1 of 1 with 2 MutationType ops: relation "tt9" (1987): duplicate constraint name: "tt9_c_key" ++ERROR: error executing StatementPhase stage 1 of 1 with 2 MutationType ops: relation "tt9" (2037): duplicate constraint name: "tt9_c_key" ALTER TABLE tt9 ADD CONSTRAINT tt9_c_key2 CHECK(c > 6); ALTER TABLE tt9 ADD UNIQUE(c); -- picks nonconflicting name -+ERROR: error executing StatementPhase stage 1 of 1 with 7 MutationType ops: relation "tt9" (1987): duplicate constraint name: "tt9_c_key2" ++ERROR: error executing StatementPhase stage 1 of 1 with 7 MutationType ops: relation "tt9" (2037): duplicate constraint name: "tt9_c_key2" \d tt9 - Table "public.tt9" - Column | Type | Collation | Nullable | Default @@ -221590,13 +221485,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - ALTER TABLE comment_test ALTER COLUMN indexed_col SET DATA TYPE int; ALTER TABLE comment_test ALTER COLUMN indexed_col SET DATA TYPE text; +ERROR: ALTER COLUMN TYPE from int to string is only supported experimentally -+HINT: See: https://go.crdb.dev/issue-v/49329/dev ++HINT: See: https://go.crdb.dev/issue-v/49329/v24.3 +-- +you can enable alter column type general support by running `SET enable_experimental_alter_column_type_general = true` ALTER TABLE comment_test ALTER COLUMN id SET DATA TYPE int; ALTER TABLE comment_test ALTER COLUMN id SET DATA TYPE text; +ERROR: ALTER COLUMN TYPE from int to string is only supported experimentally -+HINT: See: https://go.crdb.dev/issue-v/49329/dev ++HINT: See: https://go.crdb.dev/issue-v/49329/v24.3 +-- +you can enable alter column type general support by running `SET enable_experimental_alter_column_type_general = true` ALTER TABLE comment_test ALTER COLUMN positive_col SET DATA TYPE int; @@ -221633,14 +221528,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - -- Change column type of parent ALTER TABLE comment_test ALTER COLUMN id SET DATA TYPE text; +ERROR: ALTER COLUMN TYPE from int to string is only supported experimentally -+HINT: See: https://go.crdb.dev/issue-v/49329/dev ++HINT: See: https://go.crdb.dev/issue-v/49329/v24.3 +-- +you can enable alter column type general support by running `SET enable_experimental_alter_column_type_general = true` ALTER TABLE comment_test ALTER COLUMN id SET DATA TYPE int USING id::integer; -ERROR: foreign key constraint "comment_test_child_fk" cannot be implemented -DETAIL: Key columns "id" and "id" are of incompatible types: text and integer. +ERROR: ALTER COLUMN TYPE from int to int is only supported experimentally -+HINT: See: https://go.crdb.dev/issue-v/49329/dev ++HINT: See: https://go.crdb.dev/issue-v/49329/v24.3 +-- +you can enable alter column type general support by running `SET enable_experimental_alter_column_type_general = true` -- Comments should be intact @@ -221696,7 +221591,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +ERROR: schema cannot be modified: "pg_catalog" -- instead create in public first, move to catalog CREATE TABLE new_system_table(id serial primary key, othercol text); -+NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/dev/serial.html ++NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/v24.3/serial.html ALTER TABLE new_system_table SET SCHEMA pg_catalog; +ERROR: cannot move objects into or out of virtual schemas ALTER TABLE new_system_table SET SCHEMA public; @@ -221712,15 +221607,15 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - DELETE FROM old_system_table WHERE othercol = 'somedata'; TRUNCATE old_system_table; ALTER TABLE old_system_table DROP CONSTRAINT new_system_table_pkey; -+ERROR: relation "old_system_table" (1990): unimplemented: primary key dropped without subsequent addition of new primary key in same transaction ++ERROR: relation "old_system_table" (2040): unimplemented: primary key dropped without subsequent addition of new primary key in same transaction +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/48026/dev ++See: https://go.crdb.dev/issue-v/48026/v24.3 ALTER TABLE old_system_table DROP COLUMN othercol; +NOTICE: dropping index "old_system_table__othercol" which depends on column "othercol" DROP TABLE old_system_table; -- set logged CREATE UNLOGGED TABLE unlogged1(f1 SERIAL PRIMARY KEY, f2 TEXT); -- has sequence, toast -+NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/dev/serial.html ++NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/v24.3/serial.html +NOTICE: UNLOGGED TABLE will behave as a regular table in CockroachDB -- check relpersistence of an unlogged table SELECT relname, relkind, relpersistence FROM pg_class WHERE relname ~ '^unlogged1' @@ -221744,10 +221639,10 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +(2 rows) CREATE UNLOGGED TABLE unlogged2(f1 SERIAL PRIMARY KEY, f2 INTEGER REFERENCES unlogged1); -- foreign key -+NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/dev/serial.html ++NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/v24.3/serial.html +NOTICE: UNLOGGED TABLE will behave as a regular table in CockroachDB CREATE UNLOGGED TABLE unlogged3(f1 SERIAL PRIMARY KEY, f2 INTEGER REFERENCES unlogged3); -- self-referencing foreign key -+NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/dev/serial.html ++NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/v24.3/serial.html +NOTICE: UNLOGGED TABLE will behave as a regular table in CockroachDB ALTER TABLE unlogged3 SET LOGGED; -- skip self-referencing foreign key +ERROR: at or near "logged": syntax error @@ -221800,7 +221695,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - DROP TABLE unlogged1; -- set unlogged CREATE TABLE logged1(f1 SERIAL PRIMARY KEY, f2 TEXT); -- has sequence, toast -+NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/dev/serial.html ++NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/v24.3/serial.html -- check relpersistence of a permanent table SELECT relname, relkind, relpersistence FROM pg_class WHERE relname ~ '^logged1' UNION ALL @@ -221823,9 +221718,9 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +(2 rows) CREATE TABLE logged2(f1 SERIAL PRIMARY KEY, f2 INTEGER REFERENCES logged1); -- foreign key -+NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/dev/serial.html ++NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/v24.3/serial.html CREATE TABLE logged3(f1 SERIAL PRIMARY KEY, f2 INTEGER REFERENCES logged3); -- self-referencing foreign key -+NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/dev/serial.html ++NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/v24.3/serial.html ALTER TABLE logged1 SET UNLOGGED; -- fails because a foreign key from a permanent table exists -ERROR: could not change table "logged1" to unlogged because it references logged table "logged2" +ERROR: at or near "unlogged": syntax error @@ -222306,7 +222201,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +ALTER TABLE partitioned ADD EXCLUDE USING gist (a WITH &&) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/46657/dev ++See: https://go.crdb.dev/issue-v/46657/v24.3 -- cannot drop column that is part of the partition key ALTER TABLE partitioned DROP COLUMN a; -ERROR: cannot drop column "a" because it is part of the partition key of relation "partitioned" @@ -222413,7 +222308,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +SET SESSION AUTHORIZATION regress_test_me + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE TABLE owned_by_me ( a int ) PARTITION BY LIST (a); @@ -222450,7 +222345,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +CREATE TABLE child () INHERITS (parent) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 ALTER TABLE list_parted ATTACH PARTITION child FOR VALUES IN (1); -ERROR: cannot attach inheritance child as partition +ERROR: at or near "attach": syntax error @@ -222504,7 +222399,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - -NOTICE: drop cascades to table fail_part +ERROR: unimplemented: DROP TYPE CASCADE is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/51480/dev ++See: https://go.crdb.dev/issue-v/51480/v24.3 -- check that the table being attached has only columns present in the parent CREATE TABLE fail_part (like list_parted, c int); +ERROR: relation "list_parted" does not exist @@ -223537,7 +223432,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +CREATE TABLE inh_test () INHERITS (part_2) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 CREATE TABLE inh_test (LIKE part_2); +ERROR: relation "part_2" does not exist ALTER TABLE inh_test INHERIT part_2; @@ -223774,18 +223669,28 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - create or replace function func_part_attach() returns trigger language plpgsql as $$ begin -@@ -4500,14 +5943,20 @@ +@@ -4500,14 +5943,30 @@ execute 'alter table tab_part_attach attach partition tab_part_attach_1 for values in (1)'; return null; end $$; -+ERROR: unimplemented: trigger functions are not yet supported ++ERROR: unimplemented: attempted to use a PL/pgSQL statement that is not yet supported ++DETAIL: stmt_dyn_exec is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev ++ ++Please check the public issue tracker to check whether this problem is ++already tracked. If you cannot find it there, please report the error ++with details by creating a new issue. ++ ++If you would rather not post publicly, please contact us directly ++using the support form. ++ ++We appreciate your feedback. ++ create trigger trig_part_attach before insert on tab_part_attach for each statement execute procedure func_part_attach(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 insert into tab_part_attach values (1); -ERROR: cannot ALTER TABLE "tab_part_attach" because it is being used by active queries in this session -CONTEXT: SQL statement "alter table tab_part_attach attach partition tab_part_attach_1 for values in (1)" @@ -223798,7 +223703,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - -- test case where the partitioning operator is a SQL function whose -- evaluation results in the table's relcache being rebuilt partway through -- the execution of an ATTACH PARTITION command -@@ -4517,11 +5966,43 @@ +@@ -4517,11 +5976,43 @@ operator 1 < (int4, int4), operator 2 <= (int4, int4), operator 3 = (int4, int4), operator 4 >= (int4, int4), operator 5 > (int4, int4), function 1 at_test_sql_partop(int4, int4); @@ -223807,7 +223712,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - +create operator class at_test_sql_partop for type int4 using btree as + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 create table at_test_sql_partop (a int) partition by range (a at_test_sql_partop); +ERROR: at or near "at_test_sql_partop": syntax error +DETAIL: source SQL: @@ -223842,7 +223747,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - drop function at_test_sql_partop; /* Test case for bug #16242 */ -- We create a parent and child where the child has missing -@@ -4529,18 +6010,25 @@ +@@ -4529,18 +6020,25 @@ -- tuple conversion from the child to the parent tupdesc create table bar1 (a integer, b integer not null default 1) partition by range (a); @@ -223873,20 +223778,35 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - -- this exercises tuple conversion: create function xtrig() returns trigger language plpgsql -@@ -4554,22 +6042,37 @@ +@@ -4554,22 +6052,52 @@ return NULL; end; $$; -+ERROR: unimplemented: trigger functions are not yet supported ++ERROR: at or near "r": syntax error: unimplemented: this syntax ++DETAIL: source SQL: ++declare ++ r record; ++ begin ++ for r in select * from old loop ++ ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev ++ ++Please check the public issue tracker to check whether this problem is ++already tracked. If you cannot find it there, please report the error ++with details by creating a new issue. ++ ++If you would rather not post publicly, please contact us directly ++using the support form. ++ ++We appreciate your feedback. ++ create trigger xtrig after update on bar1 referencing old table as old for each statement execute procedure xtrig(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 update bar1 set a = a + 1; -INFO: a=1, b=1 +ERROR: relation "bar1" does not exist @@ -223912,7 +223832,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - create table atref (c1 int references attbl(p1)); alter table attbl alter column p1 set data type bigint; alter table atref alter column c1 set data type bigint; -@@ -4579,15 +6082,21 @@ +@@ -4579,15 +6107,21 @@ -- for normal indexes and indexes on constraints. create table alttype_cluster (a int); alter table alttype_cluster add primary key (a); @@ -223935,7 +223855,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - alttype_cluster_pkey | f (2 rows) -@@ -4597,19 +6106,24 @@ +@@ -4597,19 +6131,24 @@ order by indexrelid::regclass::text; indexrelid | indisclustered ----------------------+---------------- @@ -223962,7 +223882,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - (2 rows) alter table alttype_cluster alter a type int; -@@ -4619,7 +6133,7 @@ +@@ -4619,7 +6158,7 @@ indexrelid | indisclustered ----------------------+---------------- alttype_cluster_ind | f @@ -223971,7 +223891,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/alter_table.out - (2 rows) drop table alttype_cluster; -@@ -4628,38 +6142,97 @@ +@@ -4628,38 +6167,97 @@ -- to its partitions' constraint being updated to reflect the parent's -- newly added/removed constraint create table target_parted (a int, b int) partition by list (a); @@ -224513,7 +224433,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggp01a(*) (SFUNC = stfnp, STYPE = int4[], + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- P N -- should ERROR: stfnp(anyarray) not matched by stfnp(int[]) CREATE AGGREGATE myaggp02a(*) (SFUNC = stfnp, STYPE = anyarray, @@ -224525,7 +224445,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggp02a(*) (SFUNC = stfnp, STYPE = anyarray, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- N P -- should CREATE CREATE AGGREGATE myaggp03a(*) (SFUNC = stfp, STYPE = int4[], @@ -224535,7 +224455,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggp03a(*) (SFUNC = stfp, STYPE = int4[], + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 CREATE AGGREGATE myaggp03b(*) (SFUNC = stfp, STYPE = int4[], INITCOND = '{}'); +ERROR: at or near "myaggp03b": syntax error: unimplemented: this syntax @@ -224543,7 +224463,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggp03b(*) (SFUNC = stfp, STYPE = int4[], + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- P P -- should ERROR: we have no way to resolve S CREATE AGGREGATE myaggp04a(*) (SFUNC = stfp, STYPE = anyarray, @@ -224555,7 +224475,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggp04a(*) (SFUNC = stfp, STYPE = anyarray, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 CREATE AGGREGATE myaggp04b(*) (SFUNC = stfp, STYPE = anyarray, INITCOND = '{}'); -ERROR: cannot determine transition data type @@ -224565,7 +224485,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggp04b(*) (SFUNC = stfp, STYPE = anyarray, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- Case2 (R = P) && ((B = P) || (B = N)) -- ------------------------------------- -- S tf1 B tf2 @@ -224578,7 +224498,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggp05a(BASETYPE = int, SFUNC = tfnp, STYPE = int[], + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- N N N P -- should CREATE CREATE AGGREGATE myaggp06a(BASETYPE = int, SFUNC = tf2p, STYPE = int[], @@ -224588,7 +224508,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggp06a(BASETYPE = int, SFUNC = tf2p, STYPE = int[], + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- N N P N -- should ERROR: tfnp(int[], anyelement) not matched by tfnp(int[], int) CREATE AGGREGATE myaggp07a(BASETYPE = anyelement, SFUNC = tfnp, STYPE = int[], @@ -224599,7 +224519,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggp07a(BASETYPE = anyelement, SFUNC = tfnp, STYPE = int[], + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- N N P P -- should CREATE CREATE AGGREGATE myaggp08a(BASETYPE = anyelement, SFUNC = tf2p, STYPE = int[], @@ -224609,7 +224529,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggp08a(BASETYPE = anyelement, SFUNC = tf2p, STYPE = int[], + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- N P N N -- should CREATE CREATE AGGREGATE myaggp09a(BASETYPE = int, SFUNC = tf1p, STYPE = int[], @@ -224619,7 +224539,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggp09a(BASETYPE = int, SFUNC = tf1p, STYPE = int[], + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 CREATE AGGREGATE myaggp09b(BASETYPE = int, SFUNC = tf1p, STYPE = int[], INITCOND = '{}'); +ERROR: at or near "myaggp09b": syntax error: unimplemented: this syntax @@ -224627,7 +224547,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggp09b(BASETYPE = int, SFUNC = tf1p, STYPE = int[], + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- N P N P -- should CREATE CREATE AGGREGATE myaggp10a(BASETYPE = int, SFUNC = tfp, STYPE = int[], @@ -224637,7 +224557,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggp10a(BASETYPE = int, SFUNC = tfp, STYPE = int[], + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 CREATE AGGREGATE myaggp10b(BASETYPE = int, SFUNC = tfp, STYPE = int[], INITCOND = '{}'); +ERROR: at or near "myaggp10b": syntax error: unimplemented: this syntax @@ -224645,7 +224565,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggp10b(BASETYPE = int, SFUNC = tfp, STYPE = int[], + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- N P P N -- should ERROR: tf1p(int[],anyelement) not matched by tf1p(anyarray,int) CREATE AGGREGATE myaggp11a(BASETYPE = anyelement, SFUNC = tf1p, STYPE = int[], @@ -224656,7 +224576,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggp11a(BASETYPE = anyelement, SFUNC = tf1p, STYPE = int[], + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 CREATE AGGREGATE myaggp11b(BASETYPE = anyelement, SFUNC = tf1p, STYPE = int[], INITCOND = '{}'); -ERROR: function tf1p(integer[], anyelement) does not exist @@ -224665,7 +224585,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggp11b(BASETYPE = anyelement, SFUNC = tf1p, STYPE = int[], + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- N P P P -- should ERROR: tfp(int[],anyelement) not matched by tfp(anyarray,anyelement) CREATE AGGREGATE myaggp12a(BASETYPE = anyelement, SFUNC = tfp, STYPE = int[], @@ -224676,7 +224596,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggp12a(BASETYPE = anyelement, SFUNC = tfp, STYPE = int[], + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 CREATE AGGREGATE myaggp12b(BASETYPE = anyelement, SFUNC = tfp, STYPE = int[], INITCOND = '{}'); -ERROR: function tfp(integer[], anyelement) does not exist @@ -224685,7 +224605,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggp12b(BASETYPE = anyelement, SFUNC = tfp, STYPE = int[], + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- P N N N -- should ERROR: tfnp(anyarray, int) not matched by tfnp(int[],int) CREATE AGGREGATE myaggp13a(BASETYPE = int, SFUNC = tfnp, STYPE = anyarray, @@ -224697,7 +224617,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggp13a(BASETYPE = int, SFUNC = tfnp, STYPE = anyarray, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- P N N P -- should ERROR: tf2p(anyarray, int) not matched by tf2p(int[],anyelement) CREATE AGGREGATE myaggp14a(BASETYPE = int, SFUNC = tf2p, STYPE = anyarray, @@ -224709,7 +224629,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggp14a(BASETYPE = int, SFUNC = tf2p, STYPE = anyarray, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- P N P N -- should ERROR: tfnp(anyarray, anyelement) not matched by tfnp(int[],int) CREATE AGGREGATE myaggp15a(BASETYPE = anyelement, SFUNC = tfnp, @@ -224720,7 +224640,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggp15a(BASETYPE = anyelement, SFUNC = tfnp, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- P N P P -- should ERROR: tf2p(anyarray, anyelement) not matched by tf2p(int[],anyelement) CREATE AGGREGATE myaggp16a(BASETYPE = anyelement, SFUNC = tf2p, @@ -224731,7 +224651,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggp16a(BASETYPE = anyelement, SFUNC = tf2p, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- P P N N -- should ERROR: we have no way to resolve S CREATE AGGREGATE myaggp17a(BASETYPE = int, SFUNC = tf1p, STYPE = anyarray, @@ -224743,7 +224663,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggp17a(BASETYPE = int, SFUNC = tf1p, STYPE = anyarray, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 CREATE AGGREGATE myaggp17b(BASETYPE = int, SFUNC = tf1p, STYPE = anyarray, INITCOND = '{}'); -ERROR: cannot determine transition data type @@ -224753,7 +224673,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggp17b(BASETYPE = int, SFUNC = tf1p, STYPE = anyarray, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- P P N P -- should ERROR: tfp(anyarray, int) not matched by tfp(anyarray, anyelement) CREATE AGGREGATE myaggp18a(BASETYPE = int, SFUNC = tfp, STYPE = anyarray, @@ -224765,7 +224685,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggp18a(BASETYPE = int, SFUNC = tfp, STYPE = anyarray, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 CREATE AGGREGATE myaggp18b(BASETYPE = int, SFUNC = tfp, STYPE = anyarray, INITCOND = '{}'); -ERROR: cannot determine transition data type @@ -224775,7 +224695,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggp18b(BASETYPE = int, SFUNC = tfp, STYPE = anyarray, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- P P P N -- should ERROR: tf1p(anyarray, anyelement) not matched by tf1p(anyarray, int) CREATE AGGREGATE myaggp19a(BASETYPE = anyelement, SFUNC = tf1p, @@ -224786,7 +224706,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggp19a(BASETYPE = anyelement, SFUNC = tf1p, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 CREATE AGGREGATE myaggp19b(BASETYPE = anyelement, SFUNC = tf1p, STYPE = anyarray, INITCOND = '{}'); -ERROR: function tf1p(anyarray, anyelement) does not exist @@ -224795,7 +224715,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggp19b(BASETYPE = anyelement, SFUNC = tf1p, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- P P P P -- should CREATE CREATE AGGREGATE myaggp20a(BASETYPE = anyelement, SFUNC = tfp, @@ -224805,7 +224725,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggp20a(BASETYPE = anyelement, SFUNC = tfp, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 CREATE AGGREGATE myaggp20b(BASETYPE = anyelement, SFUNC = tfp, STYPE = anyarray, INITCOND = '{}'); +ERROR: at or near "myaggp20b": syntax error: unimplemented: this syntax @@ -224813,7 +224733,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggp20b(BASETYPE = anyelement, SFUNC = tfp, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- Case3 (R = N) && (B = A) -- ------------------------ -- S tf1 @@ -224826,7 +224746,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggn01a(*) (SFUNC = stfnp, STYPE = int4[], + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 CREATE AGGREGATE myaggn01b(*) (SFUNC = stfnp, STYPE = int4[], INITCOND = '{}'); +ERROR: at or near "myaggn01b": syntax error: unimplemented: this syntax @@ -224834,7 +224754,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggn01b(*) (SFUNC = stfnp, STYPE = int4[], + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- P N -- should ERROR: stfnp(anyarray) not matched by stfnp(int[]) CREATE AGGREGATE myaggn02a(*) (SFUNC = stfnp, STYPE = anyarray, @@ -224846,7 +224766,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggn02a(*) (SFUNC = stfnp, STYPE = anyarray, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 CREATE AGGREGATE myaggn02b(*) (SFUNC = stfnp, STYPE = anyarray, INITCOND = '{}'); -ERROR: cannot determine transition data type @@ -224856,7 +224776,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggn02b(*) (SFUNC = stfnp, STYPE = anyarray, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- N P -- should CREATE CREATE AGGREGATE myaggn03a(*) (SFUNC = stfp, STYPE = int4[], @@ -224866,7 +224786,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggn03a(*) (SFUNC = stfp, STYPE = int4[], + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- P P -- should ERROR: ffnp(anyarray) not matched by ffnp(int[]) CREATE AGGREGATE myaggn04a(*) (SFUNC = stfp, STYPE = anyarray, @@ -224878,7 +224798,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggn04a(*) (SFUNC = stfp, STYPE = anyarray, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- Case4 (R = N) && ((B = P) || (B = N)) -- ------------------------------------- -- S tf1 B tf2 @@ -224891,7 +224811,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggn05a(BASETYPE = int, SFUNC = tfnp, STYPE = int[], + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 CREATE AGGREGATE myaggn05b(BASETYPE = int, SFUNC = tfnp, STYPE = int[], INITCOND = '{}'); +ERROR: at or near "myaggn05b": syntax error: unimplemented: this syntax @@ -224899,7 +224819,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggn05b(BASETYPE = int, SFUNC = tfnp, STYPE = int[], + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- N N N P -- should CREATE CREATE AGGREGATE myaggn06a(BASETYPE = int, SFUNC = tf2p, STYPE = int[], @@ -224909,7 +224829,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggn06a(BASETYPE = int, SFUNC = tf2p, STYPE = int[], + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 CREATE AGGREGATE myaggn06b(BASETYPE = int, SFUNC = tf2p, STYPE = int[], INITCOND = '{}'); +ERROR: at or near "myaggn06b": syntax error: unimplemented: this syntax @@ -224917,7 +224837,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggn06b(BASETYPE = int, SFUNC = tf2p, STYPE = int[], + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- N N P N -- should ERROR: tfnp(int[], anyelement) not matched by tfnp(int[], int) CREATE AGGREGATE myaggn07a(BASETYPE = anyelement, SFUNC = tfnp, STYPE = int[], @@ -224928,7 +224848,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggn07a(BASETYPE = anyelement, SFUNC = tfnp, STYPE = int[], + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 CREATE AGGREGATE myaggn07b(BASETYPE = anyelement, SFUNC = tfnp, STYPE = int[], INITCOND = '{}'); -ERROR: function tfnp(integer[], anyelement) does not exist @@ -224937,7 +224857,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggn07b(BASETYPE = anyelement, SFUNC = tfnp, STYPE = int[], + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- N N P P -- should CREATE CREATE AGGREGATE myaggn08a(BASETYPE = anyelement, SFUNC = tf2p, STYPE = int[], @@ -224947,7 +224867,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggn08a(BASETYPE = anyelement, SFUNC = tf2p, STYPE = int[], + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 CREATE AGGREGATE myaggn08b(BASETYPE = anyelement, SFUNC = tf2p, STYPE = int[], INITCOND = '{}'); +ERROR: at or near "myaggn08b": syntax error: unimplemented: this syntax @@ -224955,7 +224875,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggn08b(BASETYPE = anyelement, SFUNC = tf2p, STYPE = int[], + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- N P N N -- should CREATE CREATE AGGREGATE myaggn09a(BASETYPE = int, SFUNC = tf1p, STYPE = int[], @@ -224965,7 +224885,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggn09a(BASETYPE = int, SFUNC = tf1p, STYPE = int[], + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- N P N P -- should CREATE CREATE AGGREGATE myaggn10a(BASETYPE = int, SFUNC = tfp, STYPE = int[], @@ -224975,7 +224895,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggn10a(BASETYPE = int, SFUNC = tfp, STYPE = int[], + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- N P P N -- should ERROR: tf1p(int[],anyelement) not matched by tf1p(anyarray,int) CREATE AGGREGATE myaggn11a(BASETYPE = anyelement, SFUNC = tf1p, STYPE = int[], @@ -224986,7 +224906,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggn11a(BASETYPE = anyelement, SFUNC = tf1p, STYPE = int[], + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- N P P P -- should ERROR: tfp(int[],anyelement) not matched by tfp(anyarray,anyelement) CREATE AGGREGATE myaggn12a(BASETYPE = anyelement, SFUNC = tfp, STYPE = int[], @@ -224997,7 +224917,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggn12a(BASETYPE = anyelement, SFUNC = tfp, STYPE = int[], + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- P N N N -- should ERROR: tfnp(anyarray, int) not matched by tfnp(int[],int) CREATE AGGREGATE myaggn13a(BASETYPE = int, SFUNC = tfnp, STYPE = anyarray, @@ -225009,7 +224929,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggn13a(BASETYPE = int, SFUNC = tfnp, STYPE = anyarray, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 CREATE AGGREGATE myaggn13b(BASETYPE = int, SFUNC = tfnp, STYPE = anyarray, INITCOND = '{}'); -ERROR: cannot determine transition data type @@ -225019,7 +224939,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggn13b(BASETYPE = int, SFUNC = tfnp, STYPE = anyarray, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- P N N P -- should ERROR: tf2p(anyarray, int) not matched by tf2p(int[],anyelement) CREATE AGGREGATE myaggn14a(BASETYPE = int, SFUNC = tf2p, STYPE = anyarray, @@ -225031,7 +224951,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggn14a(BASETYPE = int, SFUNC = tf2p, STYPE = anyarray, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 CREATE AGGREGATE myaggn14b(BASETYPE = int, SFUNC = tf2p, STYPE = anyarray, INITCOND = '{}'); -ERROR: cannot determine transition data type @@ -225041,7 +224961,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggn14b(BASETYPE = int, SFUNC = tf2p, STYPE = anyarray, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- P N P N -- should ERROR: tfnp(anyarray, anyelement) not matched by tfnp(int[],int) CREATE AGGREGATE myaggn15a(BASETYPE = anyelement, SFUNC = tfnp, @@ -225052,7 +224972,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggn15a(BASETYPE = anyelement, SFUNC = tfnp, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 CREATE AGGREGATE myaggn15b(BASETYPE = anyelement, SFUNC = tfnp, STYPE = anyarray, INITCOND = '{}'); -ERROR: function tfnp(anyarray, anyelement) does not exist @@ -225061,7 +224981,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggn15b(BASETYPE = anyelement, SFUNC = tfnp, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- P N P P -- should ERROR: tf2p(anyarray, anyelement) not matched by tf2p(int[],anyelement) CREATE AGGREGATE myaggn16a(BASETYPE = anyelement, SFUNC = tf2p, @@ -225072,7 +224992,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggn16a(BASETYPE = anyelement, SFUNC = tf2p, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 CREATE AGGREGATE myaggn16b(BASETYPE = anyelement, SFUNC = tf2p, STYPE = anyarray, INITCOND = '{}'); -ERROR: function tf2p(anyarray, anyelement) does not exist @@ -225081,7 +225001,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggn16b(BASETYPE = anyelement, SFUNC = tf2p, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- P P N N -- should ERROR: ffnp(anyarray) not matched by ffnp(int[]) CREATE AGGREGATE myaggn17a(BASETYPE = int, SFUNC = tf1p, STYPE = anyarray, @@ -225093,7 +225013,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggn17a(BASETYPE = int, SFUNC = tf1p, STYPE = anyarray, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- P P N P -- should ERROR: tfp(anyarray, int) not matched by tfp(anyarray, anyelement) CREATE AGGREGATE myaggn18a(BASETYPE = int, SFUNC = tfp, STYPE = anyarray, @@ -225105,7 +225025,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggn18a(BASETYPE = int, SFUNC = tfp, STYPE = anyarray, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- P P P N -- should ERROR: tf1p(anyarray, anyelement) not matched by tf1p(anyarray, int) CREATE AGGREGATE myaggn19a(BASETYPE = anyelement, SFUNC = tf1p, @@ -225116,7 +225036,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggn19a(BASETYPE = anyelement, SFUNC = tf1p, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- P P P P -- should ERROR: ffnp(anyarray) not matched by ffnp(int[]) CREATE AGGREGATE myaggn20a(BASETYPE = anyelement, SFUNC = tfp, @@ -225127,7 +225047,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE myaggn20a(BASETYPE = anyelement, SFUNC = tfp, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- multi-arg polymorphic CREATE AGGREGATE mysum2(anyelement,anyelement) (SFUNC = sum3, STYPE = anyelement, INITCOND = '0'); @@ -225136,7 +225056,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE mysum2(anyelement,anyelement) (SFUNC = sum3, + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- create test data for polymorphic aggregates create temp table t(f1 int, f2 int[], f3 text); insert into t values(1,array[1],'a'); @@ -225396,7 +225316,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +CREATE AGGREGATE array_larger_accum (anyarray) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 SELECT array_larger_accum(i) FROM (VALUES (ARRAY[1,2]), (ARRAY[3,4])) as t(i); - array_larger_accum @@ -225476,7 +225396,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +create aggregate build_group(anyelement, integer) ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 select build_group(q1,3) from int8_tbl; - build_group ----------------------------- @@ -225495,7 +225415,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +create aggregate build_group(int8, integer) ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- but we can make a non-poly agg from a poly sfunc if types are OK create aggregate build_group(int8, integer) ( SFUNC = add_group, @@ -225506,7 +225426,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +create aggregate build_group(int8, integer) ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 -- check proper resolution of data types for polymorphic transfn/finalfn create function first_el_transfn(anyarray, anyelement) returns anyarray as 'select $1 || $2' language sql immutable; @@ -225569,7 +225489,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +create aggregate first_el_agg_f8(float8) ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 create aggregate first_el_agg_any(anyelement) ( SFUNC = first_el_transfn, STYPE = anyarray, @@ -225580,7 +225500,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +create aggregate first_el_agg_any(anyelement) ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 select first_el_agg_f8(x::float8) from generate_series(1,10) x; - first_el_agg_f8 ------------------ @@ -225669,7 +225589,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +create function myleast(variadic anyarray) returns anyelement as $$ + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/88947/dev ++See: https://go.crdb.dev/issue-v/88947/v24.3 select myleast(10, 1, 20, 33); - myleast ---------- @@ -225768,7 +225688,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +create function concat(text, variadic anyarray) returns text as $$ + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/88947/dev ++See: https://go.crdb.dev/issue-v/88947/v24.3 select concat('%', 1, 2, 3, 4, 5); - concat ------------ @@ -225836,7 +225756,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +create function formarray(anyelement, variadic anyarray) returns anyarray as $$ + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/88947/dev ++See: https://go.crdb.dev/issue-v/88947/v24.3 select formarray(1,2,3,4,5); - formarray -------------- @@ -225902,7 +225822,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +drop function formarray(anyelement, variadic anyarray) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/88947/dev ++See: https://go.crdb.dev/issue-v/88947/v24.3 -- test pg_typeof() function select pg_typeof(null); -- unknown pg_typeof @@ -226089,7 +226009,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +create function dfunc(a variadic int[]) returns int as + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/88947/dev ++See: https://go.crdb.dev/issue-v/88947/v24.3 select dfunc(); -- fail -ERROR: function dfunc() does not exist -LINE 1: select dfunc(); @@ -226117,7 +226037,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +create or replace function dfunc(a variadic int[] default array[]::int[]) returns int as + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/88947/dev ++See: https://go.crdb.dev/issue-v/88947/v24.3 select dfunc(); -- now ok - dfunc -------- @@ -226149,7 +226069,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +create or replace function dfunc(a variadic int[]) returns int as + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/88947/dev ++See: https://go.crdb.dev/issue-v/88947/v24.3 \df dfunc - List of functions - Schema | Name | Result data type | Argument data types | Type @@ -226179,7 +226099,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +drop function dfunc(a variadic int[]) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/88947/dev ++See: https://go.crdb.dev/issue-v/88947/v24.3 -- Ambiguity should be reported only if there's not a better match available create function dfunc(int = 1, int = 2, int = 3) returns int as $$ select 3; @@ -226208,7 +226128,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out + returns table (a int, b int, c int, d int) as $$ + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/100226/dev ++See: https://go.crdb.dev/issue-v/100226/v24.3 select (dfunc(10,20,30)).*; - a | b | c | d -----+----+----+--- @@ -226334,7 +226254,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out + returns table (a varchar, b numeric, c date) as $$ + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/100226/dev ++See: https://go.crdb.dev/issue-v/100226/v24.3 select (dfunc('Hello World', 20, '2009-07-25'::date)).*; - a | b | c --------------+----+------------ @@ -226493,7 +226413,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +create function testpolym(a int) returns table(a int) as $$ select $1;$$ language sql + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/100226/dev ++See: https://go.crdb.dev/issue-v/100226/v24.3 select * from testpolym(37); - a ----- @@ -227140,7 +227060,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +create function anyctest(variadic anycompatiblearray) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/88947/dev ++See: https://go.crdb.dev/issue-v/88947/v24.3 select x, pg_typeof(x) from anyctest(11, 12) x; - x | pg_typeof ----------+----------- @@ -227213,7 +227133,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/polymorphism.out +drop function anyctest(variadic anycompatiblearray) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/88947/dev ++See: https://go.crdb.dev/issue-v/88947/v24.3 diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowtypes.out --label=/mnt/data1/postgres/src/test/regress/results/rowtypes.out /mnt/data1/postgres/src/test/regress/expected/rowtypes.out /mnt/data1/postgres/src/test/regress/results/rowtypes.out --- /mnt/data1/postgres/src/test/regress/expected/rowtypes.out +++ /mnt/data1/postgres/src/test/regress/results/rowtypes.out @@ -227223,7 +227143,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowtypes.out --la create type quad as (c1 complex, c2 complex); +ERROR: unimplemented: composite types that reference user-defined types not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/91779/dev ++See: https://go.crdb.dev/issue-v/91779/v24.3 -- Some simple tests of I/O conversions and row construction select (1.1,2.2)::complex, row((3.3,4.4),(5.5,null))::quad; - row | row @@ -227337,7 +227257,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowtypes.out --la create temp table people (fn fullname, bd date); +ERROR: unimplemented: cannot use table record type as table column +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/70099/dev ++See: https://go.crdb.dev/issue-v/70099/v24.3 insert into people values ('(Joe,Blow)', '1984-01-10'); +ERROR: relation "people" does not exist select * from people; @@ -227367,7 +227287,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowtypes.out --la +update people set fn.suffix = 'Jr' + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27792/dev ++See: https://go.crdb.dev/issue-v/27792/v24.3 select * from people; - fn | bd ----------------+------------ @@ -227381,14 +227301,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowtypes.out --la +insert into quadtable (f1, q.c1.r, q.c2.i) values(44,55,66) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27792/dev ++See: https://go.crdb.dev/issue-v/27792/v24.3 update quadtable set q.c1.r = 12 where f1 = 2; +ERROR: at or near "c1": syntax error: unimplemented: this syntax +DETAIL: source SQL: +update quadtable set q.c1.r = 12 where f1 = 2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27792/dev ++See: https://go.crdb.dev/issue-v/27792/v24.3 update quadtable set q.c1 = 12; -- error, type mismatch -ERROR: subfield "c1" is of type complex but expression is of type integer -LINE 1: update quadtable set q.c1 = 12; @@ -227399,7 +227319,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowtypes.out --la +update quadtable set q.c1 = 12 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27792/dev ++See: https://go.crdb.dev/issue-v/27792/v24.3 select * from quadtable; - f1 | q -----+--------------------------- @@ -227431,7 +227351,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowtypes.out --la +update people set fn.first = 'Jack' + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27792/dev ++See: https://go.crdb.dev/issue-v/27792/v24.3 select (fn).first, substr((fn).last, 1, 20), length((fn).last) from people; - first | substr | length --------+----------------------+--------- @@ -227707,7 +227627,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowtypes.out --la +create type cantcompare as (p point, r float8) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 create temp table cc (f1 cantcompare); +ERROR: type "cantcompare" does not exist insert into cc values('("(1,2)",3)'); @@ -227746,7 +227666,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowtypes.out --la +create type testtype6 as (a int, b point) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 select row(1, '(1,2)')::testtype6 < row(1, '(1,3)')::testtype6; -ERROR: could not identify a comparison function for type point +ERROR: type "testtype6" does not exist @@ -227984,7 +227904,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowtypes.out --la +create type testtype4 as (a int, b point) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 select row(1, '(1,2)')::testtype4 *< row(1, '(1,3)')::testtype4; - ?column? ----------- @@ -228039,7 +227959,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowtypes.out --la +create type testtype6 as (a int, b point) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/21286/dev ++See: https://go.crdb.dev/issue-v/21286/v24.3 select row(1, '(1,2)')::testtype6 *< row(1, '(1,3)')::testtype6; - ?column? ----------- @@ -228091,7 +228011,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowtypes.out --la active BOOLEAN NOT NULL, price NUMERIC ); -+NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/dev/serial.html ++NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/v24.3/serial.html CREATE TYPE price_input AS ( id INTEGER, price NUMERIC @@ -228475,7 +228395,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowtypes.out --la +create temp table tt2 () inherits(tt1) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 insert into tt2 values(0,0); select row_to_json(r) from (select q2,q1 from tt1 offset 0) r; - row_to_json @@ -228497,7 +228417,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/rowtypes.out --la +create temp table tt3 () inherits(tt2) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 insert into tt3 values(33,44); select row_to_json(tt3::tt2::tt1) from tt3; - row_to_json @@ -228624,7 +228544,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +create domain domaindroptest int4 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 comment on domain domaindroptest is 'About to drop this..'; +ERROR: at or near "domain": syntax error +DETAIL: source SQL: @@ -228636,7 +228556,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +create domain dependenttypetest domaindroptest + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 -- fail because of dependent type drop domain domaindroptest; -ERROR: cannot drop type domaindroptest because other objects depend on it @@ -228647,7 +228567,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +drop domain domaindroptest + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 drop domain domaindroptest cascade; -NOTICE: drop cascades to type dependenttypetest +ERROR: at or near "domaindroptest": syntax error: unimplemented: this syntax @@ -228655,7 +228575,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +drop domain domaindroptest cascade + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 -- this should fail because already gone drop domain domaindroptest cascade; -ERROR: type "domaindroptest" does not exist @@ -228664,7 +228584,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +drop domain domaindroptest cascade + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 -- Test domain input. -- Note: the point of checking both INSERT and COPY FROM is that INSERT -- exercises CoerceToDomain while COPY exercises domain_in. @@ -228674,28 +228594,28 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +create domain domainvarchar varchar(5) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 create domain domainnumeric numeric(8,2); +ERROR: at or near "numeric": syntax error: unimplemented: this syntax +DETAIL: source SQL: +create domain domainnumeric numeric(8,2) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 create domain domainint4 int4; +ERROR: at or near "int4": syntax error: unimplemented: this syntax +DETAIL: source SQL: +create domain domainint4 int4 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 create domain domaintext text; +ERROR: at or near "text": syntax error: unimplemented: this syntax +DETAIL: source SQL: +create domain domaintext text + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 -- Test explicit coercions --- these should succeed (and truncate) SELECT cast('123456' as domainvarchar); - domainvarchar @@ -228788,28 +228708,28 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +drop domain domainvarchar restrict + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 drop domain domainnumeric restrict; +ERROR: at or near "domainnumeric": syntax error: unimplemented: this syntax +DETAIL: source SQL: +drop domain domainnumeric restrict + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 drop domain domainint4 restrict; +ERROR: at or near "domainint4": syntax error: unimplemented: this syntax +DETAIL: source SQL: +drop domain domainint4 restrict + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 drop domain domaintext; +ERROR: at or near "domaintext": syntax error: unimplemented: this syntax +DETAIL: source SQL: +drop domain domaintext + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 -- Test non-error-throwing input create domain positiveint int4 check(value > 0); +ERROR: at or near "int4": syntax error: unimplemented: this syntax @@ -228817,14 +228737,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +create domain positiveint int4 check(value > 0) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 create domain weirdfloat float8 check((1 / value) < 10); +ERROR: at or near "float8": syntax error: unimplemented: this syntax +DETAIL: source SQL: +create domain weirdfloat float8 check((1 / value) < 10) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 select pg_input_is_valid('1', 'positiveint'); - pg_input_is_valid -------------------- @@ -228884,14 +228804,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +drop domain positiveint + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 drop domain weirdfloat; +ERROR: at or near "weirdfloat": syntax error: unimplemented: this syntax +DETAIL: source SQL: +drop domain weirdfloat + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 -- Test domains over array types create domain domainint4arr int4[1]; +ERROR: at or near "int4": syntax error: unimplemented: this syntax @@ -228899,14 +228819,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +create domain domainint4arr int4[1] + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 create domain domainchar4arr varchar(4)[2][3]; +ERROR: at or near "varchar": syntax error: unimplemented: this syntax +DETAIL: source SQL: +create domain domainchar4arr varchar(4)[2][3] + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 create table domarrtest ( testint4arr domainint4arr , testchar4arr domainchar4arr @@ -229027,21 +228947,21 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +drop domain domainint4arr restrict + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 drop domain domainchar4arr restrict; +ERROR: at or near "domainchar4arr": syntax error: unimplemented: this syntax +DETAIL: source SQL: +drop domain domainchar4arr restrict + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 create domain dia as int[]; +ERROR: at or near "as": syntax error: unimplemented: this syntax +DETAIL: source SQL: +create domain dia as int[] + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 select '{1,2,3}'::dia; - dia ---------- @@ -229076,7 +228996,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +drop domain dia + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 -- Test domains over composites create type comptype as (r float8, i float8); create domain dcomptype as comptype; @@ -229085,7 +229005,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +create domain dcomptype as comptype + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 create table dcomptable (d1 dcomptype unique); +ERROR: type "dcomptype" does not exist insert into dcomptable values (row(1,2)::dcomptype); @@ -229102,7 +229022,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +insert into dcomptable (d1.r) values(11) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27792/dev ++See: https://go.crdb.dev/issue-v/27792/v24.3 select * from dcomptable; - d1 -------- @@ -229127,7 +229047,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +update dcomptable set d1.r = (d1).r + 1 where (d1).i > 0 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27792/dev ++See: https://go.crdb.dev/issue-v/27792/v24.3 select * from dcomptable; - d1 -------- @@ -229184,14 +229104,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +insert into dcomptable (d1.r) values(99) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27792/dev ++See: https://go.crdb.dev/issue-v/27792/v24.3 insert into dcomptable (d1.r, d1.i) values(99, 100); +ERROR: at or near "r": syntax error: unimplemented: this syntax +DETAIL: source SQL: +insert into dcomptable (d1.r, d1.i) values(99, 100) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27792/dev ++See: https://go.crdb.dev/issue-v/27792/v24.3 insert into dcomptable (d1.r, d1.i) values(100, 99); -- fail -ERROR: value for domain dcomptype violates check constraint "c1" +ERROR: at or near "r": syntax error: unimplemented: this syntax @@ -229199,7 +229119,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +insert into dcomptable (d1.r, d1.i) values(100, 99) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27792/dev ++See: https://go.crdb.dev/issue-v/27792/v24.3 update dcomptable set d1.r = (d1).r + 1 where (d1).i > 0; -- fail -ERROR: value for domain dcomptype violates check constraint "c1" +ERROR: at or near "r": syntax error: unimplemented: this syntax @@ -229207,14 +229127,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +update dcomptable set d1.r = (d1).r + 1 where (d1).i > 0 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27792/dev ++See: https://go.crdb.dev/issue-v/27792/v24.3 update dcomptable set d1.r = (d1).r - 1, d1.i = (d1).i + 1 where (d1).i > 0; +ERROR: at or near "r": syntax error: unimplemented: this syntax +DETAIL: source SQL: +update dcomptable set d1.r = (d1).r - 1, d1.i = (d1).i + 1 where (d1).i > 0 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27792/dev ++See: https://go.crdb.dev/issue-v/27792/v24.3 select * from dcomptable; - d1 ----------- @@ -229315,7 +229235,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe -NOTICE: drop cascades to type dcomptype +ERROR: unimplemented: DROP TYPE CASCADE is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/51480/dev ++See: https://go.crdb.dev/issue-v/51480/v24.3 -- check altering and dropping columns used by domain constraints create type comptype as (r float8, i float8); +ERROR: type "root.public.comptype" already exists @@ -229325,7 +229245,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +create domain dcomptype as comptype + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 alter domain dcomptype add constraint c1 check ((value).r > 0); +ERROR: at or near "dcomptype": syntax error: unimplemented: this syntax +DETAIL: source SQL: @@ -229358,14 +229278,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +alter type comptype alter attribute r type varchar + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/48701/dev ++See: https://go.crdb.dev/issue-v/48701/v24.3 alter type comptype alter attribute r type bigint; +ERROR: at or near "EOF": syntax error: unimplemented: this syntax +DETAIL: source SQL: +alter type comptype alter attribute r type bigint + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/48701/dev ++See: https://go.crdb.dev/issue-v/48701/v24.3 alter type comptype drop attribute r; -- fail -ERROR: cannot drop column r of composite type comptype because other objects depend on it -DETAIL: constraint c1 depends on column r of composite type comptype @@ -229375,14 +229295,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +alter type comptype drop attribute r + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/48701/dev ++See: https://go.crdb.dev/issue-v/48701/v24.3 alter type comptype drop attribute i; +ERROR: at or near "EOF": syntax error: unimplemented: this syntax +DETAIL: source SQL: +alter type comptype drop attribute i + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/48701/dev ++See: https://go.crdb.dev/issue-v/48701/v24.3 select conname, obj_description(oid, 'pg_constraint') from pg_constraint where contypid = 'dcomptype'::regtype; -- check comment is still there - conname | obj_description @@ -229395,7 +229315,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe -NOTICE: drop cascades to type dcomptype +ERROR: unimplemented: DROP TYPE CASCADE is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/51480/dev ++See: https://go.crdb.dev/issue-v/51480/v24.3 -- Test domains over arrays of composite create type comptype as (r float8, i float8); +ERROR: type "root.public.comptype" already exists @@ -229405,7 +229325,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +create domain dcomptypea as comptype[] + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 create table dcomptable (d1 dcomptypea unique); +ERROR: type "dcomptypea" does not exist insert into dcomptable values (array[row(1,2)]::dcomptypea); @@ -229638,7 +229558,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe -NOTICE: drop cascades to type dcomptypea +ERROR: unimplemented: DROP TYPE CASCADE is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/51480/dev ++See: https://go.crdb.dev/issue-v/51480/v24.3 -- Test arrays over domains create domain posint as int check (value > 0); +ERROR: at or near "as": syntax error: unimplemented: this syntax @@ -229646,7 +229566,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +create domain posint as int check (value > 0) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 create table pitable (f1 posint[]); +ERROR: type "posint" does not exist insert into pitable values(array[42]); @@ -229687,7 +229607,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +create domain vc4 as varchar(4) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 create table vc4table (f1 vc4[]); +ERROR: type "vc4" does not exist insert into vc4table values(array['too long']); -- fail @@ -229713,7 +229633,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +create domain dposinta as posint[] + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 create table dposintatable (f1 dposinta[]); +ERROR: type "dposinta" does not exist insert into dposintatable values(array[array[42]]); -- fail @@ -229805,7 +229725,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +drop domain posint cascade + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 -- Test arrays over domains of composite create type comptype as (cf1 int, cf2 int); +ERROR: type "root.public.comptype" already exists @@ -229815,7 +229735,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +create domain dcomptype as comptype check ((value).cf1 > 0) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 create table dcomptable (f1 dcomptype[]); +ERROR: type "dcomptype" does not exist insert into dcomptable values (null); @@ -229889,7 +229809,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe -NOTICE: drop cascades to type dcomptype +ERROR: unimplemented: DROP TYPE CASCADE is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/51480/dev ++See: https://go.crdb.dev/issue-v/51480/v24.3 -- Test not-null restrictions create domain dnotnull varchar(15) NOT NULL; +ERROR: at or near "varchar": syntax error: unimplemented: this syntax @@ -229897,21 +229817,21 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +create domain dnotnull varchar(15) NOT NULL + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 create domain dnull varchar(15); +ERROR: at or near "varchar": syntax error: unimplemented: this syntax +DETAIL: source SQL: +create domain dnull varchar(15) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 create domain dcheck varchar(15) NOT NULL CHECK (VALUE = 'a' OR VALUE = 'c' OR VALUE = 'd'); +ERROR: at or near "varchar": syntax error: unimplemented: this syntax +DETAIL: source SQL: +create domain dcheck varchar(15) NOT NULL CHECK (VALUE = 'a' OR VALUE = 'c' OR VALUE = 'd') + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 create table nulltest ( col1 dnotnull , col2 dnotnull NULL -- NOT NULL in the domain cannot be overridden @@ -230019,35 +229939,35 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +drop domain dnotnull restrict + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 drop domain dnull restrict; +ERROR: at or near "dnull": syntax error: unimplemented: this syntax +DETAIL: source SQL: +drop domain dnull restrict + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 drop domain dcheck restrict; +ERROR: at or near "dcheck": syntax error: unimplemented: this syntax +DETAIL: source SQL: +drop domain dcheck restrict + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 create domain ddef1 int4 DEFAULT 3; +ERROR: at or near "int4": syntax error: unimplemented: this syntax +DETAIL: source SQL: +create domain ddef1 int4 DEFAULT 3 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 create domain ddef2 oid DEFAULT '12'; +ERROR: at or near "oid": syntax error: unimplemented: this syntax +DETAIL: source SQL: +create domain ddef2 oid DEFAULT '12' + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 -- Type mixing, function returns int8 create domain ddef3 text DEFAULT 5; +ERROR: at or near "text": syntax error: unimplemented: this syntax @@ -230055,7 +229975,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +create domain ddef3 text DEFAULT 5 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 create sequence ddef4_seq; create domain ddef4 int4 DEFAULT nextval('ddef4_seq'); +ERROR: at or near "int4": syntax error: unimplemented: this syntax @@ -230063,14 +229983,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +create domain ddef4 int4 DEFAULT nextval('ddef4_seq') + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 create domain ddef5 numeric(8,2) NOT NULL DEFAULT '12.12'; +ERROR: at or near "numeric": syntax error: unimplemented: this syntax +DETAIL: source SQL: +create domain ddef5 numeric(8,2) NOT NULL DEFAULT '12.12' + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 create table defaulttest ( col1 ddef1 , col2 ddef2 @@ -230128,7 +230048,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +create domain dnotnulltest integer + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 create table domnotnull ( col1 dnotnulltest , col2 dnotnulltest @@ -230220,7 +230140,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +drop domain dnotnulltest cascade + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 -- Test ALTER DOMAIN .. DEFAULT .. create table domdeftest (col1 ddef1); +ERROR: type "ddef1" does not exist @@ -230295,7 +230215,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +create domain con as integer + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 create table domcontest (col1 con); +ERROR: type "con" does not exist insert into domcontest values (1); @@ -230421,7 +230341,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +create domain things AS INT + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 CREATE TABLE thethings (stuff things); +ERROR: type "things" does not exist INSERT INTO thethings (stuff) VALUES (55); @@ -230502,7 +230422,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +create domain dom as integer + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 create view domview as select cast(col1 as dom) from domtab; +ERROR: type "dom" does not exist insert into domtab (col1) values (null); @@ -230608,35 +230528,35 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +drop domain ddef1 restrict + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 drop domain ddef2 restrict; +ERROR: at or near "ddef2": syntax error: unimplemented: this syntax +DETAIL: source SQL: +drop domain ddef2 restrict + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 drop domain ddef3 restrict; +ERROR: at or near "ddef3": syntax error: unimplemented: this syntax +DETAIL: source SQL: +drop domain ddef3 restrict + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 drop domain ddef4 restrict; +ERROR: at or near "ddef4": syntax error: unimplemented: this syntax +DETAIL: source SQL: +drop domain ddef4 restrict + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 drop domain ddef5 restrict; +ERROR: at or near "ddef5": syntax error: unimplemented: this syntax +DETAIL: source SQL: +drop domain ddef5 restrict + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 drop sequence ddef4_seq; -- Test domains over domains create domain vchar4 varchar(4); @@ -230645,21 +230565,21 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +create domain vchar4 varchar(4) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 create domain dinter vchar4 check (substring(VALUE, 1, 1) = 'x'); +ERROR: at or near "vchar4": syntax error: unimplemented: this syntax +DETAIL: source SQL: +create domain dinter vchar4 check (substring(VALUE, 1, 1) = 'x') + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 create domain dtop dinter check (substring(VALUE, 2, 1) = '1'); +ERROR: at or near "dinter": syntax error: unimplemented: this syntax +DETAIL: source SQL: +create domain dtop dinter check (substring(VALUE, 2, 1) = '1') + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 select 'x123'::dtop; - dtop ------- @@ -230716,7 +230636,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +drop domain vchar4 cascade + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 -- Make sure that constraints of newly-added domain columns are -- enforced correctly, even if there's no default value for the new -- column. Per bug #1433 @@ -230726,7 +230646,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +create domain str_domain as text not null + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 create table domain_test (a int, b int); insert into domain_test values (1, 2); insert into domain_test values (1, 2); @@ -230740,7 +230660,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +create domain str_domain2 as text check (value <> 'foo') default 'foo' + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 -- should fail alter table domain_test add column d str_domain2; -ERROR: value for domain str_domain2 violates check constraint "str_domain2_check" @@ -230753,7 +230673,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +create domain pos_int as int4 check (value > 0) not null + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 prepare s1 as select $1::pos_int = 10 as "is_ten"; +ERROR: type "pos_int" does not exist execute s1(10); @@ -230826,7 +230746,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +create domain posint as int4 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 -- Currently, this doesn't work for composite types, but verify it complains create type ddtest1 as (f1 posint); +ERROR: type "posint" does not exist @@ -230884,7 +230804,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +create domain ddtest1d as ddtest1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 create table ddtest2(f1 ddtest1d); +ERROR: type "ddtest1d" does not exist insert into ddtest2 values('(-1)'); @@ -230914,7 +230834,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +drop domain ddtest1d + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 -- Likewise for domains within domains over array of composite create domain ddtest1d as ddtest1[]; +ERROR: at or near "as": syntax error: unimplemented: this syntax @@ -230922,7 +230842,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +create domain ddtest1d as ddtest1[] + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 create table ddtest2(f1 ddtest1d); +ERROR: type "ddtest1d" does not exist insert into ddtest2 values('{(-1)}'); @@ -230952,7 +230872,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +drop domain ddtest1d + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 -- Doesn't work for ranges, either create type rposint as range (subtype = posint); +ERROR: at or near "(": syntax error: unimplemented: this syntax @@ -230960,7 +230880,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +create type rposint as range (subtype = posint) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27791/dev ++See: https://go.crdb.dev/issue-v/27791/v24.3 create table ddtest2(f1 rposint); +ERROR: type "rposint" does not exist insert into ddtest2 values('(-1,3]'); @@ -231008,7 +230928,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +create domain posint2 as posint check (value % 2 = 0) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 create table ddtest2(f1 posint2); +ERROR: type "posint2" does not exist insert into ddtest2 values(11); -- fail @@ -231063,7 +230983,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +drop domain posint cascade + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 -- -- Check enforcement of domain-related typmod in plpgsql (bug #5717) -- @@ -231100,7 +231020,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +create domain mynums as numeric(4,2)[1] + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 create or replace function array_elem_check(numeric) returns numeric as $$ declare x mynums; @@ -231137,7 +231057,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +create domain mynums2 as mynums + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 create or replace function array_elem_check(numeric) returns numeric as $$ declare x mynums2; @@ -231179,7 +231099,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +create domain orderedpair as int[2] check (value[1] < value[2]) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 select array[1,2]::orderedpair; - array -------- @@ -231257,7 +231177,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +create domain di as int + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 create function dom_check(int) returns di as $$ declare d di; begin @@ -231382,7 +231302,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +drop domain di + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 -- -- Check use of a (non-inline-able) SQL function in a domain constraint; -- this has caused issues in the past @@ -231395,7 +231315,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +create domain inotnull int + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 select 1::inotnull; - inotnull ----------- @@ -231423,7 +231343,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +drop domain inotnull + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 drop function sql_is_distinct_from(anyelement, anyelement); -- -- Renaming @@ -231434,7 +231354,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +create domain testdomain1 as int + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 alter domain testdomain1 rename to testdomain2; +ERROR: at or near "testdomain1": syntax error: unimplemented: this syntax +DETAIL: source SQL: @@ -231459,7 +231379,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +drop domain testdomain3 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 -- -- Renaming domain constraints -- @@ -231469,7 +231389,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +create domain testdomain1 as int constraint unsigned check (value > 0) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 alter domain testdomain1 rename constraint unsigned to unsigned_foo; +ERROR: at or near "testdomain1": syntax error: unimplemented: this syntax +DETAIL: source SQL: @@ -231508,7 +231428,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/domain.out --labe +drop domain testdomain1 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/largeobject.out --label=/mnt/data1/postgres/src/test/regress/results/largeobject.out /mnt/data1/postgres/src/test/regress/expected/largeobject.out /mnt/data1/postgres/src/test/regress/results/largeobject.out --- /mnt/data1/postgres/src/test/regress/expected/largeobject.out +++ /mnt/data1/postgres/src/test/regress/results/largeobject.out @@ -232255,142 +232175,154 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- ************************************************************ -- * -- * Trigger procedures and functions for the patchfield -@@ -101,8 +112,14 @@ - return new; - end; +@@ -103,6 +114,9 @@ ' language plpgsql; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev create trigger tg_room_au after update on Room for each row execute procedure tg_room_au(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- ************************************************************ -- * AFTER DELETE on Room -- * - delete wall slots in this room -@@ -113,8 +130,14 @@ - return old; - end; +@@ -115,6 +129,9 @@ ' language plpgsql; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev create trigger tg_room_ad after delete on Room for each row execute procedure tg_room_ad(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- ************************************************************ -- * BEFORE INSERT or UPDATE on WSlot -- * - Check that room exists -@@ -127,8 +150,14 @@ +@@ -127,8 +144,23 @@ return new; end; $$ language plpgsql; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev ++ERROR: at or near ";": at or near "from": syntax error ++DETAIL: source SQL: ++SET ROW (count(*) = 0 from Room where roomno = new.roomno ) ++ ^ ++-- ++source SQL: ++begin ++ if count(*) = 0 from Room where roomno = new.roomno then ++ raise exception 'Room % does not exist', new.roomno; ++ end if; ++ ^ ++HINT: try \h SET SESSION create trigger tg_wslot_biu before insert or update on WSlot for each row execute procedure tg_wslot_biu(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- ************************************************************ -- * AFTER UPDATE on PField -- * - Let PSlots of this field follow -@@ -141,8 +170,14 @@ - return new; - end; +@@ -143,6 +175,9 @@ ' language plpgsql; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev create trigger tg_pfield_au after update on PField for each row execute procedure tg_pfield_au(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- ************************************************************ -- * AFTER DELETE on PField -- * - Remove all slots of this patchfield -@@ -153,8 +188,14 @@ - return old; - end; +@@ -155,6 +190,9 @@ ' language plpgsql; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev create trigger tg_pfield_ad after delete on PField for each row execute procedure tg_pfield_ad(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- ************************************************************ -- * BEFORE INSERT or UPDATE on PSlot -- * - Ensure that our patchfield does exist -@@ -171,8 +212,14 @@ +@@ -171,8 +209,28 @@ return ps; end; $proc$ language plpgsql; -+ERROR: unimplemented: trigger functions are not yet supported ++ERROR: at or near ";": syntax error: unimplemented: this syntax ++DETAIL: source SQL: ++declare ++ pfrec record; ++ ps alias for new; ++ ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev ++ ++Please check the public issue tracker to check whether this problem is ++already tracked. If you cannot find it there, please report the error ++with details by creating a new issue. ++ ++If you would rather not post publicly, please contact us directly ++using the support form. ++ ++We appreciate your feedback. ++ create trigger tg_pslot_biu before insert or update on PSlot for each row execute procedure tg_pslot_biu(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- ************************************************************ -- * AFTER UPDATE on System -- * - If system name changes let interfaces follow -@@ -185,8 +232,14 @@ - return new; - end; +@@ -187,6 +245,9 @@ ' language plpgsql; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev create trigger tg_system_au after update on System for each row execute procedure tg_system_au(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- ************************************************************ -- * BEFORE INSERT or UPDATE on IFace -- * - set the slotname to IF.sysname.ifname -@@ -210,8 +263,14 @@ +@@ -210,8 +271,33 @@ return new; end; $$ language plpgsql; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev ++ERROR: at or near ";": at or near "new": syntax error ++DETAIL: source SQL: ++new.slotname := sname ++^ ++-- ++source SQL: ++declare ++ sname text; ++ sysrec record; ++begin ++ select into sysrec * from system where name = new.sysname; ++ if not found then ++ raise exception $q$system "%" does not exist$q$, new.sysname; ++ end if; ++ sname := 'IF.' || new.sysname; ++ sname := sname || '.'; ++ sname := sname || new.ifname; ++ if length(sname) > 20 then ++ raise exception 'IFace slotname "%" too long (20 char max)', sname; ++ end if; ++ new.slotname := sname; ++ ^ create trigger tg_iface_biu before insert or update on IFace for each row execute procedure tg_iface_biu(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- ************************************************************ -- * AFTER INSERT or UPDATE or DELETE on Hub -- * - insert/delete/rename slots as required -@@ -238,8 +297,14 @@ - end if; - end; +@@ -240,6 +326,9 @@ ' language plpgsql; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev create trigger tg_hub_a after insert or update or delete on Hub for each row execute procedure tg_hub_a(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- ************************************************************ -- * Support function to add/remove slots of Hub -- ************************************************************ -@@ -262,11 +327,51 @@ +@@ -262,11 +351,51 @@ return 0; end ' language plpgsql; @@ -232425,275 +232357,255 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab +COMMENT ON FUNCTION tg_hub_adjustslots_wrong(bpchar, integer, integer) IS 'function with args' + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/17511/dev ++See: https://go.crdb.dev/issue-v/17511/v24.3 COMMENT ON FUNCTION tg_hub_adjustslots(bpchar, integer, integer) IS 'function with args'; +ERROR: at or near "tg_hub_adjustslots": syntax error: unimplemented: this syntax +DETAIL: source SQL: +COMMENT ON FUNCTION tg_hub_adjustslots(bpchar, integer, integer) IS 'function with args' + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/17511/dev ++See: https://go.crdb.dev/issue-v/17511/v24.3 COMMENT ON FUNCTION tg_hub_adjustslots(bpchar, integer, integer) IS NULL; +ERROR: at or near "tg_hub_adjustslots": syntax error: unimplemented: this syntax +DETAIL: source SQL: +COMMENT ON FUNCTION tg_hub_adjustslots(bpchar, integer, integer) IS NULL + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/17511/dev ++See: https://go.crdb.dev/issue-v/17511/v24.3 -- ************************************************************ -- * BEFORE INSERT or UPDATE on HSlot -- * - prevent from manual manipulation -@@ -300,8 +405,14 @@ +@@ -300,8 +429,20 @@ return new; end; ' language plpgsql; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev ++ERROR: at or near "type": syntax error: unable to parse type of variable declaration ++DETAIL: source SQL: ++declare ++ sname text; ++ xname HSlot.slotname%TYPE; ++ ^ ++HINT: you may have attempted to use %TYPE or %ROWTYPE syntax, which is unsupported. ++-- ++See: https://go.crdb.dev/issue-v/114676/v24.3 create trigger tg_hslot_biu before insert or update on HSlot for each row execute procedure tg_hslot_biu(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- ************************************************************ -- * BEFORE DELETE on HSlot -- * - prevent from manual manipulation -@@ -320,8 +431,14 @@ +@@ -320,8 +461,14 @@ raise exception ''no manual manipulation of HSlot''; end; ' language plpgsql; -+ERROR: unimplemented: trigger functions are not yet supported ++ERROR: unimplemented: RECORD type for PL/pgSQL variables is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev ++See: https://go.crdb.dev/issue-v/114874/v24.3 create trigger tg_hslot_bd before delete on HSlot for each row execute procedure tg_hslot_bd(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- ************************************************************ -- * BEFORE INSERT on all slots -- * - Check name prefix -@@ -334,16 +451,34 @@ - return new; - end; +@@ -336,14 +483,29 @@ ' language plpgsql; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev create trigger tg_chkslotname before insert on PSlot for each row execute procedure tg_chkslotname('PS'); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger tg_chkslotname before insert on WSlot for each row execute procedure tg_chkslotname('WS'); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger tg_chkslotname before insert on PLine for each row execute procedure tg_chkslotname('PL'); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger tg_chkslotname before insert on IFace for each row execute procedure tg_chkslotname('IF'); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger tg_chkslotname before insert on PHone for each row execute procedure tg_chkslotname('PH'); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- ************************************************************ -- * BEFORE INSERT or UPDATE on all slots with slotlink -- * - Set slotlink to empty string if NULL value given -@@ -356,16 +491,34 @@ +@@ -356,16 +518,41 @@ return new; end; ' language plpgsql; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev ++ERROR: at or near ";": at or near "new": syntax error ++DETAIL: source SQL: ++new.slotlink := '' ++^ ++-- ++source SQL: ++begin ++ if new.slotlink isnull then ++ new.slotlink := ''; ++ ^ create trigger tg_chkslotlink before insert or update on PSlot for each row execute procedure tg_chkslotlink(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger tg_chkslotlink before insert or update on WSlot for each row execute procedure tg_chkslotlink(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger tg_chkslotlink before insert or update on IFace for each row execute procedure tg_chkslotlink(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger tg_chkslotlink before insert or update on HSlot for each row execute procedure tg_chkslotlink(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger tg_chkslotlink before insert or update on PHone for each row execute procedure tg_chkslotlink(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- ************************************************************ -- * BEFORE INSERT or UPDATE on all slots with backlink -- * - Set backlink to empty string if NULL value given -@@ -378,12 +531,24 @@ +@@ -378,12 +565,31 @@ return new; end; ' language plpgsql; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev ++ERROR: at or near ";": at or near "new": syntax error ++DETAIL: source SQL: ++new.backlink := '' ++^ ++-- ++source SQL: ++begin ++ if new.backlink isnull then ++ new.backlink := ''; ++ ^ create trigger tg_chkbacklink before insert or update on PSlot for each row execute procedure tg_chkbacklink(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger tg_chkbacklink before insert or update on WSlot for each row execute procedure tg_chkbacklink(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger tg_chkbacklink before insert or update on PLine for each row execute procedure tg_chkbacklink(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- ************************************************************ -- * BEFORE UPDATE on PSlot -- * - do delete/insert instead of update if name changes -@@ -408,8 +573,14 @@ - return new; - end; +@@ -410,6 +616,9 @@ ' language plpgsql; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev create trigger tg_pslot_bu before update on PSlot for each row execute procedure tg_pslot_bu(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- ************************************************************ -- * BEFORE UPDATE on WSlot -- * - do delete/insert instead of update if name changes -@@ -434,8 +605,14 @@ - return new; - end; +@@ -436,6 +645,9 @@ ' language plpgsql; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev create trigger tg_wslot_bu before update on WSlot for each row execute procedure tg_Wslot_bu(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- ************************************************************ -- * BEFORE UPDATE on PLine -- * - do delete/insert instead of update if name changes -@@ -460,8 +637,14 @@ - return new; - end; +@@ -462,6 +674,9 @@ ' language plpgsql; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev create trigger tg_pline_bu before update on PLine for each row execute procedure tg_pline_bu(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- ************************************************************ -- * BEFORE UPDATE on IFace -- * - do delete/insert instead of update if name changes -@@ -486,8 +669,14 @@ - return new; - end; +@@ -488,6 +703,9 @@ ' language plpgsql; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev create trigger tg_iface_bu before update on IFace for each row execute procedure tg_iface_bu(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- ************************************************************ -- * BEFORE UPDATE on HSlot -- * - do delete/insert instead of update if name changes -@@ -512,8 +701,14 @@ - return new; - end; +@@ -514,6 +732,9 @@ ' language plpgsql; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev create trigger tg_hslot_bu before update on HSlot for each row execute procedure tg_hslot_bu(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- ************************************************************ -- * BEFORE UPDATE on PHone -- * - do delete/insert instead of update if name changes -@@ -536,8 +731,14 @@ - return new; - end; +@@ -538,6 +759,9 @@ ' language plpgsql; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev create trigger tg_phone_bu before update on PHone for each row execute procedure tg_phone_bu(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- ************************************************************ -- * AFTER INSERT or UPDATE or DELETE on slot with backlink -- * - Ensure that the opponent correctly points back to us -@@ -575,12 +776,24 @@ - end if; - end; +@@ -577,10 +801,19 @@ ' language plpgsql; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev create trigger tg_backlink_a after insert or update or delete on PSlot for each row execute procedure tg_backlink_a('PS'); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger tg_backlink_a after insert or update or delete on WSlot for each row execute procedure tg_backlink_a('WS'); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger tg_backlink_a after insert or update or delete on PLine for each row execute procedure tg_backlink_a('PL'); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- ************************************************************ -- * Support function to set the opponents backlink field -- * if it does not already point to the requested slot -@@ -635,6 +848,9 @@ +@@ -635,6 +868,9 @@ raise exception ''illegal backlink beginning with %'', mytype; end; ' language plpgsql; +ERROR: unimplemented: RECORD type for PL/pgSQL variables is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/114874/dev ++See: https://go.crdb.dev/issue-v/114874/v24.3 -- ************************************************************ -- * Support function to clear out the backlink field if -- * it still points to specific slot -@@ -680,6 +896,11 @@ +@@ -680,6 +916,11 @@ end if; end ' language plpgsql; @@ -232705,42 +232617,37 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- ************************************************************ -- * AFTER INSERT or UPDATE or DELETE on slot with slotlink -- * - Ensure that the opponent correctly points back to us -@@ -717,16 +938,34 @@ - end if; - end; +@@ -719,14 +960,29 @@ ' language plpgsql; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev create trigger tg_slotlink_a after insert or update or delete on PSlot for each row execute procedure tg_slotlink_a('PS'); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger tg_slotlink_a after insert or update or delete on WSlot for each row execute procedure tg_slotlink_a('WS'); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger tg_slotlink_a after insert or update or delete on IFace for each row execute procedure tg_slotlink_a('IF'); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger tg_slotlink_a after insert or update or delete on HSlot for each row execute procedure tg_slotlink_a('HS'); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 create trigger tg_slotlink_a after insert or update or delete on PHone for each row execute procedure tg_slotlink_a('PH'); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- ************************************************************ -- * Support function to set the opponents slotlink field -- * if it does not already point to the requested slot -@@ -811,6 +1050,11 @@ +@@ -811,6 +1067,11 @@ raise exception ''illegal slotlink beginning with %'', mytype; end; ' language plpgsql; @@ -232752,7 +232659,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- ************************************************************ -- * Support function to clear out the slotlink field if -- * it still points to specific slot -@@ -876,6 +1120,11 @@ +@@ -876,6 +1137,11 @@ end if; end; ' language plpgsql; @@ -232764,17 +232671,17 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- ************************************************************ -- * Describe the backside of a patchfield slot -- ************************************************************ -@@ -919,6 +1168,9 @@ +@@ -919,6 +1185,9 @@ return rec.backlink; end; ' language plpgsql; +ERROR: unimplemented: RECORD type for PL/pgSQL variables is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/114874/dev ++See: https://go.crdb.dev/issue-v/114874/v24.3 -- ************************************************************ -- * Describe the front of a patchfield slot -- ************************************************************ -@@ -953,54 +1205,83 @@ +@@ -953,54 +1222,83 @@ return psrec.slotlink; end; ' language plpgsql; @@ -232898,7 +232805,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- ************************************************************ -- * View of a patchfield describing backside and patches -- ************************************************************ -@@ -1008,6 +1289,8 @@ +@@ -1008,6 +1306,8 @@ pslot_backlink_view(PF.slotname) as backside, pslot_slotlink_view(PF.slotname) as patch from PSlot PF; @@ -232907,7 +232814,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- -- First we build the house - so we create the rooms -- -@@ -1146,8 +1429,8 @@ +@@ -1146,8 +1446,8 @@ select * from WSlot where roomno = '001' order by slotname; slotname | roomno | slotlink | backlink ----------------------+----------+----------------------+---------------------- @@ -232918,7 +232825,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab WS.001.2a | 001 | | WS.001.2b | 001 | | WS.001.3a | 001 | | -@@ -1169,9 +1452,9 @@ +@@ -1169,9 +1469,9 @@ select * from WSlot where roomno = '001' order by slotname; slotname | roomno | slotlink | backlink ----------------------+----------+----------------------+---------------------- @@ -232930,7 +232837,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab WS.001.2b | 001 | | WS.001.3a | 001 | | WS.001.3b | 001 | | -@@ -1192,9 +1475,9 @@ +@@ -1192,9 +1492,9 @@ select * from WSlot where roomno = '001' order by slotname; slotname | roomno | slotlink | backlink ----------------------+----------+----------------------+---------------------- @@ -232943,7 +232850,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab WS.001.2b | 001 | | WS.001.3a | 001 | | WS.001.3b | 001 | | -@@ -1221,9 +1504,9 @@ +@@ -1221,9 +1521,9 @@ select * from WSlot where roomno = '001' order by slotname; slotname | roomno | slotlink | backlink ----------------------+----------+----------------------+---------------------- @@ -232956,7 +232863,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab WS.001.2b | 001 | | PS.base.a4 WS.001.3a | 001 | | PS.base.a6 WS.001.3b | 001 | | -@@ -1235,20 +1518,20 @@ +@@ -1235,20 +1535,20 @@ PS.base.a1 | PF0_1 | | WS.001.1a PS.base.a2 | PF0_1 | | WS.001.1b PS.base.a3 | PF0_1 | | WS.001.2a @@ -232983,7 +232890,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab WS.001.3b | 001 | | PS.base.a6 (6 rows) -@@ -1258,18 +1541,18 @@ +@@ -1258,18 +1558,18 @@ PS.base.a1 | PF0_1 | | WS.001.1a PS.base.a2 | PF0_1 | | WS.001.1b PS.base.a3 | PF0_1 | | WS.001.2a @@ -233007,7 +232914,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab WS.001.2b | 001 | | PS.base.a4 WS.001.3a | 001 | | PS.base.a5 WS.001.3b | 001 | | PS.base.a6 -@@ -1281,9 +1564,9 @@ +@@ -1281,9 +1581,9 @@ PS.base.a1 | PF0_1 | | WS.001.1a PS.base.a2 | PF0_1 | | WS.001.1b PS.base.a3 | PF0_1 | | WS.001.2a @@ -233020,7 +232927,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab (6 rows) insert into PField values ('PF1_2', 'Phonelines first floor'); -@@ -1309,9 +1592,9 @@ +@@ -1309,9 +1609,9 @@ PS.base.a1 | PF0_1 | | WS.001.1a PS.base.a2 | PF0_1 | | WS.001.1b PS.base.a3 | PF0_1 | | WS.001.2a @@ -233033,7 +232940,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab PS.base.b1 | PF0_1 | | WS.002.1a PS.base.b2 | PF0_1 | | WS.002.1b PS.base.b3 | PF0_1 | | WS.002.2a -@@ -1324,18 +1607,18 @@ +@@ -1324,18 +1624,18 @@ PS.base.c4 | PF0_1 | | WS.003.2b PS.base.c5 | PF0_1 | | WS.003.3a PS.base.c6 | PF0_1 | | WS.003.3b @@ -233064,7 +232971,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab PS.first.a1 | PF1_1 | | WS.101.1a PS.first.a2 | PF1_1 | | WS.101.1b PS.first.a3 | PF1_1 | | WS.101.2a -@@ -1377,48 +1660,48 @@ +@@ -1377,48 +1677,48 @@ select * from WSlot order by slotname; slotname | roomno | slotlink | backlink ----------------------+----------+----------------------+---------------------- @@ -233152,7 +233059,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab (42 rows) -- -@@ -1471,82 +1754,22 @@ +@@ -1471,82 +1771,22 @@ -- Now we take a look at the patchfield -- select * from PField_v1 where pfname = 'PF0_1' order by slotname; @@ -233237,7 +233144,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- -- The following tests are unrelated to the scenario outlined above; -- they merely exercise specific parts of PL/pgSQL -@@ -1564,12 +1787,9 @@ +@@ -1564,12 +1804,9 @@ END IF; RETURN rslt; END;' LANGUAGE plpgsql; @@ -233252,7 +233159,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- -- Test the FOUND magic variable -- -@@ -1609,22 +1829,44 @@ +@@ -1609,22 +1846,44 @@ end if; return true; end;' language plpgsql; @@ -233269,7 +233176,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab + if FOUND then + insert into found_test_tbl values (2); + end if; -+ + + update found_test_tbl set a = 100 where a = 1; + if FOUND then + insert into found_test_tbl values (3); @@ -233287,7 +233194,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab +Please check the public issue tracker to check whether this problem is +already tracked. If you cannot find it there, please report the error +with details by creating a new issue. - ++ +If you would rather not post publicly, please contact us directly +using the support form. + @@ -233311,13 +233218,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- -- Test set-returning functions for PL/pgSQL -@@ -1638,17 +1880,11 @@ +@@ -1638,17 +1897,11 @@ END LOOP; RETURN; END;' language plpgsql; +ERROR: unimplemented: set-returning PL/pgSQL functions are not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/105240/dev ++See: https://go.crdb.dev/issue-v/105240/v24.3 select * from test_table_func_rec(); - a ------ @@ -233333,13 +233240,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create function test_table_func_row() returns setof found_test_tbl as ' DECLARE row found_test_tbl%ROWTYPE; -@@ -1658,17 +1894,11 @@ +@@ -1658,17 +1911,11 @@ END LOOP; RETURN; END;' language plpgsql; +ERROR: unimplemented: set-returning PL/pgSQL functions are not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/105240/dev ++See: https://go.crdb.dev/issue-v/105240/v24.3 select * from test_table_func_row(); - a ------ @@ -233355,13 +233262,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create function test_ret_set_scalar(int,int) returns setof int as ' DECLARE i int; -@@ -1678,21 +1908,11 @@ +@@ -1678,21 +1925,11 @@ END LOOP; RETURN; END;' language plpgsql; +ERROR: unimplemented: set-returning PL/pgSQL functions are not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/105240/dev ++See: https://go.crdb.dev/issue-v/105240/v24.3 select * from test_ret_set_scalar(1,10); - test_ret_set_scalar ---------------------- @@ -233381,13 +233288,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create function test_ret_set_rec_dyn(int) returns setof record as ' DECLARE retval RECORD; -@@ -1708,20 +1928,21 @@ +@@ -1708,20 +1945,21 @@ END IF; RETURN; END;' language plpgsql; +ERROR: unimplemented: set-returning PL/pgSQL functions are not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/105240/dev ++See: https://go.crdb.dev/issue-v/105240/v24.3 SELECT * FROM test_ret_set_rec_dyn(1500) AS (a int, b int, c int); - a | b | c ----+----+---- @@ -233415,13 +233322,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create function test_ret_rec_dyn(int) returns record as ' DECLARE retval RECORD; -@@ -1734,18 +1955,21 @@ +@@ -1734,18 +1972,21 @@ RETURN retval; END IF; END;' language plpgsql; +ERROR: unimplemented: RECORD type for PL/pgSQL variables is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/114874/dev ++See: https://go.crdb.dev/issue-v/114874/v24.3 SELECT * FROM test_ret_rec_dyn(1500) AS (a int, b int, c int); - a | b | c ----+----+---- @@ -233447,7 +233354,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- -- Test some simple polymorphism cases. -- -@@ -1753,31 +1977,37 @@ +@@ -1753,31 +1994,37 @@ begin return x + 1; end$$ language plpgsql; @@ -233501,7 +233408,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create function f1(x anyarray) returns anyelement as $$ begin return x[1]; -@@ -1789,7 +2019,10 @@ +@@ -1789,7 +2036,10 @@ (1 row) select f1(stavalues1) from pg_statistic; -- fail, can't infer element type @@ -233513,7 +233420,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab drop function f1(x anyarray); create function f1(x anyarray) returns anyarray as $$ begin -@@ -1802,72 +2035,61 @@ +@@ -1802,72 +2052,61 @@ (1 row) select f1(stavalues1) from pg_statistic; -- fail, can't infer element type @@ -233605,7 +233512,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create function f1(a anyelement, b anyarray, c anycompatible, d anycompatible, OUT x anyarray, OUT y anycompatiblearray) -@@ -1876,35 +2098,30 @@ +@@ -1876,35 +2115,30 @@ x := a || b; y := array[c, d]; end$$ language plpgsql; @@ -233655,7 +233562,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- -- Test handling of OUT parameters, including polymorphic cases. -- Note that RETURN is optional with OUT params; we try both ways. -@@ -1915,8 +2132,6 @@ +@@ -1915,8 +2149,6 @@ return i+1; end$$ language plpgsql; ERROR: RETURN cannot have a parameter in function with OUT parameters @@ -233664,7 +233571,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create function f1(in i int, out j int) as $$ begin j := i+1; -@@ -1959,14 +2174,27 @@ +@@ -1959,14 +2191,27 @@ return next; return; end$$ language plpgsql; @@ -233681,7 +233588,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab + return next; + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+ + +Please check the public issue tracker to check whether this problem is +already tracked. If you cannot find it there, please report the error +with details by creating a new issue. @@ -233690,7 +233597,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab +using the support form. + +We appreciate your feedback. - ++ +select * from f1(42); +ERROR: unknown function: f1() drop function f1(int); @@ -233698,7 +233605,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create function f1(in i int, out j int, out k text) as $$ begin j := i; -@@ -1995,14 +2223,28 @@ +@@ -1995,14 +2240,28 @@ k := 'foot'; return next; end$$ language plpgsql; @@ -233720,12 +233627,12 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab +Please check the public issue tracker to check whether this problem is +already tracked. If you cannot find it there, please report the error +with details by creating a new issue. -+ + +If you would rather not post publicly, please contact us directly +using the support form. + +We appreciate your feedback. - ++ +select * from f1(42); +ERROR: unknown function: f1() drop function f1(int); @@ -233733,7 +233640,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create function duplic(in i anyelement, out j anyelement, out k anyarray) as $$ begin j := i; -@@ -2028,19 +2270,13 @@ +@@ -2028,19 +2287,13 @@ k := array[lower(i),upper(i)]; return; end$$ language plpgsql; @@ -233757,7 +233664,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- -- test PERFORM -- -@@ -2057,6 +2293,7 @@ +@@ -2057,6 +2310,7 @@ RETURN FALSE; END IF; END;' language plpgsql; @@ -233765,7 +233672,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create function perform_test_func() returns void as ' BEGIN IF FOUND then -@@ -2077,19 +2314,32 @@ +@@ -2077,19 +2331,32 @@ RETURN; END;' language plpgsql; @@ -233809,7 +233716,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab drop table perform_test; -- -@@ -2103,19 +2353,12 @@ +@@ -2103,19 +2370,12 @@ if found then return x; end if; return 0; end$$ language plpgsql stable; @@ -233832,7 +233739,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create function sp_add_user(a_login text) returns int as $$ declare my_id_user int; begin -@@ -2130,38 +2373,21 @@ +@@ -2130,38 +2390,21 @@ END IF; RETURN my_id_user; end$$ language plpgsql; @@ -233879,13 +233786,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- -- tests for refcursors -- -@@ -2185,12 +2411,13 @@ +@@ -2185,12 +2428,13 @@ return x.a; end $$ language plpgsql; +ERROR: unimplemented: variable shadowing is not yet implemented +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/117508/dev ++See: https://go.crdb.dev/issue-v/117508/v24.3 +-- +variable "rc" shadows a previously defined variable select use_refcursor(return_unnamed_refcursor()); @@ -233898,7 +233805,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create function return_refcursor(rc refcursor) returns refcursor as $$ begin open rc for select a from rc_test; -@@ -2203,33 +2430,31 @@ +@@ -2203,33 +2447,31 @@ return $1; end $$ language plpgsql; @@ -233952,7 +233859,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab commit; -- should fail fetch next from test1; -@@ -2249,13 +2474,25 @@ +@@ -2249,13 +2491,25 @@ end if; end $$ language plpgsql; @@ -233983,7 +233890,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- should fail create function constant_refcursor() returns refcursor as $$ declare -@@ -2266,8 +2503,11 @@ +@@ -2266,8 +2520,11 @@ end $$ language plpgsql; select constant_refcursor(); @@ -233997,7 +233904,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- but it's okay like this create or replace function constant_refcursor() returns refcursor as $$ declare -@@ -2301,13 +2541,25 @@ +@@ -2301,13 +2558,25 @@ end if; end $$ language plpgsql; @@ -234028,7 +233935,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- mixing named and positional argument notations create function namedparmcursor_test2(int, int) returns boolean as $$ declare -@@ -2324,12 +2576,24 @@ +@@ -2324,12 +2593,24 @@ end if; end $$ language plpgsql; @@ -234058,7 +233965,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- mixing named and positional: param2 is given twice, once in named notation -- and second time in positional notation. Should throw an error at parse time create function namedparmcursor_test3() returns void as $$ -@@ -2339,9 +2603,22 @@ +@@ -2339,9 +2620,22 @@ open c1(param2 := 20, 21); end $$ language plpgsql; @@ -234084,7 +233991,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- mixing named and positional: same as previous test, but param1 is duplicated create function namedparmcursor_test4() returns void as $$ declare -@@ -2350,9 +2627,22 @@ +@@ -2350,9 +2644,22 @@ open c1(20, param1 := 21); end $$ language plpgsql; @@ -234110,7 +234017,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- duplicate named parameter, should throw an error at parse time create function namedparmcursor_test5() returns void as $$ declare -@@ -2362,9 +2652,22 @@ +@@ -2362,9 +2669,22 @@ open c1 (p2 := 77, p2 := 42); end $$ language plpgsql; @@ -234136,7 +234043,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- not enough parameters, should throw an error at parse time create function namedparmcursor_test6() returns void as $$ declare -@@ -2374,9 +2677,22 @@ +@@ -2374,9 +2694,22 @@ open c1 (p2 := 77); end $$ language plpgsql; @@ -234162,7 +234069,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- division by zero runtime error, the context given in the error message -- should be sensible create function namedparmcursor_test7() returns void as $$ -@@ -2386,10 +2702,24 @@ +@@ -2386,10 +2719,24 @@ begin open c1 (p2 := 77, p1 := 42/0); end $$ language plpgsql; @@ -234190,7 +234097,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- check that line comments work correctly within the argument list (there -- is some special handling of this case in the code: the newline after the -- comment must be preserved when the argument-evaluating query is -@@ -2406,12 +2736,24 @@ +@@ -2406,12 +2753,24 @@ fetch c1 into n; return n; end $$ language plpgsql; @@ -234220,7 +234127,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- cursor parameter name can match plpgsql variable or unreserved keyword create function namedparmcursor_test9(p1 int) returns int4 as $$ declare -@@ -2425,12 +2767,24 @@ +@@ -2425,12 +2784,24 @@ fetch c1 into n; return n; end $$ language plpgsql; @@ -234239,10 +234146,10 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab +Please check the public issue tracker to check whether this problem is +already tracked. If you cannot find it there, please report the error +with details by creating a new issue. - ++ +If you would rather not post publicly, please contact us directly +using the support form. -+ + +We appreciate your feedback. + +select namedparmcursor_test9(6); @@ -234250,7 +234157,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- -- tests for "raise" processing -- -@@ -2441,28 +2795,22 @@ +@@ -2441,28 +2812,22 @@ end; $$ language plpgsql; ERROR: too many parameters specified for RAISE @@ -234282,7 +234189,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- Test re-RAISE inside a nested exception block. This case is allowed -- by Oracle's PL/SQL but was handled differently by PG before 9.1. CREATE FUNCTION reraise_test() RETURNS void AS $$ -@@ -2484,14 +2832,30 @@ +@@ -2484,14 +2849,30 @@ raise notice 'WRONG - exception % caught in outer block', sqlerrm; END; $$ LANGUAGE plpgsql; @@ -234305,14 +234212,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab + RAISE; + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+ + +Please check the public issue tracker to check whether this problem is +already tracked. If you cannot find it there, please report the error +with details by creating a new issue. + +If you would rather not post publicly, please contact us directly +using the support form. - ++ +We appreciate your feedback. + +SELECT reraise_test(); @@ -234320,7 +234227,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- -- reject function definitions that contain malformed SQL queries at -- compile-time, where possible -@@ -2504,9 +2868,17 @@ +@@ -2504,9 +2885,17 @@ a := 10; return a; end$$ language plpgsql; @@ -234341,7 +234248,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create function bad_sql2() returns int as $$ declare r record; begin -@@ -2515,81 +2887,115 @@ +@@ -2515,81 +2904,115 @@ end loop; return 5; end;$$ language plpgsql; @@ -234398,14 +234305,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab + perform 2+2; + ^ +HINT: You have attempted to use a feature that is not yet implemented. - ++ +Please check the public issue tracker to check whether this problem is +already tracked. If you cannot find it there, please report the error +with details by creating a new issue. + +If you would rather not post publicly, please contact us directly +using the support form. -+ + +We appreciate your feedback. + +-- select void_return_expr(); @@ -234495,11 +234402,11 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab drop type eitype cascade; +ERROR: unimplemented: DROP TYPE CASCADE is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/51480/dev ++See: https://go.crdb.dev/issue-v/51480/v24.3 -- -- SQLSTATE and SQLERRM test -- -@@ -2597,14 +3003,11 @@ +@@ -2597,14 +3020,11 @@ begin raise notice '% %', sqlstate, sqlerrm; end; $$ language plpgsql; @@ -234516,7 +234423,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create function excpt_test2() returns void as $$ begin begin -@@ -2613,13 +3016,10 @@ +@@ -2613,13 +3033,10 @@ end; end; end; $$ language plpgsql; @@ -234532,7 +234439,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create function excpt_test3() returns void as $$ begin begin -@@ -2639,31 +3039,61 @@ +@@ -2639,31 +3056,61 @@ raise notice '% %', sqlstate, sqlerrm; end; end; $$ language plpgsql; @@ -234561,12 +234468,12 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab +Please check the public issue tracker to check whether this problem is +already tracked. If you cannot find it there, please report the error +with details by creating a new issue. -+ + +If you would rather not post publicly, please contact us directly +using the support form. + +We appreciate your feedback. - ++ +select excpt_test3(); +ERROR: unknown function: excpt_test3() create function excpt_test4() returns text as $$ @@ -234589,10 +234496,10 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab +Please check the public issue tracker to check whether this problem is +already tracked. If you cannot find it there, please report the error +with details by creating a new issue. -+ + +If you would rather not post publicly, please contact us directly +using the support form. - ++ +We appreciate your feedback. + +select excpt_test4(); @@ -234608,13 +234515,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- parameters of raise stmt can be expressions create function raise_exprs() returns void as $$ declare -@@ -2714,13 +3144,11 @@ +@@ -2714,13 +3161,11 @@ insert into foo values(5,6) returning * into x; raise notice 'x.f1 = %, x.f2 = %', x.f1, x.f2; end$$ language plpgsql; +ERROR: unimplemented: RECORD type for PL/pgSQL variables is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/114874/dev ++See: https://go.crdb.dev/issue-v/114874/v24.3 select stricttest(); -NOTICE: x.f1 = 5, x.f2 = 6 - stricttest @@ -234626,13 +234533,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create or replace function stricttest() returns void as $$ declare x record; begin -@@ -2728,10 +3156,11 @@ +@@ -2728,10 +3173,11 @@ insert into foo values(7,8),(9,10) returning * into x; raise notice 'x.f1 = %, x.f2 = %', x.f1, x.f2; end$$ language plpgsql; +ERROR: unimplemented: RECORD type for PL/pgSQL variables is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/114874/dev ++See: https://go.crdb.dev/issue-v/114874/v24.3 select stricttest(); -ERROR: query returned more than one row -HINT: Make sure the query returns a single row, or use LIMIT 1. @@ -234641,13 +234548,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create or replace function stricttest() returns void as $$ declare x record; begin -@@ -2739,13 +3168,11 @@ +@@ -2739,13 +3185,11 @@ execute 'insert into foo values(5,6) returning *' into x; raise notice 'x.f1 = %, x.f2 = %', x.f1, x.f2; end$$ language plpgsql; +ERROR: unimplemented: RECORD type for PL/pgSQL variables is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/114874/dev ++See: https://go.crdb.dev/issue-v/114874/v24.3 select stricttest(); -NOTICE: x.f1 = 5, x.f2 = 6 - stricttest @@ -234659,13 +234566,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create or replace function stricttest() returns void as $$ declare x record; begin -@@ -2753,23 +3180,17 @@ +@@ -2753,23 +3197,17 @@ execute 'insert into foo values(7,8),(9,10) returning *' into x; raise notice 'x.f1 = %, x.f2 = %', x.f1, x.f2; end$$ language plpgsql; +ERROR: unimplemented: RECORD type for PL/pgSQL variables is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/114874/dev ++See: https://go.crdb.dev/issue-v/114874/v24.3 select stricttest(); -NOTICE: x.f1 = 7, x.f2 = 8 - stricttest @@ -234688,13 +234595,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create or replace function stricttest() returns void as $$ declare x record; -@@ -2778,13 +3199,11 @@ +@@ -2778,13 +3216,11 @@ select * from foo where f1 = 3 into strict x; raise notice 'x.f1 = %, x.f2 = %', x.f1, x.f2; end$$ language plpgsql; +ERROR: unimplemented: RECORD type for PL/pgSQL variables is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/114874/dev ++See: https://go.crdb.dev/issue-v/114874/v24.3 select stricttest(); -NOTICE: x.f1 = 3, x.f2 = 4 - stricttest @@ -234706,13 +234613,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create or replace function stricttest() returns void as $$ declare x record; begin -@@ -2792,9 +3211,11 @@ +@@ -2792,9 +3228,11 @@ select * from foo where f1 = 0 into strict x; raise notice 'x.f1 = %, x.f2 = %', x.f1, x.f2; end$$ language plpgsql; +ERROR: unimplemented: RECORD type for PL/pgSQL variables is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/114874/dev ++See: https://go.crdb.dev/issue-v/114874/v24.3 select stricttest(); -ERROR: query returned no rows -CONTEXT: PL/pgSQL function stricttest() line 5 at SQL statement @@ -234720,13 +234627,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create or replace function stricttest() returns void as $$ declare x record; begin -@@ -2802,10 +3223,11 @@ +@@ -2802,10 +3240,11 @@ select * from foo where f1 > 3 into strict x; raise notice 'x.f1 = %, x.f2 = %', x.f1, x.f2; end$$ language plpgsql; +ERROR: unimplemented: RECORD type for PL/pgSQL variables is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/114874/dev ++See: https://go.crdb.dev/issue-v/114874/v24.3 select stricttest(); -ERROR: query returned more than one row -HINT: Make sure the query returns a single row, or use LIMIT 1. @@ -234735,13 +234642,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create or replace function stricttest() returns void as $$ declare x record; begin -@@ -2813,13 +3235,11 @@ +@@ -2813,13 +3252,11 @@ execute 'select * from foo where f1 = 3' into strict x; raise notice 'x.f1 = %, x.f2 = %', x.f1, x.f2; end$$ language plpgsql; +ERROR: unimplemented: RECORD type for PL/pgSQL variables is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/114874/dev ++See: https://go.crdb.dev/issue-v/114874/v24.3 select stricttest(); -NOTICE: x.f1 = 3, x.f2 = 4 - stricttest @@ -234753,13 +234660,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create or replace function stricttest() returns void as $$ declare x record; begin -@@ -2827,9 +3247,11 @@ +@@ -2827,9 +3264,11 @@ execute 'select * from foo where f1 = 0' into strict x; raise notice 'x.f1 = %, x.f2 = %', x.f1, x.f2; end$$ language plpgsql; +ERROR: unimplemented: RECORD type for PL/pgSQL variables is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/114874/dev ++See: https://go.crdb.dev/issue-v/114874/v24.3 select stricttest(); -ERROR: query returned no rows -CONTEXT: PL/pgSQL function stricttest() line 5 at EXECUTE @@ -234767,13 +234674,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create or replace function stricttest() returns void as $$ declare x record; begin -@@ -2837,12 +3259,17 @@ +@@ -2837,12 +3276,17 @@ execute 'select * from foo where f1 > 3' into strict x; raise notice 'x.f1 = %, x.f2 = %', x.f1, x.f2; end$$ language plpgsql; +ERROR: unimplemented: RECORD type for PL/pgSQL variables is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/114874/dev ++See: https://go.crdb.dev/issue-v/114874/v24.3 select stricttest(); -ERROR: query returned more than one row -CONTEXT: PL/pgSQL function stricttest() line 5 at EXECUTE @@ -234787,13 +234694,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create or replace function stricttest() returns void as $$ declare x record; -@@ -2853,10 +3280,11 @@ +@@ -2853,10 +3297,11 @@ select * from foo where f1 = p1 and f1::text = p3 into strict x; raise notice 'x.f1 = %, x.f2 = %', x.f1, x.f2; end$$ language plpgsql; +ERROR: unimplemented: RECORD type for PL/pgSQL variables is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/114874/dev ++See: https://go.crdb.dev/issue-v/114874/v24.3 select stricttest(); -ERROR: query returned no rows -DETAIL: parameters: p1 = '2', p3 = 'foo' @@ -234802,13 +234709,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create or replace function stricttest() returns void as $$ declare x record; -@@ -2867,10 +3295,11 @@ +@@ -2867,10 +3312,11 @@ select * from foo where f1 = p1 and f1::text = p3 into strict x; raise notice 'x.f1 = %, x.f2 = %', x.f1, x.f2; end$$ language plpgsql; +ERROR: unimplemented: RECORD type for PL/pgSQL variables is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/114874/dev ++See: https://go.crdb.dev/issue-v/114874/v24.3 select stricttest(); -ERROR: query returned no rows -DETAIL: parameters: p1 = '2', p3 = '''Valame Dios!'' dijo Sancho; ''no le dije yo a vuestra merced que mirase bien lo que hacia?''' @@ -234817,13 +234724,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create or replace function stricttest() returns void as $$ declare x record; -@@ -2881,11 +3310,11 @@ +@@ -2881,11 +3327,11 @@ select * from foo where f1 > p1 or f1::text = p3 into strict x; raise notice 'x.f1 = %, x.f2 = %', x.f1, x.f2; end$$ language plpgsql; +ERROR: unimplemented: RECORD type for PL/pgSQL variables is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/114874/dev ++See: https://go.crdb.dev/issue-v/114874/v24.3 select stricttest(); -ERROR: query returned more than one row -DETAIL: parameters: p1 = '2', p3 = 'foo' @@ -234833,13 +234740,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create or replace function stricttest() returns void as $$ declare x record; begin -@@ -2893,10 +3322,11 @@ +@@ -2893,10 +3339,11 @@ select * from foo where f1 > 3 into strict x; raise notice 'x.f1 = %, x.f2 = %', x.f1, x.f2; end$$ language plpgsql; +ERROR: unimplemented: RECORD type for PL/pgSQL variables is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/114874/dev ++See: https://go.crdb.dev/issue-v/114874/v24.3 select stricttest(); -ERROR: query returned more than one row -HINT: Make sure the query returns a single row, or use LIMIT 1. @@ -234848,13 +234755,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create or replace function stricttest() returns void as $$ declare x record; begin -@@ -2904,10 +3334,11 @@ +@@ -2904,10 +3351,11 @@ execute 'select * from foo where f1 = $1 or f1::text = $2' using 0, 'foo' into strict x; raise notice 'x.f1 = %, x.f2 = %', x.f1, x.f2; end$$ language plpgsql; +ERROR: unimplemented: RECORD type for PL/pgSQL variables is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/114874/dev ++See: https://go.crdb.dev/issue-v/114874/v24.3 select stricttest(); -ERROR: query returned no rows -DETAIL: parameters: $1 = '0', $2 = 'foo' @@ -234863,13 +234770,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create or replace function stricttest() returns void as $$ declare x record; begin -@@ -2915,10 +3346,11 @@ +@@ -2915,10 +3363,11 @@ execute 'select * from foo where f1 > $1' using 1 into strict x; raise notice 'x.f1 = %, x.f2 = %', x.f1, x.f2; end$$ language plpgsql; +ERROR: unimplemented: RECORD type for PL/pgSQL variables is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/114874/dev ++See: https://go.crdb.dev/issue-v/114874/v24.3 select stricttest(); -ERROR: query returned more than one row -DETAIL: parameters: $1 = '1' @@ -234878,13 +234785,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create or replace function stricttest() returns void as $$ declare x record; begin -@@ -2926,9 +3358,11 @@ +@@ -2926,9 +3375,11 @@ execute 'select * from foo where f1 > 3' into strict x; raise notice 'x.f1 = %, x.f2 = %', x.f1, x.f2; end$$ language plpgsql; +ERROR: unimplemented: RECORD type for PL/pgSQL variables is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/114874/dev ++See: https://go.crdb.dev/issue-v/114874/v24.3 select stricttest(); -ERROR: query returned more than one row -CONTEXT: PL/pgSQL function stricttest() line 5 at EXECUTE @@ -234892,7 +234799,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create or replace function stricttest() returns void as $$ -- override the global #print_strict_params off -@@ -2941,10 +3375,12 @@ +@@ -2941,10 +3392,12 @@ select * from foo where f1 > p1 or f1::text = p3 into strict x; raise notice 'x.f1 = %, x.f2 = %', x.f1, x.f2; end$$ language plpgsql; @@ -234908,7 +234815,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab reset plpgsql.print_strict_params; create or replace function stricttest() returns void as $$ -- override the global -@@ -2958,11 +3394,12 @@ +@@ -2958,11 +3411,12 @@ select * from foo where f1 > p1 or f1::text = p3 into strict x; raise notice 'x.f1 = %, x.f2 = %', x.f1, x.f2; end$$ language plpgsql; @@ -234925,7 +234832,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- test warnings and errors set plpgsql.extra_warnings to 'all'; set plpgsql.extra_warnings to 'none'; -@@ -2979,23 +3416,18 @@ +@@ -2979,23 +3433,18 @@ begin end $$ language plpgsql; @@ -234941,7 +234848,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab + returns table (out1 int) as $$ + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/100226/dev ++See: https://go.crdb.dev/issue-v/100226/v24.3 select shadowtest(1); - shadowtest ------------- @@ -234958,7 +234865,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create or replace function shadowtest(in1 int) returns table (out1 int) as $$ declare -@@ -3004,18 +3436,17 @@ +@@ -3004,18 +3453,17 @@ begin end $$ language plpgsql; @@ -234974,7 +234881,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab + returns table (out1 int) as $$ + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/100226/dev ++See: https://go.crdb.dev/issue-v/100226/v24.3 select shadowtest(1); - shadowtest ------------- @@ -234986,7 +234893,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- shadowing in a second DECLARE block create or replace function shadowtest() returns void as $$ -@@ -3027,10 +3458,13 @@ +@@ -3027,10 +3475,13 @@ begin end; end$$ language plpgsql; @@ -234995,7 +234902,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab - ^ +ERROR: unimplemented: variable shadowing is not yet implemented +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/117508/dev ++See: https://go.crdb.dev/issue-v/117508/v24.3 +-- +variable "f1" shadows a previously defined variable drop function shadowtest(); @@ -235003,7 +234910,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- several levels of shadowing create or replace function shadowtest(in1 int) returns void as $$ -@@ -3042,13 +3476,13 @@ +@@ -3042,13 +3493,13 @@ begin end; end$$ language plpgsql; @@ -235015,7 +234922,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab - ^ +ERROR: unimplemented: variable shadowing is not yet implemented +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/117508/dev ++See: https://go.crdb.dev/issue-v/117508/v24.3 +-- +variable "in1" shadows a previously defined variable drop function shadowtest(int); @@ -235023,7 +234930,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- shadowing in cursor definitions create or replace function shadowtest() returns void as $$ -@@ -3057,34 +3491,49 @@ +@@ -3057,34 +3508,49 @@ c1 cursor (f1 int) for select 1; begin end$$ language plpgsql; @@ -235059,7 +234966,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab - ^ +ERROR: unimplemented: variable shadowing is not yet implemented +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/117508/dev ++See: https://go.crdb.dev/issue-v/117508/v24.3 +-- +variable "f1" shadows a previously defined variable select shadowtest(1); @@ -235075,7 +234982,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab declare f1 int; begin return 1; end $$ language plpgsql; +ERROR: unimplemented: variable shadowing is not yet implemented +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/117508/dev ++See: https://go.crdb.dev/issue-v/117508/v24.3 +-- +variable "f1" shadows a previously defined variable select shadowtest(1); @@ -235088,7 +234995,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- runtime extra checks set plpgsql.extra_warnings to 'too_many_rows'; do $$ -@@ -3093,8 +3542,10 @@ +@@ -3093,8 +3559,10 @@ select v from generate_series(1,2) g(v) into x; end; $$; @@ -235101,7 +235008,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab set plpgsql.extra_errors to 'too_many_rows'; do $$ declare x int; -@@ -3102,9 +3553,10 @@ +@@ -3102,9 +3570,10 @@ select v from generate_series(1,2) g(v) into x; end; $$; @@ -235115,7 +235022,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab reset plpgsql.extra_errors; reset plpgsql.extra_warnings; set plpgsql.extra_warnings to 'strict_multi_assignment'; -@@ -3118,12 +3570,10 @@ +@@ -3118,12 +3587,10 @@ select 1,2,3 into x, y; end $$; @@ -235132,7 +235039,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab set plpgsql.extra_errors to 'strict_multi_assignment'; do $$ declare -@@ -3135,10 +3585,10 @@ +@@ -3135,10 +3602,10 @@ select 1,2,3 into x, y; end $$; @@ -235147,7 +235054,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create table test_01(a int, b int, c int); alter table test_01 drop column a; -- the check is active only when source table is not empty -@@ -3153,11 +3603,10 @@ +@@ -3153,11 +3620,10 @@ select * from test_01 into x; -- should to fail end; $$; @@ -235163,7 +235070,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab do $$ declare t test_01; -@@ -3167,11 +3616,10 @@ +@@ -3167,11 +3633,10 @@ select 1, 2, 3 into t; -- should fail; end; $$; @@ -235179,7 +235086,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab do $$ declare t test_01; -@@ -3179,10 +3627,10 @@ +@@ -3179,10 +3644,10 @@ select 1 into t; -- should fail; end; $$; @@ -235194,13 +235101,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab drop table test_01; reset plpgsql.extra_errors; reset plpgsql.extra_warnings; -@@ -3201,16 +3649,11 @@ +@@ -3201,16 +3666,11 @@ close c; end; $$ language plpgsql; +ERROR: unimplemented: set-returning PL/pgSQL functions are not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/105240/dev ++See: https://go.crdb.dev/issue-v/105240/v24.3 select * from sc_test(); - sc_test -------------- @@ -235215,13 +235122,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create or replace function sc_test() returns setof integer as $$ declare c no scroll cursor for select f1 from int4_tbl; -@@ -3225,10 +3668,11 @@ +@@ -3225,10 +3685,11 @@ close c; end; $$ language plpgsql; +ERROR: unimplemented: set-returning PL/pgSQL functions are not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/105240/dev ++See: https://go.crdb.dev/issue-v/105240/v24.3 select * from sc_test(); -- fails because of NO SCROLL specification -ERROR: cursor can only scan forward -HINT: Declare it with SCROLL option to enable backward scan. @@ -235230,13 +235137,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create or replace function sc_test() returns setof integer as $$ declare c refcursor; -@@ -3243,16 +3687,11 @@ +@@ -3243,16 +3704,11 @@ close c; end; $$ language plpgsql; +ERROR: unimplemented: set-returning PL/pgSQL functions are not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/105240/dev ++See: https://go.crdb.dev/issue-v/105240/v24.3 select * from sc_test(); - sc_test -------------- @@ -235251,13 +235158,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create or replace function sc_test() returns setof integer as $$ declare c refcursor; -@@ -3267,14 +3706,11 @@ +@@ -3267,14 +3723,11 @@ close c; end; $$ language plpgsql; +ERROR: unimplemented: set-returning PL/pgSQL functions are not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/105240/dev ++See: https://go.crdb.dev/issue-v/105240/v24.3 select * from sc_test(); - sc_test -------------- @@ -235270,13 +235177,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create or replace function sc_test() returns setof integer as $$ declare c refcursor; -@@ -3290,13 +3726,11 @@ +@@ -3290,13 +3743,11 @@ close c; end; $$ language plpgsql; +ERROR: unimplemented: set-returning PL/pgSQL functions are not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/105240/dev ++See: https://go.crdb.dev/issue-v/105240/v24.3 select * from sc_test(); - sc_test -------------- @@ -235288,13 +235195,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create or replace function sc_test() returns setof integer as $$ declare c cursor for select * from generate_series(1, 10); -@@ -3316,14 +3750,11 @@ +@@ -3316,14 +3767,11 @@ close c; end; $$ language plpgsql; +ERROR: unimplemented: set-returning PL/pgSQL functions are not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/105240/dev ++See: https://go.crdb.dev/issue-v/105240/v24.3 select * from sc_test(); - sc_test ---------- @@ -235307,13 +235214,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create or replace function sc_test() returns setof integer as $$ declare c cursor for select * from generate_series(1, 10); -@@ -3338,13 +3769,13 @@ +@@ -3338,13 +3786,13 @@ close c; end; $$ language plpgsql; +ERROR: unimplemented: set-returning PL/pgSQL functions are not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/105240/dev ++See: https://go.crdb.dev/issue-v/105240/v24.3 select * from sc_test(); - sc_test ---------- @@ -235326,13 +235233,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- test qualified variable names create function pl_qual_names (param1 int) returns void as $$ <> -@@ -3362,17 +3793,15 @@ +@@ -3362,17 +3810,15 @@ end; end; $$ language plpgsql; +ERROR: unimplemented: variable shadowing is not yet implemented +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/117508/dev ++See: https://go.crdb.dev/issue-v/117508/v24.3 +-- +variable "param1" shadows a previously defined variable select pl_qual_names(42); @@ -235351,7 +235258,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- tests for RETURN QUERY create function ret_query1(out int, out int) returns setof record as $$ begin -@@ -3383,24 +3812,13 @@ +@@ -3383,24 +3829,13 @@ return next; end; $$ language plpgsql; @@ -235382,13 +235289,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create type record_type as (x text, y int, z boolean); create or replace function ret_query2(lim int) returns setof record_type as $$ begin -@@ -3408,20 +3826,11 @@ +@@ -3408,20 +3843,11 @@ from generate_series(-8, lim) s (x) where s.x % 2 = 0; end; $$ language plpgsql; +ERROR: unimplemented: set-returning PL/pgSQL functions are not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/105240/dev ++See: https://go.crdb.dev/issue-v/105240/v24.3 select * from ret_query2(8); - x | y | z -----------------------------------+----+--- @@ -235407,7 +235314,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- test EXECUTE USING create function exc_using(int, text) returns int as $$ declare i int; -@@ -3433,19 +3842,27 @@ +@@ -3433,19 +3859,27 @@ return i; end $$ language plpgsql; @@ -235429,7 +235336,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab + for i in execute 'select * from generate_series(1,$1)' using $1+1 loop + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+ + +Please check the public issue tracker to check whether this problem is +already tracked. If you cannot find it there, please report the error +with details by creating a new issue. @@ -235438,7 +235345,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab +using the support form. + +We appreciate your feedback. - ++ +select exc_using(5, 'foobar'); +ERROR: unknown function: exc_using() drop function exc_using(int, text); @@ -235446,7 +235353,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create or replace function exc_using(int) returns void as $$ declare c refcursor; -@@ -3461,19 +3878,29 @@ +@@ -3461,19 +3895,29 @@ return; end; $$ language plpgsql; @@ -235470,7 +235377,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab + open c for execute 'select * from generate_series(1,$1)' using $1+1; + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+ + +Please check the public issue tracker to check whether this problem is +already tracked. If you cannot find it there, please report the error +with details by creating a new issue. @@ -235479,7 +235386,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab +using the support form. + +We appreciate your feedback. - ++ +select exc_using(5); +ERROR: unknown function: exc_using() drop function exc_using(int); @@ -235487,7 +235394,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- test FOR-over-cursor create or replace function forc01() returns void as $$ declare -@@ -3513,29 +3940,24 @@ +@@ -3513,29 +3957,24 @@ return; end; $$ language plpgsql; @@ -235519,7 +235426,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab + c cursor(r1 integer, r2 integer) + ^ +HINT: You have attempted to use a feature that is not yet implemented. - ++ +Please check the public issue tracker to check whether this problem is +already tracked. If you cannot find it there, please report the error +with details by creating a new issue. @@ -235528,13 +235435,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab +using the support form. + +We appreciate your feedback. -+ + +select forc01(); +ERROR: unknown function: forc01() -- try updating the cursor's current row create temp table forc_test as select n as i, n as j from generate_series(1,10) n; -@@ -3549,35 +3971,39 @@ +@@ -3549,35 +3988,39 @@ end loop; end; $$ language plpgsql; @@ -235561,7 +235468,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab + for r in c loop + ^ +HINT: You have attempted to use a feature that is not yet implemented. - ++ +Please check the public issue tracker to check whether this problem is +already tracked. If you cannot find it there, please report the error +with details by creating a new issue. @@ -235570,7 +235477,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab +using the support form. + +We appreciate your feedback. -+ + +select forc01(); +ERROR: unknown function: forc01() select * from forc_test; @@ -235601,7 +235508,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab (10 rows) -- same, with a cursor whose portal name doesn't match variable name -@@ -3595,38 +4021,42 @@ +@@ -3595,38 +4038,42 @@ end loop; end; $$ language plpgsql; @@ -235671,7 +235578,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- it's okay to re-use a cursor variable name, even when bound do $$ declare cnt int := 0; -@@ -3642,7 +4072,10 @@ +@@ -3642,7 +4089,10 @@ end loop; raise notice 'cnt = %', cnt; end $$; @@ -235683,7 +235590,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- fail because cursor has no query bound to it create or replace function forc_bad() returns void as $$ declare -@@ -3653,9 +4086,24 @@ +@@ -3653,9 +4103,24 @@ end loop; end; $$ language plpgsql; @@ -235711,13 +235618,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- test RETURN QUERY EXECUTE create or replace function return_dquery() returns setof int as $$ -@@ -3664,16 +4112,13 @@ +@@ -3664,16 +4129,13 @@ return query execute 'select * from (values($1),($2)) f' using 40,50; end; $$ language plpgsql; +ERROR: unimplemented: set-returning PL/pgSQL functions are not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/105240/dev ++See: https://go.crdb.dev/issue-v/105240/v24.3 select * from return_dquery(); - return_dquery ---------------- @@ -235733,13 +235640,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- test RETURN QUERY with dropped columns create table tabwithcols(a int, b int, c int, d int); insert into tabwithcols values(10,20,30,40),(50,60,70,80); -@@ -3684,46 +4129,22 @@ +@@ -3684,46 +4146,22 @@ return query execute 'select * from tabwithcols'; end; $$ language plpgsql; +ERROR: unimplemented: set-returning PL/pgSQL functions are not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/105240/dev ++See: https://go.crdb.dev/issue-v/105240/v24.3 select * from returnqueryf(); - a | b | c | d -----+----+----+---- @@ -235788,17 +235695,17 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab drop table tabwithcols; -- -- Tests for composite-type results -@@ -3753,6 +4174,9 @@ +@@ -3753,6 +4191,9 @@ return v; end; $$ language plpgsql; +ERROR: unimplemented: RECORD type for PL/pgSQL variables is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/114874/dev ++See: https://go.crdb.dev/issue-v/114874/v24.3 select compos(); compos ----------- -@@ -3778,9 +4202,11 @@ +@@ -3778,9 +4219,11 @@ end; $$ language plpgsql; select compos(); @@ -235813,13 +235720,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- ... but this does create or replace function compos() returns compostype as $$ begin -@@ -3803,12 +4229,11 @@ +@@ -3803,12 +4246,11 @@ return v; end; $$ language plpgsql; +ERROR: unimplemented: RECORD type for PL/pgSQL variables is not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/114874/dev ++See: https://go.crdb.dev/issue-v/114874/v24.3 select composrec(); - composrec ------------ @@ -235830,13 +235737,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- test: return row expr in return statement. create or replace function composrec() returns record as $$ begin -@@ -3833,26 +4258,22 @@ +@@ -3833,26 +4275,22 @@ return next (2, 'goodbye')::compostype; end; $$ language plpgsql; +ERROR: unimplemented: set-returning PL/pgSQL functions are not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/105240/dev ++See: https://go.crdb.dev/issue-v/105240/v24.3 select * from compos(); - x | y ----+--------- @@ -235864,7 +235771,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- RETURN variable is a different code path ... create or replace function compos() returns compostype as $$ declare x int := 42; -@@ -3861,8 +4282,7 @@ +@@ -3861,8 +4299,7 @@ end; $$ language plpgsql; select * from compos(); @@ -235874,7 +235781,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab drop function compos(); -- test: invalid use of composite variable in scalar-returning function create or replace function compos() returns int as $$ -@@ -3874,8 +4294,7 @@ +@@ -3874,8 +4311,7 @@ end; $$ language plpgsql; select compos(); @@ -235884,7 +235791,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- test: invalid use of composite expression in scalar-returning function create or replace function compos() returns int as $$ begin -@@ -3883,8 +4302,7 @@ +@@ -3883,8 +4319,7 @@ end; $$ language plpgsql; select compos(); @@ -235894,7 +235801,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab drop function compos(); drop type compostype; -- -@@ -3904,7 +4322,6 @@ +@@ -3904,7 +4339,6 @@ HINT: some hint ERROR: 1 2 3 DETAIL: some detail info @@ -235902,7 +235809,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- Since we can't actually see the thrown SQLSTATE in default psql output, -- test it like this; this also tests re-RAISE create or replace function raise_test() returns void as $$ -@@ -3917,11 +4334,33 @@ +@@ -3917,11 +4351,33 @@ raise; end; $$ language plpgsql; @@ -235939,7 +235846,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create or replace function raise_test() returns void as $$ begin raise 'check me' -@@ -3932,11 +4371,33 @@ +@@ -3932,11 +4388,33 @@ raise; end; $$ language plpgsql; @@ -235976,7 +235883,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- SQLSTATE specification in WHEN create or replace function raise_test() returns void as $$ begin -@@ -3948,11 +4409,33 @@ +@@ -3948,11 +4426,33 @@ raise; end; $$ language plpgsql; @@ -236013,7 +235920,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create or replace function raise_test() returns void as $$ begin raise division_by_zero using detail = 'some detail info'; -@@ -3962,11 +4445,32 @@ +@@ -3962,11 +4462,32 @@ raise; end; $$ language plpgsql; @@ -236049,7 +235956,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create or replace function raise_test() returns void as $$ begin raise division_by_zero; -@@ -3974,7 +4478,6 @@ +@@ -3974,7 +4495,6 @@ $$ language plpgsql; select raise_test(); ERROR: division_by_zero @@ -236057,7 +235964,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create or replace function raise_test() returns void as $$ begin raise sqlstate '1234F'; -@@ -3982,7 +4485,6 @@ +@@ -3982,7 +4502,6 @@ $$ language plpgsql; select raise_test(); ERROR: 1234F @@ -236065,7 +235972,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create or replace function raise_test() returns void as $$ begin raise division_by_zero using message = 'custom' || ' message'; -@@ -3990,7 +4492,6 @@ +@@ -3990,7 +4509,6 @@ $$ language plpgsql; select raise_test(); ERROR: custom message @@ -236073,7 +235980,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create or replace function raise_test() returns void as $$ begin raise using message = 'custom' || ' message', errcode = '22012'; -@@ -3998,34 +4499,48 @@ +@@ -3998,34 +4516,48 @@ $$ language plpgsql; select raise_test(); ERROR: custom message @@ -236129,7 +236036,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- test access to exception data create function zero_divide() returns int as $$ declare v int := 0; -@@ -4033,6 +4548,7 @@ +@@ -4033,6 +4565,7 @@ return 10 / v; end; $$ language plpgsql; @@ -236137,7 +236044,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create or replace function raise_test() returns void as $$ begin raise exception 'custom exception' -@@ -4055,13 +4571,27 @@ +@@ -4055,13 +4588,27 @@ _sqlstate, _message, replace(_context, E'\n', ' <- '); end; $$ language plpgsql; @@ -236160,18 +236067,18 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab +Please check the public issue tracker to check whether this problem is +already tracked. If you cannot find it there, please report the error +with details by creating a new issue. -+ + +If you would rather not post publicly, please contact us directly +using the support form. + +We appreciate your feedback. - ++ +select stacked_diagnostics_test(); +ERROR: unknown function: stacked_diagnostics_test() create or replace function stacked_diagnostics_test() returns void as $$ declare _detail text; _hint text; -@@ -4076,13 +4606,27 @@ +@@ -4076,13 +4623,27 @@ raise notice 'message: %, detail: %, hint: %', _message, _detail, _hint; end; $$ language plpgsql; @@ -236190,14 +236097,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab + perform raise_test(); + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+ + +Please check the public issue tracker to check whether this problem is +already tracked. If you cannot find it there, please report the error +with details by creating a new issue. + +If you would rather not post publicly, please contact us directly +using the support form. - ++ +We appreciate your feedback. + +select stacked_diagnostics_test(); @@ -236205,7 +236112,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- fail, cannot use stacked diagnostics statement outside handler create or replace function stacked_diagnostics_test() returns void as $$ declare _detail text; -@@ -4096,11 +4640,25 @@ +@@ -4096,11 +4657,25 @@ raise notice 'message: %, detail: %, hint: %', _message, _detail, _hint; end; $$ language plpgsql; @@ -236233,7 +236140,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- check cases where implicit SQLSTATE variable could be confused with -- SQLSTATE as a keyword, cf bug #5524 create or replace function raise_test() returns void as $$ -@@ -4112,10 +4670,26 @@ +@@ -4112,10 +4687,26 @@ raise sqlstate '22012' using message = 'substitute message'; end; $$ language plpgsql; @@ -236263,7 +236170,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab drop function raise_test(); -- test passing column_name, constraint_name, datatype_name, table_name -- and schema_name error fields -@@ -4143,14 +4717,23 @@ +@@ -4143,14 +4734,23 @@ _column_name, _constraint_name, _datatype_name, _table_name, _schema_name; end; $$ language plpgsql; @@ -236283,9 +236190,9 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab + +If you would rather not post publicly, please contact us directly +using the support form. -+ -+We appreciate your feedback. ++We appreciate your feedback. ++ +select stacked_diagnostics_test(); +ERROR: unknown function: stacked_diagnostics_test() drop function stacked_diagnostics_test(); @@ -236293,7 +236200,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- test variadic functions create or replace function vari(variadic int[]) returns void as $$ -@@ -4159,36 +4742,34 @@ +@@ -4159,36 +4759,34 @@ raise notice '%', $1[i]; end loop; end; $$ language plpgsql; @@ -236302,7 +236209,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab +create or replace function vari(variadic int[]) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/88947/dev ++See: https://go.crdb.dev/issue-v/88947/v24.3 select vari(1,2,3,4,5); -NOTICE: 1 -NOTICE: 2 @@ -236353,7 +236260,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- coercion test create or replace function pleast(variadic numeric[]) returns numeric as $$ -@@ -4200,30 +4781,20 @@ +@@ -4200,30 +4798,20 @@ return aux; end; $$ language plpgsql immutable strict; @@ -236362,7 +236269,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab +create or replace function pleast(variadic numeric[]) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/88947/dev ++See: https://go.crdb.dev/issue-v/88947/v24.3 select pleast(10,1,2,3,-16); - pleast --------- @@ -236394,7 +236301,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- in case of conflict, non-variadic version is preferred create or replace function pleast(numeric) returns numeric as $$ -@@ -4232,31 +4803,27 @@ +@@ -4232,31 +4820,27 @@ return $1; end; $$ language plpgsql immutable strict; @@ -236422,7 +236329,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab +create function tftest(int) returns table(a int, b int) as $$ + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/100226/dev ++See: https://go.crdb.dev/issue-v/100226/v24.3 select * from tftest(10); - a | b -----+---- @@ -236437,7 +236344,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create or replace function tftest(a1 int) returns table(a int, b int) as $$ begin a := a1; b := a1 + 1; -@@ -4265,14 +4832,16 @@ +@@ -4265,14 +4849,16 @@ return next; end; $$ language plpgsql immutable strict; @@ -236446,7 +236353,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab +create or replace function tftest(a1 int) returns table(a int, b int) as $$ + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/100226/dev ++See: https://go.crdb.dev/issue-v/100226/v24.3 select * from tftest(10); - a | b ------+----- @@ -236460,13 +236367,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create function rttest() returns setof int as $$ declare rc int; -@@ -4291,19 +4860,11 @@ +@@ -4291,19 +4877,11 @@ raise notice '% %', found, rc; end; $$ language plpgsql; +ERROR: unimplemented: set-returning PL/pgSQL functions are not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/105240/dev ++See: https://go.crdb.dev/issue-v/105240/v24.3 select * from rttest(); -NOTICE: t 2 -NOTICE: f 0 @@ -236484,13 +236391,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- check some error cases, too create or replace function rttest() returns setof int as $$ -@@ -4311,25 +4872,26 @@ +@@ -4311,25 +4889,26 @@ return query select 10 into no_such_table; end; $$ language plpgsql; +ERROR: unimplemented: set-returning PL/pgSQL functions are not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/105240/dev ++See: https://go.crdb.dev/issue-v/105240/v24.3 select * from rttest(); -ERROR: SELECT INTO query does not return tuples -CONTEXT: SQL statement "select 10 into no_such_table" @@ -236504,7 +236411,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab $$ language plpgsql; +ERROR: unimplemented: set-returning PL/pgSQL functions are not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/105240/dev ++See: https://go.crdb.dev/issue-v/105240/v24.3 select * from rttest(); -ERROR: SELECT INTO query does not return tuples -CONTEXT: SQL statement "select 10 into no_such_table" @@ -236519,7 +236426,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- Test for proper cleanup at subtransaction exit. This example -- exposed a bug in PG 8.2. CREATE FUNCTION leaker_1(fail BOOL) RETURNS INTEGER AS $$ -@@ -4344,6 +4906,7 @@ +@@ -4344,6 +4923,7 @@ RETURN 1; END; $$ LANGUAGE plpgsql; @@ -236527,7 +236434,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab CREATE FUNCTION leaker_2(fail BOOL, OUT error_code INTEGER, OUT new_id INTEGER) RETURNS RECORD AS $$ BEGIN -@@ -4356,18 +4919,11 @@ +@@ -4356,18 +4936,11 @@ END; $$ LANGUAGE plpgsql; SELECT * FROM leaker_1(false); @@ -236549,7 +236456,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab DROP FUNCTION leaker_2(bool); -- Test for appropriate cleanup of non-simple expression evaluations -- (bug in all versions prior to August 2010) -@@ -4385,13 +4941,27 @@ +@@ -4385,13 +4958,27 @@ RETURN arr; END; $$ LANGUAGE plpgsql; @@ -236582,13 +236489,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab CREATE FUNCTION nonsimple_expr_test() RETURNS integer AS $$ declare i integer NOT NULL := 0; -@@ -4405,13 +4975,13 @@ +@@ -4405,13 +4992,13 @@ return i; end; $$ LANGUAGE plpgsql; +ERROR: unimplemented: not-null PL/pgSQL variables are not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/105243/dev ++See: https://go.crdb.dev/issue-v/105243/v24.3 SELECT nonsimple_expr_test(); - nonsimple_expr_test ---------------------- @@ -236601,7 +236508,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- -- Test cases involving recursion and error recovery in simple expressions -- (bugs in all versions before October 2010). The problems are most -@@ -4427,15 +4997,13 @@ +@@ -4427,15 +5014,13 @@ end if; end; $$ language plpgsql; @@ -236620,7 +236527,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create function error1(text) returns text language sql as $$ SELECT relname::text FROM pg_class c WHERE c.oid = $1::regclass $$; create function error2(p_name_table text) returns text language plpgsql as $$ -@@ -4446,9 +5014,7 @@ +@@ -4446,9 +5031,7 @@ create table public.stuffs (stuff text); SAVEPOINT a; select error2('nonexistent.stuffs'); @@ -236631,7 +236538,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab ROLLBACK TO a; select error2('public.stuffs'); error2 -@@ -4463,7 +5029,23 @@ +@@ -4463,7 +5046,23 @@ create function sql_to_date(integer) returns date as $$ select $1::text::date $$ language sql immutable strict; @@ -236655,7 +236562,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create function cast_invoker(integer) returns date as $$ begin return $1; -@@ -4471,62 +5053,81 @@ +@@ -4471,62 +5070,81 @@ select cast_invoker(20150717); cast_invoker -------------- @@ -236748,7 +236655,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab end; -- Test for consistent reporting of error context create function fail() returns int language plpgsql as $$ -@@ -4534,45 +5135,29 @@ +@@ -4534,45 +5152,29 @@ return 1/0; end $$; @@ -236805,7 +236712,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab (1 row) create or replace function strtest() returns text as $$ -@@ -4625,21 +5210,16 @@ +@@ -4625,21 +5227,16 @@ RAISE NOTICE '%, %', r.roomno, r.comment; END LOOP; END$$; @@ -236835,7 +236742,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab DO $$ DECLARE r record; BEGIN -@@ -4648,11 +5228,10 @@ +@@ -4648,11 +5245,10 @@ RAISE NOTICE '%, %', r.roomno, r.comment; END LOOP; END$$; @@ -236851,7 +236758,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- Check handling of errors thrown from/into anonymous code blocks. do $outer$ begin -@@ -4672,16 +5251,10 @@ +@@ -4672,16 +5268,10 @@ end loop; end; $outer$; @@ -236872,7 +236779,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- Check variable scoping -- a var is not available in its own or prior -- default expressions, but it is available in later ones. do $$ -@@ -4690,11 +5263,10 @@ +@@ -4690,11 +5280,10 @@ raise notice 'x = %', x; end; $$; @@ -236888,7 +236795,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab do $$ declare y int := x + 1; -- error x int := 42; -@@ -4702,11 +5274,10 @@ +@@ -4702,11 +5291,10 @@ raise notice 'x = %, y = %', x, y; end; $$; @@ -236904,7 +236811,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab do $$ declare x int := 42; y int := x + 1; -@@ -4714,7 +5285,10 @@ +@@ -4714,7 +5302,10 @@ raise notice 'x = %, y = %', x, y; end; $$; @@ -236916,7 +236823,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab do $$ declare x int := 42; begin -@@ -4726,7 +5300,10 @@ +@@ -4726,7 +5317,10 @@ end; end; $$; @@ -236928,13 +236835,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- Check handling of conflicts between plpgsql vars and table columns. set plpgsql.variable_conflict = error; create function conflict_test() returns setof int8_tbl as $$ -@@ -4738,13 +5315,11 @@ +@@ -4738,13 +5332,11 @@ end loop; end; $$ language plpgsql; +ERROR: unimplemented: set-returning PL/pgSQL functions are not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/105240/dev ++See: https://go.crdb.dev/issue-v/105240/v24.3 select * from conflict_test(); -ERROR: column reference "q1" is ambiguous -LINE 1: select q1,q2 from int8_tbl @@ -236946,13 +236853,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create or replace function conflict_test() returns setof int8_tbl as $$ #variable_conflict use_variable declare r record; -@@ -4755,16 +5330,11 @@ +@@ -4755,16 +5347,11 @@ end loop; end; $$ language plpgsql; +ERROR: unimplemented: set-returning PL/pgSQL functions are not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/105240/dev ++See: https://go.crdb.dev/issue-v/105240/v24.3 select * from conflict_test(); - q1 | q2 -----+------------------- @@ -236967,13 +236874,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create or replace function conflict_test() returns setof int8_tbl as $$ #variable_conflict use_column declare r record; -@@ -4775,17 +5345,13 @@ +@@ -4775,17 +5362,13 @@ end loop; end; $$ language plpgsql; +ERROR: unimplemented: set-returning PL/pgSQL functions are not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/105240/dev ++See: https://go.crdb.dev/issue-v/105240/v24.3 select * from conflict_test(); - q1 | q2 -------------------+------------------- @@ -236990,7 +236897,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- Check that an unreserved keyword can be used as a variable name create function unreserved_test() returns int as $$ declare -@@ -4795,12 +5361,15 @@ +@@ -4795,12 +5378,15 @@ return forward; end $$ language plpgsql; @@ -237011,7 +236918,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create or replace function unreserved_test() returns int as $$ declare return int := 42; -@@ -4809,12 +5378,20 @@ +@@ -4809,12 +5395,20 @@ return return; end $$ language plpgsql; @@ -237037,7 +236944,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create or replace function unreserved_test() returns int as $$ declare comment int := 21; -@@ -4824,19 +5401,26 @@ +@@ -4824,19 +5418,26 @@ return comment; end $$ language plpgsql; @@ -237054,7 +236961,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab + comment on function unreserved_test() is 'this is a test'; + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/17511/dev ++See: https://go.crdb.dev/issue-v/17511/v24.3 select unreserved_test(); - unreserved_test ------------------ @@ -237074,7 +236981,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- -- Test FOREACH over arrays -- -@@ -4850,26 +5434,27 @@ +@@ -4850,26 +5451,27 @@ end loop; end; $$ language plpgsql; @@ -237120,7 +237027,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create or replace function foreach_test(anyarray) returns void as $$ declare x int; -@@ -4880,13 +5465,28 @@ +@@ -4880,13 +5482,28 @@ end loop; end; $$ language plpgsql; @@ -237153,7 +237060,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create or replace function foreach_test(anyarray) returns void as $$ declare x int[]; -@@ -4897,21 +5497,27 @@ +@@ -4897,21 +5514,27 @@ end loop; end; $$ language plpgsql; @@ -237181,12 +237088,12 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab +Please check the public issue tracker to check whether this problem is +already tracked. If you cannot find it there, please report the error +with details by creating a new issue. -+ + +If you would rather not post publicly, please contact us directly +using the support form. + +We appreciate your feedback. - ++ +select foreach_test(ARRAY[1,2,3,4]); +ERROR: unknown function: foreach_test() +select foreach_test(ARRAY[[1,2],[3,4]]); @@ -237194,7 +237101,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- higher level of slicing create or replace function foreach_test(anyarray) returns void as $$ -@@ -4923,26 +5529,31 @@ +@@ -4923,26 +5546,31 @@ end loop; end; $$ language plpgsql; @@ -237241,7 +237148,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create type xy_tuple AS (x int, y int); -- iteration over array of records create or replace function foreach_test(anyarray) -@@ -4955,25 +5566,27 @@ +@@ -4955,25 +5583,27 @@ end loop; end; $$ language plpgsql; @@ -237276,9 +237183,9 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab + +If you would rather not post publicly, please contact us directly +using the support form. -+ -+We appreciate your feedback. ++We appreciate your feedback. ++ +select foreach_test(ARRAY[(10,20),(40,69),(35,78)]::xy_tuple[]); +ERROR: unknown function: foreach_test() +select foreach_test(ARRAY[[(10,20),(40,69)],[(35,78),(88,76)]]::xy_tuple[]); @@ -237286,7 +237193,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create or replace function foreach_test(anyarray) returns void as $$ declare x int; y int; -@@ -4984,25 +5597,27 @@ +@@ -4984,25 +5614,27 @@ end loop; end; $$ language plpgsql; @@ -237331,7 +237238,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- slicing over array of composite types create or replace function foreach_test(anyarray) returns void as $$ -@@ -5014,22 +5629,29 @@ +@@ -5014,22 +5646,29 @@ end loop; end; $$ language plpgsql; @@ -237359,12 +237266,12 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab +Please check the public issue tracker to check whether this problem is +already tracked. If you cannot find it there, please report the error +with details by creating a new issue. -+ + +If you would rather not post publicly, please contact us directly +using the support form. + +We appreciate your feedback. - ++ +select foreach_test(ARRAY[(10,20),(40,69),(35,78)]::xy_tuple[]); +ERROR: unknown function: foreach_test() +select foreach_test(ARRAY[[(10,20),(40,69)],[(35,78),(88,76)]]::xy_tuple[]); @@ -237374,7 +237281,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab drop type xy_tuple; -- -- Assorted tests for array subscript assignment -@@ -5043,28 +5665,34 @@ +@@ -5043,28 +5682,34 @@ r.ar[2] := 'replace'; return r.ar; end$$; @@ -237411,7 +237318,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab +create domain orderedarray as int[2] + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 select '{1,2}'::orderedarray; - orderedarray --------------- @@ -237425,7 +237332,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create function testoa(x1 int, x2 int, x3 int) returns orderedarray language plpgsql as $$ declare res orderedarray; -@@ -5073,26 +5701,19 @@ +@@ -5073,26 +5718,19 @@ res[2] := x3; return res; end$$; @@ -237459,7 +237366,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- -- Test handling of expanded arrays -- -@@ -5116,17 +5737,11 @@ +@@ -5116,17 +5754,11 @@ select i, a from (select returns_rw_array(1) as a offset 0) ss, lateral consumes_rw_array(a) i; @@ -237482,7 +237389,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab select i, a from (select returns_rw_array(1) as a offset 0) ss, lateral consumes_rw_array(a) i; -@@ -5137,13 +5752,11 @@ +@@ -5137,13 +5769,11 @@ explain (verbose, costs off) select consumes_rw_array(a), a from returns_rw_array(1) a; @@ -237501,7 +237408,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab select consumes_rw_array(a), a from returns_rw_array(1) a; consumes_rw_array | a -------------------+------- -@@ -5153,12 +5766,11 @@ +@@ -5153,12 +5783,11 @@ explain (verbose, costs off) select consumes_rw_array(a), a from (values (returns_rw_array(1)), (returns_rw_array(2))) v(a); @@ -237519,7 +237426,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab select consumes_rw_array(a), a from (values (returns_rw_array(1)), (returns_rw_array(2))) v(a); consumes_rw_array | a -@@ -5173,7 +5785,10 @@ +@@ -5173,7 +5802,10 @@ a := a || 3; raise notice 'a = %', a; end$$; @@ -237531,7 +237438,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- -- Test access to call stack -- -@@ -5190,6 +5805,19 @@ +@@ -5190,6 +5822,19 @@ return 2 * $1; end; $$ language plpgsql; @@ -237551,7 +237458,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create or replace function outer_func(int) returns int as $$ declare -@@ -5201,6 +5829,7 @@ +@@ -5201,6 +5846,7 @@ return myresult; end; $$ language plpgsql; @@ -237559,7 +237466,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create or replace function outer_outer_func(int) returns int as $$ declare -@@ -5212,44 +5841,18 @@ +@@ -5212,44 +5858,18 @@ return myresult; end; $$ language plpgsql; @@ -237610,7 +237517,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- access to call stack from exception create function inner_func(int) returns int as $$ -@@ -5272,6 +5875,26 @@ +@@ -5272,6 +5892,26 @@ return 2 * $1; end; $$ language plpgsql; @@ -237637,7 +237544,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create or replace function outer_func(int) returns int as $$ declare -@@ -5283,6 +5906,7 @@ +@@ -5283,6 +5923,7 @@ return myresult; end; $$ language plpgsql; @@ -237645,7 +237552,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab create or replace function outer_outer_func(int) returns int as $$ declare -@@ -5294,44 +5918,18 @@ +@@ -5294,44 +5935,18 @@ return myresult; end; $$ language plpgsql; @@ -237696,7 +237603,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- Test pg_routine_oid create function current_function(text) returns regprocedure as $$ -@@ -5342,13 +5940,17 @@ +@@ -5342,13 +5957,17 @@ return fn_oid; end; $$ language plpgsql; @@ -237719,7 +237626,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- shouldn't fail in DO, even though there's no useful data do $$ declare -@@ -5358,7 +5960,10 @@ +@@ -5358,7 +5977,10 @@ raise notice 'pg_routine_oid = %', fn_oid; end; $$; @@ -237731,7 +237638,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- -- Test ASSERT -- -@@ -5367,20 +5972,28 @@ +@@ -5367,20 +5989,28 @@ assert 1=1; -- should succeed end; $$; @@ -237764,7 +237671,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- check controlling GUC set plpgsql.check_asserts = off; do $$ -@@ -5388,6 +6001,10 @@ +@@ -5388,6 +6018,10 @@ assert 1=0; -- won't be tested end; $$; @@ -237775,7 +237682,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab reset plpgsql.check_asserts; -- test custom message do $$ -@@ -5396,8 +6013,10 @@ +@@ -5396,8 +6030,10 @@ assert 1=0, format('assertion failed, var = "%s"', var); end; $$; @@ -237788,7 +237695,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- ensure assertions are not trapped by 'others' do $$ begin -@@ -5406,32 +6025,52 @@ +@@ -5406,32 +6042,52 @@ null; -- do nothing end; $$; @@ -237808,7 +237715,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab +create domain plpgsql_domain as integer check(plpgsql_domain_check(value)) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 do $$ declare v_test plpgsql_domain; begin @@ -237841,11 +237748,11 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab +create domain plpgsql_arr_domain as int[] check(plpgsql_arr_domain_check(value)) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/27796/dev ++See: https://go.crdb.dev/issue-v/27796/v24.3 do $$ declare v_test plpgsql_arr_domain; begin -@@ -5439,14 +6078,20 @@ +@@ -5439,14 +6095,20 @@ v_test := v_test || 2; end; $$; @@ -237868,13 +237775,30 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- -- test usage of transition tables in AFTER triggers -- -@@ -5472,25 +6117,27 @@ +@@ -5472,25 +6134,44 @@ RETURN new; END; $$; -+ERROR: unimplemented: trigger functions are not yet supported ++ERROR: at or near "l": syntax error: unimplemented: this syntax ++DETAIL: source SQL: ++DECLARE ++ t text; ++ l text; ++BEGIN ++ t = ''; ++ FOR l IN EXECUTE ++ ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev ++ ++Please check the public issue tracker to check whether this problem is ++already tracked. If you cannot find it there, please report the error ++with details by creating a new issue. ++ ++If you would rather not post publicly, please contact us directly ++using the support form. ++ ++We appreciate your feedback. ++ CREATE TRIGGER transition_table_base_ins_trig AFTER INSERT ON transition_table_base REFERENCING OLD TABLE AS oldtable NEW TABLE AS newtable @@ -237883,7 +237807,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -ERROR: OLD TABLE can only be specified for a DELETE or UPDATE trigger +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER transition_table_base_ins_trig AFTER INSERT ON transition_table_base REFERENCING NEW TABLE AS newtable @@ -237891,7 +237815,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab EXECUTE PROCEDURE transition_table_base_ins_func(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 INSERT INTO transition_table_base VALUES (1, 'One'), (2, 'Two'); -INFO: Named Tuplestore Scan - Output: id, val @@ -237903,13 +237827,30 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab CREATE OR REPLACE FUNCTION transition_table_base_upd_func() RETURNS trigger LANGUAGE plpgsql -@@ -5512,30 +6159,27 @@ +@@ -5512,30 +6193,44 @@ RETURN new; END; $$; -+ERROR: unimplemented: trigger functions are not yet supported ++ERROR: at or near "l": syntax error: unimplemented: this syntax ++DETAIL: source SQL: ++DECLARE ++ t text; ++ l text; ++BEGIN ++ t = ''; ++ FOR l IN EXECUTE ++ ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev ++ ++Please check the public issue tracker to check whether this problem is ++already tracked. If you cannot find it there, please report the error ++with details by creating a new issue. ++ ++If you would rather not post publicly, please contact us directly ++using the support form. ++ ++We appreciate your feedback. ++ CREATE TRIGGER transition_table_base_upd_trig AFTER UPDATE ON transition_table_base REFERENCING OLD TABLE AS oldtable NEW TABLE AS newtable @@ -237917,7 +237858,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab EXECUTE PROCEDURE transition_table_base_upd_func(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 UPDATE transition_table_base SET val = '*' || val || '*' WHERE id BETWEEN 2 AND 3; @@ -237937,25 +237878,39 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab level1_node_name varchar(255), PRIMARY KEY (level1_no) ) WITHOUT OIDS; -+NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/dev/serial.html ++NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/v24.3/serial.html CREATE TABLE transition_table_level2 ( level2_no serial NOT NULL , -@@ -5543,6 +6187,7 @@ +@@ -5543,6 +6238,7 @@ level1_node_name varchar(255), PRIMARY KEY (level2_no) ) WITHOUT OIDS; -+NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/dev/serial.html ++NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/v24.3/serial.html CREATE TABLE transition_table_status ( level int NOT NULL, -@@ -5563,11 +6208,17 @@ +@@ -5563,11 +6259,31 @@ RETURN NULL; END; $$; -+ERROR: unimplemented: trigger functions are not yet supported ++ERROR: at or near ";": syntax error: unimplemented: this syntax ++DETAIL: source SQL: ++DECLARE n bigint; ++ BEGIN ++ PERFORM FROM p JOIN transition_table_level2 c ON c.parent_no = p.level1_no; ++ ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev ++ ++Please check the public issue tracker to check whether this problem is ++already tracked. If you cannot find it there, please report the error ++with details by creating a new issue. ++ ++If you would rather not post publicly, please contact us directly ++using the support form. ++ ++We appreciate your feedback. ++ CREATE TRIGGER transition_table_level1_ri_parent_del_trigger AFTER DELETE ON transition_table_level1 REFERENCING OLD TABLE AS p @@ -237963,35 +237918,43 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab transition_table_level1_ri_parent_del_func(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE FUNCTION transition_table_level1_ri_parent_upd_func() RETURNS TRIGGER LANGUAGE plpgsql -@@ -5590,11 +6241,17 @@ - RETURN NULL; - END; - $$; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev - CREATE TRIGGER transition_table_level1_ri_parent_upd_trigger - AFTER UPDATE ON transition_table_level1 +@@ -5595,6 +6311,9 @@ REFERENCING OLD TABLE AS d NEW TABLE AS i FOR EACH STATEMENT EXECUTE PROCEDURE transition_table_level1_ri_parent_upd_func(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE FUNCTION transition_table_level2_ri_child_insupd_func() RETURNS TRIGGER LANGUAGE plpgsql -@@ -5610,16 +6267,25 @@ +@@ -5610,16 +6329,41 @@ RETURN NULL; END; $$; -+ERROR: unimplemented: trigger functions are not yet supported ++ERROR: at or near ";": syntax error: unimplemented: this syntax ++DETAIL: source SQL: ++BEGIN ++ PERFORM FROM i ++ LEFT JOIN transition_table_level1 p ++ ON p.level1_no IS NOT NULL AND p.level1_no = i.parent_no ++ WHERE p.level1_no IS NULL; ++ ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev ++ ++Please check the public issue tracker to check whether this problem is ++already tracked. If you cannot find it there, please report the error ++with details by creating a new issue. ++ ++If you would rather not post publicly, please contact us directly ++using the support form. ++ ++We appreciate your feedback. ++ CREATE TRIGGER transition_table_level2_ri_child_ins_trigger AFTER INSERT ON transition_table_level2 REFERENCING NEW TABLE AS i @@ -237999,7 +237962,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab transition_table_level2_ri_child_insupd_func(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 CREATE TRIGGER transition_table_level2_ri_child_upd_trigger AFTER UPDATE ON transition_table_level2 REFERENCING NEW TABLE AS i @@ -238007,11 +237970,11 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab transition_table_level2_ri_child_insupd_func(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- create initial test data INSERT INTO transition_table_level1 (level1_no) SELECT generate_series(1,200); -@@ -5627,6 +6293,7 @@ +@@ -5627,6 +6371,7 @@ INSERT INTO transition_table_level2 (level2_no, parent_no) SELECT level2_no, level2_no / 50 + 1 AS parent_no FROM generate_series(1,9999) level2_no; @@ -238019,21 +237982,13 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab ANALYZE transition_table_level2; INSERT INTO transition_table_status (level, node_no, status) SELECT 1, level1_no, 0 FROM transition_table_level1; -@@ -5646,35 +6313,33 @@ - RETURN NULL; - END; - $$; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev - CREATE TRIGGER transition_table_level2_bad_usage_trigger - AFTER DELETE ON transition_table_level2 +@@ -5651,30 +6396,25 @@ REFERENCING OLD TABLE AS dx FOR EACH STATEMENT EXECUTE PROCEDURE transition_table_level2_bad_usage_func(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 DELETE FROM transition_table_level2 WHERE level2_no BETWEEN 301 AND 305; -ERROR: relation "dx" cannot be the target of a modifying statement @@ -238043,7 +237998,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab ON transition_table_level2; +ERROR: unimplemented: DROP TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- attempt modifications which would break RI (should all fail) DELETE FROM transition_table_level1 WHERE level1_no = 25; @@ -238064,7 +238019,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- attempt modifications which would not break RI (should all succeed) DELETE FROM transition_table_level1 WHERE level1_no BETWEEN 201 AND 1000; -@@ -5683,7 +6348,7 @@ +@@ -5683,7 +6423,7 @@ SELECT count(*) FROM transition_table_level1; count ------- @@ -238073,7 +238028,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab (1 row) DELETE FROM transition_table_level2 -@@ -5691,7 +6356,7 @@ +@@ -5691,7 +6431,7 @@ SELECT count(*) FROM transition_table_level2; count ------- @@ -238082,23 +238037,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab (1 row) CREATE TABLE alter_table_under_transition_tables -@@ -5711,42 +6376,45 @@ - RETURN NULL; - END; - $$; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev - -- should fail, TRUNCATE is not compatible with transition tables - CREATE TRIGGER alter_table_under_transition_tables_upd_trigger - AFTER TRUNCATE OR UPDATE ON alter_table_under_transition_tables +@@ -5717,36 +6457,36 @@ REFERENCING OLD TABLE AS d NEW TABLE AS i FOR EACH STATEMENT EXECUTE PROCEDURE alter_table_under_transition_tables_upd_func(); -ERROR: TRUNCATE triggers with transition tables are not supported +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 -- should work CREATE TRIGGER alter_table_under_transition_tables_upd_trigger AFTER UPDATE ON alter_table_under_transition_tables @@ -238107,7 +238053,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab alter_table_under_transition_tables_upd_func(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 INSERT INTO alter_table_under_transition_tables VALUES (1, '1'), (2, '2'), (3, '3'); UPDATE alter_table_under_transition_tables @@ -238118,7 +238064,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab ALTER TABLE alter_table_under_transition_tables ALTER COLUMN name TYPE int USING name::integer; +ERROR: ALTER COLUMN TYPE from string to int is only supported experimentally -+HINT: See: https://go.crdb.dev/issue-v/49329/dev ++HINT: See: https://go.crdb.dev/issue-v/49329/v24.3 +-- +you can enable alter column type general support by running `SET enable_experimental_alter_column_type_general = true` UPDATE alter_table_under_transition_tables @@ -238138,25 +238084,18 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- -- Test multiple reference to a transition table -- -@@ -5761,22 +6429,44 @@ - FROM (SELECT * FROM new_test UNION ALL SELECT * FROM new_test) ss); - RETURN NULL; - END$$; -+ERROR: unimplemented: trigger functions are not yet supported -+HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126356/dev +@@ -5764,19 +6504,37 @@ CREATE TRIGGER my_trigger AFTER UPDATE ON multi_test REFERENCING NEW TABLE AS new_test OLD TABLE as old_test FOR EACH STATEMENT EXECUTE PROCEDURE multi_test_trig(); +ERROR: unimplemented: CREATE TRIGGER +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/126359/dev ++See: https://go.crdb.dev/issue-v/126359/v24.3 UPDATE multi_test SET i = i; -NOTICE: count = 1 -NOTICE: count union = 2 DROP TABLE multi_test; DROP FUNCTION multi_test_trig(); -+ERROR: unknown function: multi_test_trig() -- -- Check type parsing and record fetching from partitioned tables -- @@ -238185,7 +238124,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab CREATE OR REPLACE FUNCTION get_from_partitioned_table(partitioned_table.a%type) RETURNS partitioned_table AS $$ DECLARE -@@ -5787,13 +6477,13 @@ +@@ -5787,13 +6545,13 @@ SELECT * INTO result FROM partitioned_table WHERE a = a_val; RETURN result; END; $$ LANGUAGE plpgsql; @@ -238205,7 +238144,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab CREATE OR REPLACE FUNCTION list_partitioned_table() RETURNS SETOF partitioned_table.a%TYPE AS $$ DECLARE -@@ -5806,14 +6496,13 @@ +@@ -5806,14 +6564,13 @@ END LOOP; RETURN; END; $$ LANGUAGE plpgsql; @@ -238226,7 +238165,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/plpgsql.out --lab -- -- Check argument name is used instead of $n in error message -- -@@ -5822,6 +6511,16 @@ +@@ -5822,6 +6579,16 @@ GET DIAGNOSTICS x = ROW_COUNT; RETURN; END; $$ LANGUAGE plpgsql; @@ -238894,7 +238833,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/partition_info.ou +CREATE TABLE ptif_li_child () INHERITS (ptif_li_parent) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 SELECT * FROM pg_partition_tree('ptif_test_view'); - relid | parentrelid | isleaf | level --------+-------------+--------+------- @@ -238984,7 +238923,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/reloptions.out -- autovacuum_enabled = false, autovacuum_analyze_scale_factor = 0.2); +ERROR: unimplemented: storage parameter "autovacuum_analyze_scale_factor" +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/43299/dev ++See: https://go.crdb.dev/issue-v/43299/v24.3 SELECT reloptions FROM pg_class WHERE oid = 'reloptions_test'::regclass; - reloptions ------------------------------------------------------------------------------- @@ -239351,7 +239290,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/explain.out --lab $$; +ERROR: unimplemented: set-returning PL/pgSQL functions are not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/105240/dev ++See: https://go.crdb.dev/issue-v/105240/v24.3 -- To produce valid JSON output, replace numbers with "0" or "0.0" not "N" create function explain_filter_to_json(text) returns jsonb language plpgsql as @@ -239966,7 +239905,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/explain.out --lab as 'begin return sin($1); end'; +ERROR: unimplemented: cannot create UDFs under a temporary schema +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/104687/dev ++See: https://go.crdb.dev/issue-v/104687/v24.3 select explain_filter('explain (verbose) select * from t1 where pg_temp.mysin(f1) < 0.5'); - explain_filter ------------------------------------------------------------- @@ -239997,7 +239936,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/memoize.out --lab $$; +ERROR: unimplemented: set-returning PL/pgSQL functions are not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/105240/dev ++See: https://go.crdb.dev/issue-v/105240/v24.3 -- Ensure we get a memoize node on the inner side of the nested loop SET enable_hashjoin TO off; +ERROR: unimplemented: the configuration setting "enable_hashjoin" is not supported @@ -240806,7 +240745,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/compression_1.out + ^ ALTER TABLE cmdata2 ALTER COLUMN f1 TYPE varchar; +ERROR: ALTER COLUMN TYPE from int to varchar is only supported experimentally -+HINT: See: https://go.crdb.dev/issue-v/49329/dev ++HINT: See: https://go.crdb.dev/issue-v/49329/v24.3 +-- +you can enable alter column type general support by running `SET enable_experimental_alter_column_type_general = true` \d+ cmdata2 @@ -240826,7 +240765,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/compression_1.out + ^ ALTER TABLE cmdata2 ALTER COLUMN f1 TYPE int USING f1::integer; +ERROR: ALTER COLUMN TYPE from int to int is only supported experimentally -+HINT: See: https://go.crdb.dev/issue-v/49329/dev ++HINT: See: https://go.crdb.dev/issue-v/49329/v24.3 +-- +you can enable alter column type general support by running `SET enable_experimental_alter_column_type_general = true` \d+ cmdata2 @@ -240848,7 +240787,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/compression_1.out --but the data should not be compressed ALTER TABLE cmdata2 ALTER COLUMN f1 TYPE varchar; +ERROR: ALTER COLUMN TYPE from int to varchar is only supported experimentally -+HINT: See: https://go.crdb.dev/issue-v/49329/dev ++HINT: See: https://go.crdb.dev/issue-v/49329/v24.3 +-- +you can enable alter column type general support by running `SET enable_experimental_alter_column_type_general = true` ALTER TABLE cmdata2 ALTER COLUMN f1 SET COMPRESSION pglz; @@ -240981,7 +240920,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/compression_1.out +CREATE TABLE cminh() INHERITS(cmdata, cmdata1) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 CREATE TABLE cminh(f1 TEXT COMPRESSION lz4) INHERITS(cmdata); -NOTICE: merging column "f1" with inherited definition -ERROR: column "f1" has a compression method conflict @@ -257261,7 +257200,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/partition_prune.o declare cur SCROLL CURSOR for select 1 from list_part where a > (select 1) and a < (select 4); +ERROR: unimplemented: DECLARE SCROLL CURSOR +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/77102/dev ++See: https://go.crdb.dev/issue-v/77102/v24.3 -- move beyond the final row move 3 from cur; +ERROR: current transaction is aborted, commands ignored until end of transaction block @@ -257349,7 +257288,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/partition_prune.o $$; +ERROR: unimplemented: set-returning PL/pgSQL functions are not yet supported +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/105240/dev ++See: https://go.crdb.dev/issue-v/105240/v24.3 prepare ab_q4 (int, int) as select avg(a) from ab where a between $1 and $2 and b < 4; +ERROR: relation "ab" does not exist @@ -259753,7 +259692,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/partition_prune.o +create table inh_lp1 (a int, value int, check(a = 1)) inherits (inh_lp) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 create table inh_lp2 (a int, value int, check(a = 2)) inherits (inh_lp); -NOTICE: merging column "a" with inherited definition -NOTICE: merging column "value" with inherited definition @@ -259762,7 +259701,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/partition_prune.o +create table inh_lp2 (a int, value int, check(a = 2)) inherits (inh_lp) + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/22456/dev ++See: https://go.crdb.dev/issue-v/22456/v24.3 set constraint_exclusion = 'partition'; +ERROR: unimplemented: the configuration setting "constraint_exclusion" is not supported +HINT: You have attempted to use a feature that is not yet implemented. @@ -260590,7 +260529,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/partition_prune.o +create operator === ( + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 create operator class part_test_int4_ops2 for type int4 using hash as @@ -260601,7 +260540,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/partition_prune.o +create operator class part_test_int4_ops2 + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 create table hp_contradict_test (a int, b int) partition by hash (a part_test_int4_ops2, b part_test_int4_ops2); +ERROR: at or near "hash": syntax error +DETAIL: source SQL: @@ -261710,7 +261649,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/stats.out --label ROLLBACK TO SAVEPOINT p1; +ERROR: unimplemented: ROLLBACK TO SAVEPOINT not yet supported after DDL statements +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/10735/dev ++See: https://go.crdb.dev/issue-v/10735/v24.3 COMMIT; -- rollback a truncate: this should count 2 inserts and produce 2 dead tuples BEGIN; @@ -264261,7 +264200,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/event_trigger.out +SET SESSION AUTHORIZATION regress_evt_user + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/40283/dev ++See: https://go.crdb.dev/issue-v/40283/v24.3 CREATE TABLE schema_one.table_one(a int); +ERROR: cannot create "schema_one.table_one" because the target database or schema does not exist +HINT: verify that the current database and search_path are valid and/or the target database exists @@ -264295,7 +264234,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/event_trigger.out +CREATE AGGREGATE schema_two.newton + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/74775/dev ++See: https://go.crdb.dev/issue-v/74775/v24.3 RESET SESSION AUTHORIZATION; +ERROR: at or near "authorization": syntax error +DETAIL: source SQL: @@ -264601,7 +264540,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/event_trigger.out +CREATE OPERATOR CLASS evttrigopclass FOR TYPE int USING btree AS STORAGE int + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/65017/dev ++See: https://go.crdb.dev/issue-v/65017/v24.3 DROP EVENT TRIGGER regress_event_trigger_report_dropped; +ERROR: at or near "event": syntax error +DETAIL: source SQL: @@ -264634,14 +264573,14 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/event_trigger.out + ^ +HINT: try \h CREATE create table rewriteme (id serial primary key, foo float, bar timestamptz); -+NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/dev/serial.html ++NOTICE: using sequential values in a primary key does not perform as well as using random UUIDs. See https://www.cockroachlabs.com/docs/v24.3/serial.html insert into rewriteme select x * 1.001 from generate_series(1, 500) as t(x); alter table rewriteme alter column foo type numeric; -ERROR: rewrites not allowed -CONTEXT: PL/pgSQL function test_evtrig_no_rewrite() line 3 at RAISE +ERROR: ALTER COLUMN TYPE from float to decimal is only supported experimentally -+HINT: See: https://go.crdb.dev/issue-v/49329/dev ++HINT: See: https://go.crdb.dev/issue-v/49329/v24.3 +-- +you can enable alter column type general support by running `SET enable_experimental_alter_column_type_general = true` alter table rewriteme add column baz int default 0; @@ -264658,7 +264597,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/event_trigger.out alter column foo type numeric(10,4); -NOTICE: Table 'rewriteme' is being rewritten (reason = 4) +ERROR: ALTER COLUMN TYPE from float to decimal is only supported experimentally -+HINT: See: https://go.crdb.dev/issue-v/49329/dev ++HINT: See: https://go.crdb.dev/issue-v/49329/v24.3 +-- +you can enable alter column type general support by running `SET enable_experimental_alter_column_type_general = true` -- matview rewrite when changing access method @@ -264680,7 +264619,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/event_trigger.out -- shouldn't trigger a table_rewrite event alter table rewriteme alter column foo type numeric(12,4); +ERROR: ALTER COLUMN TYPE from float to decimal is only supported experimentally -+HINT: See: https://go.crdb.dev/issue-v/49329/dev ++HINT: See: https://go.crdb.dev/issue-v/49329/v24.3 +-- +you can enable alter column type general support by running `SET enable_experimental_alter_column_type_general = true` begin; @@ -264720,7 +264659,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/event_trigger.out +alter type rewritetype alter attribute a type text cascade + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/48701/dev ++See: https://go.crdb.dev/issue-v/48701/v24.3 -- but this doesn't work create table rewritemetoo3 (a rewritetype); alter type rewritetype alter attribute a type varchar cascade; @@ -264730,7 +264669,7 @@ diff -U3 --label=/mnt/data1/postgres/src/test/regress/expected/event_trigger.out +alter type rewritetype alter attribute a type varchar cascade + ^ +HINT: You have attempted to use a feature that is not yet implemented. -+See: https://go.crdb.dev/issue-v/48701/dev ++See: https://go.crdb.dev/issue-v/48701/v24.3 drop table rewriteme; drop event trigger no_rewrite_allowed; +ERROR: at or near "event": syntax error From d1284f1498d057c1c60a8d11f6d3cbbaa1dc1b07 Mon Sep 17 00:00:00 2001 From: Austen McClernon Date: Wed, 2 Oct 2024 17:44:39 -0400 Subject: [PATCH 2/5] =?UTF-8?q?roachtest:=20fail=20rebalance/by-load/*=20i?= =?UTF-8?q?f=20cpu=20=E2=88=89=20[0,100]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `rebalance/by-load/*` roachtests query the internal timeseries database via http, specifically for the `cr.node.sys.cpu.combined.percent-normalized` metric, which represents the core-count normalized CPU utilization of each node within the cluster over the query window. The value should inherently be bounded in [0,100], as it would be impossible to use more than all the cores on a host, or use less than none of them. Assert as much. Informs: #129962 Informs: #131274 Informs: #129464 Release note: None --- pkg/cmd/roachtest/tests/rebalance_load.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkg/cmd/roachtest/tests/rebalance_load.go b/pkg/cmd/roachtest/tests/rebalance_load.go index e96a1cb90298..560e4b1c626d 100644 --- a/pkg/cmd/roachtest/tests/rebalance_load.go +++ b/pkg/cmd/roachtest/tests/rebalance_load.go @@ -367,6 +367,14 @@ func makeStoreCPUFn( } // Take the latest CPU data point only. cpu := result.Datapoints[len(result.Datapoints)-1].Value + // The datapoint is a float representing a percentage in [0,1.0]. Assert + // as much to avoid any surprises. + if cpu < 0 || cpu > 1 { + return nil, errors.Newf( + "node %d has core count normalized CPU utilization ts datapoint "+ + "not in [0%,100%] (impossible!): %f [resp=%+v]", node, cpu, resp) + } + nodeIdx := node * storesPerNode for storeOffset := 0; storeOffset < storesPerNode; storeOffset++ { // The values will be a normalized float in [0,1.0], scale to a From a7cc9e9ea6058644f7f5529c6ead921d76e67c82 Mon Sep 17 00:00:00 2001 From: Austen McClernon Date: Wed, 2 Oct 2024 18:00:45 -0400 Subject: [PATCH 3/5] roachtest: use system tenant when querying ts in rebalance/by-load MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In #129117, `rebalance/by-load/*/mixed-version` roachtest had shared-process multi-tenancy introduced, which would occasionally cause these tests to fail erroneously. The cause of all the failures was identical, CPU utilization of some nodes which couldn't have been possible, > 100%, e.g., ``` CPU not evenly balanced after timeout: outside bounds mean=102.5 tolerance=20.0% (±20.5) bounds=[82.0, 123.0] below = [s3: 81 (-20.7%), s5: 65 (-36.5%)] within = [s2: 116 (+14.0%), s4: 92 (-9.7%), s6: 88 (-13.2%)] above = [s1: 170 (+66.1%)] ``` As the query would aggregate every tenant's timeseries data on a given node, instead of only the system tenant. Update the timeseries utility used to query the CPU to also take in a `TenantID` parameter, which is then used to query only the system tenant. Fixes: #129962 Fixes: #131274 Fixes: #129464 Release note: None --- pkg/cmd/roachtest/tests/rebalance_load.go | 2 ++ pkg/cmd/roachtest/tests/ts_util.go | 8 ++++++++ 2 files changed, 10 insertions(+) diff --git a/pkg/cmd/roachtest/tests/rebalance_load.go b/pkg/cmd/roachtest/tests/rebalance_load.go index 560e4b1c626d..4cfc4c4bd747 100644 --- a/pkg/cmd/roachtest/tests/rebalance_load.go +++ b/pkg/cmd/roachtest/tests/rebalance_load.go @@ -19,6 +19,7 @@ import ( "github.com/cockroachdb/cockroach/pkg/cmd/roachtest/roachtestutil/mixedversion" "github.com/cockroachdb/cockroach/pkg/cmd/roachtest/spec" "github.com/cockroachdb/cockroach/pkg/cmd/roachtest/test" + "github.com/cockroachdb/cockroach/pkg/roachpb" "github.com/cockroachdb/cockroach/pkg/roachprod/install" "github.com/cockroachdb/cockroach/pkg/roachprod/logger" "github.com/cockroachdb/cockroach/pkg/roachprod/vm" @@ -343,6 +344,7 @@ func makeStoreCPUFn( name: "cr.node.sys.cpu.combined.percent-normalized", queryType: total, sources: []string{fmt.Sprintf("%d", i+1)}, + tenantID: roachpb.SystemTenantID, } } diff --git a/pkg/cmd/roachtest/tests/ts_util.go b/pkg/cmd/roachtest/tests/ts_util.go index 0073c6a63534..8dc4f5e596c0 100644 --- a/pkg/cmd/roachtest/tests/ts_util.go +++ b/pkg/cmd/roachtest/tests/ts_util.go @@ -13,6 +13,7 @@ import ( "github.com/cockroachdb/cockroach/pkg/cmd/roachtest/option" "github.com/cockroachdb/cockroach/pkg/cmd/roachtest/roachtestutil" "github.com/cockroachdb/cockroach/pkg/cmd/roachtest/test" + "github.com/cockroachdb/cockroach/pkg/roachpb" "github.com/cockroachdb/cockroach/pkg/roachprod/install" "github.com/cockroachdb/cockroach/pkg/ts/tspb" ) @@ -40,6 +41,11 @@ type tsQuery struct { name string queryType tsQueryType sources []string + // tenantID specifies which tenant to query metrics for. If uninitialized, + // the query will be for all tenants (default). Use roachpb.SystemTenantID as + // the value here to query just the system tenant metrics, in a multi-tenant + // cluster. + tenantID roachpb.TenantID } func mustGetMetrics( @@ -110,6 +116,7 @@ func getMetricsWithSamplePeriod( Downsampler: tspb.TimeSeriesQueryAggregator_AVG.Enum(), SourceAggregator: tspb.TimeSeriesQueryAggregator_SUM.Enum(), Sources: tsQueries[i].sources, + TenantID: tsQueries[i].tenantID, } case rate: queries[i] = tspb.Query{ @@ -118,6 +125,7 @@ func getMetricsWithSamplePeriod( SourceAggregator: tspb.TimeSeriesQueryAggregator_SUM.Enum(), Derivative: tspb.TimeSeriesQueryDerivative_NON_NEGATIVE_DERIVATIVE.Enum(), Sources: tsQueries[i].sources, + TenantID: tsQueries[i].tenantID, } default: panic("unexpected") From 5a4a5827a1f82433511e7f7861531da1b8c80ef0 Mon Sep 17 00:00:00 2001 From: Xin Hao Zhang Date: Wed, 2 Oct 2024 15:15:20 -0400 Subject: [PATCH 4/5] cluster-ui: populate db name in db details page This commit populates the db name as the page title in the v2 db details page as well as breadcrumb navigation back to the db list page. To do so we all the get db metadata by id api on the details page. Epic: CRDB-37558 Fixes: #131119 Release note: None --- .../api/databases/getDatabaseMetadataApi.ts | 27 +++++++++++++++++ .../src/databaseDetailsV2/index.tsx | 29 ++++++++++++++++--- .../workspaces/cluster-ui/src/util/routes.ts | 7 +++++ 3 files changed, 59 insertions(+), 4 deletions(-) create mode 100644 pkg/ui/workspaces/cluster-ui/src/util/routes.ts diff --git a/pkg/ui/workspaces/cluster-ui/src/api/databases/getDatabaseMetadataApi.ts b/pkg/ui/workspaces/cluster-ui/src/api/databases/getDatabaseMetadataApi.ts index 47b47a528a15..c578a801a6e9 100644 --- a/pkg/ui/workspaces/cluster-ui/src/api/databases/getDatabaseMetadataApi.ts +++ b/pkg/ui/workspaces/cluster-ui/src/api/databases/getDatabaseMetadataApi.ts @@ -99,3 +99,30 @@ export const useDatabaseMetadata = (req: DatabaseMetadataRequest) => { refreshDatabases: mutate, }; }; + +type DatabaseMetadataByIDResponse = { + metadata: DatabaseMetadata; +}; + +const getDatabaseMetadataByID = async ( + dbID: number, +): Promise => { + return fetchDataJSON(DATABASES_API_V2 + dbID + "/"); +}; + +export const useDatabaseMetadataByID = (dbID: number) => { + const { data, error, isLoading } = useSWR( + ["databaseMetadataByID", dbID], + () => getDatabaseMetadataByID(dbID), + { + revalidateOnFocus: false, + revalidateOnReconnect: false, + }, + ); + + return { + data, + error, + isLoading, + }; +}; diff --git a/pkg/ui/workspaces/cluster-ui/src/databaseDetailsV2/index.tsx b/pkg/ui/workspaces/cluster-ui/src/databaseDetailsV2/index.tsx index 0e243e8c9b69..2accd39f07cf 100644 --- a/pkg/ui/workspaces/cluster-ui/src/databaseDetailsV2/index.tsx +++ b/pkg/ui/workspaces/cluster-ui/src/databaseDetailsV2/index.tsx @@ -3,15 +3,18 @@ // Use of this software is governed by the CockroachDB Software License // included in the /LICENSE file. -import { Tabs } from "antd"; +import { Skeleton, Tabs } from "antd"; import React from "react"; import { useHistory, useLocation } from "react-router"; +import { useDatabaseMetadataByID } from "src/api/databases/getDatabaseMetadataApi"; import { commonStyles } from "src/common"; +import { useRouteParams } from "src/hooks/useRouteParams"; import { PageLayout } from "src/layouts"; import { PageHeader } from "src/sharedFromCloud/pageHeader"; +import { queryByName, tabAttr } from "src/util"; -import { queryByName, tabAttr } from "../util"; +import { DB_PAGE_PATH } from "../util/routes"; import { DbGrantsView } from "./dbGrantsView"; import { TablesPageV2 } from "./tablesView"; @@ -21,6 +24,9 @@ enum TabKeys { GRANTS = "grants", } export const DatabaseDetailsPageV2 = () => { + const { dbID: dbIdRouteParam } = useRouteParams(); + const dbId = parseInt(dbIdRouteParam, 10); + const { data, isLoading, error } = useDatabaseMetadataByID(dbId); const history = useHistory(); const location = useLocation(); const tab = queryByName(location, tabAttr) ?? TabKeys.TABLES; @@ -38,7 +44,6 @@ export const DatabaseDetailsPageV2 = () => { }); }; - // TODO (xinhaoz) #131119 - Populate db name here. const tabItems = [ { key: TabKeys.TABLES, @@ -52,9 +57,25 @@ export const DatabaseDetailsPageV2 = () => { }, ]; + const dbName = + error?.status === 404 || !data + ? "Database Not Found" + : data.metadata.db_name; + + const breadCrumbItems = [ + { name: "Databases", link: DB_PAGE_PATH }, + { + name: dbName, + link: null, + }, + ]; + return ( - + {dbName}} + /> `/databases/${dbId}`; From f775825e0688f2ab31f9dba17cbabfc9ab49cd27 Mon Sep 17 00:00:00 2001 From: Pavel Kalinnikov Date: Thu, 3 Oct 2024 17:12:13 +0100 Subject: [PATCH 5/5] kvserver: fix dropped raft heartbeats in test helper The unreliableRaftHandlerFuncs type drops messages by default, if the corresponding "drop" function is nil. The enableVerboseRaftMsgLoggingForRange is meant to add a no-op interceptor of all raft messages, but because of a bug it ended up dropping heartbeat responses. This caused lack of MsgApp stream liveness from leader to followers, and a perpetual StateProbe. Epic: none Release note: none --- pkg/kv/kvserver/flow_control_integration_test.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/pkg/kv/kvserver/flow_control_integration_test.go b/pkg/kv/kvserver/flow_control_integration_test.go index b281b67a04ba..31bb64dab42f 100644 --- a/pkg/kv/kvserver/flow_control_integration_test.go +++ b/pkg/kv/kvserver/flow_control_integration_test.go @@ -22,7 +22,6 @@ import ( "github.com/cockroachdb/cockroach/pkg/kv/kvserver" "github.com/cockroachdb/cockroach/pkg/kv/kvserver/kvflowcontrol" "github.com/cockroachdb/cockroach/pkg/kv/kvserver/kvflowcontrol/kvflowinspectpb" - "github.com/cockroachdb/cockroach/pkg/kv/kvserver/kvserverpb" "github.com/cockroachdb/cockroach/pkg/roachpb" "github.com/cockroachdb/cockroach/pkg/server" "github.com/cockroachdb/cockroach/pkg/settings/cluster" @@ -4798,11 +4797,7 @@ func (h *flowControlTestHelper) enableVerboseRaftMsgLoggingForRange(rangeID roac &unreliableRaftHandler{ rangeID: rangeID, IncomingRaftMessageHandler: si, - unreliableRaftHandlerFuncs: unreliableRaftHandlerFuncs{ - dropReq: func(req *kvserverpb.RaftMessageRequest) bool { - return false - }, - }, + unreliableRaftHandlerFuncs: noopRaftHandlerFuncs(), }) } }