From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: stefan.goldener@theprosperity.company
Subject: BUG #17841: COPY Command Invalid QUOTES
Date: Tue, 14 Mar 2023 14:50:16 +0000
Message-ID: <17841-1910e7275380c7d1@postgresql.org> (raw)
The following bug has been logged on the website:
Bug reference: 17841
Logged by: Stefan Goldener
Email address: stefan.goldener@theprosperity.company
PostgreSQL version: 11.16
Operating system: x86_64-pc-linux-gnu
Description:
The COPY command doesn't quote properly e.g.:
COPY (SELECT *, CURRENT_DATE as partitiondate FROM {table}) TO STDOUT WITH
(DELIMITER '|', QUOTE '\"', FORCE_QUOTE *, FORMAT CSV, HEADER)
delivers:
faasdfagdf|"1234"||
as output
so the first column is not quoted properly
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: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, stefan.goldener@theprosperity.company
Subject: Re: BUG #17841: COPY Command Invalid QUOTES
In-Reply-To: <17841-1910e7275380c7d1@postgresql.org>
* 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