Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1xBfjn-00000003K3T-1r2L for pgsql-hackers@arkaria.postgresql.org; Tue, 29 Sep 2026 21:51:47 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.98.2) (envelope-from ) id 1xBfjl-0000000Gi1P-0sUJ for pgsql-hackers@arkaria.postgresql.org; Tue, 29 Sep 2026 21:51:45 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1xBfjk-0000000Gi1H-3M9N for pgsql-hackers@lists.postgresql.org; Tue, 29 Sep 2026 21:51:44 +0000 Received: from relay4-d.mail.gandi.net ([2001:4b98:dc4:8::224]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1xBfji-00000001w5C-353l for pgsql-hackers@lists.postgresql.org; Tue, 29 Sep 2026 21:51:43 +0000 Received: by mail.gandi.net (Postfix) with ESMTPSA id 4E06C3E9C6; Tue, 29 Sep 2026 21:51:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=postgresfriends.org; s=gm1; t=1790718701; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=9fN2Pc/M3dKhWI9bW/nPMvAA42YUU0sfJSaiSWheiTE=; b=l3qwQDCSdowyxb5iDvnkXIuTYsDbz6JzREx+IE/oP5pH1P57ddYjzInozziZMvJOyMcvw2 fDicXhM/VCiXLm79uPmLj63XXclO4/RCzURHhxSsWG0g6V9L1wT9YBl4u7d1lkTcvUERkm tH5UTlp4bSVxVAA0s6HZHcqx+U4kct3v1VKFvCmfYo6cGDaxEsPPn272unRVSA9bQlvJ4C 5SgYUuhnMPdajYDG89yZQEo1NjQhnEx/by60P8IwqgMVB9hwUOp/hVRfsmHIVTpDnwOaYE 8VvnDGvKDDgWQbVe/lGWXjoqhGM8j8Ti3H4U1kV73SLSrz0i2X5JapQH4prN6g== Message-ID: <3d779ee0-6596-4dae-b79c-e35b237f83bf@postgresfriends.org> Date: Tue, 29 Sep 2026 23:51:39 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Logical Implication To: Zsolt Parragi Cc: pgsql-hackers@lists.postgresql.org, Nathan Bossart References: <37c76707-e6fa-4ee3-b57f-aa0bf1b0bba8@postgresfriends.org> <9ab35dbb-d9a4-4c1e-bae2-7763ddeb720c@postgresfriends.org> Content-Language: en-US From: Vik Fearing In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-GND-Sasl: vik@postgresfriends.org X-GND-Cause: dmFkZTGy7goKnA6tz/LUXPwgBIfuo2NEmb+t8GTKmfQKiLB1BCIkqMS2d/yaQ9Kv5/S/kpdLRSlvGhhgH4wq5YPg6zNZqpIGisC4YgJl4o0cNUxSFM53siuqJcwXbbUn5ptaaxYJsTjz7Lr8taoTedLFk9FCMLjW+1LOA/P5QWNJRi5tc2Ox7iTUjxhFHb3GeQuwwgoAWlBL7sf3hJ/gk4A2OFXW7FA9P9BJ4HbcE1OlsAPp4clRKyI+qhkWvBfyOd9R00UtU7K9+z2Sau4v1ok+0U/DRjCOE7Nqoypvzu8ghCV8hACv2Is/lr6kkh2FNaw08qkM5ip1fE6fHFbPZ+jUsJy7rrfyzhVSBw5EOJVbMqT3k0Ifs0QXu6uFrU9vb61Gi/AV3JAwqLy0224sJtXpeyC0T1K+fdYVLDplqSUfi2ywCPVjLa/ChDblaZ+Iw5FIdnEkPQYJ5o+WwnpckrvmySXfty5GAjkOTWRIubH+Q+Y1oCA+BFW6p4t5XounxJjM5Od0/GS5+sDL4orm9cG78tKF8hpxzY5ESLerNlL+l9Wcwho0gm+Aofdo1u8VGl99Osi4VJeFahWFu7XBKO/aTMKme5f2ut91UT1mwFGkeWqcpM2faCZqkuGWCHp0VUakQYecJZ5IM5gYmqdcAWY6UOLYXF4RbpjP9Nlt+5dRX7U+/Q X-GND-State: clean X-GND-Score: -100 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 29/09/2026 22:23, Zsolt Parragi wrote: > Hello! > > One test nitpick: > > +SELECT istrue IMPLIES isnul IS NULL FROM booltbl4; > > istrue IMPLIES (isnul IS NULL) and (istrue IMPLIES isnul) IS NULL are > both true. isfalse wouldn't have the same issue. Sorry, I don't understand what you mean by this. > %left INTERSECT > +%right IMPLIES > %left OR > > > And +1 for using %nonassoc instead That's three now.  I'll prepare a new patch. -- Vik Fearing