aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/spgist/spgutils.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2024-06-17 10:48:17 +0200
committerPeter Eisentraut <peter@eisentraut.org>2024-06-17 10:48:17 +0200
commitb96391382626306c301b67cbd2d28313d96741f3 (patch)
tree2d93d85d2d1019d3c2ba37d1ddd057f86eca6340 /src/backend/access/spgist/spgutils.c
parent04c8634c0c4d636540c9283efdd695558403dc4e (diff)
downloadpostgresql-b96391382626306c301b67cbd2d28313d96741f3.tar.gz
postgresql-b96391382626306c301b67cbd2d28313d96741f3.zip
pg_createsubscriber: Remove replication slot check on primary
It used to check if the replication slot exists and is active on primary. This check might fail on slow hosts because the replication slot might not be active at the time of this check. The current code obtains the replication slot name from the primary_slot_name on standby and assumes the replication slot exists and is active on primary. If it doesn't exist, this tool will log an error and continue. Author: Euler Taveira <euler.taveira@enterprisedb.com> Reviewed-by: Hayato Kuroda <kuroda.hayato@fujitsu.com> Discussion: https://www.postgresql.org/message-id/776c5cac-5ef5-4001-b1bc-5b698bc0c62a%40app.fastmail.com
Diffstat (limited to 'src/backend/access/spgist/spgutils.c')
0 files changed, 0 insertions, 0 deletions