pgsql: Fix oversight from 9e149c8 with spin-lock handling - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Fix oversight from 9e149c8 with spin-lock handling
Date
Msg-id E1fSUl4-0005Nu-0j@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix oversight from 9e149c8 with spin-lock handling

Calling an external function while a pin-lock is held is a bad idea as
those are designed to be short-lived.  The stress of a first commit into
a large git history may contribute to that.

Reported-by: Andres Freund
Discussion: https://postgr.es/m/20180611164952.vmxdpdpirdtkdsz6@alap3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f8795d2ec8632a7242896e0f8322d13bfe922512

Modified Files
--------------
src/backend/replication/slot.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Improve ExecFindInitialMatchingSubPlans's subplan renumberinglo
Next
From: Andres Freund
Date:
Subject: Re: [COMMITTERS] pgsql: Logical replication