Bruce Momjian <[EMAIL PROTECTED]> writes:
> Hey, I have an idea. Can we do subtransactions as separate transactions
> (as Tom mentioned), and put the subtransaction id's in the WAL, so they
> an be safely committed/rolledback as a group?
It's not quite that easy: all the subtransactions have to commit at
*the same time* from the point of view of other xacts, or you have
consistency problems. So there'd need to be more xact-commit mechanism
than there is now. Snapshots are also interesting; we couldn't use a
single xact ID per backend to show the open-transaction state.
WAL doesn't really enter into it AFAICS...
regards, tom lane
---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])
- Re: [HACKERS] Plans for solving th... Tom Lane
- Re: [HACKERS] Plans for solvin... Vadim Mikheev
- Re: [HACKERS] Plans for solving th... The Hermit Hacker
- Re: [HACKERS] Plans for solvin... Tom Lane
- Re: [HACKERS] Plans for solvin... Vadim Mikheev
- Re: [HACKERS] Plans for solvin... Tom Lane
- Re: [HACKERS] Plans for solvin... Vadim Mikheev
- Re: [HACKERS] Plans for solvin... Tom Lane
- Re: [HACKERS] Plans for solving the VACUUM problem Nathan Myers
- Re: [HACKERS] Plans for solving the VACUUM problem Tom Lane
- Re: [HACKERS] Plans for solving the VACUUM problem Tom Lane
- Re: [HACKERS] Plans for solving the VACUUM problem Tom Lane
- Re: [HACKERS] Plans for solving the VACUUM problem Vadim Mikheev
- RE: [HACKERS] Plans for solving the VACUUM problem Mikheev, Vadim
- RE: [HACKERS] Plans for solving the VACUUM problem Mikheev, Vadim
- RE: [HACKERS] Plans for solving the VACUUM problem Mikheev, Vadim
- RE: [HACKERS] Plans for solving the VACUUM problem Mikheev, Vadim
- Re: [HACKERS] Plans for solving the VACUUM problem Tom Lane
- RE: [HACKERS] Plans for solving the VACUUM problem Mikheev, Vadim
- RE: [HACKERS] Plans for solving the VACUUM problem Mikheev, Vadim
- RE: [HACKERS] Plans for solving the VACUUM problem Mikheev, Vadim
