Re: [COMMITTERS] pgsql: Create a "relation mapping" infrastructure to support changing - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: [COMMITTERS] pgsql: Create a "relation mapping" infrastructure to support changing
Date
Msg-id 20100208134702.GB4113@alvh.no-ip.org
Whole thread Raw
Responses Re: [COMMITTERS] pgsql: Create a "relation mapping" infrastructure to support changing  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
I just noticed that this patch

> Create a "relation mapping" infrastructure to support changing the relfilenodes
> of shared or nailed system catalogs.  This has two key benefits:

creates a new function pg_relation_filenode() that only uses the
syscache to fetch the relation's filenode, without locking it.  I wonder
if we could do the same in the pg_relation_size() function and friends,
to avoid having to grab a lock on the relation.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


pgsql-hackers by date:

Previous
From: Tim Bunce
Date:
Subject: Re: Add on_plperl_init and on_plperlu_init to plperl UPDATE 3 [PATCH]
Next
From: "Greg Sabino Mullane"
Date:
Subject: Re: Confusion over Python drivers