Re: Debian 12 gcc warning

From: John Naylor <john(dot)naylor(at)enterprisedb(dot)com>
To: David Rowley <dgrowleyml(at)gmail(dot)com>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Debian 12 gcc warning
Date: 2023-08-29 03:26:27
Message-ID: CAFBsxsFbNiq-S9VyBmon7J43q_pkSBgyCqWnhwj=Get51jfcAA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Aug 29, 2023 at 6:56 AM David Rowley <dgrowleyml(at)gmail(dot)com> wrote:
>
> I'm just not sure if it's unable to figure out if at least nargs
> elements is set or if it won't be happy until all 100 elements are
> set.

It looks like the former, since I can silence it on gcc 13 / -O1 by doing:

/* keep compiler quiet */
actual_arg_types[0] = InvalidOid;

--
John Naylor
EDB: http://www.enterprisedb.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message a.rybakina 2023-08-29 03:37:51 Re: POC, WIP: OR-clause support for indexes
Previous Message Peter Geoghegan 2023-08-29 03:18:22 Re: Logger process and "LOG: could not close client or listen socket: Bad file descriptor"