Re: Re: csv format for psql

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Fabien COELHO <coelho(at)cri(dot)ensmp(dot)fr>
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-24 08:07:47
Message-ID: CAFj8pRB_g2bSMeQyDyQOvHXB=LksQAOa7ORSGoq54aF8Orv-Yw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

minor fix
>

all is working now

[pavel(at)nemesis postgresql]$ psql --csv -F ';' -c "table foo" postgres
a;b;c
3;4;Nazdar
3;4;Nazdar
[pavel(at)nemesis postgresql]$ psql -F ';' --csv -c "table foo" postgres
a;b;c
3;4;Nazdar
3;4;Nazdar
[pavel(at)nemesis postgresql]$ psql --csv -c "table foo" postgres
a,b,c
3,4,Nazdar
3,4,Nazdar
[pavel(at)nemesis postgresql]$ psql -A -c "table foo" postgres
a|b|c
3|4|Nazdar
3|4|Nazdar
(2 rows)
[pavel(at)nemesis postgresql]$ psql -A -F , -c "table foo" postgres
a,b,c
3,4,Nazdar
3,4,Nazdar
(2 rows)

Regards

Pavel

>
> Regards
>
> Pavel
>
>
>>
>> Regards
>>
>> Pavel
>>
>>>
>>> --
>>> Fabien.
>>>
>>
>>
>

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2018-03-24 08:27:26 Re: Running Installcheck remotely
Previous Message Pavel Stehule 2018-03-24 08:05:29 Re: Re: csv format for psql