Allow redeclaration of typedef yyscan_t
Peter Eisentraut <peter@eisentraut.org>
Author:
Peter Eisentraut <peter@eisentraut.org>
Date: 2025-09-12T06:16:00Z
Releases:
19 (unreleased)
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.evan.chao@gmail.com> Discussion: https://www.postgresql.org/message-id/flat/10d32190-f31b-40a5-b177-11db55597355@eisentraut.org
Files
| Path | Change | +/− |
|---|---|---|
| contrib/cube/cubedata.h | modified | +0 −3 |
| contrib/seg/segdata.h | modified | +0 −3 |
| src/backend/utils/adt/jsonpath_internal.h | modified | +0 −3 |
| src/bin/pgbench/pgbench.h | modified | +0 −3 |
| src/include/bootstrap/bootstrap.h | modified | +0 −3 |
| src/include/fe_utils/psqlscan_int.h | modified | +0 −6 |
| src/include/replication/syncrep.h | modified | +0 −3 |
| src/include/replication/walsender_private.h | modified | +0 −3 |
| src/pl/plpgsql/src/plpgsql.h | modified | +0 −3 |
Discussion
- allow benign typedef redefinitions (C11) 23 messages · 2025-08-29 → 2025-10-05