Check for existing replication slot in pg_createsubscriber - Mailing list pgsql-hackers

From Zane Duffield
Subject Check for existing replication slot in pg_createsubscriber
Date
Msg-id CACMiCkWB=4OaQUQEBs5MhiFXeSmTGgkNcWSimiwH05JFaF=ERw@mail.gmail.com
Whole thread Raw
Responses Re: Check for existing replication slot in pg_createsubscriber
List pgsql-hackers
Hackers,

I noticed in testing and usage that pg_createsubscriber doesn't check for an existing replication slot before attempting to create one, whereas it *does* check for existing publications.
If it were to check for an existing replication slot, then the --dry-run mode would be able to detect the issue.

If this seems like a good feature, I'm happy to try and put together a patch for it.

Thanks,
Zane

pgsql-hackers by date:

Previous
From: "sundayjiang(蒋浩天)"
Date:
Subject: [PATCH] Prevent replacement of a function if it's used in an index expression and is not IMMUTABLE
Next
From: jian he
Date:
Subject: Re: ALTER TABLE ALTER CONSTRAINT misleading error message