Re: [HACKERS] text patch -- sugg cmd when run as root - Mailing list pgsql-hackers

From dg@illustra.com (David Gould)
Subject Re: [HACKERS] text patch -- sugg cmd when run as root
Date
Msg-id 9804301823.AA25310@hawk.illustra.com
Whole thread Raw
In response to Re: [HACKERS] text patch -- sugg cmd when run as root  ("Pedro J. Lobo" <pjlobo@euitt.upm.es>)
List pgsql-hackers
Pedro:
> IMHO, the startup script should be written for plain sh (best) or plain
> csh, because those are the shells that are guaranteed to exist on any Un*x
> system. And, it doesn't matter which shell you are using (bash, tcsh, ksh,
> zsh or whatever), simply put "#!/bin/sh" or "#!/bin/csh" as the first line
> on the script, and you're done.

I don't have csh on some of my systems. I think the only safe choice is
plain sh.
-dg

pgsql-hackers by date:

Previous
From: Phil Thompson
Date:
Subject: Re: [HACKERS] Revised proposal for libpq and FE/BE protocol changes
Next
From: Phil Thompson
Date:
Subject: Re: [HACKERS] Revised proposal for libpq and FE/BE protocol changes