- Notifications
You must be signed in to change notification settings - Fork5
Commitb3ad5d0
committed
Restructure get_object_address() so it's safe against concurrent DDL.
This gives a much better error message when the object of interest isconcurrently dropped and avoids needlessly failing when the object ofinterest is concurrently dropped and recreated. It also improves thebehavior of two concurrent DROP IF EXISTS operations targeted at thesame object; as before, one will drop the object, but now the otherwill emit the usual NOTICE indicating that the object does not exist,instead of rolling back. As a fringe benefit, it's also slightlyless code.1 parent309411a commitb3ad5d0
1 file changed
+207
-216
lines changed0 commit comments
Comments
(0)