From: | "Voillequin, Jean-Marc" <Jean-Marc(dot)Voillequin(at)moodys(dot)com> |
---|---|
To: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, "pgsql-bugs(at)lists(dot)postgresql(dot)org" <pgsql-bugs(at)lists(dot)postgresql(dot)org> |
Subject: | RE: BUG #15535: psql: \copy: parse error at... |
Date: | 2018-12-05 14:15:40 |
Message-ID: | 1EC8157EB499BF459A516ADCF135ADCE3A006FE3@LON-WGMSX712.ad.moodys.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(dot)g(dot)johnston(at)gmail(dot)com]
Sent: Wednesday, December 05, 2018 1:31 PM
To: Voillequin, Jean-Marc <Jean-Marc(dot)Voillequin(at)moodys(dot)com>; pgsql-bugs(at)lists(dot)postgresql(dot)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(at)postgresql(dot)org<mailto:noreply(at)postgresql(dot)org>> wrote:
The following bug has been logged on the website:
Bug reference: 15535
Logged by: jean-marc voillequin
Email address: jean-marc(dot)voillequin(at)moodys(dot)com<mailto:jean-marc(dot)voillequin(at)moodys(dot)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.
-----------------------------------------
Moody's monitors email communications through its networks for regulatory compliance purposes and to protect its customers, employees and business and where allowed to do so by applicable law. The information contained in this e-mail message, and any attachment thereto, is confidential and may not be disclosed without our express permission. If you are not the intended recipient or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that you have received this message in error and that any review, dissemination, distribution or copying of this message, or any attachment thereto, in whole or in part, is strictly prohibited. If you have received this message in error, please immediately notify us by telephone, fax or e-mail and delete the message and all of its attachments. Every effort is made to keep our network free from viruses. You should, however, review this e-mail message, as well as any attachment thereto, for viruses. We take no responsibility and have no liability for any computer virus which may be transferred via this e-mail message.
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
-----------------------------------------
From | Date | Subject | |
---|---|---|---|
Next Message | David G. Johnston | 2018-12-05 14:23:13 | Re: BUG #15535: psql: \copy: parse error at... |
Previous Message | David G. Johnston | 2018-12-05 14:12:30 | Re: BUG #15536: ERROR: column "value " does not exist |