Re: PQ versions request message

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PQ versions request message
Дата
Msg-id 6002.1126185479@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: PQ versions request message  (James William Pye <pgsql@jwp.name>)
Ответы Re: PQ versions request message  (James William Pye <pgsql@jwp.name>)
Список pgsql-hackers
James William Pye <pgsql@jwp.name> writes:
> Like I asked above, why does it have to be done in two connection
> cycles? I'm assume by connection cycle you are referring to reopening
> the socket, or...?

You're right, it wouldn't be necessary to tear down the socket --- but
it *would* be necessary to have two network round trips.  And the point
remains that in most scenarios the client and server will be of similar
vintages and so wish to speak the same protocol version anyway, so most
of the time the extra probe would be useless.  I think you're trying to
optimize the uncommon case at the expense of the common case.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От:
Дата:
Сообщение: Re: Rendezvous/Bonjour broken in 8.1 beta
Следующее
От: "Greg Sabino Mullane"
Дата:
Сообщение: Re: uuid type for postgres