| От | Tom Lane |
|---|---|
| Тема | Re: POC: PLpgSQL FOREACH IN JSON ARRAY |
| Дата | |
| Msg-id | 4166.1773289811@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: POC: PLpgSQL FOREACH IN JSON ARRAY (Peter Eisentraut <peter@eisentraut.org>) |
| Ответы |
Re: POC: PLpgSQL FOREACH IN JSON ARRAY
|
| Список | pgsql-hackers |
Peter Eisentraut <peter@eisentraut.org> writes:
> Maybe this could be written in such a way that it doesn't hardcode JSON
> arrays specifically, but a type could have an iteration helper function
> that would feed this feature?
+1. ISTM that this feature would make sense for subscriptable types,
so one way to shoehorn it into the system without a lot of new overhead
could be to extend struct SubscriptRoutines to offer optional support
function(s) for iterating through all the elements of a subscriptable
object.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера