Re: [COMMITTERS] pgsql: Create a "relation mapping" infrastructure to support changing

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [COMMITTERS] pgsql: Create a "relation mapping" infrastructure to support changing
Date: 2010-02-08 13:47:02
Message-ID: 20100208134702.GB4113@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers 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.

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2010-02-08 14:10:21 pgsql: Add C comments that HEAP_MOVED_* define usage is only for pre-9.0
Previous Message Bruce Momjian 2010-02-08 13:41:06 pgsql: Update high availability/replication documentation chart for new

Browse pgsql-hackers by date

  From Date Subject
Next Message Greg Sabino Mullane 2010-02-08 14:32:08 Re: Confusion over Python drivers
Previous Message Tim Bunce 2010-02-08 13:44:16 Re: Add on_plperl_init and on_plperlu_init to plperl UPDATE 3 [PATCH]