2016-01-12 16:52 GMT+01:00 Vladimir Sitnikov <sitnikov.vladi...@gmail.com>:
> > I don't know if there is a good solution except disabling server > prepared statements. > > Why doesn't backend reuse already existing good plan? > probably good plan is more expensive than wrong plan :( this logic is driven by plan cost, not by plan execution time. > The plan does account for the skew. > > Can backend take selectivities from the original bind values? > > Vladimir > > > -- > Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-hackers >