smgr.c and smgrtype.c - Mailing list pgsql-hackers

From Satoshi Nagayasu
Subject smgr.c and smgrtype.c
Date
Msg-id 4174BA06.9080703@nttdata.co.jp
Whole thread Raw
Responses Re: smgr.c and smgrtype.c
List pgsql-hackers
Hello all,

I'm trying to modify the storage manager now.

I found a number of smgrs are stored separately in the storage manager
module (NSmgr in smgr.c and NStorageManagers in smgrtype.c),
and names of storage managers are stored in smgrtype.c.
Are there any reason for this?

I think they shold be stored in smgr.c and and interfaces
to get a name of smgr or a number of smgrs should be provided.

And the smgrid struct (in smgrtype.c) is (still) used?

My patch is available here:
http://snaga.org/pgsql/patches/smgr.patch

Any comments?

-- 
NAGAYASU Satoshi <nagayasus@nttdata.co.jp>
OpenSource Development Center,
NTT DATA Corp. http://www.nttdata.co.jp/



pgsql-hackers by date:

Previous
From: Neil Conway
Date:
Subject: Re: spinlocks: generalizing "non-locking test"
Next
From: Neil Conway
Date:
Subject: Re: 7.4 changes