Re: PL/Ruby, INOUT parameters / SETOF record

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PL/Ruby, INOUT parameters / SETOF record
Дата
Msg-id 19110.1146069850@sss.pgh.pa.us
обсуждение исходный текст
Ответ на PL/Ruby, INOUT parameters / SETOF record  ("Philippe Lang" <philippe.lang@attiksystem.ch>)
Список pgsql-general
"Philippe Lang" <philippe.lang@attiksystem.ch> writes:
> CREATE FUNCTION perl_test(a inout integer, b inout integer, r1 out integer,
> r2 out integer) SETOF record AS

> How would you translate that in PL/Ruby?

I think you wouldn't :-( --- AFAICT from the documentation, plruby
doesn't know about OUT parameters yet.  You'll need to make an
explicitly declared composite type for the result rows, instead.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Problem with complex outer join expression
Следующее
От: alexandre - aldeia digital
Дата:
Сообщение: pg_dump -t <> pg_restore -t