Re: postgresql "init script" for postgres 9.2.15

Поиск
Список
Период
Сортировка
От Steve Langlois
Тема Re: postgresql "init script" for postgres 9.2.15
Дата
Msg-id CY1PR0701MB193283886E95FE05B43CC08887310@CY1PR0701MB1932.namprd07.prod.outlook.com
обсуждение исходный текст
Ответ на Re: postgresql "init script" for postgres 9.2.15  (Adrian Klaver <adrian.klaver@aklaver.com>)
Ответы Re: postgresql "init script" for postgres 9.2.15  ("David G. Johnston" <david.g.johnston@gmail.com>)
Re: postgresql "init script" for postgres 9.2.15  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: postgresql "init script" for postgres 9.2.15  (Adrian Klaver <adrian.klaver@aklaver.com>)
Список pgsql-general


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.


Steve

steve.langlois@tavve.com


From: Adrian Klaver <adrian.klaver@aklaver.com>
Sent: Wednesday, July 13, 2016 5:11:24 PM
To: Steve Langlois; pgsql-general@postgresql.org
Subject: Re: [GENERAL] postgresql "init script" for postgres 9.2.15
 
On 07/13/2016 01:56 PM, Steve Langlois wrote:
>
> Hi, I've been searching for a 9.2.15 version of the postgresql script
> for "init script for starting up the PostgreSQL". I have managed to find
> older versions than what we are currently using, 8.2.5 but haven't had
> any luck finding a new version in the postgres 9.2.15 rpms. We are
> moving from CentOS 5 to CentOS 7 and need to update postgres from 8.2.5
> to 9.2.15.
>
> Below is the version I have. Where can I find a version of this script
> for 9.2.15? Thank you.

Given that it is Centos 7 they have moved to systemd:

https://wiki.postgresql.org/wiki/YUM_Installation#Startup


--
Adrian Klaver
adrian.klaver@aklaver.com

В списке pgsql-general по дате отправления:

Предыдущее
От: John R Pierce
Дата:
Сообщение: Re: pg_restore out of memory
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: postgresql "init script" for postgres 9.2.15