Обсуждение: are subtransactions not nestable?
Hello, is it correct that a nesting of subtransactions is not possible with postgres at the moment? (I didn't find a TODO entry for this (even at 'exotic' features)) christof=> begin; BEGIN christof=> begin; NOTICE: BeginTransactionBlock and not in default state BEGIN christof=> commit; END christof=> commit; NOTICE: EndTransactionBlock and not inprogress/abort state END Regards Christof
> is it correct that a nesting of subtransactions is not possible with
> postgres at the moment?
> (I didn't find a TODO entry for this (even at 'exotic' features))
There has been some discussion of this. The fact that it is disallowed
by SQL92 is *not* the reason we don't have the feature, but it may be
responsible for it not yet being done...
- Thomas
--
Thomas Lockhart lockhart@alumni.caltech.edu
South Pasadena, California
> Hello, > > is it correct that a nesting of subtransactions is not possible with > postgres at the moment? > (I didn't find a TODO entry for this (even at 'exotic' features)) We don't support it, but will add to TODO now. -- Bruce Momjian | http://www.op.net/~candle maillist@candle.pha.pa.us | (610) 853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania19026