pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John R Pierce <pierce@hogranch.com>
To: pgsql-bugs@postgresql.org
Subject: Re: BUG #8380: initdb ignore options
Date: Sun, 11 Aug 2013 07:03:26 -0700
Message-ID: <520799AE.2050302@hogranch.com> (raw)
In-Reply-To: <E1V8J2C-0001AH-Td@wrigleys.postgresql.org>
References: <E1V8J2C-0001AH-Td@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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




-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (2+ messages)

Message-ID: <520799AE.2050302@hogranch.com>
Permalink:  ../520799AE.2050302@hogranch.com/
Also on:    postgresql.org/message-id/520799AE.2050302@hogranch.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: pierce@hogranch.com
  Subject: Re: BUG #8380: initdb ignore options
  In-Reply-To: <520799AE.2050302@hogranch.com>
  References: <E1V8J2C-0001AH-Td@wrigleys.postgresql.org> <520799AE.2050302@hogranch.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox