Re: Remove repeated calls to PQserverVersion

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Remove repeated calls to PQserverVersion
Дата
Msg-id YO1sxx0yIFd/f2jn@paquier.xyz
обсуждение исходный текст
Ответ на Remove repeated calls to PQserverVersion  (Peter Smith <smithpb2250@gmail.com>)
Ответы Re: Remove repeated calls to PQserverVersion
Список pgsql-hackers
On Tue, Jul 13, 2021 at 07:02:27PM +1000, Peter Smith wrote:
> I found a few functions making unnecessary repeated calls to
> PQserverVersion(conn); instead of just calling once and assigning to a
> local variable.

Does it really matter?  PQserverVersion() does a simple lookup at the
internals of PGconn.
--
Michael

Вложения

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: [PATCH] Pull general SASL framework out of SCRAM
Следующее
От: Dean Rasheed
Дата:
Сообщение: Re: Enhanced error message to include hint messages for redundant options error