pgsql: Allow redeclaration of typedef yyscan_t

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Allow redeclaration of typedef yyscan_t
Date: 2025-09-12 06:22:04
Message-ID: E1uwxAa-000Ik5-0B@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Allow redeclaration of typedef yyscan_t

This is allowed in C11, so we don't need the workaround guards against
it anymore. This effectively reverts commit 382092a0cd2 that put
these guards in place.

Reviewed-by: Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>
Discussion: https://www.postgresql.org/message-id/flat/10d32190-f31b-40a5-b177-11db55597355(at)eisentraut(dot)org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ae0e1be9f2a20f6b64072dcee5b8dd7b9027a8fa

Modified Files
--------------
contrib/cube/cubedata.h | 3 ---
contrib/seg/segdata.h | 3 ---
src/backend/utils/adt/jsonpath_internal.h | 3 ---
src/bin/pgbench/pgbench.h | 3 ---
src/include/bootstrap/bootstrap.h | 3 ---
src/include/fe_utils/psqlscan_int.h | 6 ------
src/include/replication/syncrep.h | 3 ---
src/include/replication/walsender_private.h | 3 ---
src/pl/plpgsql/src/plpgsql.h | 3 ---
9 files changed, 30 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2025-09-12 14:19:32 pgsql: ci: openbsd: Increase RAM disk's size
Previous Message Peter Eisentraut 2025-09-12 06:05:45 pgsql: Default to log_lock_waits=on