Re: [HACKERS] Is it time to kill support for very old servers?
От | Andres Freund |
---|---|
Тема | Re: [HACKERS] Is it time to kill support for very old servers? |
Дата | |
Msg-id | 20171011014644.swi5edu3w75tmjea@alap3.anarazel.de обсуждение исходный текст |
Ответ на | Re: [HACKERS] Is it time to kill support for very old servers? (Michael Paquier <michael.paquier@gmail.com>) |
Ответы |
Re: [HACKERS] Is it time to kill support for very old servers?
|
Список | pgsql-hackers |
Hi, On 2017-10-11 10:40:11 +0900, Michael Paquier wrote: > >> + if (conn->forced_protocol_version != NULL) > >> + { > >> + conn->pversion = atoi(conn->forced_protocol_version); > >> + } > >> This should check for strlen > 0 as well. > > > > Why? Note that we don't do elsehwere in fe-connect.c. > > Because it seems to me that the default value of the parameter should > be an empty string instead of D. Feels more consistent with the > others. I'm not following. The "D" is in the 'dispchar' field, not the value field, no? The default value is NULL? Greetings, Andres Freund -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
В списке pgsql-hackers по дате отправления: