
Thanks a lot for your total and complete description of the process. (i
should have checked out the sprm first before asking).  I empathize with
what you said about packaging not being a simple task, i have been through
the agony.

About putting your stuff into the postgres tree, i believe it would be a
"good" thing other than bad to include it in pgsq. It can be put into the
contrib directory (because it isn't part of the "core" portable stuff). This
solution was done for the portable openssh cvs tree. not only redhat
packaging stuff was included, but the solaris pkg mechanism was also in
there (and i also believe there were some others). It usually isn't a lot of
files (ie. the spec file and maybe the initscript). Of course its up to the
gods of the pgsql tree what they want to do with it, so i'm just going to
raise this suggestion and shut up.

anyways, getting back to the what brought me to ask about this, can you add
the fixes to these two small problems in your initscripts?

1. `pidof` should be `pidof -s` (2 instances)
2. restart) should be stop; sleep x; start
ideally, stop should actually wait till postgres fully stops. The sleep is
just a temporary fix.

I have a more thorough email i sent earlier, i can resend it to you if you
want.

-rchit

Thu, 3 May 2001 19:31:43 -0700 
Rachit Siamwalla <rachit@ensim.com>
RE: Packaging 7.1.1
Rachit Siamwalla wrote:
> Thanks a lot for your total and complete description of the process. (i
> should have checked out the sprm first before asking).  I empathize with
> what you said about packaging not being a simple task, i have been through
> the agony.

Empathize is appropriate if you've been there.  But, it's better than
going six months to a year for a newer RPM -- the release lag was one
ofthe two triggers that caused me to go do this -- the other was the
upgrading issue.  I won't say any more about that right now --too tired.
 
> About putting your stuff into the postgres tree, i believe it would be a
> "good" thing other than bad to include it in pgsq. It can be put into the
> contrib directory (because it isn't part of the "core" portable stuff). This

We'll see what transpires.

> I have a more thorough email i sent earlier, i can resend it to you if you
> want.

Hmmm.. lessee... I have Bruce's reply, which includes your message in
its entirety, I think.  But, just to be safe, resend directly to me, and
add the [HACKERS] part to the subject (so it will go to the correct mail
folder, otherwise I might miss it).  I have a list of messages in an
'RPMS for 7.1' subfolder of my mail folder 'Postgres' that I work
through for each release.
--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11

Thu, 03 May 2001 23:28:42 -0400
Lamar Owen <lamar.owen@wgcr.org>
Re: Packaging 7.1.1
On Thu, 3 May 2001, Rachit Siamwalla wrote:

> 1. `pidof` should be `pidof -s` (2 instances)
> 2. restart) should be stop; sleep x; start
> ideally, stop should actually wait till postgres fully stops. The sleep is
> just a temporary fix.
> 
Perhaps a naive question, but why not use the pg_ctl for starting and
stopping?

It has a -w option to have it wait for the stop/start/restart to complete.

	-rocco


Fri, 4 May 2001 10:41:17 -0400 (EDT)
Rocco Altier <roccoa@routescape.com>
RE: Packaging 7.1.1