From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Require stdint.h
Date: Fri, 21 Feb 2020 08:28:06 +0000
Message-ID: <E1j53fK-0008Ks-MT@gemulon.postgresql.org> (raw)
Require stdint.h
stdint.h belongs to the compiler (as opposed to inttypes.h), so by
requiring a C99 compiler we can also require stdint.h
unconditionally. Remove configure checks and other workarounds for
it.
This also removes a few steps in the required portability adjustments
to the imported time zone code, which can be applied on the next
import.
When using GCC on a platform that is otherwise pre-C99, this will now
require at least GCC 4.5, which is the first release that supplied a
standard-conforming stdint.h if the native platform didn't have it.
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://www.postgresql.org/message-id/flat/5d398bbb-262a-5fed-d839-d0e5cff3c0d7%402ndquadrant.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/957338418b69e9774ccc1bab59f765a62f0aa6f9
Modified Files
--------------
configure | 73 ----------------------------------------------
configure.in | 2 --
src/include/c.h | 15 ++--------
src/include/pg_config.h.in | 14 ---------
src/timezone/README | 14 ++-------
src/tools/msvc/Solution.pm | 6 +---
6 files changed, 5 insertions(+), 119 deletions(-)
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: peter@eisentraut.org
Subject: Re: pgsql: Require stdint.h
In-Reply-To: <E1j53fK-0008Ks-MT@gemulon.postgresql.org>
References: <E1j53fK-0008Ks-MT@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