From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Support use of strnlen() in pre-v11 branches.
Date: Mon, 07 Jun 2021 18:15:57 +0000
Message-ID: <E1lqJn3-0003S3-P4@gemulon.postgresql.org> (raw)
Support use of strnlen() in pre-v11 branches.
Back-patch a minimal subset of commits fffd651e8 and 46912d9b1,
to support strnlen() on all platforms without adding any callers.
This will be needed by a following bug fix.
Branch
------
REL_10_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/0b116346b08f9b9fc93e3dc9fbf9f839909d6825
Modified Files
--------------
configure | 23 +++++++++++++++++++++++
configure.in | 4 ++--
src/include/pg_config.h.in | 7 +++++++
src/include/pg_config.h.win32 | 7 +++++++
src/include/port.h | 4 ++++
src/interfaces/libpq/.gitignore | 1 +
src/interfaces/libpq/Makefile | 6 +++---
src/port/strnlen.c | 33 +++++++++++++++++++++++++++++++++
8 files changed, 80 insertions(+), 5 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: tgl@sss.pgh.pa.us
Subject: Re: pgsql: Support use of strnlen() in pre-v11 branches.
In-Reply-To: <E1lqJn3-0003S3-P4@gemulon.postgresql.org>
References: <E1lqJn3-0003S3-P4@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