pgbouncer - pgbouncer: sbuf_close: dont retry event_del() if it fails,

From: mkz(at)pgfoundry(dot)org (User Mkz)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgbouncer - pgbouncer: sbuf_close: dont retry event_del() if it fails,
Date: 2009-01-16 12:18:24
Message-ID: 20090116121824.322EA17ADE6C@pgfoundry.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
sbuf_close: dont retry event_del() if it fails, just proceed with cleanup.

The retry could have been bug in pgbouncer - although then the
question is that how to survive ENOMEM from event handlers that
may need allocation on event_del().

But this does not explain why it fails first time. Seems there
is something funny going on in libevent.

Modified Files:
--------------
pgbouncer/src:
sbuf.c (r1.33 -> r1.34)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgbouncer/pgbouncer/src/sbuf.c.diff?r1=1.33&r2=1.34)

Browse pgsql-committers by date

  From Date Subject
Next Message User Mkz 2009-01-16 12:37:56 pgbouncer - pgbouncer: add few overlooked contributors
Previous Message Teodor Sigaev 2009-01-16 12:10:34 pgsql: Fix uninitialized variables in get_covers