Re: Prepared transactions vs novice DBAs, again - Mailing list pgsql-hackers

From Robert Haas
Subject Re: Prepared transactions vs novice DBAs, again
Date
Msg-id 603c8f070904221914n2e1294f5ib706b43985fe86af@mail.gmail.com
Whole thread Raw
In response to Re: Prepared transactions vs novice DBAs, again  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On Wed, Apr 22, 2009 at 9:21 PM, Robert Haas <robertmhaas@gmail.com> wrote:
> Maybe I'm just dumb, but I don't get it.  If I start a transaction and
> do "SELECT * FROM foo" and then wait around for an hour or two while
> someone else makes changes to foo and then do "SELECT * FROM foo"
> again, I expect to see the same rows I saw the first time, which means
> they still need to be around.

Yeah, I'm dumb.  It doesn't work this way.  I guess I always assumed
that this was the reason why <idle in transaction> caused database
bloat, but apparently not!

...Robert


pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: pg_restore -j
Next
From: Tom Lane
Date:
Subject: Re: 8.4b1 regression?