Re: postgresql-7.1beta1 initdb error

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: postgresql-7.1beta1 initdb error
Дата
Msg-id Pine.LNX.4.30.0101041718010.1245-100000@peter.localdomain
обсуждение исходный текст
Ответ на postgresql-7.1beta1 initdb error  ("James McMurry" <jmcmurry@pobox.com>)
Список pgsql-docs
James McMurry writes:

> Enter new superuser password:
> Enter it again:
> The password file wasn't generated. Please report this problem.

Please apply to following patch to src/bin/initdb.sh:

diff -c -r1.118 initdb.sh
*** initdb.sh   2000/12/31 22:24:14     1.118
--- initdb.sh   2001/01/04 16:10:43
***************
*** 533,539 ****
      fi
      echo "ALTER USER \"$POSTGRES_SUPERUSERNAME\" WITH PASSWORD '$FirstPw'" \
        | "$PGPATH"/postgres $PGSQL_OPT template1 > /dev/null || exit_nicely
!     if [ ! -f $PGDATA/pg_pwd ]; then
          echo "The password file wasn't generated. Please report this problem." 1>&2
          exit_nicely
      fi
--- 533,539 ----
      fi
      echo "ALTER USER \"$POSTGRES_SUPERUSERNAME\" WITH PASSWORD '$FirstPw'" \
        | "$PGPATH"/postgres $PGSQL_OPT template1 > /dev/null || exit_nicely
!     if [ ! -f $PGDATA/global/pg_pwd ]; then
          echo "The password file wasn't generated. Please report this problem." 1>&2
          exit_nicely
      fi

Or you can just set the superuser password later if you're not up to
patching.

--
Peter Eisentraut      peter_e@gmx.net       http://yi.org/peter-e/


В списке pgsql-docs по дате отправления:

Предыдущее
От: "James McMurry"
Дата:
Сообщение: postgresql-7.1beta1 initdb error
Следующее
От: Mustapha Amrani
Дата:
Сообщение: nested query