| From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: strnlen() is now required |
| Date: | 2026-01-08 08:03:18 |
| Message-ID: | E1vdkzF-005GDw-1r@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
strnlen() is now required
Remove all configure checks and workarounds for strnlen() missing. It
is required by POSIX 2008.
Reviewed-by: Jelte Fennema-Nio <postgres(at)jeltef(dot)nl>
Reviewed-by: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Discussion: https://www.postgresql.org/message-id/flat/98ce805c-6103-421b-adc3-fcf8f3dddbe3%40eisentraut.org
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/5e7abdac99136c63850a23c0dfdec24d81f503f1
Modified Files
--------------
configure | 23 -----------------------
configure.ac | 3 +--
meson.build | 2 --
src/include/pg_config.h.in | 7 -------
src/include/port.h | 4 ----
src/port/meson.build | 1 -
src/port/strnlen.c | 33 ---------------------------------
7 files changed, 1 insertion(+), 72 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Amit Kapila | 2026-01-08 09:53:54 | pgsql: Fix typos in the code. |
| Previous Message | Amit Kapila | 2026-01-08 07:25:25 | pgsql: Prevent invalidation of newly created replication slots. |