On Mon, Mar 17, 2014 at 5:51 AM, Glyn Astill <[email protected]> wrote:

>
> Scratch that, the error I'm thinking of is "cannot lock set - admin
> connection already in transaction" which only happens if I try to lock
> multiple sets within a try block.


Ah, that makes sense.

Sadly, that's one of the signals that try blocks are less useful than one
might imagine/hope.

Not to say that try blocks are not useful, but they're primarily useful as
a way to catch errors, and not nearly so useful to transactionally group
actions you'd like to treat as related.
_______________________________________________
Slony1-general mailing list
[email protected]
http://lists.slony.info/mailman/listinfo/slony1-general

Reply via email to