Summary: | 'drop node' in a try block | ||
---|---|---|---|
Product: | Slony-I | Reporter: | Steve Singer <ssinger> |
Component: | slonik | Assignee: | Steve Singer <ssinger> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | slony1-bugs |
Priority: | low | ||
Version: | devel | ||
Hardware: | PC | ||
OS: | Linux | ||
Attachments: | patch for a possible fix |
Description
Steve Singer
2011-08-04 13:28:26 UTC
Created attachment 117 [details]
patch for a possible fix
This patch allows the first useful command in a try block to be a waiting operation. It will rollback the transaction and create a new one after the wait.
Another alternative would be for conditionals to be handled in an "abort if {conditions} fashion", as described in bug #173. I think you've observed that this isn't necessarily a reason to "abort," so perhaps that should change to "conditional execution." Please review Looks good to me. Please apply. |