"Florian G. Pflug" <[EMAIL PROTECTED]> writes: > Image a complex, autogenerated query with looks something like this > select .... > from t1 > join t2 on ... > join t3 on ... > join t4 on ... > ... > ... > where > <big, complicated expression derived from some user input>.
> This big, complicated expression looks different for every query - and > currently, postgres often vastly overestimates the selectivity of this > expression. This is a straw man. There is no way that your application can throw in a chosen-at-random selectivity value for a join condition that it doesn't understand and have that be more likely to be right than the planner's guess. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 1: if posting/reading through Usenet, please send an appropriate subscribe-nomail command to [EMAIL PROTECTED] so that your message can get through to the mailing list cleanly