Christopher Browne cbbrowne at afilias.info
Mon Mar 17 07:54:36 PDT 2014
On Mon, Mar 17, 2014 at 5:51 AM, Glyn Astill <glynastill at yahoo.co.uk> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.slony.info/pipermail/slony1-general/attachments/20140317/f741d5dc/attachment.htm 


More information about the Slony1-general mailing list