pgsql: Return ReplicationSlotAcquire API to its original form

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Return ReplicationSlotAcquire API to its original form
Date: 2021-06-11 19:50:04
Message-ID: E1lrnAK-0007Z5-7V@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Return ReplicationSlotAcquire API to its original form

Per 96540f80f833; the awkward API introduced by c6550776394e is no
longer needed.

Author: Andres Freund <andres(at)anarazel(dot)de>
Reviewed-by: Álvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
Discussion: https://postgr.es/m/20210408020913.zzprrlvqyvlt5cyy@alap3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1632ea43682fcea8836ea245771ae85b9e1bcd38

Modified Files
--------------
src/backend/replication/logical/logicalfuncs.c | 2 +-
src/backend/replication/slot.c | 53 +++++++-------------------
src/backend/replication/slotfuncs.c | 2 +-
src/backend/replication/walsender.c | 4 +-
src/include/replication/slot.h | 10 +----
5 files changed, 18 insertions(+), 53 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2021-06-11 20:07:38 pgsql: Add 'Portal Close' message to pipelined PQsendQuery()
Previous Message Tomas Vondra 2021-06-11 18:24:11 pgsql: Optimize creation of slots for FDW bulk inserts