On 14 December 2011 10:40, Thomas Kellerer <spam_eater@gmx.net> wrote:
[...]
> You can use the options:
>
> \t
> \a
> \pset fieldsep ,
>
> to get a more "CSV" like output in psql.
I think it's worth mentioning that this is "CSV-like" and not actual
CSV. It that doesn't work if you have any commas in your data.
As you say you could set the field separator to something else.
--
Michael Wood <esiotrot@gmail.com>