| От | Josh Berkus |
|---|---|
| Тема | Re: syntax question |
| Дата | |
| Msg-id | 200302231507.23831.josh@agliodbs.com обсуждение |
| Ответ на | syntax question ("James Cooper" <jim@luckydigital.com>) |
| Ответы |
Re: syntax question
|
| Список | pgsql-sql |
James, > I understand this and my current example actually works. > My question is I dont need a loop as it only ever returns one row. This is a current limitation of PL/pgSQL. Until PL/pgSQL is improved by some enterprising soul, you cannot select the results of a query directly into a RECORD variable without a loop. For that matter, you will find that you cannot declare an array variable inside a PL/pgSQL procedure. This is also on the TODO list. -- Josh Berkus Aglio Database Solutions San Francisco
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера