Re: [HACKERS] Cannot initdb in cvs tip

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Dave Page <dpage(at)vale-housing(dot)co(dot)uk>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, pgsql-patches(at)postgresql(dot)org
Subject: Re: [HACKERS] Cannot initdb in cvs tip
Date: 2004-07-28 14:27:24
Message-ID: 200407281427.i6SEROJ05250@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-hackers-win32 pgsql-patches

Andrew Dunstan wrote:
> >I wanted to keep a solution that was as native to the OS as possible,
> >but because we can't do that on Win32 and few people like the unix
> >system call to 'rm', it is time to clean it up.
> >
> >One question --- why is there a sleep loop needed for unlink in your
> >patch?
> >
> >
> >
> >
>
> We will just be calling the existing pgunlink() (which has a sleep) in
> the Windows cases, so this question becomes moot.

Great. Thanks. Sorry I delayed addressing this for so long.

Should we look at replacing cp/copy in 7.6?

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-07-28 14:29:31 Re: [HACKERS] Cannot initdb in cvs tip
Previous Message Andrew Dunstan 2004-07-28 14:22:42 Re: [HACKERS] Cannot initdb in cvs tip

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Tom Lane 2004-07-28 14:29:31 Re: [HACKERS] Cannot initdb in cvs tip
Previous Message Andrew Dunstan 2004-07-28 14:22:42 Re: [HACKERS] Cannot initdb in cvs tip

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2004-07-28 14:28:48 Re: Some release notes corrections.
Previous Message Andrew Dunstan 2004-07-28 14:22:42 Re: [HACKERS] Cannot initdb in cvs tip