Re: Odd Shortcut behaviour in PG14 - Mailing list pgsql-general

From David G. Johnston
Subject Re: Odd Shortcut behaviour in PG14
Date
Msg-id CAKFQuwbM5DpPcC3bVFcjACLvQoBqnPbowDoBEeUt5wA=Q687JQ@mail.gmail.com
Whole thread Raw
In response to Re: Odd Shortcut behaviour in PG14  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general


On Thursday, November 23, 2023, Tom Lane <tgl@sss.pgh.pa.us> wrote:
"David G. Johnston" <david.g.johnston@gmail.com> writes:
> On Thursday, November 23, 2023, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> This question is unanswerable as given.  You have not even defined
>> what you mean by "fail" (error? wrong query result?), let alone
>> provided enough detail for someone else to reproduce the problem.

> The OP complains about the apparent inconsistent optimizing away of the SRF
> function call of crypto_secretbox_open in the lateral when the join
> predicate is known to be false.

Hmm, your crystal ball apparently works better than mine today,
because I sure do not see where that information was presented.

                       

My interpretation of:

 The expectation being that if ekey=0 the lateral join will be ignored. “

David J.
 

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Odd Shortcut behaviour in PG14
Next
From: Atul Kumar
Date:
Subject: IPV6 issue