pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix thinko introduced by 82a5649 in slot.c
Date: Wed, 17 Apr 2019 01:11:35 +0000
Message-ID: <E1hGZ6t-00010l-Bg@gemulon.postgresql.org> (raw)

Fix thinko introduced by 82a5649 in slot.c

When saving a replication slot, failing to close the temporary path used
to save the slot information is considered as a failure and reported as
such.  However the code forgot to leave immediately as other failure
paths do.

Noticed while looking up at this area of the code for another patch.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/9010156445c420361c2cef9557751c0b8b52644b

Modified Files
--------------
src/backend/replication/slot.c | 3 +++
1 file changed, 3 insertions(+)



Message-ID: <E1hGZ6t-00010l-Bg@gemulon.postgresql.org>
Permalink:  ../E1hGZ6t-00010l-Bg@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1hGZ6t-00010l-Bg@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: michael@paquier.xyz
  Subject: Re: pgsql: Fix thinko introduced by 82a5649 in slot.c
  In-Reply-To: <E1hGZ6t-00010l-Bg@gemulon.postgresql.org>
  References: <E1hGZ6t-00010l-Bg@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox