Re: function language type?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: function language type?
Дата
Msg-id 12339.964646956@sss.pgh.pa.us
обсуждение исходный текст
Ответ на function language type?  (Ian Turner <vectro@pipeline.com>)
Список pgsql-general
Ian Turner <iant@mail.brainstorm.net> writes:
> Looking at the source, I see the following parsenodes which are NOT
> supported by copyObject:

Uh, what version of the source are you looking at?  Quite a few of
those *are* supported.

> Which of these is it worth supporting? I will implement the necessary
> _copy<type> functions.

The missing stuff is basically the 600-series node types; any XXXStmt
node that you want to be able to use in a plpgsql function needs to be
copiable.  If you want to support CREATE TABLE you will likely find that
some more of the 700-series nodes are also needed for CREATE TABLE
infrastructure.

It is not worth your trouble to do this unless you are working from
current sources (CVS or a recent daily snapshot)...

            regards, tom lane

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

Предыдущее
От: "Timothy H. Keitt"
Дата:
Сообщение: Re: adding column constraint
Следующее
От: mikeo
Дата:
Сообщение: Re: adding column constraint