aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2022-03-30 09:02:44 -0400
committerRobert Haas <rhaas@postgresql.org>2022-03-30 09:03:28 -0400
commitc6863b85829149e2241faafa161b6c5af1f06cb9 (patch)
tree45cb48d90ad4faee12bf884c6b2f54068ce9bd66 /src
parent860ea46ba7be69c46c37a96983e1ddca9d630c2e (diff)
downloadpostgresql-c6863b85829149e2241faafa161b6c5af1f06cb9.tar.gz
postgresql-c6863b85829149e2241faafa161b6c5af1f06cb9.zip
Simplify a needlessly-complicated regular expression.
Dilip Kumar Discussion: https://postgr.es/m/CAFiTN-uV_u1LgBN_CAiGyfgPXp+bfBUVqG5mZ24Nqc8e_Yb0HQ@mail.gmail.com
Diffstat (limited to 'src')
-rw-r--r--src/bin/scripts/t/020_createdb.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/scripts/t/020_createdb.pl b/src/bin/scripts/t/020_createdb.pl
index b81f06a251e..18f6e313d57 100644
--- a/src/bin/scripts/t/020_createdb.pl
+++ b/src/bin/scripts/t/020_createdb.pl
@@ -109,7 +109,7 @@ $node->command_checks_all(
1,
[qr/^$/],
[
- qr/^createdb: error: database creation failed: ERROR: invalid create database strategy|^createdb: error: database creation failed: ERROR: invalid create database strategy foo/s
+ qr/^createdb: error: database creation failed: ERROR: invalid create database strategy foo/s
],
'createdb with incorrect --strategy');