Re: pg_replication_slot_advance to return NULL instead of 0/0 ifslot not advanced - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: pg_replication_slot_advance to return NULL instead of 0/0 ifslot not advanced
Date
Msg-id 20180601191325.GE9004@paquier.xyz
Whole thread Raw
In response to Re: pg_replication_slot_advance to return NULL instead of 0/0 ifslot not advanced  (Michael Paquier <michael@paquier.xyz>)
Responses Re: pg_replication_slot_advance to return NULL instead of 0/0 if slotnot advanced
List pgsql-hackers
On Fri, Jun 01, 2018 at 02:53:09PM -0400, Michael Paquier wrote:
> Definitely, while the previous patch was around mainly to show where
> things are incorrect, I am attaching a set of patches for HEAD which can
> be used for commit:
> - One patch which addresses the several lock problems and adds some
> instructions about the variables protected by spinlocks for slots in
> use, which should be back-patched.
> - A second patch for HEAD which addresses what has been noticed for the
> new slot advance feature.  This addresses as well the lock problems
> introduced in the new advance code, hopefully the split makes sense to
> others on this thread.
> Once again those only apply to HEAD, please feel free to ping me if you
> would like versions for back-branches (or anybody picking up those
> patches).

And of course I found a typo just after sending those..  Please use the
attached ones instead.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Manuel Kniep
Date:
Subject: Re: PATCH pass PGOPTIONS to pg_regress
Next
From: "Jonathan S. Katz"
Date:
Subject: Re: Add CONTRIBUTING.md