Did you figure this out? I can't see any way that a Sync message would close a transaction started with BEGIN (or START TRANSACTION). It runs the same code we run at the end of a simple-Query message, and we'd definitely have noticed if that were causing premature commit ...
Thanks for answer, I'm going to make more tests but in first tests the sync message is committing the transaction :) but i don't know why.
-- Best regards
Carlos Guzmán Álvarez Vigo-Spain
---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives?
http://archives.postgresql.org