pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Munro <tmunro@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add some missing #include <limits.h>.
Date: Thu, 13 Nov 2025 10:12:37 +0000
Message-ID: <E1vJUJh-006O3J-1h@gemulon.postgresql.org> (raw)

Add some missing #include <limits.h>.

These files relied on transitive inclusion via port/atomics.h for
constants CHAR_BIT and INT_MAX.

Reviewed-by: Heikki Linnakangas <hlinnaka@iki.fi>
Discussion: https://postgr.es/m/536409d2-c9df-4ef3-808d-1ffc3182868c@iki.fi

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/017249b828880073140a3e4cc13858804b4418de

Modified Files
--------------
src/backend/access/brin/brin_bloom.c          | 1 +
src/backend/lib/dshash.c                      | 2 ++
src/backend/storage/lmgr/condition_variable.c | 2 ++
3 files changed, 5 insertions(+)



Message-ID: <E1vJUJh-006O3J-1h@gemulon.postgresql.org>
Permalink:  ../E1vJUJh-006O3J-1h@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1vJUJh-006O3J-1h@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: tmunro@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Add some missing #include <limits.h>.
  In-Reply-To: <E1vJUJh-006O3J-1h@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