Re: BUG #8380: initdb ignore options

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #8380: initdb ignore options
Date: 2013-08-11 14:03:26
Message-ID: 520799AE.2050302@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On 8/10/2013 4:57 PM, karsten(dot)lenz(at)gmx(dot)ch wrote:
> The following bug has been logged on the website:
>
> Bug reference: 8380
> Logged by: Karsten Lenz
> Email address: karsten(dot)lenz(at)gmx(dot)ch
> PostgreSQL version: 9.2.4
> Operating system: CentOS 6.4
> Description:
>
> Hello,
>
>
> initdb is ignoring the options, i wnt install with differend data- and log
> dir and this is not working.
>
>
> Teste with -D, --pgdata, -X and --xlogdir, nothing works
>
>
> Do i have to switch to Enterprise DB Binary Installer? That thing works with
> different datadir.

if you change the default data directory via running initdb manually
with -D, the sysV init scripts in /etc/rc.d/init.d/postgresql-9.2 won't
know it unless you also create /etc/sysconfig/pgsql/9.2/postgresql-9.2
and put in the line...

PGDATA=/my/path/to/pg/data

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message ascot.moss@gmail.com 2013-08-11 16:53:24 Enable WAL Archive in Replication server
Previous Message Petr Chmelar 2013-08-11 09:23:21 Re: BUG #8329: UPDATE x SET x.y = x.y + z does not work in PL/pgSQL