Обсуждение: pg_encoding doesn't reject invalid input

Поиск
Список
Период
Сортировка

pg_encoding doesn't reject invalid input

От
Peter Eisentraut
Дата:
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



Re: pg_encoding doesn't reject invalid input

От
Tom Lane
Дата:
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


Re: pg_encoding doesn't reject invalid input

От
Tatsuo Ishii
Дата:
> pg_encoding doesn't reject invalid input (like 'pg_encoding foo').  I
> think it should exit with a non-zero status.

Fixed.
--
Tatsuo Ishii