COPY statement cannot take binding parameters

Поиск
Список
Период
Сортировка
От Stephen R. van den Berg
Тема COPY statement cannot take binding parameters
Дата
Msg-id 20080902080752.GA24220@cuci.nl
обсуждение исходный текст
Ответы Re: COPY statement cannot take binding parameters
Список pgsql-hackers
Trying to parse and bind the following:
  COPY (SELECT $1::INT) TO STDOUT

gives a correct parsing-done, but then in the parameterdescription tells
me that there are no parameters.

Is this intended?
Is this a limitation of the COPY statement that will not change?
In that case, might I suggest the server generates an appropriate error
message when someone attempts to do this?
-- 
Sincerely,          Stephen R. van den Berg.
"Having a non-smoking section in a restaurant is likehaving a non-peeing section in a pool."


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

Предыдущее
От: "Pavel Stehule"
Дата:
Сообщение: Re: Is this really really as designed or defined in some standard
Следующее
От: Stefan Kaltenbrunner
Дата:
Сообщение: Re: Window functions patch v04 for the September commit fest