Re: Status of new relation file naming - Mailing list pgsql-hackers

From Hannu Krosing
Subject Re: Status of new relation file naming
Date
Msg-id 39BF225A.D39B42BA@tm.ee
Whole thread Raw
In response to RE: Status of new relation file naming  ("Mikheev, Vadim" <vmikheev@SECTORBASE.COM>)
Responses Re: Status of new relation file naming
List pgsql-hackers
"Mikheev, Vadim" wrote:
> 
> > My idea was to append a version number or oid on to the end
> > of the file name, and use that somehow.
> 
> You'll lose all you would buy as soon as we'll begin to store many
> relations in single file...

Perhaps we could then use the name of DATASPACE = filename ?

Or will the fact that some relations are stored in the same file 
be completely invisible to the user ?

> and I would like to implement this in 7.1

Will this new storage manager replace the current one or will one be 
able to choose which storage manager to use (at compile time, at 
startup, for each table)?

PostgreSQL started as an extensible ORDBMS, but IIRC at some stage 
all other SMs were thrown out.

I don't think it would be a good idea to completely abandon the 
notion of storage manager as a replacable component.


OTOH, the idea of storing single-inheritance hierarchies 
(SQL3 CREATE UNDER) in one file would almost automatically get us 
many benefits, like shared primary keys and automatic index inheriting.

--------------
Hannu


pgsql-hackers by date:

Previous
From: Jan Wieck
Date:
Subject: Re: man, I feel like a beginner ...
Next
From: Philip Warner
Date:
Subject: Re: Status of new relation file naming