On Mon, 5 Jul 2004, Alvaro Herrera wrote:
> > begin/end because they are already in an explicit/implicit transaction
> > by default... How is the user/programmer to know when this is the case?
>
> I'm not sure I understand you. Of course you can issue begin/end. What
> you can't do is issue begin/end inside a function -- you always use
> subbegin/subcommit in that case.
I've not understood why we need new tokens for this case. Maybe you've
explained it somewhere that I've missed. But surely the server know if you
are in a transaction or not, and can differentiate on the first BEGIN and
the next BEGIN.
--
/Dennis Björklund