]> granicus.if.org Git - postgresql/commit
Fix assertion failure for SSL connections.
authorThomas Munro <tmunro@postgresql.org>
Sun, 25 Nov 2018 03:21:41 +0000 (16:21 +1300)
committerThomas Munro <tmunro@postgresql.org>
Sun, 25 Nov 2018 05:34:58 +0000 (18:34 +1300)
commitab69ea9feeb9a02c6299b5c1b786005552343f22
tree5ee8cc19a00ee4d10a45cfac2798c1d499052079
parentd5890f49da6a77b1325a3f5822c6b092a2cd41ae
Fix assertion failure for SSL connections.

Commit cfdf4dc4 added an assertion that every WaitLatch() or similar
handles postmaster death.  One place did not, but was missed in
review and testing due to the need for an SSL connection.  Fix, by
asking for WL_EXIT_ON_PM_DEATH.

Reported-by: Christoph Berg
Discussion: https://postgr.es/m/20181124143845.GA15039%40msg.df7cb.de
src/backend/libpq/be-secure-openssl.c