Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit3d067c5

Browse files
committed
In 020_createdb.pl, change order of command-line arguments.
Linux thinks that something like "createdb foo -S bar" is perfectlyfine, but Windows wants the options to precede any bare arguments, sowe 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
1 parent9c08aea commit3d067c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/bin/scripts/t/020_createdb.pl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,12 +115,12 @@
115115

116116
# Check database creation strategy
117117
$node->issues_sql_like(
118-
['createdb','-T','foobar2','foobar6','-S','wal_log'],
118+
['createdb','-T','foobar2','-S','wal_log','foobar6'],
119119
qr/statement: CREATE DATABASE foobar6 STRATEGY wal_log TEMPLATE foobar2/,
120120
'create database with WAL_LOG strategy');
121121

122122
$node->issues_sql_like(
123-
['createdb','-T','foobar2','foobar7','-S','file_copy'],
123+
['createdb','-T','foobar2','-S','file_copy','foobar7'],
124124
qr/statement: CREATE DATABASE foobar7 STRATEGY file_copy TEMPLATE foobar2/,
125125
'create database with FILE_COPY strategy');
126126

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp