Re: pg_upgrade and log file output on Windows

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_upgrade and log file output on Windows
Date: 2011-07-19 19:10:25
Message-ID: 4E25D6A1.4010306@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 07/19/2011 01:25 PM, Bruce Momjian wrote:
> Andrew Dunstan wrote:
>>> I can't figure out of there is something odd about this user's setup or
>>> if there is a bug in pg_upgrade with -l on Windows.
>>>
>>
>> The Windows file system seems to have some asynchronicity regarding what
>> files are locked. For that reason, the buildfarm code has long had a
>> couple of "sleep(5)" calls where it calls pg_ctl. You might benefit from
>> doing something similar.
> Wow, I had no idea --- I can certainly add them. It is possible the
> person testing this has a faster machine than other users. I will
> report back after testing with a sleep(5).

We need to work out a way to get pg_upgrade testing into the buildfarm.
It's becoming too important not to.

cheers

andrew

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Petr Jelínek 2011-07-19 19:15:46 Re: proposal: new contrib module plpgsql's embeded sql validator
Previous Message Alvaro Herrera 2011-07-19 18:47:16 Re: FOR KEY LOCK foreign keys