summaryrefslogtreecommitdiffstats
path: root/postgresql-setup.in
diff options
context:
space:
mode:
Diffstat (limited to 'postgresql-setup.in')
-rw-r--r--postgresql-setup.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/postgresql-setup.in b/postgresql-setup.in
index 608b11d..17a14f0 100644
--- a/postgresql-setup.in
+++ b/postgresql-setup.in
@@ -228,7 +228,7 @@ upgrade()
'--new-datadir=$pgdata' \
--link \
'--old-port=$PGPORT' '--new-port=$PGPORT' \
- --user=postgres \
+ @PG_UPGRADE_BIN_USER_OPT@=postgres \
$PGSETUP_PGUPGRADE_OPTIONS" \
>> "$upgrade_log" 2>&1 < /dev/null
if [ $? -ne 0 ]; then