"M. Bastin" <marcbastin(at)mindspring(dot)com> writes:
> The only thing that bothers me is the Sync command that would put an
> end to all portals at once isn't it?
Not if you are inside a transaction block (ie, have issued a BEGIN
command).
A possibly more serious issue is that an error detected in any one of
the portals aborts the transaction and thus you lose all the portals.
We may eventually have a solution for that involving subtransactions.
regards, tom lane