Fix usage of memset_s() to be C11-conformant

Edit
ID 5756
Title Fix usage of memset_s() to be C11-conformant
CI (CFBot) Needs rebase! Needs rebase since 2 days. Failing since 2 days.
Additional links previous successfully applied patch (outdated):
Summary
Stats (from CFBot) Unknown
Topic Bug Fixes
Created 2025-05-16 20:59:44
Last modified 2025-05-18 19:48:59 (2 days ago)
Latest email 2025-05-18 18:36:42 (2 days ago)
Status
2025-07: Committed
Target version stable
Authors Tom Lane (tgl)
Reviewers Become reviewer
Committer Tom Lane (tgl)
Links
Emails
PG 17.2 compilation fails with -std=c11 on mac
First at 2025-05-16 13:44:07 by Lakshmi Narayana Velayudam <dev.narayana.v at gmail.com>
Latest at 2025-05-18 18:36:42 by Tom Lane <tgl at sss.pgh.pa.us>
Latest attachment (memset_s_fix.patch) at 2025-05-16 20:58:05 from Tom Lane <tgl at sss.pgh.pa.us>
    Attachment (memset_s_fix.patch) at 2025-05-16 20:58:05 from Tom Lane <tgl at sss.pgh.pa.us> (Patch: Yes)
History
When Who What
2025-05-18 19:48:59 Tom Lane (tgl) Closed in commitfest 2025-07 with status: Committed
2025-05-18 19:48:59 Tom Lane (tgl) Changed committer to tgl
2025-05-18 19:07:32 CFbot Patch needs rebase
2025-05-16 20:59:45 Tom Lane (tgl) Attached mail thread CAA4pTnLcKGG78xeOjiBr5yS7ZeE-Rh=FaFQQGOO=nPzA1L8yEA@mail.gmail.com
2025-05-16 20:59:45 Tom Lane (tgl) Created patch record
Edit