Re: Dead Space Map - Mailing list pgsql-hackers

From Hannu Krosing
Subject Re: Dead Space Map
Date
Msg-id 1141143005.3864.1.camel@localhost.localdomain
Whole thread Raw
In response to Re: Dead Space Map  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Dead Space Map
List pgsql-hackers
Ühel kenal päeval, T, 2006-02-28 kell 10:26, kirjutas Tom Lane:
> Hannu Krosing <hannu@skype.net> writes:
> > There is no fundamental reason, why vacuum needs to run in a transaction
> > itselt.
> 
> I'll just take one point: you cannot hold locks unless you have a
> transaction, therefore you cannot even look up the catalog info about
> the table you wish to vacuum; let alone prevent someone else from
> dropping the table under you.
> 
> The current bgwriter is incapable of looking at catalog contents as
> such --- it operates only at the level of physical data blocks.

Would'nt it still be possible to drop a table from below bgwriter ?

Or will pgwriter just ignore that.

--------------
Hannu




pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: bug in 7.3.2
Next
From: Hannu Krosing
Date:
Subject: Re: Dead Space Map