Re: csv format for psql
От
Daniel Verite
Тема
Re: csv format for psql
Дата
Msg-id
98c04ff1-025e-4259-8bcd-9903bedac7f4@manitou-mail.org
Ответ на
Re: csv format for psql (Isaac Morland)
Список
Дерево обсуждения
csv format for psql "Daniel Verite" <daniel@manitou-mail.org>
Re: csv format for psql Fabien COELHO <coelho@cri.ensmp.fr>
Re: csv format for psql "Daniel Verite" <daniel@manitou-mail.org>
Re: csv format for psql Fabien COELHO <coelho@cri.ensmp.fr>
Re: csv format for psql "Daniel Verite" <daniel@manitou-mail.org>
Re: csv format for psql Fabien COELHO <coelho@cri.ensmp.fr>
Re: csv format for psql Pavel Stehule <pavel.stehule@gmail.com>
Re: csv format for psql Fabien COELHO <coelho@cri.ensmp.fr>
Re: csv format for psql David Fetter <david@fetter.org>
Re: csv format for psql "Daniel Verite" <daniel@manitou-mail.org>
Re: csv format for psql Fabien COELHO <coelho@cri.ensmp.fr>
Re: csv format for psql David Fetter <david@fetter.org>
Re: csv format for psql "Daniel Verite" <daniel@manitou-mail.org>
Re: csv format for psql Pavel Stehule <pavel.stehule@gmail.com>
Re: csv format for psql David Fetter <david@fetter.org>
Re: csv format for psql Pavel Stehule <pavel.stehule@gmail.com>
Re: csv format for psql Fabien COELHO <coelho@cri.ensmp.fr>
Re: csv format for psql Pavel Stehule <pavel.stehule@gmail.com>
Re: csv format for psql Pavel Stehule <pavel.stehule@gmail.com>
Re: csv format for psql Pavel Stehule <pavel.stehule@gmail.com>
Re: csv format for psql Pavel Stehule <pavel.stehule@gmail.com>
Re: csv format for psql "Daniel Verite" <daniel@manitou-mail.org>
Re: csv format for psql Fabien COELHO <coelho@cri.ensmp.fr>
Re: csv format for psql Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: csv format for psql Pavel Stehule <pavel.stehule@gmail.com>
Re: csv format for psql Fabien COELHO <coelho@cri.ensmp.fr>
Re: csv format for psql Pavel Stehule <pavel.stehule@gmail.com>
Re: csv format for psql "Daniel Verite" <daniel@manitou-mail.org>
Re: csv format for psql "Daniel Verite" <daniel@manitou-mail.org>
Re: csv format for psql Fabien COELHO <coelho@cri.ensmp.fr>
Re: Re: csv format for psql David Steele <david@pgmasters.net>
Re: Re: csv format for psql "Daniel Verite" <daniel@manitou-mail.org>
Re: Re: csv format for psql Fabien COELHO <fabien.coelho@mines-paristech.fr>
Re: Re: csv format for psql Pavel Stehule <pavel.stehule@gmail.com>
Re: Re: csv format for psql Fabien COELHO <coelho@cri.ensmp.fr>
Re: Re: csv format for psql Pavel Stehule <pavel.stehule@gmail.com>
Re: Re: csv format for psql Pavel Stehule <pavel.stehule@gmail.com>
Re: Re: csv format for psql Fabien COELHO <coelho@cri.ensmp.fr>
Re: Re: csv format for psql Pavel Stehule <pavel.stehule@gmail.com>
Re: Re: csv format for psql Fabien COELHO <coelho@cri.ensmp.fr>
Re: Re: csv format for psql Pavel Stehule <pavel.stehule@gmail.com>
Re: Re: csv format for psql Fabien COELHO <coelho@cri.ensmp.fr>
Re: Re: csv format for psql Pavel Stehule <pavel.stehule@gmail.com>
Re: Re: csv format for psql Fabien COELHO <coelho@cri.ensmp.fr>
Re: Re: csv format for psql Pavel Stehule <pavel.stehule@gmail.com>
Re: csv format for psql "David G. Johnston" <david.g.johnston@gmail.com>
Re: csv format for psql "Daniel Verite" <daniel@manitou-mail.org>
Re: csv format for psql "David G. Johnston" <david.g.johnston@gmail.com>
Re: csv format for psql "Daniel Verite" <daniel@manitou-mail.org>
Re: csv format for psql Pavel Stehule <pavel.stehule@gmail.com>
Re: csv format for psql "David G. Johnston" <david.g.johnston@gmail.com>
Re: csv format for psql "Daniel Verite" <daniel@manitou-mail.org>
Re: csv format for psql Fabien COELHO <coelho@cri.ensmp.fr>
Re: csv format for psql Isaac Morland <isaac.morland@gmail.com>
Re: csv format for psql "Daniel Verite" <daniel@manitou-mail.org>
Re: csv format for psql "Daniel Verite" <daniel@manitou-mail.org>
Re: csv format for psql Fabien COELHO <coelho@cri.ensmp.fr>
Re: csv format for psql Pavel Stehule <pavel.stehule@gmail.com>
Re: csv format for psql "Daniel Verite" <daniel@manitou-mail.org>
Re: csv format for psql Pavel Stehule <pavel.stehule@gmail.com>
Re: csv format for psql Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: csv format for psql "Jonathan S. Katz" <jkatz@postgresql.org>
Re: csv format for psql Pavel Stehule <pavel.stehule@gmail.com>
Re: csv format for psql "Jonathan S. Katz" <jkatz@postgresql.org>
Re: csv format for psql "Daniel Verite" <daniel@manitou-mail.org>
Re: csv format for psql Pavel Stehule <pavel.stehule@gmail.com>
Re: csv format for psql "David G. Johnston" <david.g.johnston@gmail.com>
Re: csv format for psql Pavel Stehule <pavel.stehule@gmail.com>
Re: csv format for psql Pavel Stehule <pavel.stehule@gmail.com>
Re: csv format for psql "Daniel Verite" <daniel@manitou-mail.org>
Re: csv format for psql Fabien COELHO <coelho@cri.ensmp.fr>
Re: csv format for psql "Daniel Verite" <daniel@manitou-mail.org>
Re: csv format for psql Fabien COELHO <coelho@cri.ensmp.fr>
Re: csv format for psql "Daniel Verite" <daniel@manitou-mail.org>
Re: csv format for psql Fabien COELHO <coelho@cri.ensmp.fr>
Re: csv format for psql Michael Paquier <michael@paquier.xyz>
Re: csv format for psql "Daniel Verite" <daniel@manitou-mail.org>
Re: csv format for psql Fabien COELHO <coelho@cri.ensmp.fr>
Re: csv format for psql Michael Paquier <michael@paquier.xyz>
Re: csv format for psql "Daniel Verite" <daniel@manitou-mail.org>
Re: csv format for psql Michael Paquier <michael@paquier.xyz>
Re: csv format for psql "Daniel Verite" <daniel@manitou-mail.org>
Re: csv format for psql Michael Paquier <michael@paquier.xyz>
Re: csv format for psql Michael Paquier <michael@paquier.xyz>
Re: csv format for psql "Daniel Verite" <daniel@manitou-mail.org>
Re: csv format for psql Michael Paquier <michael@paquier.xyz>
Re: csv format for psql "Daniel Verite" <daniel@manitou-mail.org>
Re: csv format for psql Michael Paquier <michael@paquier.xyz>
Re: csv format for psql Fabien COELHO <coelho@cri.ensmp.fr>
Re: csv format for psql Tom Lane <tgl@sss.pgh.pa.us>
Re: csv format for psql Andrew Gierth <andrew@tao11.riddles.org.uk>
Re: csv format for psql Pavel Stehule <pavel.stehule@gmail.com>
Re: csv format for psql Magnus Hagander <magnus@hagander.net>
Re: csv format for psql "Daniel Verite" <daniel@manitou-mail.org>
Re: csv format for psql Corey Huinker <corey.huinker@gmail.com>
Re: csv format for psql Tom Lane <tgl@sss.pgh.pa.us>
Re: csv format for psql Corey Huinker <corey.huinker@gmail.com>
Re: csv format for psql "David G. Johnston" <david.g.johnston@gmail.com>
Re: csv format for psql Tom Lane <tgl@sss.pgh.pa.us>
Re: csv format for psql "Daniel Verite" <daniel@manitou-mail.org>
Re: csv format for psql "Daniel Verite" <daniel@manitou-mail.org>
Re: csv format for psql Tom Lane <tgl@sss.pgh.pa.us>
Re: csv format for psql "Daniel Verite" <daniel@manitou-mail.org>
Re: csv format for psql Pavel Stehule <pavel.stehule@gmail.com>
Re: csv format for psql "David G. Johnston" <david.g.johnston@gmail.com>
Re: csv format for psql Pavel Stehule <pavel.stehule@gmail.com>
Re: csv format for psql "Daniel Verite" <daniel@manitou-mail.org>
Re: csv format for psql Pavel Stehule <pavel.stehule@gmail.com>
Re: csv format for psql Fabien COELHO <coelho@cri.ensmp.fr>
Re: csv format for psql Pavel Stehule <pavel.stehule@gmail.com>
Re: csv format for psql Gavin Flower <GavinFlower@archidevsys.co.nz>
Re: csv format for psql "David G. Johnston" <david.g.johnston@gmail.com>
Re: csv format for psql "David G. Johnston" <david.g.johnston@gmail.com>
Re: csv format for psql Pavel Stehule <pavel.stehule@gmail.com>
Re: Re: csv format for psql Pavel Stehule <pavel.stehule@gmail.com>
Re: Re: csv format for psql "Daniel Verite" <daniel@manitou-mail.org>
Re: Re: csv format for psql Pavel Stehule <pavel.stehule@gmail.com>
Re: Re: csv format for psql "Daniel Verite" <daniel@manitou-mail.org>
Re: Re: csv format for psql Pavel Stehule <pavel.stehule@gmail.com>
Re: csv format for psql "David G. Johnston" <david.g.johnston@gmail.com>
Re: csv format for psql "Joshua D. Drake" <jd@commandprompt.com>
Re: csv format for psql Isaac Morland <isaac.morland@gmail.com>
Re: csv format for psql "Daniel Verite" <daniel@manitou-mail.org>
Re: csv format for psql "David G. Johnston" <david.g.johnston@gmail.com>
Re: Re: csv format for psql Pavel Stehule <pavel.stehule@gmail.com>
Re: Re: csv format for psql Pavel Stehule <pavel.stehule@gmail.com>
Re: Re: csv format for psql Pavel Stehule <pavel.stehule@gmail.com>
Re: Re: csv format for psql Fabien COELHO <coelho@cri.ensmp.fr>
Re: Re: csv format for psql Pavel Stehule <pavel.stehule@gmail.com>
Re: Re: csv format for psql Pavel Stehule <pavel.stehule@gmail.com>
Re: Re: csv format for psql Pavel Stehule <pavel.stehule@gmail.com>
Re: Re: csv format for psql "Daniel Verite" <daniel@manitou-mail.org>
Re: Re: csv format for psql Pavel Stehule <pavel.stehule@gmail.com>
Re: csv format for psql "David G. Johnston" <david.g.johnston@gmail.com>
Re: csv format for psql "Daniel Verite" <daniel@manitou-mail.org>
Re: csv format for psql "David G. Johnston" <david.g.johnston@gmail.com>
Re: csv format for psql Fabien COELHO <coelho@cri.ensmp.fr>
Re: csv format for psql Pavel Stehule <pavel.stehule@gmail.com>
Re: csv format for psql Pavel Stehule <pavel.stehule@gmail.com>
Re: csv format for psql Pavel Stehule <pavel.stehule@gmail.com>
Re: csv format for psql "Daniel Verite" <daniel@manitou-mail.org>
Re: csv format for psql Pavel Stehule <pavel.stehule@gmail.com>
Re: csv format for psql "Daniel Verite" <daniel@manitou-mail.org>
Re: csv format for psql Pavel Stehule <pavel.stehule@gmail.com>
Re: csv format for psql Pavel Stehule <pavel.stehule@gmail.com>
Re: csv format for psql "Daniel Verite" <daniel@manitou-mail.org>
Re: csv format for psql Pavel Stehule <pavel.stehule@gmail.com>
Isaac Morland wrote: > OK, mostly trying to avoid commenting because I doubt I have much to add. > But. If I ask for CSV and don't specify any overrides, I expect to get > "C"omma separated values, not some other character. More specifically, if I > say --csv I expect to get files that are identical with what I would get if > I used COPY ... CSV. Actually, COPY ... CSV HEADER, given that psql shows > column headings. This also implies that I expect the quoting and related > details that are associated with CSV. Yes, this is what the current patch does. Only the first version used the same default delimiter as the unaligned mode, but nobody liked that part. As for the header, it's driven by how it's already done for other formats in psql, with the tuples_only setting, which implies that column names are output by default as you mention. Both settings must be changeable, the exact details of how/when is what's being discussed. The output might still differ compared to COPY in that line endings depend on the client-side OS. There's also the minor issue of a single \ by itself on a line, which gets quoted by COPY and not by psql. Best regards, -- Daniel Vérité PostgreSQL-powered mailer: http://www.manitou-mail.org Twitter: @DanielVerite
В списке pgsql-hackers по дате отправления