Fix slot deletion after switchover

This commit is contained in:
Ian Barwick
2017-08-04 13:16:46 +09:00
parent 82639b6903
commit 972f8394ff
2 changed files with 11 additions and 23 deletions

View File

@@ -2876,6 +2876,7 @@ get_slot_record(PGconn *conn, char *slot_name, t_replication_slot *record)
if (!PQntuples(res))
{
PQclear(res);
return RECORD_NOT_FOUND;
}