From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
Cc: | "Patches (PostgreSQL)" <pgsql-patches(at)postgresql(dot)org> |
Subject: | Re: initdb in C |
Date: | 2003-11-08 16:24:37 |
Message-ID: | Pine.LNX.4.44.0311081722540.11030-100000@peter.localdomain |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-hackers-win32 pgsql-patches |
Andrew Dunstan writes:
> recreating the datadir if we didn't create it initially should be OK in
> that case, and it makes the code simpler.
That should be avoided, because you'll have trouble recreating the
original directory with all its properties such as ownership, permissions,
etc., at least not without making the code anything but simpler. There
might even be a situation were you are allowed to delete the directory but
cannot create a new one.
--
Peter Eisentraut peter_e(at)gmx(dot)net
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2003-11-08 16:38:40 | Re: New approach to ye olde cross-datatype indexing problem |
Previous Message | Bruce Momjian | 2003-11-08 16:18:39 | Re: [PATCHES] initdb in C |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2003-11-08 16:24:53 | Re: Error to build snapshot |
Previous Message | Bruce Momjian | 2003-11-08 16:18:39 | Re: [PATCHES] initdb in C |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2003-11-08 16:51:03 | Re: initdb in C |
Previous Message | Bruce Momjian | 2003-11-08 16:19:32 | Re: alter schema help is not available in psql |