| От | Stephan Szabo |
|---|---|
| Тема | Re: LOOping clobbering variable |
| Дата | |
| Msg-id | 20050101211354.A76126@megazone.bigpanda.com обсуждение исходный текст |
| Ответ на | LOOping clobbering variable ("K Anderson" <msmouse@kittymail.com>) |
| Список | pgsql-novice |
On Sat, 1 Jan 2005, K Anderson wrote: > The enclosed function returns a proper result only when the LOOP and its > enclosed functionality is removed from the function. Notice near the > return I have xml=xml||'</transaction>'; > > That should at the least return what ever is in xml with </transaction> > concatinated, or so I would hope. But it's empty. Is it possible that you're ending up with a NULL after the loop? NULL concatenated with anything is still NULL. If any of the various fields you're concatenating in could be NULL you'll need to guard against that.
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера