model-writtenrun 1276 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Peter Eisentraut proposed using memset_explicit() and explicit_memset() when explicit_bzero() is unavailable, preferring the C23 standard function and improving NetBSD's fallback implementation #1.
- Bertrand Drouvot questioned whether glibc exposes memset_explicit() under -std=c11 and suggested checking declarations instead of function availability #2.
- Bertrand's further investigation resolved that concern: PostgreSQL's default -D_GNU_SOURCE enables __USE_MISC and exposes the declaration #3.
- Peter confirmed that explanation, deferred any general migration to AC_CHECK_DECLS as a separate project, and explained that memset_s() differs because PostgreSQL does not universally enable __STDC_WANT_LIB_EXT1__ #4.
- Peter committed the sole patchset #1 unchanged apart from rebasing as 386ca3908d, credited Bertrand's review, and closed the thread by announcing the commit #5.