pgsql: Only try to do a graceful disconnect if we've successfully loaded

From: mha(at)postgresql(dot)org (Magnus Hagander)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Only try to do a graceful disconnect if we've successfully loaded
Date: 2010-04-13 08:16:09
Message-ID: 20100413081609.A4F327541D0@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
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

Modified Files:
--------------
pgsql/src/backend/replication:
walreceiver.c (r1.7 -> r1.8)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/replication/walreceiver.c?r1=1.7&r2=1.8)

Browse pgsql-committers by date

  From Date Subject
Next Message Magnus Hagander 2010-04-13 08:19:12 pgsql: Fix typo.
Previous Message Tom Lane 2010-04-13 06:15:25 Re: Naming of new EXCLUDE constraints