Further code review for pg_stat_ssl patch.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: cb0bb53204d84cecf51022313fe47d625de8f01e
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2015-07-27T20:29:25Z
Releases: 9.5.0
Further code review for pg_stat_ssl patch.

Fix additional bogosity in commit 9029f4b37406b21a.  Include the
BackendSslStatusBuffer in the BackendStatusShmemSize calculation,
avoid ugly and error-prone casts to char* and back, put related
code stanzas into a consistent order (and fix a couple of previous
instances of that sin).  All cosmetic except for the size oversight.

Files

PathChange+/−
src/backend/postmaster/pgstat.c modified +38 −27