In 020_createdb.pl, change order of command-line arguments.

Robert Haas <rhaas@postgresql.org>

Commit: 3d067c53b26dfeb95da0d75a65614b4d7b45c317
Author: Robert Haas <rhaas@postgresql.org>
Date: 2022-03-29T17:48:39Z
Releases: 15.0
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

Files

PathChange+/−
src/bin/scripts/t/020_createdb.pl modified +2 −2

Discussion