| От | David Johnston |
|---|---|
| Тема | Re: Dynamic insert into ARRAY? plpgsql |
| Дата | |
| Msg-id | 1391905316538-5791110.post@n5.nabble.com обсуждение исходный текст |
| Ответ на | Re: Dynamic insert into ARRAY? plpgsql (George Ant <g.antonopoulos000@gmail.com>) |
| Список | pgsql-general |
George Ant wrote > Thank you for your Response! > > Inserting a sub-select into the array seems to be the solution that I > want, but it gives me this error--> subquery must return only one column > > Any help? > > Kind Regards, > George Ant In both cases you want to be storing a single composite type column. So your sub-select has to use row(...)::composite_type in the select. Just like your original query did. David J. -- View this message in context: http://postgresql.1045698.n5.nabble.com/Dynamic-insert-into-ARRAY-plpgsql-tp5791090p5791110.html Sent from the PostgreSQL - general mailing list archive at Nabble.com.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера