| От | Steve Manes |
|---|---|
| Тема | Re: composite types |
| Дата | |
| Msg-id | 4085541A.3010004@magpie.com обсуждение исходный текст |
| Ответ на | composite types (Ivan Sergio Borgonovo <mail@webthatworks.it>) |
| Список | pgsql-general |
Ivan Sergio Borgonovo wrote: > I've found this > http://archives.postgresql.org/pgsql-general/2001-03/msg01459.php > but I'd like to avoid to declare a table just for a temp. > > pseudocode follow > > declare struct pippo( > integer a; > varchar(8) b; > ) > > create or replace function functiontest( ) returns pippo > as ' > declare > integer tempa; > varchar(8) tempb; > I think you might want to look at SRFs (Set Returning Functions). Here are a couple of links: http://techdocs.postgresql.org/guides/SetReturningFunctions http://www.varlena.com/varlena/GeneralBits/26.html
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера