> -----Original Message-----
> From: Bruce Momjian [mailto:maillist@candle.pha.pa.us]
> Sent: Friday, June 18, 1999 11:31 AM
> To: Hiroshi Inoue
> Cc: PostgreSQL-development
> Subject: Re: [HACKERS] tables > 1 gig
>
>
> > Unlinking unused segments after truncating to zero length may cause
> > the result such as
> >
> > Existent backends write to the truncated file to extend
> the relation
> > while new backends create a new segment file to extend the
> relation.
>
> How about my idea of creating a truncated file, the renaming it to the
> table file. That keeps the table open for other open file descriptors,
> but put a zero-length file in place in an atomic manner.
>
Sorry,I couldn't understand what you mean.
What is differenct from truncating existent files to zero length ?
Regards.
Hiroshi Inoue
Inoue@tpf.co.jp