2c8118ee5d
Most callers of strerror() are removed from the backend code. The
remaining callers require special handling with a saved errno from a
previous system call. The frontend code still needs strerror() where
error states need to be handled outside of fprintf.
Note that pg_regress is not changed to use %m as the TAP output may
clobber errno, since those functions call fprintf() and friends before
evaluating the format string.
Support for %m in src/port/snprintf.c has been added in
|
||
---|---|---|
.. | ||
.gitignore | ||
Makefile | ||
README | ||
test_ifaddrs.c |
README
src/tools/ifaddrs/README test_ifaddrs ============ This program prints the addresses and netmasks of all the IPv4 and IPv6 interfaces on the local machine. It is useful for testing that this functionality works on various platforms. If "samehost" and "samenet" in pg_hba.conf don't seem to work right, run this program to see what is happening. Usage: test_ifaddrs