Odd Shortcut behaviour in PG14

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Zahir Lalani <ZahirLalani(at)oliver(dot)agency>, "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Odd Shortcut behaviour in PG14
Date: 2023-11-23 18:30:57
Message-ID: CAKFQuwbS+2_qLFQ1J6htwXo5gCpvTGW9cNMFsMZs3U=ScE274A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thursday, November 23, 2023, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> Zahir Lalani <ZahirLalani(at)oliver(dot)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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2023-11-23 18:39:09 Re: Odd Shortcut behaviour in PG14
Previous Message Tom Lane 2023-11-23 17:40:50 Re: Odd Shortcut behaviour in PG14