Re: BUG #7596: Problem with /etc/init.d/postgresql.9.x file - Mailing list pgsql-bugs

From Ashesh Vashi
Subject Re: BUG #7596: Problem with /etc/init.d/postgresql.9.x file
Date
Msg-id CAG7mmowVVHR0hgo7+VPSLqjK1xMVhA657voMHcHDxEzM+dZgqg@mail.gmail.com
Whole thread Raw
In response to BUG #7596: Problem with /etc/init.d/postgresql.9.x file  (david.peyrieres@meteo.fr)
Responses Re: BUG #7596: Problem with /etc/init.d/postgresql.9.x file  ("david.peyrieres" <david.peyrieres@meteo.fr>)
List pgsql-bugs
On Thu, Oct 11, 2012 at 2:59 PM, <david.peyrieres@meteo.fr> wrote:

> The following bug has been logged on the website:
>
> Bug reference:      7596
> Logged by:          David PEYRIERES
> Email address:      david.peyrieres@meteo.fr
> PostgreSQL version: 9.1.4
> Operating system:   Red Hat
> Description:
>
Hi David,

How did you install postgresql?

--

Thanks & Regards,
Ashesh Vashi

>
> Hello.
> I found a little bug in /etc/init.d/postgresql-9.x file (ok in 8.4 - since
> 9.x versions ?).
> In my case, I've 5 databases on same server. Each database is start/stop
> with this file 'service postgresql9.x start'.
> Unfortunately, it uses only same file for status "pidfile:
> /var/run/postmaster-9.2.pid".
> In my case and with this configuration, I have only one file for all
> databases.
> So, I've modified this file on all servers :
>
> 1 - pidfile="/var/run/${NAME}.pid
>
> 2 - and case test :
> ....
> case "$1" in
>   ....
>  status)
>    status -p /var/run/postmaster-9.1.pid
> by
>    status -p $pidfile
>
>
>
> Thanks for all.
>
>
>
>
>
>
> --
> Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-bugs
>

pgsql-bugs by date:

Previous
From: david.peyrieres@meteo.fr
Date:
Subject: BUG #7596: Problem with /etc/init.d/postgresql.9.x file
Next
From: bo@budget123.dk
Date:
Subject: BUG #7597: exception 0xC0000005