pgsql: Support use of strnlen() in pre-v11 branches.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Support use of strnlen() in pre-v11 branches.
Date: 2021-06-07 18:15:57
Message-ID: E1lqJn3-0003S3-P4@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2021-06-07 18:53:44 pgsql: Stabilize contrib/seg regression test.
Previous Message Alvaro Herrera 2021-06-07 15:05:50 pgsql: Fix compiler warning