warning on the current head

Rafia Sabih <rafia.pghackers@gmail.com>

From: Rafia Sabih <rafia.pghackers@gmail.com>
To: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-11-06T16:47:38Z
Lists: pgsql-hackers

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Disallow generated columns in COPY WHERE clause

  2. Replace pg_restrict by standard restrict

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