Files
postgresql/src
Tom Lane cf665ad4c8 In pg_log_generic(), be more paranoid about preserving errno.
This code failed to account for the possibility that malloc() would
change errno, resulting in wrong output for %m, not to mention the
possibility of message truncation.  Such a change is obviously
expected when malloc fails, but there's reason to fear that on some
platforms even a successful malloc call can modify errno.

Discussion: https://postgr.es/m/2576.1527382833@sss.pgh.pa.us
2019-07-06 11:25:48 -04:00
..
2019-07-06 14:58:08 +02:00
2019-05-22 13:04:48 -04:00
2019-05-22 13:04:48 -04:00