mirror of
https://github.com/postgres/postgres.git
synced 2025-07-07 00:36:50 +03:00
Return ReplicationSlotAcquire API to its original form
Per 96540f80f833; the awkward API introduced by c655077639
is no
longer needed.
Author: Andres Freund <andres@anarazel.de>
Reviewed-by: Álvaro Herrera <alvherre@alvh.no-ip.org>
Discussion: https://postgr.es/m/20210408020913.zzprrlvqyvlt5cyy@alap3.anarazel.de
This commit is contained in:
@ -225,7 +225,7 @@ pg_logical_slot_get_changes_guts(FunctionCallInfo fcinfo, bool confirm, bool bin
|
||||
else
|
||||
end_of_wal = GetXLogReplayRecPtr(&ThisTimeLineID);
|
||||
|
||||
(void) ReplicationSlotAcquire(NameStr(*name), SAB_Error);
|
||||
ReplicationSlotAcquire(NameStr(*name), true);
|
||||
|
||||
PG_TRY();
|
||||
{
|
||||
|
Reference in New Issue
Block a user