Re: Values list-of-targetlists patch for comments (was Re:
В списке pgsql-patches по дате отправления:
| От | Joe Conway |
|---|---|
| Тема | Re: Values list-of-targetlists patch for comments (was Re: |
| Дата | |
| Msg-id | 44C53A15.9030509@joeconway.com обсуждение исходный текст |
| Ответ на | Re: Values list-of-targetlists patch for comments (was Re: [HACKERS] 8.2 features?) (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-patches |
Tom Lane wrote: > ISTM that this should be represented using an RTE_SUBQUERY node in the > outer query; the alias attaches to that node, not to the VALUES itself. > So I don't think you need that alias field in the jointree entry either. > > If we stick with the plan of representing VALUES as if it were SELECT * > FROM (valuesnode), then this approach would make the second query above > have a structure like > > Query > .rtable -> RTE_SUBQUERY > .subquery -> Query > .jointree -> Values > > (leaving out a ton of detail of course, but those are the key nodes). > OK, I'll go try to wrap my mind around that this evening and see where it takes me. Thanks, Joe
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера