Re: Re: csv format for psql

Поиск
Список
Период
Сортировка
От Fabien COELHO
Тема Re: Re: csv format for psql
Дата
Msg-id alpine.DEB.2.20.1803221833210.22230@lancre
обсуждение исходный текст
Ответ на Re: Re: csv format for psql  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: Re: csv format for psql  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers
Hello Pavel,

> Using \pset format csv means overwriting field sep every time - nobody uses
> |

Yep. The alternative is to have a csv-specific separator variable, which 
does not seem very useful, must be remembered, but this is indeed 
debatable.

> I think so dependency on order of psql arguments is significant problem

This is intentional, and this issue/feature already exists, the last 
argument overwrite previous settings thus will win, eg:

   psql --pset=format=troff --html -c 'SELECT 1'

Will output in html, not in troff.

-- 
Fabien.


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Typo with pg_multixact/offset in multixact.c
Следующее
От: Robert Haas
Дата:
Сообщение: Re: TOAST table created for partitioned tables