pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #5746: /etc/init.d/postgresql-9.0 status returns the wrong value
2+ messages / 2 participants
[nested] [flat]

* BUG #5746: /etc/init.d/postgresql-9.0 status returns the wrong value
@ 2010-11-10 15:13 Jeff Mace <jeff.mace@continuent.com>
  2010-11-11 02:05 ` Re: BUG #5746: /etc/init.d/postgresql-9.0 status returns the wrong value Devrim GÜNDÜZ <devrim@gunduz.org>
  0 siblings, 1 reply; 2+ messages in thread

From: Jeff Mace @ 2010-11-10 15:13 UTC (permalink / raw)
  To: pgsql-bugs


The following bug has been logged online:

Bug reference:      5746
Logged by:          Jeff Mace
Email address:      jeff.mace@continuent.com
PostgreSQL version: 9.0.1
Operating system:   CentOS
Description:        /etc/init.d/postgresql-9.0 status returns the wrong
value
Details: 

The following code change is required in the script to check for the proper
file.

status -p /var/run/postmaster-9.0.${PGPORT}pid

should be

status -p /var/run/postmaster-9.0.${PGPORT}.pid

A '.' is needed after ${PGPORT}.



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: BUG #5746: /etc/init.d/postgresql-9.0 status returns the wrong value
  2010-11-10 15:13 BUG #5746: /etc/init.d/postgresql-9.0 status returns the wrong value Jeff Mace <jeff.mace@continuent.com>
@ 2010-11-11 02:05 ` Devrim GÜNDÜZ <devrim@gunduz.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Devrim GÜNDÜZ @ 2010-11-11 02:05 UTC (permalink / raw)
  To: Jeff Mace <jeff.mace@continuent.com>; +Cc: pgsql-bugs

On Wed, 2010-11-10 at 15:13 +0000, Jeff Mace wrote:
> The following code change is required in the script to check for the
> proper file.
> 
> status -p /var/run/postmaster-9.0.${PGPORT}pid
> 
> should be
> 
> status -p /var/run/postmaster-9.0.${PGPORT}.pid
> 
> A '.' is needed after ${PGPORT}. 

Thanks for the report. I fixed it in SVN. I'll push updated packages
soon.

Regards,
-- 
Devrim GÜNDÜZ
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
PostgreSQL RPM Repository: http://yum.pgrpms.org
Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org  Twitter: http://twitter.com/devrimgunduz

Attachments:

  signature.asc (application/pgp-signature, 197B) download

^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2010-11-11 02:05 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2010-11-10 15:13 BUG #5746: /etc/init.d/postgresql-9.0 status returns the wrong value Jeff Mace <jeff.mace@continuent.com>
2010-11-11 02:05 ` Devrim GÜNDÜZ <devrim@gunduz.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox