8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41998f9 commit 6ba500cCopy full SHA for 6ba500c
contrib/citext/expected/citext.out
@@ -1841,7 +1841,7 @@ SELECT regexp_match('foobarbequebaz'::citext, '(BAR)(BEQUE)'::citext, 'c'::citex
1841
1842
-- g is not allowed
1843
SELECT regexp_match('foobarbequebazmorebarbequetoo'::citext, '(BAR)(BEQUE)'::citext, 'g') AS "error";
1844
-ERROR: regexp_match does not support the global option
+ERROR: regexp_match() does not support the "global" option
1845
HINT: Use the regexp_matches function instead.
1846
CONTEXT: SQL function "regexp_match" statement 1
1847
SELECT regexp_matches('foobarbequebaz'::citext, '(bar)(beque)') = ARRAY[ 'bar', 'beque' ] AS t;
contrib/citext/expected/citext_1.out
src/test/regress/expected/copy2.out
@@ -360,20 +360,20 @@ SELECT * FROM vistest;
360
COMMIT;
361
TRUNCATE vistest;
362
COPY vistest FROM stdin CSV FREEZE;
363
-ERROR: cannot perform FREEZE because the table was not created or truncated in the current subtransaction
+ERROR: cannot perform COPY FREEZE because the table was not created or truncated in the current subtransaction
364
BEGIN;
365
366
SAVEPOINT s1;
367
368
369
370
371
INSERT INTO vistest VALUES ('z');
372
373
374
ROLLBACK TO SAVEPOINT s1;
375
376
377
378
CREATE FUNCTION truncate_in_subxact() RETURNS VOID AS
379
$$
src/test/regress/expected/create_table.out
@@ -418,7 +418,7 @@ ERROR: partition key expressions cannot contain whole-row references
418
CREATE TABLE partitioned (
419
a point
420
) PARTITION BY LIST (a);
421
-ERROR: data type point has no default btree operator class
+ERROR: data type point has no default operator class for access method "btree"
422
HINT: You must specify a btree operator class or define a default btree operator class for the data type.
423
424
@@ -427,7 +427,7 @@ ERROR: operator class "point_ops" does not exist for access method "btree"
427
428
429
) PARTITION BY RANGE (a);
430
431
432
433
src/test/regress/expected/jsonb_jsonpath.out
@@ -486,7 +486,7 @@ select * from jsonb_path_query('{"a": 10}', '$');
486
(1 row)
487
488
select * from jsonb_path_query('{"a": 10}', '$ ? (@.a < $value)');
489
-ERROR: cannot find jsonpath variable "value"
+ERROR: could not find jsonpath variable "value"
490
select * from jsonb_path_query('{"a": 10}', '$ ? (@.a < $value)', '1');
491
ERROR: "vars" argument is not an object
492
DETAIL: Jsonpath parameters should be encoded as key-value pairs of "vars" object.
src/test/regress/expected/jsonpath.out
@@ -1,6 +1,6 @@
1
--jsonpath io
2
select ''::jsonpath;
3
-ERROR: invalid input syntax for jsonpath: ""
+ERROR: invalid input syntax for type jsonpath: ""
4
LINE 1: select ''::jsonpath;
5
^
6
select '$'::jsonpath;
src/test/regress/expected/publication.out
@@ -17,7 +17,7 @@ CREATE PUBLICATION testpib_ins_trunct WITH (publish = insert);
17
ALTER PUBLICATION testpub_default SET (publish = update);
18
-- error cases
19
CREATE PUBLICATION testpub_xxx WITH (foo);
20
-ERROR: unrecognized publication parameter: foo
+ERROR: unrecognized publication parameter: "foo"
21
CREATE PUBLICATION testpub_xxx WITH (publish = 'cluster, vacuum');
22
ERROR: unrecognized "publish" value: "cluster"
23
\dRp
src/test/regress/expected/regex.out
@@ -116,7 +116,7 @@ select regexp_match('abc', '(B)(c)', 'i');
116
117
118
select regexp_match('abc', 'Bd', 'ig'); -- error
119
120
121
-- Test lookahead constraints
122
select regexp_matches('ab', 'a(?=b)b*');
src/test/regress/expected/strings.out
@@ -437,7 +437,7 @@ SELECT regexp_replace('AAA aaa', 'A+', 'Z', 'gi');
437
438
-- invalid regexp option
439
SELECT regexp_replace('AAA aaa', 'A+', 'Z', 'z');
440
-ERROR: invalid regexp option: "z"
+ERROR: invalid regular expression option: "z"
441
-- set so we can tell NULL from empty string
442
\pset null '\\N'
443
-- return all matches from regexp
@@ -549,7 +549,7 @@ SELECT regexp_matches(chr(10) || '1' || chr(10) || '2' || chr(10) || '3' || chr(
549
550
-- give me errors
551
SELECT regexp_matches('foobarbequebaz', $re$(bar)(beque)$re$, 'gz');
552
553
SELECT regexp_matches('foobarbequebaz', $re$(barbeque$re$);
554
ERROR: invalid regular expression: parentheses () not balanced
555
SELECT regexp_matches('foobarbequebaz', $re$(bar)(beque){2,1}$re$);
@@ -743,14 +743,14 @@ SELECT regexp_split_to_array('1','');
743
744
-- errors
745
SELECT foo, length(foo) FROM regexp_split_to_table('thE QUick bROWn FOx jUMPs ovEr The lazy dOG', 'e', 'zippy') AS foo;
746
747
SELECT regexp_split_to_array('thE QUick bROWn FOx jUMPs ovEr The lazy dOG', 'e', 'iz');
748
749
-- global option meaningless for regexp_split
750
SELECT foo, length(foo) FROM regexp_split_to_table('thE QUick bROWn FOx jUMPs ovEr The lazy dOG', 'e', 'g') AS foo;
751
-ERROR: regexp_split_to_table does not support the global option
+ERROR: regexp_split_to_table() does not support the "global" option
752
SELECT regexp_split_to_array('thE QUick bROWn FOx jUMPs ovEr The lazy dOG', 'e', 'g');
753
-ERROR: regexp_split_to_array does not support the global option
+ERROR: regexp_split_to_array() does not support the "global" option
754
-- change NULL-display back
755
\pset null ''
756
-- E021-11 position expression
src/test/regress/expected/subscription.out
@@ -53,7 +53,7 @@ ERROR: connect = false and enabled = true are mutually exclusive options
53
CREATE SUBSCRIPTION testsub2 CONNECTION 'dbname=doesnotexist' PUBLICATION testpub WITH (connect = false, create_slot = true);
54
ERROR: connect = false and create_slot = true are mutually exclusive options
55
CREATE SUBSCRIPTION testsub2 CONNECTION 'dbname=doesnotexist' PUBLICATION testpub WITH (slot_name = NONE, enabled = true);
56
-ERROR: slot_name = NONE and enabled = true are mutually exclusive options
+ERROR: slot_name = NONE and enable = true are mutually exclusive options
57
CREATE SUBSCRIPTION testsub2 CONNECTION 'dbname=doesnotexist' PUBLICATION testpub WITH (slot_name = NONE, create_slot = true);
58
ERROR: slot_name = NONE and create_slot = true are mutually exclusive options
59
CREATE SUBSCRIPTION testsub2 CONNECTION 'dbname=doesnotexist' PUBLICATION testpub WITH (slot_name = NONE);
@@ -89,7 +89,7 @@ ALTER SUBSCRIPTION testsub SET (slot_name = 'newname');
89
ALTER SUBSCRIPTION doesnotexist CONNECTION 'dbname=doesnotexist2';
90
ERROR: subscription "doesnotexist" does not exist
91
ALTER SUBSCRIPTION testsub SET (create_slot = false);
92
-ERROR: unrecognized subscription parameter: create_slot
+ERROR: unrecognized subscription parameter: "create_slot"
93
\dRs+
94
List of subscriptions
95
Name | Owner | Enabled | Publication | Synchronous commit | Conninfo