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 17:39:59
Message-ID: 3721.979839599@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-ports
Jason Tishler <Jason(dot)Tishler(at)dothill(dot)com> writes:
>> In a parallel test it's possible that several backends would try to do
>> this at about the same time, but that should be OK; we should end up
>> with just one file from the last-to-finish backend.  I think you have
>> found another Cygwin bug :-(

> Windows has issues with open files.  So, if a backend is trying to
> rename a file when it is open (by another), then the rename will fail.
> Will this cause database integrity problems?  Or, will there just be
> some spurious warning?

In this context the only bad side-effect is that a useless temporary
file gets left around.  It's small, so I wouldn't worry too much.

However --- I suppose Windows can't cope with deleting a file someone
else is holding open, either?  That would cause significantly bigger
problems :-(

			regards, tom lane

In response to

Responses

pgsql-ports by date

Next:From: Jason TishlerDate: 2001-01-18 17:51:24
Subject: Re: Cygwin PostgreSQL Regression Test Problems
Previous:From: Jason TishlerDate: 2001-01-18 13:46:55
Subject: Re: Cygwin PostgreSQL Regression Test Problems

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