Re: Broken SSL tests in master
| От | Tom Lane |
|---|---|
| Тема | Re: Broken SSL tests in master |
| Дата | |
| Msg-id | 25490.1480642009@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Broken SSL tests in master (Michael Paquier <michael.paquier@gmail.com>) |
| Ответы |
Re: Broken SSL tests in master
|
| Список | pgsql-hackers |
Michael Paquier <michael.paquier@gmail.com> writes:
> On Fri, Dec 2, 2016 at 8:36 AM, Robert Haas <robertmhaas@gmail.com> wrote:
>> Correct, but I'm defining that as user error. If hostaddr is
>> specified, host is not used to decide what to connect to, so it makes
>> no sense for it to be a string of multiple host names. If we allowed
>> multiple hostaddrs, as has been proposed, then we'd need to be more
>> clever about this.
> Would it be better to return NULL instead then.
That would likely just result in application core dumps.
See notes for commit 490cb21f7. I think we've established an expectation
that only a NULL argument will elicit a NULL return from PQhost.
regards, tom lane
В списке pgsql-hackers по дате отправления: