Re: Proving IS NOT NULL inference for ScalarArrayOpExpr's

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: James Coleman <jtc331@gmail.com>
Cc: David Rowley <david.rowley@2ndquadrant.com>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2019-01-14T17:04:31Z
Lists: pgsql-hackers
James Coleman <jtc331@gmail.com> writes:
> Are those invariants we want to keep (and recognize as regression
> tests)? If so, I can confirm that they aren't duplicative of the rest
> of the file, and if not I can remove them.

I can't get terribly excited about them ... if we were changing their
behavior, or if there were a bug discovered here, then I'd think
differently.  But I'm not a fan of adding regression test cycles
without a reason.

			regards, tom lane


Commits

  1. Teach optimizer's predtest.c more things about ScalarArrayOpExpr.