pg_encoding doesn't reject invalid input

Started by Peter Eisentrautabout 23 years ago3 messages
#1Peter Eisentraut
peter_e@gmx.net

pg_encoding doesn't reject invalid input (like 'pg_encoding foo'). I
think it should exit with a non-zero status.

--
Peter Eisentraut peter_e@gmx.net

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Peter Eisentraut (#1)
Re: pg_encoding doesn't reject invalid input

Peter Eisentraut <peter_e@gmx.net> writes:

pg_encoding doesn't reject invalid input (like 'pg_encoding foo'). I
think it should exit with a non-zero status.

Seems reasonable to me ... shouldn't it complain on stderr as well?

regards, tom lane

#3Tatsuo Ishii
t-ishii@sra.co.jp
In reply to: Peter Eisentraut (#1)
Re: pg_encoding doesn't reject invalid input

pg_encoding doesn't reject invalid input (like 'pg_encoding foo'). I
think it should exit with a non-zero status.

Fixed.
--
Tatsuo Ishii