]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Support use of strnlen() in pre-v11 branches.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 7 Jun 2021 17:12:35 +0000 (13:12 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 7 Jun 2021 17:12:35 +0000 (13:12 -0400)
commit0b116346b08f9b9fc93e3dc9fbf9f839909d6825
tree7deba099d95eac5e2a54ae4ed7518fe1aa924563
parent32db0d68be40824b94beb6014f6979e3626b9056
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]