Re: OK, OK, Hiroshi's right: use a seperately-generated filename

Marc G. Fournier <scrappy@hub.org>

From: The Hermit Hacker <scrappy@hub.org>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Chris Bitmead <chris@bitmead.com>, pgsql-hackers@postgresql.org
Date: 2000-06-20T22:50:34Z
Lists: pgsql-hackers
On Fri, 16 Jun 2000, Tom Lane wrote:

> Chris Bitmead <chris@bitmead.com> writes:
> > At least on UNIX, couldn't you use a hard-link and change the name in
> > pg_class immediately? Let the brain-dead operating systems use the
> > vacuum method.
> 
> Hmm ... maybe, but it doesn't seem worth the portability headache to
> me.  We do have an NT port that we don't want to break, and I don't
> think RENAME TABLE is worth the trouble of testing/supporting two
> implementations.
> 
> Even on Unix, aren't there filesystems that don't do hard links?
> Not that I'd recommend running Postgres on such a volume, but...

tTo the best of my knowledge, its only symlinks that aren't
(weren't?) universally supported ... somehow, I believe taht even extends
to NT ...