Re: Doubts about EvalPlanQual

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jaime Casanova <jcasanov(at)systemguards(dot)com(dot)ec>
Cc: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>, Jacky Leng <lengjianquan(at)163(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Doubts about EvalPlanQual
Date: 2009-02-19 22:50:38
Message-ID: 27235.1235083838@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Jaime Casanova <jcasanov(at)systemguards(dot)com(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message David Fetter 2009-02-20 00:26:56 Re: Proposed Patch to Improve Performance of Multi-BatchHash Join for Skewed Data Sets
Previous Message Jaime Casanova 2009-02-19 22:28:07 Re: Doubts about EvalPlanQual