Search Postgresql Archives

Re: initdb $PGDATA not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



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



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux