On 2022-03-29 11:55:05 -0400, Robert Haas wrote:
> That commit having been reverted, I committed v6 instead. Let's see
> what breaks...
It fails in CI (for the mirror of the postgres repo on github):
https://cirrus-ci.com/task/6279465603956736?logs=test_bin#L121
tap test log:
https://api.cirrus-ci.com/v1/artifact/task/6279465603956736/log/src/bin/scripts/tmp_check/log/regress_log_020_createdb
postmaster log:
https://api.cirrus-ci.com/v1/artifact/task/6279465603956736/log/src/bin/scripts/tmp_check/log/020_createdb_main.log
recent versions failed similarly on cfbot:
https://cirrus-ci.com/github/postgresql-cfbot/postgresql/commitfest/37/3192https://cirrus-ci.com/task/5217140407009280?logs=test_bin#L121
# Running: createdb -T foobar2 foobar6 -S wal_log
createdb: error: too many command-line arguments (first is "wal_log")
Try "createdb --help" for more information.
not ok 31 - createdb -T foobar2 foobar6 -S wal_log exit code 0
# Failed test 'createdb -T foobar2 foobar6 -S wal_log exit code 0'
# at t/020_createdb.pl line 117.
not ok 32 - create database with WAL_LOG strategy: SQL found in server log
# Failed test 'create database with WAL_LOG strategy: SQL found in server log'
# at t/020_createdb.pl line 117.
# ''
# doesn't match '(?^:statement: CREATE DATABASE foobar6 STRATEGY wal_log TEMPLATE foobar2)'
# Running: createdb -T foobar2 foobar7 -S file_copy
createdb: error: too many command-line arguments (first is "file_copy")
Try "createdb --help" for more information.
not ok 33 - createdb -T foobar2 foobar7 -S file_copy exit code 0
# Failed test 'createdb -T foobar2 foobar7 -S file_copy exit code 0'
# at t/020_createdb.pl line 122.
not ok 34 - create database with FILE_COPY strategy: SQL found in server log
# Failed test 'create database with FILE_COPY strategy: SQL found in server log'
# at t/020_createdb.pl line 122.
# ''
# doesn't match '(?^:statement: CREATE DATABASE foobar7 STRATEGY file_copy TEMPLATE foobar2)'
Looks like there's some problem with commandline parsing?
Greetings,
Andres Freund