smgr.c and smgrtype.c

From: Satoshi Nagayasu <nagayasus(at)nttdata(dot)co(dot)jp>
To: pgsql-hackers(at)postgresql(dot)org
Subject: smgr.c and smgrtype.c
Date: 2004-10-19 06:53:58
Message-ID: 4174BA06.9080703@nttdata.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)nttdata(dot)co(dot)jp>
OpenSource Development Center,
NTT DATA Corp. http://www.nttdata.co.jp/

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Neil Conway 2004-10-19 07:00:58 Re: 7.4 changes
Previous Message Christopher Browne 2004-10-19 05:15:30 Re: embedded postgresql