| От | Tom Lane |
|---|---|
| Тема | Re: Recursive query syntax ambiguity |
| Дата | |
| Msg-id | 446.1170692638@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: Recursive query syntax ambiguity (Martijn van Oosterhout <kleptog@svana.org>) |
| Список | pgsql-hackers |
Martijn van Oosterhout <kleptog@svana.org> writes:
> However, I don't know it matters. You only need to cost the plan if
> there are alternate paths and given the plan structure is strongly
> constrained, I'm not sure how much it matters.
It does, since the whole thing could be a subquery, in which case there
could be options available at the outer level. I doubt we'll be able to
be really smart, but that doesn't mean we can just punt.
> In the case of read-committed mode, will two seq-scans always
> return the same result?
They definitely should, since we'll be using the same snapshot
throughout the query.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера