Re: pg_replication_slot_advance to return NULL instead of 0/0 if slot not advanced

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: Postgres hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_replication_slot_advance to return NULL instead of 0/0 if slot not advanced
Date: 2018-05-28 09:17:18
Message-ID: 20180528091718.GB27845@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, May 28, 2018 at 05:57:47PM +0900, Michael Paquier wrote:
> Found one. All the things I have spotted are in the patch attached.

Oops, forgot a ReplicationSlotRelease call.
--
Michael

Attachment Content-Type Size
slot-lock-fixes-v2.patch text/x-diff 3.6 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2018-05-28 09:20:02 Re: SCRAM with channel binding downgrade attack
Previous Message Magnus Hagander 2018-05-28 09:16:08 Re: Is a modern build system acceptable for older platforms