Re: Query plan issue when upgrading to postgres 8.14 (from

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ioana Danes <ioanasoftware@xxxxxxxx> writes:
>   Does anyone now what the problem is with the following select when  upgrading to postgresql 8.1.4 the query plan does not use the indexes  as in postgresql 8.0.3.
  
The planner doesn't have enough information about the correlation
between testtype and testid to guess that the index-driven max()
optimization doesn't work well in this case.  But I see you've
already found the solution ...

			regards, tom lane


[Postgresql General]     [Postgresql PHP]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Yosemite]

  Powered by Linux