mirror of
https://github.com/postgres/postgres.git
synced 2025-08-09 17:03:00 +03:00
Fix regression test outputs
75445c1
has caused various failures in tests across the tree after
updating some error messages, so fix the newly-expected output.
Author: Michael Paquier
Reviewed-by: Tom Lane
Discussion: https://postgr.es/m/8332.1558048838@sss.pgh.pa.us
This commit is contained in:
@@ -1841,7 +1841,7 @@ SELECT regexp_match('foobarbequebaz'::citext, '(BAR)(BEQUE)'::citext, 'c'::citex
|
||||
|
||||
-- g is not allowed
|
||||
SELECT regexp_match('foobarbequebazmorebarbequetoo'::citext, '(BAR)(BEQUE)'::citext, 'g') AS "error";
|
||||
ERROR: regexp_match does not support the global option
|
||||
ERROR: regexp_match() does not support the "global" option
|
||||
HINT: Use the regexp_matches function instead.
|
||||
CONTEXT: SQL function "regexp_match" statement 1
|
||||
SELECT regexp_matches('foobarbequebaz'::citext, '(bar)(beque)') = ARRAY[ 'bar', 'beque' ] AS t;
|
||||
|
@@ -1841,7 +1841,7 @@ SELECT regexp_match('foobarbequebaz'::citext, '(BAR)(BEQUE)'::citext, 'c'::citex
|
||||
|
||||
-- g is not allowed
|
||||
SELECT regexp_match('foobarbequebazmorebarbequetoo'::citext, '(BAR)(BEQUE)'::citext, 'g') AS "error";
|
||||
ERROR: regexp_match does not support the global option
|
||||
ERROR: regexp_match() does not support the "global" option
|
||||
HINT: Use the regexp_matches function instead.
|
||||
CONTEXT: SQL function "regexp_match" statement 1
|
||||
SELECT regexp_matches('foobarbequebaz'::citext, '(bar)(beque)') = ARRAY[ 'bar', 'beque' ] AS t;
|
||||
|
Reference in New Issue
Block a user