Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
Lists: pgsql-committerspgsql-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                      
The PostgreSQL Company - Command Prompt, Inc.

In response to


pgsql-hackers by date

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

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group