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 ------ REL9_6_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/7cdb976324d3a111fcad1901019e27d5e75715be 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(-)
