| От | Merlin Moncure |
|---|---|
| Тема | Re: Function Column Expansion Causes Inserts To Fail |
| Дата | |
| Msg-id | BANLkTimkDy9vLPOzPY13_fdJme2YYSVugg@mail.gmail.com обсуждение |
| Ответ на | Re: Function Column Expansion Causes Inserts To Fail (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-general |
On Tue, May 31, 2011 at 5:01 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote: > Merlin Moncure <mmoncure@gmail.com> writes: >> I've never taken the time to really get my head around 'lateral' >> enough to say for sure if it provides clean workarounds for all the >> cases that get people into hot water. The case that used to get me a >> lot is (the unfortunately generally under utilized) custom aggregates. > >> problem: >> select bar_id, (some_agg(foo)).* from foo join bar ... group by bar_id; > > Hm, really? I'd expect that nodeAgg's attempts to collect identical > aggregate calls into one would keep you out of trouble there. That > hack unfortunately doesn't generalize to ordinary functions ... you appear to be right -- memory failing here. merlin
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера