From: Bruce Momjian <bruce@momjian.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Noah Misch <noah@leadboat.com>
Cc: Svante Richter <pgsql-bugs@richter.id>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: COPY TO CSV produces data that is incompatible/unsafe for \COPY FROM CSV
Date: Fri, 3 Nov 2023 13:58:21 -0400
Message-ID: <ZUU0vU0OS4XFpnOV@momjian.us> (raw)
In-Reply-To: <ZT0q_djqSO3d6MQU@momjian.us>
References: <bfcd57e4-8f23-4c3e-a5db-2571d09208e2@beta.fastmail.com>
<20220814070053.GA92855@rfd.leadboat.com>
<624693.1660486135@sss.pgh.pa.us>
<Yvu3N9Dn4iA5+8Up@momjian.us>
<ZT0q_djqSO3d6MQU@momjian.us>
On Sat, Oct 28, 2023 at 11:38:37AM -0400, Bruce Momjian wrote:
> On Tue, Aug 16, 2022 at 11:26:47AM -0400, Bruce Momjian wrote:
> > I think at this point we should either fix this or document it.
>
> I have decided to document this with the attached patch. I plan to
> apply it to all supported Postgres versions. If we ever fix FROM file
> so only FROM STDIN is a problem, we can update the documentation.
Patch applied to all supported versions.
--
Bruce Momjian <bruce@momjian.us> https://momjian.us
EDB https://enterprisedb.com
Only you can decide what is important to you.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: bruce@momjian.us, tgl@sss.pgh.pa.us, noah@leadboat.com, pgsql-bugs@richter.id, pgsql-bugs@lists.postgresql.org
Subject: Re: COPY TO CSV produces data that is incompatible/unsafe for \COPY FROM CSV
In-Reply-To: <ZUU0vU0OS4XFpnOV@momjian.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox