Re: Problems Vacuum'ing - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Problems Vacuum'ing
Date
Msg-id 20040403014407.GA1993@dcc.uchile.cl
Whole thread Raw
In response to Re: Problems Vacuum'ing  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Problems Vacuum'ing  (Stephan Szabo <sszabo@megazone.bigpanda.com>)
Re: Problems Vacuum'ing  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Fri, Apr 02, 2004 at 07:35:20PM -0500, Tom Lane wrote:
> jseymour@LinxNet.com (Jim Seymour) writes:
> > Again the difference: With WebObjects running, deleting rows and
> > trying to vacuum immediately, even full, fails.  Shut-down WebObjects
> > and I can.
> 
> WebObjects is evidently holding an open transaction.  Ergo, anything
> deleted after the start of that transaction isn't vacuumable.  You need
> to do something about the client-side logic that is holding an open
> transaction without doing anything ...

But, if I read the code correctly, the oldest xmin vacuum cares about
for a non-shared relation should be local to the database, shouldn't it?
If this is so, why does it matter that he has open transaction on a
different database?

-- 
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
www.google.com: interfaz de línea de comando para la web.


pgsql-hackers by date:

Previous
From: Joe Conway
Date:
Subject: Re: Better support for whole-row operations and composite
Next
From: Joe Conway
Date:
Subject: Re: Inconsistent behavior on Array & Is Null?