Re: Bitwise OR instead of logical one in test_aio.c

From: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
To: Mikhail Gribkov <youzhick(at)gmail(dot)com>, Xuneng Zhou <xunengzhou(at)gmail(dot)com>
Cc: Pg Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Bitwise OR instead of logical one in test_aio.c
Date: 2026-11-26 08:06:51
Message-ID: 5395b9cf-c279-4ec7-837b-f749428437fe@iki.fi
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 26/11/2026 09:53, Mikhail Gribkov wrote:
> > AI found another one in FuncnameGetCandidates() in namespace.c:
> >
> > Assert(nargs >= 0 || !(expand_variadic | expand_defaults));
> >
> > I think they belong to the same category and could be addressed together.
>
> Whoa, this one is 18 years old!
>
> Yes, I agree these should be addressed together. Neither issue is truly
> problematic, but cleaning up the code would be nice.
> Attached is the V2-patch fixing both places.

Committed, thanks.

- Heikki

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Hayato Kuroda (Fujitsu) 2026-11-26 08:12:24 RE: Proposal: Conflict log history table for Logical Replication
Previous Message Mikhail Gribkov 2026-11-26 07:53:27 Re: Bitwise OR instead of logical one in test_aio.c