pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Make "pgoff_t" be a typedef not a #define.
Date: Sun, 14 Dec 2025 22:03:57 +0000
Message-ID: <E1vUuC4-000mxW-1V@gemulon.postgresql.org> (raw)

Make "pgoff_t" be a typedef not a #define.

There doesn't seem to be any great reason why this has been a macro
rather than a typedef.  But doing it like that means our buildfarm
typedef tooling doesn't capture the name as a typedef.  That would
result in pgindent glitches, except that we've seemingly kept it
in typedefs.list manually.  That's obviously error-prone, so let's
convert it to a typedef now.

Discussion: https://postgr.es/m/1681301.1765742268@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/66b2282b0c2237bccd933804da2e1dd0321ac151

Modified Files
--------------
src/include/port.h            | 2 +-
src/include/port/win32_port.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)



Message-ID: <E1vUuC4-000mxW-1V@gemulon.postgresql.org>
Permalink:  ../E1vUuC4-000mxW-1V@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1vUuC4-000mxW-1V@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: tgl@sss.pgh.pa.us, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Make "pgoff_t" be a typedef not a #define.
  In-Reply-To: <E1vUuC4-000mxW-1V@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