Skip to content

Commit 346e672

Browse files
authored
Merge pull request puppetlabs#976 from 2ndquadrant-it/waldir
Change initdb option '--xlogdir' to '-X' for PG10 compatibility
2 parents aeabcfc + 09dc0e6 commit 346e672

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manifests/server/initdb.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
$ic_base = "${initdb_path} --encoding '${encoding}' --pgdata '${datadir}'"
7373
$ic_xlog = $xlogdir ? {
7474
undef => $ic_base,
75-
default => "${ic_base} --xlogdir '${xlogdir}'"
75+
default => "${ic_base} -X '${xlogdir}'"
7676
}
7777

7878
# The xlogdir need to be present before initdb runs.

0 commit comments

Comments
 (0)