| От | Richard Huxton |
|---|---|
| Тема | Re: Return Value of a Function |
| Дата | |
| Msg-id | 200402021536.00027.dev@archonet.com обсуждение исходный текст |
| Ответ на | Return Value of a Function (Terry Lee Tucker <terry@esc1.com>) |
| Ответы |
Re: Return Value of a Function
|
| Список | pgsql-general |
On Monday 02 February 2004 14:36, Terry Lee Tucker wrote: > > I may have several other things wrong with this function, so my real > question is, "Can I return a value of type RECORD?" Yes, but you can't necessarily do anything with it (unless you're calling it from another function). You could return a SETOF myrowtype where the set contains only one row - that's probably what you're after. Then you can do things like: SELECT * FROM set_returning_function(1,'a'); -- Richard Huxton Archonet Ltd
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера