Re: Leftover member in openssl part of Port struct

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Leftover member in openssl part of Port struct
Дата
Msg-id 28257.1472649160@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Leftover member in openssl part of Port struct  (Daniel Gustafsson <daniel@yesql.se>)
Ответы Re: Leftover member in openssl part of Port struct  (Daniel Gustafsson <daniel@yesql.se>)
Список pgsql-hackers
Daniel Gustafsson <daniel@yesql.se> writes:
> When SSL renegotiation was removed in 426746b9 the only consumer of the openssl
> specific count member in the Port struct was removed, but the member was left
> together with a few updates to it which are unused.  Attached patch removes the
> leftovers which now serves no purpose unless I’m missing something.

Hm, well, we can't remove those case labels as control would then end
up in the default case which throws an error.  But otherwise this seems
sound.  Without renegotiation the count is not very useful anyway
since it's likely to overflow (at least if long is 32 bits).
        regards, tom lane



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

Предыдущее
От: Joel Jacobson
Дата:
Сообщение: Re: autonomous transactions
Следующее
От: Michael Banck
Дата:
Сообщение: Re: Exclude schema during pg_restore