I do not see any use for pg_basebackup to opportunistically make use of a slot if it occurs to exist. Even when there is a single, it should not be the default. So please improve that. A small point, I counsel to print the concept regarding the replication slot becoming http://arthureknqs.full-design.com/The-Basic-Principles-Of-pgslot-35043581