pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Allow redeclaration of typedef yyscan_t
Date: Fri, 12 Sep 2025 06:22:04 +0000
Message-ID: <E1uwxAa-000Ik5-0B@gemulon.postgresql.org> (raw)

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

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(-)



Message-ID: <E1uwxAa-000Ik5-0B@gemulon.postgresql.org>
Permalink:  ../E1uwxAa-000Ik5-0B@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1uwxAa-000Ik5-0B@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Allow redeclaration of typedef yyscan_t
  In-Reply-To: <E1uwxAa-000Ik5-0B@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox