Re: minor init script fix - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: minor init script fix
Date
Msg-id 200803141451.m2EEpE217298@momjian.us
Whole thread Raw
In response to minor init script fix  ("Tucker, James" <jtucker@tnsi.com>)
Responses Re: minor init script fix  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
Uh, I don't think we control that file --- the patch has to be submitted
to the RHEL5 team, I think.

---------------------------------------------------------------------------

Tucker, James wrote:
> 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@tnsi.com <mailto:example@tnsi.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.
>
>

Content-Description: postgresql.init.status_fix.diff

[ Attachment, skipping... ]

>
> --
> Sent via pgsql-patches mailing list (pgsql-patches@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-patches

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://postgres.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

pgsql-patches by date:

Previous
From: "Dave Page"
Date:
Subject: Re: DTrace probe patch for OS X Leopard
Next
From: Tom Lane
Date:
Subject: Re: minor init script fix