Re: initdb $PGDATA not working

From: John R Pierce <pierce(at)hogranch(dot)com>
To: Daniel Vázquez <daniel2d2art(at)gmail(dot)com>, PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Re: initdb $PGDATA not working
Date: 2012-02-09 23:27:02
Message-ID: 4F345646.5030706@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Rich Shepard 2012-02-10 00:25:07 Re: Strategy for Primary Key Generation When Populating Table
Previous Message Robins Tharakan 2012-02-09 23:23:52 Re: VIEW still referring to old name of field