Re: BUG #6213: COPY does not work as expected in a plpgsql function

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #6213: COPY does not work as expected in a plpgsql function
Дата
Msg-id 5875.1317047583@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG #6213: COPY does not work as expected in a plpgsql function  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-bugs
Robert Haas <robertmhaas@gmail.com> writes:
> It would actually be nice if worked even without that, but I'm not
> sure what would be involved in making that happen.

I've been too busy to look at this in detail, but I imagine the issue is
failure to pass parameters down from the ProcessUtility call to COPY
into the parsing/execution of the sub-SELECT.  It might be relatively
straightforward to fix, or then again it might not.  The parsing end of
it could quite likely be harder than the execution end.  We've
surmounted similar issues in places like EXPLAIN, though.

            regards, tom lane

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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: BUG #6213: COPY does not work as expected in a plpgsql function
Следующее
От: "Daniel Cristian Cruz"
Дата:
Сообщение: BUG #6225: Child table with a missing parent key which no exists in a complex trigger/cascade schema