pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nathan Bossart <nathan@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: doc: Rearrange the logical operator truth tables.
Date: Mon, 09 Nov 2026 20:45:28 +0000
Message-ID: <E1xQWF6-000000006Gp-2Tyn@gemulon.postgresql.org> (raw)

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@postgresfriends.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(-)



Message-ID: <E1xQWF6-000000006Gp-2Tyn@gemulon.postgresql.org>
Permalink:  ../E1xQWF6-000000006Gp-2Tyn@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1xQWF6-000000006Gp-2Tyn@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: nathan@postgresql.org
  Subject: Re: pgsql: doc: Rearrange the logical operator truth tables.
  In-Reply-To: <E1xQWF6-000000006Gp-2Tyn@gemulon.postgresql.org>
  References: <E1xQWF6-000000006Gp-2Tyn@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox