OSDN Git Service

Only try to do a graceful disconnect if we've successfully loaded the
authorMagnus Hagander <magnus@hagander.net>
Tue, 13 Apr 2010 08:16:09 +0000 (08:16 +0000)
committerMagnus Hagander <magnus@hagander.net>
Tue, 13 Apr 2010 08:16:09 +0000 (08:16 +0000)
commita95d15ff5dd58ed1d8889e2476748a3ea49a9bf1
tree451e901b0b1a22bd505f9f14a1a0087f2a15f6b4
parent325e9cb3a06b6e35968ad8eee4a606c64519fac9
Only try to do a graceful disconnect if we've successfully loaded the
shared library with the disconnect function in it. Fixes segmentation
fault reported by Jeff Davis.

Fujii Masao
src/backend/replication/walreceiver.c