Try to produce compiler warnings for incorrect usage of printf("%m")

Edit
Title Try to produce compiler warnings for incorrect usage of printf("%m")
Topic Bug Fixes
Created 2018-05-21 00:38:56
Last modified 2018-05-21 00:39:21 (2 months ago)
Latest email 2018-05-28 15:14:21 (1 month, 3 weeks ago)
Status
2018-07: Needs review
Authors Tom Lane (tgl)
Reviewers Become reviewer
Committer
Links
Emails
Allowing printf("%m") only where it actually works
First at 2018-05-21 00:30:05 by Tom Lane <tgl at sss.pgh.pa.us>
Latest at 2018-05-28 15:14:21 by Tom Lane <tgl at sss.pgh.pa.us>
Latest attachment (prevent-errno-v2.patch) at 2018-05-27 05:04:50 from Thomas Munro <thomas.munro at enterprisedb.com>
    Attachment (prevent-errno-v2.patch) at 2018-05-27 05:04:50 from Thomas Munro <thomas.munro at enterprisedb.com> (Patch: Yes)
    Attachment (make-exec.c-do-error-reporting-like-everyplace-else.patch) at 2018-05-26 16:21:33 from Tom Lane <tgl at sss.pgh.pa.us> (Patch: Yes)
    Attachment (prevent-errno.patch) at 2018-05-21 06:21:34 from Thomas Munro <thomas.munro at enterprisedb.com> (Patch: Yes)
    Attachment (get-compiler-warnings-for-misuse-of-percent-m-1.patch) at 2018-05-21 00:30:05 from Tom Lane <tgl at sss.pgh.pa.us> (Patch: Yes)
History
When Who What
2018-05-21 00:39:21 Tom Lane (tgl) Changed authors to Tom Lane (tgl)
2018-05-21 00:38:56 Tom Lane (tgl) Attached mail thread 2975.1526862605@sss.pgh.pa.us
2018-05-21 00:38:56 Tom Lane (tgl) Created patch record
Edit