aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMasahiko Sawada <msawada@postgresql.org>2025-02-26 11:10:03 -0800
committerMasahiko Sawada <msawada@postgresql.org>2025-02-26 11:10:03 -0800
commit945a9e3832c3ede20e2c575b796a4f16687a1949 (patch)
tree2011cf198b82c88357aaa67bdb33e53e31455072 /src
parentc47e8df815c1c45f4e4fc90d5817d67ab088279f (diff)
downloadpostgresql-945a9e3832c3ede20e2c575b796a4f16687a1949.tar.gz
postgresql-945a9e3832c3ede20e2c575b796a4f16687a1949.zip
Fix a typo in 005_char_signedness.pl test.
The test in 005_char_signedness.pl was missing a dash in the --set-char-signedness option. Although the test didn't fail since it doesn't check the error message, it resulted in an unexpected error message instead of the intended one. Oversight in 1aab680591. Author: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org> Discussion: https://postgr.es/m/87tt8h1vb7.fsf@wibble.ilmari.org
Diffstat (limited to 'src')
-rw-r--r--src/bin/pg_upgrade/t/005_char_signedness.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/pg_upgrade/t/005_char_signedness.pl b/src/bin/pg_upgrade/t/005_char_signedness.pl
index c024106863e..b3092f03bb7 100644
--- a/src/bin/pg_upgrade/t/005_char_signedness.pl
+++ b/src/bin/pg_upgrade/t/005_char_signedness.pl
@@ -51,7 +51,7 @@ command_fails(
'-s', $new->host,
'-p', $old->port,
'-P', $new->port,
- '-set-char-signedness', 'signed',
+ '--set-char-signedness', 'signed',
$mode
],
'--set-char-signedness option cannot be used for upgrading from v18 or later'