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

Commitfd96e17

Browse files
committed
Finally initdb.sh works. Was problem with assuming EUID was defined.
1 parent1211830 commitfd96e17

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎src/bin/initdb/initdb.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
#
2727
#
2828
# IDENTIFICATION
29-
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.74 1999/12/1803:31:14 momjian Exp $
29+
# $Header: /cvsroot/pgsql/src/bin/initdb/Attic/initdb.sh,v 1.75 1999/12/1804:04:24 momjian Exp $
3030
#
3131
#-------------------------------------------------------------------------
3232

@@ -111,6 +111,7 @@ template_only=0
111111
# fail, and in that case the argument _must_ be the name of the effective
112112
# user.
113113
POSTGRES_SUPERUSERNAME="$EffectiveUser"
114+
POSTGRES_SUPERUSERID="`id -u2>/dev/null||echo 0`"
114115

115116
Password='_null_'
116117

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp