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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-ports by date

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