We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1211830 commit fd96e17Copy full SHA for fd96e17
src/bin/initdb/initdb.sh
@@ -26,7 +26,7 @@
26
#
27
28
# IDENTIFICATION
29
-# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.74 1999/12/18 03:31:14 momjian Exp $
+# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.75 1999/12/18 04:04:24 momjian Exp $
30
31
#-------------------------------------------------------------------------
32
@@ -111,6 +111,7 @@ template_only=0
111
# fail, and in that case the argument _must_ be the name of the effective
112
# user.
113
POSTGRES_SUPERUSERNAME="$EffectiveUser"
114
+POSTGRES_SUPERUSERID="`id -u 2>/dev/null || echo 0`"
115
116
Password='_null_'
117
0 commit comments