On Wed, 28 Nov 2001, Bruce Momjian wrote:
> > Bruce Momjian <pgman@candle.pha.pa.us> writes:
> >
> > > OK, new text is:
> > >
> > > <envar>PGPASSWORD</envar>
> > > sets the password used if the backend demands password
> > > authentication. This is not recommended because the password can
> > > be read by others using <command>ps -e</command>.
> >
> > Just a nit--the 'e' option is for Berkeley-style ps (/usr/ucb/ps on
> > Solaris). SysV ps doesn't have an equivalent from what I can see,
> > (though I may have missed it) and '-e' does something totally
> > different.
>
> Yes, I debated that one. I wanted to mention the environment issue
> without being verbose. I believe 'ps e', without the dash, does show
> environment, doesn't it?
Some OSs, I know AIX for example, use SysV options if you have a dash, and
BSD options if you don't. So ps -e does the SysV -e option, while ps e
does the BSD -e option.
Take care,
Bill