Re: OK, OK, Hiroshi's right: use a seperately-generated filename - Mailing list pgsql-hackers

From Chris Bitmead
Subject Re: OK, OK, Hiroshi's right: use a seperately-generated filename
Date
Msg-id 394C20C6.9580A8A9@bitmead.com
Whole thread Raw
In response to Re: OK, OK, Hiroshi's right: use a seperately-generated filename  (Peter Eisentraut <peter_e@gmx.net>)
Responses RE: OK, OK, Hiroshi's right: use a seperately-generated filename
List pgsql-hackers
Tom Lane wrote:

> > Also, you said before that an old relname (after rename) is worse than
> > none at all. I couldn't agree more.
> 
> I'm not the one who wants relnames in the physical names ;-).  However,
> this implementation mechanism will support either policy choice ---
> original relname in the filename, or just a numeric ID for the filename
> --- and that seems like a good sign to me.
> 
> > Why not use OID.[SEGMENT.]VERSION for the physical relname (different
> > order possible)?

Unless VERSION is globally unique like an oid is, having RELNAME.VERSION
would be a problem if you created a table with the same name as a 
recently renamed table.


pgsql-hackers by date:

Previous
From: JanWieck@t-online.de (Jan Wieck)
Date:
Subject: Re: Big 7.1 open items
Next
From: Giles Lean
Date:
Subject: Re: Big 7.1 open items