Support use of strnlen() in pre-v11 branches.
authorTom Lane <[email protected]>
Mon, 7 Jun 2021 17:12:35 +0000 (13:12 -0400)
committerTom Lane <[email protected]>
Mon, 7 Jun 2021 17:12:35 +0000 (13:12 -0400)
commit7cdb976324d3a111fcad1901019e27d5e75715be
treecbaa845be7e9554a85eb077a3b39585f886d5388
parent066535d411af6e77e06542d8a136576603164d5d
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.
configure
configure.in
src/include/pg_config.h.in
src/include/pg_config.h.win32
src/include/port.h
src/interfaces/libpq/.gitignore
src/interfaces/libpq/Makefile
src/port/strnlen.c [new file with mode: 0644]