Re: Doubts about EvalPlanQual - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Doubts about EvalPlanQual
Date
Msg-id 499E74D0.5040402@enterprisedb.com
Whole thread Raw
In response to Re: Doubts about EvalPlanQual  ("Jacky Leng" <lengjianquan@163.com>)
List pgsql-hackers
Jacky Leng wrote:
>> 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...)
>>
> 
> Then why not change this to an "ereport(PANIC ...)"? 

If you have a corrupted database, you want to be able to read it, not 
panic. If anything, we could put a WARNING there, but I'm not 100% sure 
it really is a "can't happen" case.

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: ITAGAKI Takahiro
Date:
Subject: Re: Allow on/off as input texts for boolean.
Next
From: Teodor Sigaev
Date:
Subject: Re: GIN fast insert