In 020_createdb.pl, change order of command-line arguments.
authorRobert Haas <rhaas@postgresql.org>
Tue, 29 Mar 2022 17:48:39 +0000 (13:48 -0400)
committerRobert Haas <rhaas@postgresql.org>
Tue, 29 Mar 2022 17:48:39 +0000 (13:48 -0400)
commit3d067c53b26dfeb95da0d75a65614b4d7b45c317
tree78a3dc7c5ad248c08f66e2e454516e42015b5ad9
parent9c08aea6a3090a396be334cc58c511edab05776a
In 020_createdb.pl, change order of command-line arguments.

Linux thinks that something like "createdb foo -S bar" is perfectly
fine, but Windows wants the options to precede any bare arguments, so
we must write "createdb -S bar foo" for portability.

Per reports from CI, the buildfarm, and Andres.

Discussion: http://postgr.es/m/20220329173536.7d2ywdatsprxl4x6@alap3.anarazel.de
src/bin/scripts/t/020_createdb.pl