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