| From: | Álvaro Herrera <alvherre(at)kurilemu(dot)de> |
|---|---|
| To: | Rafia Sabih <rafia(dot)pghackers(at)gmail(dot)com> |
| Cc: | PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: warning on the current head |
| Date: | 2025-11-06 16:58:50 |
| Message-ID: | 202511061656.dmliwzlpugrq@alvherre.pgsql |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On 2025-Nov-06, Rafia Sabih wrote:
> 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(at)eisentraut(dot)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.
Hmm, maybe you need to run configure again, perhaps after `make
distclean`? In pg_config.h.in, the "#undef pg_restrict" line was by
commit f0f2c0c1aef9 (Oct. 29), so the Nov. 6 commit should not have
caused problems, unless your pg_config.h is out of date.
--
Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bryan Green | 2025-11-06 17:17:52 | Re: [Patch] Windows relation extension failure at 2GB and 4GB |
| Previous Message | Xuneng Zhou | 2025-11-06 16:54:46 | Re: Optimize SnapBuildPurgeOlderTxn: use in-place compaction instead of temporary array |