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-09-26 17:32:33 (5 years, 7 months ago)
Latest email 2018-09-26 23:12:50 (5 years, 7 months ago)
Status
2018-09: Committed
2018-07: Moved to next CF
Target version
Authors Tom Lane (tgl)
Reviewers Michael Paquier (michael-kun)Become reviewer
Committer Tom Lane (tgl)
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-09-26 23:12:50 by Tom Lane <tgl at sss.pgh.pa.us>
Latest attachment (0001-create-strerror-wrapper-3.patch) at 2018-09-24 17:18:47 from Tom Lane <tgl at sss.pgh.pa.us>
    Attachment (0001-create-strerror-wrapper-3.patch) at 2018-09-24 17:18:47 from Tom Lane <tgl at sss.pgh.pa.us> (Patch: Yes)
    Attachment (0001-create-strerror-wrapper-2.patch) at 2018-09-12 17:40:01 from Tom Lane <tgl at sss.pgh.pa.us> (Patch: Yes)
    Attachment (0001-create-strerror-wrapper-1.patch) at 2018-08-19 19:12:00 from Tom Lane <tgl at sss.pgh.pa.us> (Patch: Yes)
    Attachment (timeprintf-2.c) at 2018-08-12 19:35:09 from Tom Lane <tgl at sss.pgh.pa.us> (Patch: No)
    Attachment (timeprintf.c) at 2018-08-12 19:08:50 from Tom Lane <tgl at sss.pgh.pa.us> (Patch: No)
    Attachment (0001-get-compiler-warnings-for-misuse-of-percent-m-2.patch) at 2018-08-10 20:05:11 from Tom Lane <tgl at sss.pgh.pa.us> (Patch: No)
    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-09-26 17:32:33 Tom Lane (tgl) Closed in commitfest 2018-09 with status: Committed
2018-09-26 17:32:33 Tom Lane (tgl) Changed committer to tgl
2018-09-26 05:50:07 Michael Paquier (michael-kun) New status: Ready for Committer
2018-09-24 17:19:56 Tom Lane (tgl) New status: Needs review
2018-09-14 02:27:09 Michael Paquier (michael-kun) New status: Waiting on Author
2018-09-14 02:27:05 Michael Paquier (michael-kun) Changed reviewers to Michael Paquier (michael-kun)
2018-09-12 18:24:22 Tom Lane (tgl) New status: Needs review
2018-09-12 07:08:09 Michael Paquier (michael-kun) New status: Waiting on Author
2018-08-10 22:11:30 Andrew Dunstan (adunstan) Closed in commitfest 2018-07 with status: Moved to next CF
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