Re: Doubts about EvalPlanQual - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Doubts about EvalPlanQual
Date
Msg-id 27235.1235083838@sss.pgh.pa.us
Whole thread Raw
In response to Re: Doubts about EvalPlanQual  (Jaime Casanova <jcasanov@systemguards.com.ec>)
List pgsql-hackers
Jaime Casanova <jcasanov@systemguards.com.ec> writes:
> if it is a "can't happen" scenario then why not make it an assert?

Asserts on data-consistency checks aren't really a good idea.

(IOW this is "can't happen" only as long as your database isn't
corrupt...)
        regards, tom lane


pgsql-hackers by date:

Previous
From: Jaime Casanova
Date:
Subject: Re: Doubts about EvalPlanQual
Next
From: David Fetter
Date:
Subject: Re: Proposed Patch to Improve Performance of Multi-BatchHash Join for Skewed Data Sets