Re: Logical Implication

From: Zsolt Parragi <zsolt(dot)parragi(at)percona(dot)com>
To: Vik Fearing <vik(at)postgresfriends(dot)org>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Logical Implication
Date: 2026-09-29 22:27:31
Message-ID: CAN4CZFOjS+POs_p3PFM7HW43DgVHwJyviR601W-Fdaz-N7VUuQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> Sorry, I don't understand what you mean by this.

I meant that the current test case would result in true in both
ordering - so in this sense, it's not the best testcase:

SELECT (istrue IMPLIES isnul) IS NULL FROM booltbl4;
SELECT istrue IMPLIES (isnul IS NULL) FROM booltbl4;

are both true

If you change it to

SELECT isfalse IMPLIES isnul IS NULL FROM booltbl4;

Then those would have different results, making it a better testcase.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Chao Li 2026-09-29 22:28:32 Re: pg_resetwal: Fix handling of commit timestamp XIDs
Previous Message Zsolt Parragi 2026-09-29 22:23:27 Re: BUG #19686: Rolling back SET TABLESPACE