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