• Simon Riggs's avatar
    Lock database while running drop database in Hot Standby to protect · 8bfd1a88
    Simon Riggs authored
    against concurrent reconnection. Failure during testing showed issue
    was possible, even though earlier analysis seemed to indicate it
    would not be required. Use LockSharedObjectForSession() before
    ResolveRecoveryConflictWithDatabase() and hold lock until end of
    processing for that WAL record. Simple approach to avoid introducing
    further bugs at this stage of development on an improbable issue.
    8bfd1a88
dbcommands.c 58.8 KB