Re: BUG #8160: 9.3 Beta 1 Initdb doesn't work

Поиск
Список
Период
Сортировка
От Devrim GÜNDÜZ
Тема Re: BUG #8160: 9.3 Beta 1 Initdb doesn't work
Дата
Msg-id 1368547251.14679.91.camel@lenovo01-laptop03.gunduz.org
обсуждение исходный текст
Ответ на Re: BUG #8160: 9.3 Beta 1 Initdb doesn't work  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Список pgsql-bugs
Hi,

On Tue, 2013-05-14 at 18:49 +0300, Heikki Linnakangas wrote:
> There seems to be a bug in the init script. If you don't give a
> location
> for pg_xlog on the command line, it uses $PGDATA/pg_xlog, which
> confuses
> initdb:
>
> >  # If the xlog directory is specified just after the locale
> parameter, use it:
> >  if [ -z $INITDBXLOGDIR ]
> >  then
> >      INITDBXLOGSTRING=`echo $PGDATA/pg_xlog`
> >  else
> >      INITDBXLOGSTRING=`echo $INITDBXLOGDIR`
> >  fi
>  > ...
> >  # Initialize the database
> >  $SU -l postgres -c "$PGENGINE/initdb --pgdata='$PGDATA' --xlogdir=
> $INITDBXLOGSTRING --auth='ident' $LOCALESTRING" >> "$PGLOG" 2>&1
> < /dev/null
>
> Seems that if INITDBXLOGDIR is not given, it should just leave out
> --xlogdir. Devrim?

:( Good catch. Will fix.

Regards,

--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org  Twitter: http://twitter.com/devrimgunduz

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

Предыдущее
От: "Nicholson, Brad (Toronto, ON, CA)"
Дата:
Сообщение: Re: BUG #8160: 9.3 Beta 1 Initdb doesn't work
Следующее
От: majestio@ya.ru
Дата:
Сообщение: BUG #8162: Operation would bloсk (0x00002733/10035)