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

Re: Cygwin PostgreSQL Regression Test Problems

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jason Tishler <Jason(dot)Tishler(at)dothill(dot)com>
Cc: pgsql-ports(at)postgresql(dot)org
Subject: Re: Cygwin PostgreSQL Regression Test Problems
Date: 2001-01-18 18:53:36
Message-ID: 4370.979844016@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-ports
Jason Tishler <Jason(dot)Tishler(at)dothill(dot)com> writes:
> /* FIXME: this delqueue module is very flawed and should be rewritten.
>         First, having an array of a fixed size for keeping track of the
>         unlinked but not yet deleted files is bad.  Second, some programs
>         will unlink files and then create a new one in the same location
>         and this behavior is not supported in the current code.  Probably
>         we should find a move/rename function that will work on open files,
>         and move delqueue files to some special location or some such
>         hack... */

> With the above caveats, is the current functionality sufficient for
> PostgreSQL's needs?

The fixed-size-array thing sounds like a gotcha waiting to bite someone.
How big is the array, anyway?

The unlink/recreate issue is not a problem for us anymore, since we use
OIDs as filenames --- we won't try to reuse the same filename.

			regards, tom lane

In response to

Responses

pgsql-ports by date

Next:From: Bruce MomjianDate: 2001-01-18 18:58:48
Subject: Re: Re: Cygwin PostgreSQL Regression Test Problems
Previous:From: Jason TishlerDate: 2001-01-18 18:23:57
Subject: Re: Cygwin PostgreSQL Regression Test Problems

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