RE: BUG #15535: psql: \copy: parse error at...
От | Voillequin, Jean-Marc |
---|---|
Тема | RE: BUG #15535: psql: \copy: parse error at... |
Дата | |
Msg-id | 1EC8157EB499BF459A516ADCF135ADCE3A006FE3@LON-WGMSX712.ad.moodys.net обсуждение исходный текст |
Ответ на | Re: BUG #15535: psql: \copy: parse error at... ("David G. Johnston" <david.g.johnston@gmail.com>) |
Ответы |
Re: BUG #15535: psql: \copy: parse error at...
|
Список | pgsql-bugs |
Hello,
You’re right David, but:
SIMPLE=> \copy (select * from /*comment*/ pg_tables) to 'test';
COPY 76
SIMPLE=> \copy (select * from /*comment with a closing parenthesis)*/ pg_tables) to 'test';
\copy: parse error at "*/"
Only comments without parenthesis are supported?
Regards
From: David G. Johnston [mailto:david.g.johnston@gmail.com]
Sent: Wednesday, December 05, 2018 1:31 PM
To: Voillequin, Jean-Marc <Jean-Marc.Voillequin@moodys.com>; pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15535: psql: \copy: parse error at...
CAUTION: This email originated from outside of Moody's. Do not click links or open attachments unless you recognize the sender and know the content is safe.
On Wednesday, December 5, 2018, PG Bug reporting form <noreply@postgresql.org> wrote:
The following bug has been logged on the website:
Bug reference: 15535
Logged by: jean-marc voillequin
Email address: jean-marc.voillequin@moodys.com
PostgreSQL version: 10.3
Operating system: windows 7
Description:
When I run the following copy command under psql:
\copy pg_tables /*(*/ to 'test';
I get:
\copy: parse error at "/*"
The comment /*(*/ is not ignored.
Where does it say that it should be?
David J.
This email was sent to you by Moody’s Investors Service EMEA Limited
Registered office address:
One Canada Square
Canary Wharf
London, E14 5FA
Registered in England and Wales No: 8922701
В списке pgsql-bugs по дате отправления: