Re: BUG #18965: Issue with Short-Circuit Evaluation in Boolean Expressions

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: "brandystodd(at)gmail(dot)com" <brandystodd(at)gmail(dot)com>, "pgsql-bugs(at)lists(dot)postgresql(dot)org" <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: BUG #18965: Issue with Short-Circuit Evaluation in Boolean Expressions
Date: 2025-06-20 18:14:22
Message-ID: CAKFQuwZ6qgcGCXDEHBMftRvC=qmEbh_LT-J=jU96Y2c1V3k0QA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Friday, June 20, 2025, PG Bug reporting form <noreply(at)postgresql(dot)org>
wrote:

> The following bug has been logged on the website:
>
> Bug reference: 18965
> Logged by: Todd Brandys
> Email address: brandystodd(at)gmail(dot)com
> PostgreSQL version: 17.5
> Operating system: Linux
> Description:
>
> In the circumstance where a function evaluation is performed within Boolean
> expression, the evaluation seems to continue past a function returning a
> TRUE value.

Where did we claim we perform short-circuiting?

David J.

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2025-06-20 18:37:10 Re: BUG #18965: Issue with Short-Circuit Evaluation in Boolean Expressions
Previous Message Tom Lane 2025-06-20 17:50:41 Re: BUG #18959: Name collisions of expression indexes during parallel Index creations on a pratitioned table.