Re: pg_upgrade and log file output on Windows - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: pg_upgrade and log file output on Windows
Date
Msg-id 201107191725.p6JHPsD26563@momjian.us
Whole thread Raw
In response to Re: pg_upgrade and log file output on Windows  ("Andrew Dunstan" <andrew@dunslane.net>)
Responses Re: pg_upgrade and log file output on Windows
List pgsql-hackers
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).

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + It's impossible for everything to be true. +


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: FOR KEY LOCK foreign keys
Next
From: Alvaro Herrera
Date:
Subject: Re: Function argument names in pg_catalog