From: | "Hiroshi Inoue" <Inoue(at)tpf(dot)co(dot)jp> |
---|---|
To: | "Zeugswetter Andreas SB" <ZeugswetterA(at)wien(dot)spardat(dot)at> |
Cc: | "'hackers'" <pgsql-hackers(at)postgreSQL(dot)org>, "'Tom Lane'" <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Subject: | RE: AW: AW: [HACKERS] TRANSACTIONS |
Date: | 2000-02-25 01:06:15 |
Message-ID: | 000501bf7f2c$83c55720$2801007e@tpf.co.jp |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> -----Original Message-----
> From: owner-pgsql-hackers(at)postgreSQL(dot)org
> [mailto:owner-pgsql-hackers(at)postgreSQL(dot)org]On Behalf Of Zeugswetter
>
> > > They don't necessarily have nested tx, although some have.
> > > All they provide is atomicity of single statements.
> >
> > If it looks like a duck, walks like a duck, and quacks like a duck,
> > it's a duck no matter what it's called. How would you
> > provide atomicity
> > of a single statement without a transaction-equivalent implementation?
> > That statement might be affecting many tuples in several different
> > tables. It's not noticeably easier to roll back one statement than
> > a whole sequence of them.
>
> Yes, the only difference seems to be, that the changes need not
> be sync'd to disk, and you only need one level of nesting as long
> as the user is not presented the ability to use nested tx.
>
Hmm,what do you want now ?
Note that (f)sync is irrelevant at all.
Partial rollback is the problem of only the backend to be rollbacked
except locking.
Vadim has already planned savepoints functionality instead of nested
tx. I have never heard objections to the proposal.
I could see little difference between the implementation of rollback
to arbitrary savepoints and the implemention of rollback only to the
savepoint implicitly placed immediately before current statement.
Do you want another hack ?
Regards.
Hiroshi Inoue
Inoue(at)tpf(dot)co(dot)jp
From | Date | Subject | |
---|---|---|---|
Next Message | Rolf Grossmann | 2000-02-25 01:07:13 | Re: [HACKERS] Re: [BUGS] First experiences with Postgresql 7.0 |
Previous Message | Tom Lane | 2000-02-25 00:35:00 | Re: [HACKERS] Re: [BUGS] First experiences with Postgresql 7.0 |