Re: %ROWTYPE as PL/pgsql argument

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: %ROWTYPE as PL/pgsql argument
Дата
Msg-id 24791.1017760922@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: %ROWTYPE as PL/pgsql argument  (Jan Wieck <janwieck@yahoo.com>)
Ответы Re: %ROWTYPE as PL/pgsql argument  (Jan Wieck <janwieck@yahoo.com>)
Список pgsql-general
Jan Wieck <janwieck@yahoo.com> writes:
>     At  the  time  beeing  you  can't  do that with PL/pgSQL. The
>     language can receive rows as parameters, but it cannot  build
>     those rows and pass them down to called functions.

Hmm, doesn't it work to do

    declare var some-row-type;

    select x, y, z into var;

    select otherfunc(var);

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Core dump on PG 7.1.3
Следующее
От: Tom Lane
Дата:
Сообщение: Re: v7.2.1 Released: Critical Bug Fix