Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V8WF3-0002kT-BK for pgsql-bugs@arkaria.postgresql.org; Sun, 11 Aug 2013 14:03:33 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1V8WF2-0008HQ-OD for pgsql-bugs@arkaria.postgresql.org; Sun, 11 Aug 2013 14:03:32 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V8WF1-0008HJ-Og for pgsql-bugs@postgresql.org; Sun, 11 Aug 2013 14:03:31 +0000 Received: from hogranch.com ([75.101.82.47]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V8WEz-0005fW-CO for pgsql-bugs@postgresql.org; Sun, 11 Aug 2013 14:03:31 +0000 Received: from [192.168.0.2] (porker [192.168.0.2]) by hogranch.com (8.11.6/8.11.6) with ESMTP id r7BE3Ml18072 for ; Sun, 11 Aug 2013 07:03:22 -0700 Message-ID: <520799AE.2050302@hogranch.com> Date: Sun, 11 Aug 2013 07:03:26 -0700 From: John R Pierce User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: pgsql-bugs@postgresql.org Subject: Re: BUG #8380: initdb ignore options References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-HawgScanner-Information: Please contact the ISP for more information X-HawgScanner: Found to be clean X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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