Re: psql --csv and other parameters

Поиск
Список
Период
Сортировка
От Daniel Verite
Тема Re: psql --csv and other parameters
Дата
Msg-id b8b32f32-276f-4efc-90ca-9e1e4b99ae82@manitou-mail.org
обсуждение исходный текст
Ответ на psql --csv and other parameters  (Erik Rijkers <er@xs4all.nl>)
Ответы Re: psql --csv and other parameters  (Michael Paquier <michael@paquier.xyz>)
Список pgsql-hackers
    Erik Rijkers wrote:

> I don't know if this really is a bug but it seems wrong to me:
>
> psql -A --csv -Xc "select * from pg_namespace order by 1"
>
> gives a difference result than
>
> psql --csv -A -Xc "select * from pg_namespace order by 1"

-A and --csv each select an output format, and since
there can be only one output format active, they are
mutually exclusive.

When options conflict, the rightmost on the command line wins,
so -A --cvs is the same as --csv, and --csv -A is the same as -A


Best regards,
--
Daniel Vérité
PostgreSQL-powered mailer: http://www.manitou-mail.org
Twitter: @DanielVerite


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: VOPS-2.0
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: New function pg_stat_statements_reset_query() to resetstatistics of a specific query