Thread: Re: Is it not possible to nest one block within another?

Re: Is it not possible to nest one block within another?

From
Bruce Momjian
Date:
Nilabhra Banerjee wrote:
> Hi,
>
> I have learnt from mailing archives that nested
> transaction is not possible in postgresql. I then
> thought, in nested blocks, the inner block must be
> having autonomous transaction (As is pragma autonomous
> transaction in Oracle 8i). But I found postgresql is
> able to identify only the outer begin-end pair and
> just ignoring (with a warning) all other inner begin
> -end blocks. Is it natural of postgresql or I am
> making some mistake?

We don't supported nested transactions yet, but hope to soon.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073