Re: initdb in C - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: initdb in C
Date
Msg-id 200311081739.hA8Hdx121365@candle.pha.pa.us
Whole thread Raw
In response to Re: initdb in C  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> >> Consider also the strong likelihood that the data directory's parent
> >> directory is owned by root,
>
> > Again, this directory recreate happens only on Win32, an I thought it
> > would be OK there.
>
> Windows has no concept of directory permissions at all?  I thought the
> more recent versions had at least rudimentary permissions.

I found "del" works for what we need.  I have posted the new code
already.

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

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: initdb in C
Next
From: Andrew Dunstan
Date:
Subject: Re: initdb in C