Re: constraint exclusion and nulls in IN (..) clause

From: Emre Hasegeli <emre(at)hasegeli(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Amit Langote <Langote_Amit_f8(at)lab(dot)ntt(dot)co(dot)jp>, Ashutosh Bapat <ashutosh(dot)bapat(at)enterprisedb(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: constraint exclusion and nulls in IN (..) clause
Date: 2018-03-21 14:24:38
Message-ID: CAE2gYzz3FebhWH0Wg9Abo6b6PR0aKyTrmaF7sHrqCe_xBDRuig@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Yeah, that's there. We need both operators to be strict, I think;
> otherwise we can't really assume anything about what they'd return
> for NULL inputs. But if they are, we have NULL => NULL which is
> valid for all proof cases.

I understand. I don’t see any problems in this case.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David Steele 2018-03-21 14:24:54 Re: Re: new function for tsquery creartion
Previous Message Teodor Sigaev 2018-03-21 14:23:58 Re: pgbench - add \if support