Odd Shortcut behaviour in PG14 - Mailing list pgsql-general

From David G. Johnston
Subject Odd Shortcut behaviour in PG14
Date
Msg-id CAKFQuwbS+2_qLFQ1J6htwXo5gCpvTGW9cNMFsMZs3U=ScE274A@mail.gmail.com
Whole thread Raw
In response to Re: Odd Shortcut behaviour in PG14  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses 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:
Zahir Lalani <ZahirLalani@oliver.agency> writes:
> Got a really weird problem with shortcut processing on one server.

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.

I agree that they could make others lives easier by giving more evidence and self-contained example; but the assertions being made are complete.

David J.

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Odd Shortcut behaviour in PG14
Next
From: Tom Lane
Date:
Subject: Re: Odd Shortcut behaviour in PG14