[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pgsql-patches
Subject:    Re: [PATCHES] Map forks (WIP)
From:       Tom Lane <tgl () sss ! pgh ! pa ! us>
Date:       2008-05-20 23:14:15
Message-ID: 7278.1211325255 () sss ! pgh ! pa ! us
[Download RAW message or body]

"Heikki Linnakangas" <heikki@enterprisedb.com> writes:
> Tom Lane wrote:
>> One thing I did *not* like was changing the FSM API to refer to Relation
>> rather than RelFileNode --- I don't believe that's a good idea at all.

> Oh really? I'm quite fond of the new API. From a philosophical point of
> view, in the new world order, the FSM is an integral part of a relation, 
> not something tacked on the physical layer.

So?  When you have two live versions of a relation, it's still going to
be necessary to track their free state separately.

> Besides, Relation contains a bunch of very handy fields.

This just sounds like you're looking for ways to commit layering
violations.  The reason we invented SMgrRelation in the first place
was to get the low-level routines out of dealing with Relation, and
I'm not eager to undo that effort.

			regards, tom lane

-- 
Sent via pgsql-patches mailing list (pgsql-patches@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-patches
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic