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

Re: Map forks (WIP)

From: "Heikki Linnakangas" <heikki(at)enterprisedb(dot)com>
To: "pgsql-patches" <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Map forks (WIP)
Date: 2008-05-07 07:11:16
Message-ID: 48215614.4080307@enterprisedb.com (view raw or flat)
Thread:
Lists: pgsql-patches
Heikki Linnakangas wrote:
> I'm not completely satisfied with the way this looks, so I'll try a 
> slightly different approach next: Instead of having one SMgrRelation per 
> fork, add an extra ForkNumber argument to all the smgr functions.

Here's an updated patch using the above approach. Looks much better now, 
IMO. The FSM implementation is still an incomplete mess, so don't bother 
looking into freespace.c or indexfsm.c, but I'm quite happy with the 
forks stuff now.

I shall work on the FSM internals next...

-- 
   Heikki Linnakangas
   EnterpriseDB   http://www.enterprisedb.com

Attachment: fsm-forks-3.patch.gz
Description: application/x-gzip (55.0 KB)

In response to

Responses

pgsql-patches by date

Next:From: Pavel StehuleDate: 2008-05-07 07:23:22
Subject: Re: plpgsql CASE statement - last version
Previous:From: Alex HunsakerDate: 2008-05-07 06:41:34
Subject: Re: [badalex@gmail.com: Re: [BUGS] Problem identifying constraints which should not be inherited]

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