Re: Leftover member in openssl part of Port struct - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Leftover member in openssl part of Port struct
Date
Msg-id 28257.1472649160@sss.pgh.pa.us
Whole thread Raw
In response to Leftover member in openssl part of Port struct  (Daniel Gustafsson <daniel@yesql.se>)
Responses Re: Leftover member in openssl part of Port struct  (Daniel Gustafsson <daniel@yesql.se>)
List 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 by date:

Previous
From: Joel Jacobson
Date:
Subject: Re: autonomous transactions
Next
From: Michael Banck
Date:
Subject: Re: Exclude schema during pg_restore