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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Chris Bitmead <chris(at)bitmead(dot)com>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: OK, OK, Hiroshi's right: use a seperately-generated filename
Date: 2000-06-17 01:12:29
Message-ID: 10206.961204349@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Chris Bitmead <chris(at)bitmead(dot)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...

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Hiroshi Inoue 2000-06-17 09:38:29 RE: Big 7.1 open items
Previous Message Chris Bitmead 2000-06-17 00:50:10 Re: OK, OK, Hiroshi's right: use a seperately-generated filename