Skip site navigation (1) Skip section navigation (2)

Re: Patch to remove sort files, temp tables, unreferenced files

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Patch to remove sort files, temp tables, unreferenced files
Date: 2001-05-30 16:03:56
Message-ID: 200105301603.f4UG3uL05969@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-patches
> > You are correct.  I didn't realized that after I check the shared memory
> > for the pid, another backend could start with the pid I was checking and
> > create a sort file.  The sort code doesn't do O_EXCL,
> 
> ... quite deliberately ... you might want to add a comment to that
> effect in OpenTemporaryFile.

Done.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

In response to

pgsql-patches by date

Next:From: Bruce MomjianDate: 2001-05-30 16:19:47
Subject: Re: multi-key GiST patch (please apply to current sources)
Previous:From: Michael StephensonDate: 2001-05-30 15:55:31
Subject: getDate() and getTime() fails with columns of type 'TimeStamp'

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group