pgsql: doc: Rearrange the logical operator truth tables.

From: Nathan Bossart <nathan(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: doc: Rearrange the logical operator truth tables.
Date: 2026-11-09 20:45:28
Message-ID: E1xQWF6-000000006Gp-2Tyn@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

doc: Rearrange the logical operator truth tables.

The table for AND and OR is somewhat difficult to read, and it
lists only six of the nine combinations of operands and leaves the
rest to commutativity. Therefore, it is ill-prepared for a new
non-commutative operator. This commit adjusts the page to present
AND, OR, and NOT in separate tables with the operand values as
headers and the results in the cells.

Author: Vik Fearing <vik(at)postgresfriends(dot)org>
Discussion: https://postgr.es/m/37c76707-e6fa-4ee3-b57f-aa0bf1b0bba8%40postgresfriends.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/c074737f687f604b64f6ee830fccbbe854719823

Modified Files
--------------
doc/src/sgml/func/func-logical.sgml | 70 +++++++++++++++++++++----------------
1 file changed, 40 insertions(+), 30 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message David Rowley 2026-11-10 04:29:58 pgsql: Add memory/disk usage for Function Scan nodes in EXPLAIN
Previous Message Tom Lane 2026-11-09 20:17:06 pgsql: Stamp 14.25.