Re: "COPY foo FROM STDOUT" and ecpg

Поиск
Список
Период
Сортировка
От Michael Meskes
Тема Re: "COPY foo FROM STDOUT" and ecpg
Дата
Msg-id 20130226165821.GA25922@feivel.credativ.lan
обсуждение исходный текст
Ответ на "COPY foo FROM STDOUT" and ecpg  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Ответы Re: "COPY foo FROM STDOUT" and ecpg  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Список pgsql-hackers
On Tue, Feb 26, 2013 at 05:13:38PM +0200, Heikki Linnakangas wrote:
> COPY foo FROM STDOUT
> COPY foo TO STDIN

Does this make sense?

> 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.

Michael
--
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
Jabber: michael.meskes at gmail dot com
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: "COPY foo FROM STDOUT" and ecpg
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: pg_xlogdump