Re: Subquery in a JOIN not getting restricted?
От
Kevin Grittner
Тема
Re: Subquery in a JOIN not getting restricted?
Дата
Msg-id
4EBA8C100200002500042C23@gw.wicourts.gov
Ответ на
Re: Subquery in a JOIN not getting restricted? (Merlin Moncure)
Список
Дерево обсуждения
Subquery in a JOIN not getting restricted? Jay Levitt <jay.levitt@gmail.com>
Re: Subquery in a JOIN not getting restricted? Tom Lane <tgl@sss.pgh.pa.us>
Re: Subquery in a JOIN not getting restricted? "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Subquery in a JOIN not getting restricted? "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Subquery in a JOIN not getting restricted? Jay Levitt <jay.levitt@gmail.com>
Re: Subquery in a JOIN not getting restricted? Jay Levitt <jay.levitt@gmail.com>
Re: Subquery in a JOIN not getting restricted? "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Subquery in a JOIN not getting restricted? Jay Levitt <jay.levitt@gmail.com>
Re: Subquery in a JOIN not getting restricted? Gavin Flower <GavinFlower@archidevsys.co.nz>
Re: Subquery in a JOIN not getting restricted? Merlin Moncure <mmoncure@gmail.com>
Re: Subquery in a JOIN not getting restricted? "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Subquery in a JOIN not getting restricted? Jay Levitt <jay.levitt@gmail.com>
Re: Subquery in a JOIN not getting restricted? Tom Lane <tgl@sss.pgh.pa.us>
Re: Subquery in a JOIN not getting restricted? Jay Levitt <jay.levitt@gmail.com>
Re: Subquery in a JOIN not getting restricted? Jay Levitt <jay.levitt@gmail.com>
Merlin Moncure wrote: > Well, this may not fit the OP's 'real' query Right, if I recall correctly, the OP said it was simplified down as far as it could be and still have the issue show. > but the inner subquery is probably better written as a semi-join > (WHERE EXISTS). Well, that doesn't mean that we shouldn't try to optimize perfectly valid alternative spellings. Having each logically equivalent way to write a query generate a different plan is far worse than hints that are more clearly written. ;-) -Kevin
В списке pgsql-performance по дате отправления