warning on the current head - Mailing list pgsql-hackers

From Rafia Sabih
Subject warning on the current head
Date
Msg-id CA+FpmFdoa7O7yS3k7ZtqvA+hNWUA6YvJy6VvdYX1sGsryVQBNQ@mail.gmail.com
Whole thread Raw
Responses Re: warning on the current head
List pgsql-hackers
I am seeing following warning,

In file included from specscanner.c:11:
In file included from ../../../src/include/postgres_fe.h:28:
../../../src/include/c.h:113:9: warning: 'pg_restrict' macro redefined
[-Wmacro-redefined]
  113 | #define pg_restrict restrict
      |         ^
../../../src/include/pg_config.h:802:9: note: previous definition is here
  802 | #define pg_restrict __restrict
      |         ^
1 warning generated.

at
commit aa606b9316a334cbc8c48560c72235f9e48e47bf
Author: Peter Eisentraut <peter@eisentraut.org>
Date:   Thu Nov 6 11:52:47 2025 +0100
    Disallow generated columns in COPY WHERE clause

Is someone else also seeing this or I am doing something wrong.

-- 
Regards,
Rafia Sabih
CYBERTEC PostgreSQL International GmbH



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: pg_plan_advice
Next
From: Xuneng Zhou
Date:
Subject: Re: Optimize SnapBuildPurgeOlderTxn: use in-place compaction instead of temporary array