| From: | Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr> |
|---|---|
| To: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
| Cc: | Daniel Verite <daniel(at)manitou-mail(dot)org>, David Steele <david(at)pgmasters(dot)net>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Re: csv format for psql |
| Date: | 2018-03-22 17:38:39 |
| Message-ID: | alpine.DEB.2.20.1803221833210.22230@lancre |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Robert Haas | 2018-03-22 17:51:26 | Re: TOAST table created for partitioned tables |
| Previous Message | Robert Haas | 2018-03-22 17:36:59 | Re: Typo with pg_multixact/offset in multixact.c |