Re: ERROR: volatile EquivalenceClass has no sortref - Mailing list pgsql-general

From Pavan Deolasee
Subject Re: ERROR: volatile EquivalenceClass has no sortref
Date
Msg-id CABOikdNz2C8j8Gj_jFDmhnjnut_fVcu7pRN8kFJhuwhkcOGDpg@mail.gmail.com
Whole thread Raw
In response to Re: ERROR: volatile EquivalenceClass has no sortref  (Ranjeet Dhumal <jeetu.dhumal@gmail.com>)
List pgsql-general



On Thu, Nov 22, 2012 at 11:08 AM, Ranjeet Dhumal <jeetu.dhumal@gmail.com> wrote:
Hi Tom ,

Sorry but i didn't understand that If this is a bug from  postgres version then how the same query will be worked if i recreated the tables and with same version of postgres.


This could be related to the plans that are chosen by the optimizer and this specific error might be coming only when a certain plan is chosen. When you recreated the table, the planner may have chosen a different plan because the stats were different, and hence you did not see the issue again. If you can reproduce the problem, it will be a good idea to run EXPLAIN to see the query plan.

Thanks,
Pavan

pgsql-general by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: [BUGS] Prepared Statement Name Truncation
Next
From: Dave Page
Date:
Subject: Re: Fw: Postgresql on Windows 8