minor init script fix

From: "Tucker, James" <jtucker(at)tnsi(dot)com>
To: <pgsql-patches(at)postgresql(dot)org>
Subject: minor init script fix
Date: 2008-03-14 06:20:18
Message-ID: 9353E087C4E0FA4FA641E5EB6511FF1C5D94C2@tns-mail-brisbn.win2k.corp.tnsi.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Good Afternoon,

I almost feel embarrassed submitting this however figured I may as well.
It's just a fix to the status option of the init script shipped in the
rpm version (8.2.6 RHEL5). Hopefully it's ok to submit it directly to
this list, apologies if not.

The status option of the init script doesn't work on a per postmaster
basis, it simply tests that a postmaster process is running. So if one
is running multiple postmasters configured via /etc/sysconfig/pgsql/xxx
files, it can cause confusion (or bigger issues if combined with
something like redhat cluster suite). The fix simply tests for the
specific postmaster process. Thanks.

<<postgresql.init.status_fix.diff>>

Kind regards,
James Tucker | Systems Engineer - Australia | Transaction Network
Services*
Level 21, 300 Adelaide Street | Brisbane QLD 4000 | Australia
Office +61.7.3224.9834 | Fax +61.7.3224.1785 | Mobile +61.418.288.424
e-mail jtucker(at)tnsi(dot)com <mailto:example(at)tnsi(dot)com> | http://www.tnsi.com

* Dialect Payment Technologies has been acquired by Transaction Network
Services in 2007 and are in the process of integrating with the new
parent company. Dialect staff can still be reached on their former
@dialectpayments.com e-mail addresses but these will be phased out
gradually, please update your address book with the appropriate tnsi.com
e-mail address you received this e-mail from. For additional
information please visit the TNS website listed above.

Attachment Content-Type Size
postgresql.init.status_fix.diff application/octet-stream 258 bytes

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Enrico Sirola 2008-03-14 09:04:01 pgbench not setting scale size correctly?
Previous Message ITAGAKI Takahiro 2008-03-14 05:34:49 Re: Suppress compiler warnings on mingw