[Description]
Check whether there are, possibly unconnected, logical slots that refer to the to-be-dropped database. The database lock we are holding prevents the creation of new slots using the database. ReplicationSlotsCountDBSlots -- count the number of slots that refer to the passed database oid.Returns true if there are any slots referencing the database. *nslots will be set to the absolute number of slots in the database, *nactive to ones currently active.
[System Processing]
Processing will be aborted.
[Action]
To investigate the cause of the occurrence from the message, and remove cause.