Fix logic to detect conflicts or blocks involving exclusive locks in parallel restore items.

Andrew Dunstan <andrew@dunslane.net>

Commit: f7a08e71e975f179ef42c035d3c3d7612f5baa66
Author: Andrew Dunstan <andrew@dunslane.net>
Date: 2009-04-12T21:02:44Z
Releases: 8.4.0
Fix logic to detect conflicts or blocks involving exclusive locks in parallel restore items.
If a currently running item needs an exclusive lock on any item that the candidate items needs
any sort of lock on, or vice versa, then the candidate item is not allowed to run now, and
must wait till later.

Files

PathChange+/−
src/bin/pg_dump/pg_backup_archiver.c modified +33 −13