| От | Richard Huxton |
|---|---|
| Тема | Re: Problem with return type of function ??? |
| Дата | |
| Msg-id | 4AE06221.5040403@archonet.com обсуждение исходный текст |
| Ответ на | Re: Problem with return type of function ??? (Denis BUCHER <dbucherml@hsolutions.ch>) |
| Ответы |
Re: Problem with return type of function ???
|
| Список | pgsql-sql |
Denis BUCHER wrote: > I saw somwhere it could be the order of the fields ? Not if you are doing "SELECT * FROM". Create an empty test database and a short script to create the table and function, insert a couple of rows then call the function. If you wrap the whole thing in BEGIN ... ROLLBACK we can change things until we see the problem. The other thing you could try is printing out row before returning it: RAISE NOTICE 'row = %', row; RETURN NEXT ROW; It might be you've not got what you were expecting. -- Richard Huxton Archonet Ltd
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера