Rename... Why would we need in rename with OID filenames?
Ok, let's start with OID (*without tablename prefix|suffix*) filenames
and we'll see later how it will work.

So, could someone implement OID filenames?
(Please use RelFileNode structure).

Vadim

> > > You have to tell us whether you plan to implement 
> > > a safe file rename in WAL ? If yes a simple filename
> > > without version would be possible and better.
> > 
> > What do you mean?
> 
> The previous discussion we had where we concluded, that 
> an os rename of a file cannot be done without risc.
> But that risc was imho acceptable to avoid the extra version 
> in the filename
> 
> (a rename back to the old name could fail when the tx is supposed 
> to be rolled back).
> 
> Search the archive for "file rename sync".
> 
> My conlusion would be an oid only filename, or a mixture of
> oid and tablename, where tablename can be wildcarded on a 
> directory search,
> since oid is already unique. No version in the name, we would 
> do renames in
> that case.
> 
> If I remember correctly a patch exists that does oid only filenames.
> 
> Andreas
> 
> 

Thu, 14 Sep 2000 10:08:40 -0700
"Mikheev, Vadim" <vmikheev@SECTORBASE.COM>
RE: Status of new relation file naming


"Mikheev, Vadim" wrote:

> Rename... Why would we need in rename with OID filenames?

Andreas seems to refer to in place replacement of OID files e.g.
using your *relink*.

Regards.

Hiroshi Inoue


Fri, 15 Sep 2000 08:11:51 +0900
Hiroshi Inoue <Inoue@tpf.co.jp>
Re: Status of new relation file naming