diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2018-10-08 19:15:55 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2018-10-08 19:15:55 -0400 |
commit | 7767aadd94cd252a12fa00f6122ad4dd10455791 (patch) | |
tree | 45e9ef585c1a9023ddb78995b76782b4d61e282d /src/backend/utils/adt/enum.c | |
parent | 82ff0cc91d9840d1c56ca1beed58bedfde3da9a3 (diff) | |
download | postgresql-7767aadd94cd252a12fa00f6122ad4dd10455791.tar.gz postgresql-7767aadd94cd252a12fa00f6122ad4dd10455791.zip |
Fix omissions in snprintf.c's coverage of standard *printf functions.
A warning on a NetBSD box revealed to me that pg_waldump/compat.c
is using vprintf(), which snprintf.c did not provide coverage for.
This is not good if we want to have uniform *printf behavior, and
it's pretty silly to omit when it's a one-line function.
I also noted that snprintf.c has pg_vsprintf() but for some reason
it was not exposed to the outside world, creating another way in
which code might accidentally invoke the platform *printf family.
Let's just make sure that we replace all eight of the POSIX-standard
printf family.
Also, upgrade plperl.h and plpython.h to make sure that they do
their undefine/redefine rain dance for all eight, not some random
maybe-sufficient subset thereof.
Diffstat (limited to 'src/backend/utils/adt/enum.c')
0 files changed, 0 insertions, 0 deletions