Re: Patch to bring \copy syntax more in line with SQL
| От | Neil Conway |
|---|---|
| Тема | Re: Patch to bring \copy syntax more in line with SQL |
| Дата | |
| Msg-id | 87k73mi4dh.fsf@mailbox.samurai.com обсуждение исходный текст |
| Ответ на | Patch to bring \copy syntax more in line with SQL copy (Bill Moran <wmoran@potentialtech.com>) |
| Ответы |
Re: Patch to bring \copy syntax more in line with SQL copy
|
| Список | pgsql-patches |
A few quick comments: - don't use C++-style comments - please update the documentation - update the comment at the top of copy.c Bill Moran <wmoran@potentialtech.com> writes: > Ideally, this should cover all cases of old and new syntax, except > where "AS" is present. ISTM it would be easy to allow for an optional 'AS' token following the 'DELIMITER[S]' token. > The only drawback I can see is that \copy is now more liberal in > what it accepts, and may accept incomplete statements without > issuing an error (i.e. a WITH or USING clause at the end of a \copy > statement will simply be ignored, and no error generated) Why can't you check for this? -Neil
В списке pgsql-patches по дате отправления: