forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit7bf40ea
committed
Avoid using SplitIdentifierString to parse ListenAddresses, too.
This gets rid of our former behavior of forcibly downcasingthe postmaster's hostname list and truncating the elements toNAMEDATALEN. In principle, DNS hostnames are case-insensitiveso the first behavior should be harmless, and server hostnamesare seldom long enough for the second behavior to be an issue.But it's still dubious, and an easy fix is available: just useSplitGUCList instead.AFAICT, all other SplitIdentifierString calls in the backend areOK: either the items actually are SQL identifiers, or they arekeywords that are short and case-insensitive.Per thinking about bug #16106. While this has been wrong fora very long time, the lack of field complaints means there'slittle reason to back-patch.Discussion:https://postgr.es/m/16106-7d319e4295d08e70@postgresql.org1 parent7618eaf commit7bf40ea
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1134 | 1134 |
| |
1135 | 1135 |
| |
1136 | 1136 |
| |
1137 |
| - | |
| 1137 | + | |
1138 | 1138 |
| |
1139 | 1139 |
| |
1140 | 1140 |
| |
|
0 commit comments
Comments
(0)