Re: [HACKERS] Command-line parsing in pg_ctl is not portable

2004-10-25 Thread Bruce Momjian
Peter Eisentraut wrote: > The command-line argument parsing in pg_ctl is not portable. This is the > output on a glibc system: > > $ pg_ctl start stop > pg_ctl: too many command-line arguments (first is "start") > > But: > > $ POSIXLY_CORRECT=1 pg_ctl start stop > pg_ctl: too many command-line

[HACKERS] Command-line parsing in pg_ctl is not portable

2004-10-19 Thread Peter Eisentraut
The command-line argument parsing in pg_ctl is not portable. This is the output on a glibc system: $ pg_ctl start stop pg_ctl: too many command-line arguments (first is "start") But: $ POSIXLY_CORRECT=1 pg_ctl start stop pg_ctl: too many command-line arguments (first is "stop") This is probab