Re: Patch for removng unused targets

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: Patch for removng unused targets
Дата
Msg-id 51FC2B60.2070406@agliodbs.com
обсуждение исходный текст
Ответ на Re: Patch for removng unused targets  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Patch for removng unused targets
Список pgsql-hackers
> Reading between the lines of the original submission at
> <CAPpHfdtG5qoHoD+w=Tz3wC3fZ=b8i21=V5xandBFM=DTo-Yg=Q@mail.gmail.com>,
> I gather that it's the KNNGist-style case that worries you, so maybe
> it's worth applying this type of patch anyway.  I'd want to rejigger
> it to be aware of the cost implications though, at least for
> grouping_planner's choices.

Hmm.  Can we optimize for the KNN case, without causing the issues which
you warned about earlier in your post?  I'm really wary of any
"optimization" which operates completely outside of the cost model; the
ones we have (abort-early plans, for example) are already among our
primary sources of bad plan issues.

> 
> Comments?

So, Returned With Feedback, or move it to September?

-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com



В списке pgsql-hackers по дате отправления: