Re: initdb $PGDATA not working - Mailing list pgsql-general

From John R Pierce
Subject Re: initdb $PGDATA not working
Date
Msg-id 4F345646.5030706@hogranch.com
Whole thread Raw
In response to initdb $PGDATA not working  (Daniel Vázquez <daniel2d2art@gmail.com>)
List pgsql-general
On 02/09/12 2:38 PM, Daniel Vázquez wrote:
> YES.... /etc/sysconfig/pgsql/postgresql-9.1
>
> I'm using /etc/sysconfig/pgsql/postgresql like in 8.4 ... my fault ...
> is like some overunderstand ... but no doc about it.

whatever the name of the /etc/init.d/postgres** script is, it uses that
same name in the /etc/sysconfg/pgsql directory.

so if you want to run 2 copies of 9.1, cp /etc/init.d/postgresql-9.1
/etc/init.d/postgresql-9.1B and then create
/etc/sysconfig/pgsql/postgresql-9.1B  and put your port, and data
directory in there, and poof, like magic!



--
john r pierce                            N 37, W 122
santa cruz ca                         mid-left coast



pgsql-general by date:

Previous
From: Robins Tharakan
Date:
Subject: Re: VIEW still referring to old name of field
Next
From: Rich Shepard
Date:
Subject: Re: Strategy for Primary Key Generation When Populating Table