| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | Manfred Koizar <mkoi-pg(at)aon(dot)at> |
| Cc: | pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: Nested transactions RFC |
| Date: | 2002-05-12 15:31:26 |
| Message-ID: | 29809.1021217486@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Manfred Koizar <mkoi-pg(at)aon(dot)at> writes:
> A *stack* of _active_ transaction numbers is not sufficient, we need
> the whole *tree* of _all_ transactions belonging to the current top
> level transaction. This is, want I wanted to model in my pg_subtrans
> "table". And pg_subtrans cannot be a private structure, because it
> has to be inspected by other transactions too (cf. example above).
Hmm. This seems to me to be vastly overdesigning the feature. I've
never yet seen a practical application for more than one level of
subtransaction, so I question whether we should buy into a substantially
more complex implementation to support the more general case.
> Is this really related to subtransactions? The current behaviour is,
> that an error not only aborts the offending command, but the whole
> (top level) transaction. My proposal doesn't change anything
> regarding this.
Every single application that I've seen for subtransactions is all about
error recovery. If we don't fix that then there's no point.
> You have quoted only small parts of my posting.
I don't believe in quoting whole postings, only enough to remind people
what it was I'm responding to.
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2002-05-12 15:34:24 | Re: troubleshooting pointers |
| Previous Message | Jason Tishler | 2002-05-12 14:34:37 | Re: FW: Cygwin PostgreSQL Information and Suggestions |