pg_encoding doesn't reject invalid input (like 'pg_encoding foo'). I think it should exit with a non-zero status.
-- Peter Eisentraut [EMAIL PROTECTED] ---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster