| От | Tom Lane |
|---|---|
| Тема | Re: Alias of VALUES RTE in explain plan |
| Дата | |
| Msg-id | 3811251.1730059657@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Alias of VALUES RTE in explain plan (Yasir <yasir.hussain.shah@gmail.com>) |
| Ответы |
Re: Alias of VALUES RTE in explain plan
|
| Список | pgsql-hackers |
Yasir <yasir.hussain.shah@gmail.com> writes:
> On Sat, Oct 26, 2024 at 12:21 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> I forgot to mention a third problem, which is that reassigning the
>> alias during subquery pullup means it doesn't happen if subquery
>> pullup doesn't happen.
> Yes, that is by design.
By design? How can you claim that's not a bug? The alias(es)
associated with a VALUES clause surely should not vary depending
on whether the clause includes a volatile function --- not to
mention other unobvious reasons for flattening to happen or not.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера