Re: Allow COPY to use parameters

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Allow COPY to use parameters
Дата
Msg-id 6771.1464113800@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Allow COPY to use parameters  (David Fetter <david@fetter.org>)
Ответы Re: Allow COPY to use parameters
Список pgsql-hackers
David Fetter <david@fetter.org> writes:
> Per discussion on IRC and some test code, COPY can't take parameters
> in a PREPARE, which feature would make it even more useful.

Uh, what?

regression=# prepare foo as copy c from stdin;
ERROR:  syntax error at or near "copy"
LINE 1: prepare foo as copy c from stdin;                      ^

Passing parameters into a utility statement of any stripe is a pretty
considerable project, IIRC; the infrastructure isn't there.
        regards, tom lane



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