Search Postgresql Archives

Re: postgresql "init script" for postgres 9.2.15

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

 



Steve Langlois <steve.langlois@xxxxxxxxx> writes:
> Thank you but in our appliance, we are not running postgres as a service, we are running it programatically with this script, call postmaster to start it for instance instead of using the service framework. Is there an equivalent in 9.x or does it now have to run as a service. I was able to modify the script to get 9.2 to run but I was hoping this script had been updated for 9.x. The current script uses --auth='ident sameuser' when calling initdb for instance which is not supported in 9.2.

You could try looking in the Fedora 15 RPMs --- that was the last
non-systemd Fedora release, I believe.  It looks like Fedora was on
Postgres 9.0.x at that point, so you might still need to do a bit more
fiddling to get it to work with PG 9.2; but it'd be closer than scripts
intended for 8.2, for sure.

Keep in mind that scripts like this are distro-maintained, not maintained
by the Postgres core project; and they tend to get a LOT more churn caused
by distro-specific issues than churn caused by Postgres changes.  It's
not really clear to me that you want to do anything except make whatever
changes you have to in the scripts you already have.  You may spend more
time dealing with useless-to-you changes than you save by not doing your
own research on what changed in Postgres.

			regards, tom lane


-- 
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