Re: using pl/pgsql

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: using pl/pgsql
Дата
Msg-id 200305090827.04764.josh@agliodbs.com
обсуждение исходный текст
Ответ на using pl/pgsql  (Antoine <asolomon15@nyc.rr.com>)
Список pgsql-novice
Antoine,

> Hello all I would like to create a pl/pgsql function that can handle a
> query that will work on different schemas.

Shouldn't be a problem if the function is set to run as the superuser.

> But I am not sure about the
> RECORD type and if I can return more then one row.   could PL/pgsql
> return more then 1 row from the database.

Starting with version 7.3.x, yes.  See:
http://techdocs.postgresql.org/guides/SetReturningFunctions

--
Josh Berkus
Aglio Database Solutions
San Francisco


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

Предыдущее
От: Dani Oderbolz
Дата:
Сообщение: Re: JOINS...
Следующее
От: Terence Ng
Дата:
Сообщение: Multilingual database