Re: initdb in C

Поиск
Список
Период
Сортировка
Искать
От
Bruce Momjian
Тема
Re: initdb in C
Дата
Msg-id
200311081739.hA8Hdx121365@candle.pha.pa.us
Ответ на
Re: initdb in C (Tom Lane)
Список
Дерево обсуждения
Re: [pgsql-hackers-win32] initdb in C Tom Lane <tgl@sss.pgh.pa.us>
Re: [pgsql-hackers-win32] initdb in C Andrew Dunstan <andrew@dunslane.net>
Re: [pgsql-hackers-win32] initdb in C Andrew Dunstan <andrew@dunslane.net>
Re: [pgsql-hackers-win32] initdb in C Andrew Dunstan <andrew@dunslane.net>
Re: [pgsql-hackers-win32] initdb in C Andrew Dunstan <andrew@dunslane.net>
Re: [pgsql-hackers-win32] initdb in C Bruce Momjian <pgman@candle.pha.pa.us>
Tom Lane wrote:
> Bruce Momjian  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 по дате отправления
От: Bruce Momjian
Дата:
Сообщение: Re: initdb in C
От: Andrew Dunstan
Дата:
Сообщение: Re: initdb in C
FAQ