Peter Eisentraut <peter_e(at)gmx(dot)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