Re: "COPY foo FROM STDOUT" and ecpg
| От | Heikki Linnakangas |
|---|---|
| Тема | Re: "COPY foo FROM STDOUT" and ecpg |
| Дата | |
| Msg-id | 512CEFDC.2060200@vmware.com обсуждение исходный текст |
| Ответ на | Re: "COPY foo FROM STDOUT" and ecpg (Michael Meskes <meskes@postgresql.org>) |
| Ответы |
Re: "COPY foo FROM STDOUT" and ecpg
|
| Список | pgsql-hackers |
On 26.02.2013 18:58, Michael Meskes wrote: > On Tue, Feb 26, 2013 at 05:13:38PM +0200, Heikki Linnakangas wrote: >> Any particular reason for ecpg to check that, while the backend >> doesn't care? I think we should just remove those checks from the >> ecpg grammar. > > IIRC this check was added because the check for "COPY FROM STDIN" had to added > anyway. Since you left that one in, the patch is fine by me, although I still > don't see a reason for it. Just less code to maintain. And it's strange to forbid something in ecpg grammar that the backend accepts, as a matter of principle. - Heikki
В списке pgsql-hackers по дате отправления: