Re: BUG #8380: initdb ignore options - Mailing list pgsql-bugs

From John R Pierce
Subject Re: BUG #8380: initdb ignore options
Date
Msg-id 520799AE.2050302@hogranch.com
Whole thread Raw
In response to BUG #8380: initdb ignore options  (karsten.lenz@gmx.ch)
List pgsql-bugs
On 8/10/2013 4:57 PM, karsten.lenz@gmx.ch wrote:
> The following bug has been logged on the website:
>
> Bug reference:      8380
> Logged by:          Karsten Lenz
> Email address:      karsten.lenz@gmx.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

pgsql-bugs by date:

Previous
From: Petr Chmelar
Date:
Subject: Re: BUG #8329: UPDATE x SET x.y = x.y + z does not work in PL/pgSQL
Next
From: "ascot.moss@gmail.com"
Date:
Subject: Enable WAL Archive in Replication server