On Fri, 2007-03-16 at 21:30 -0400, Tom Lane wrote: > Jeff Davis <pgsql@xxxxxxxxxxx> writes: > > The planner chooses what looks to me like a very strange plan for this > > query: > > Exactly which PG version is this? > => select version(); version ------------------------------------------------------------------------------------------------ PostgreSQL 8.2.3 on i386-portbld-freebsd6.1, compiled by GCC cc (GCC) 3.4.6 [FreeBSD] 20060305 Regards, Jeff Davis