postgresql/src/backend/postmaster
Tom Lane 7bf40ea0d0 Avoid using SplitIdentifierString to parse ListenAddresses, too.
This gets rid of our former behavior of forcibly downcasing
the postmaster's hostname list and truncating the elements to
NAMEDATALEN.  In principle, DNS hostnames are case-insensitive
so the first behavior should be harmless, and server hostnames
are seldom long enough for the second behavior to be an issue.
But it's still dubious, and an easy fix is available: just use
SplitGUCList instead.

AFAICT, all other SplitIdentifierString calls in the backend are
OK: either the items actually are SQL identifiers, or they are
keywords that are short and case-insensitive.

Per thinking about bug #16106.  While this has been wrong for
a very long time, the lack of field complaints means there's
little reason to back-patch.

Discussion: https://postgr.es/m/16106-7d319e4295d08e70@postgresql.org
2019-11-13 13:51:58 -05:00
..
autovacuum.c Clean up properly error_context_stack in autovacuum worker on exception 2019-10-23 10:25:06 +09:00
bgworker.c Make the order of the header file includes consistent in backend modules. 2019-11-12 08:30:16 +05:30
bgwriter.c Make the order of the header file includes consistent in backend modules. 2019-11-12 08:30:16 +05:30
checkpointer.c Fix inconsistencies and typos in the tree, take 10 2019-08-13 13:53:41 +09:00
fork_process.c Make the order of the header file includes consistent in backend modules. 2019-11-12 08:30:16 +05:30
Makefile Split all OBJS style lines in makefiles into one-line-per-entry style. 2019-11-05 14:41:07 -08:00
pgarch.c Update copyright for 2019 2019-01-02 12:44:25 -05:00
pgstat.c Make the order of the header file includes consistent in backend modules. 2019-11-12 08:30:16 +05:30
postmaster.c Avoid using SplitIdentifierString to parse ListenAddresses, too. 2019-11-13 13:51:58 -05:00
startup.c Update copyright for 2019 2019-01-02 12:44:25 -05:00
syslogger.c Fix inconsistencies and typos in the tree, take 11 2019-08-19 16:21:39 +09:00
walwriter.c Update copyright for 2019 2019-01-02 12:44:25 -05:00