Re: Multiple Xids in PGPROC?
Rod Taylor <pg@rbt.ca>
From: Rod Taylor <pg@rbt.ca>
To: Christopher Kings-Lynne <chriskl@familyhealth.com.au>
Cc: Bruce Momjian <pgman@candle.pha.pa.us>, Alvaro Herrera <alvherre@dcc.uchile.cl>, Hackers <pgsql-hackers@postgresql.org>
Date: 2004-05-05T04:30:23Z
Lists: pgsql-hackers
On Wed, 2004-05-05 at 00:22, Christopher Kings-Lynne wrote: > > I hope not, because for many of us there will be as many (if not more) > > subtransactions than standard transactions. > > How can that possibly be true? Every statement executed in postgres is > a "transaction" how many subtransactions are really needed and how can > they be as common as normal transactions? Yup.. And some of us intend on wrapping every single statement in a subtransaction so we can rollback on an error without aborting the main transaction. In fact, I would be surprised if tools like psql went very long without doing the same thing so users can recover from spelling mistakes.