There's a new version available at
http://www.dunslane.net/~andrew/Initdb_In_C.html - I think it takes care of
all of Peter's comments. I removed initdb-scripts.h - the smaller scripts
were moved into initdb.c with SQL comments turned into C comments, and the
large script to set up system views becomes its own file, which is now
passed to postgres with single line mode turned off.
I have just realised that I seem to have skipped the bki file version check.
I will fix that in the next version.
----- Original Message -----
From: "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: "Andrew Dunstan" <andrew(at)dunslane(dot)net>
Cc: "Postgresql Hackers" <pgsql-hackers(at)postgresql(dot)org>;
Sent: Thursday, October 09, 2003 10:07 PM
Subject: Re: [pgsql-hackers-win32] [HACKERS] initdb
> Andrew Dunstan wrote:
> > There will be a new version out there soon. When I am happy with it I
> > let you know - right now I am dealing with 2 issues -
> > doesn't read from the environment on Windows, and the program is
> > not picking up the buffers/connections properly.
> > Please don't put the version currently out there in CVS - the files
> > even be the same - initdb-scripts.h will disappear and there will be a
> > file called "system_views.sql".
> > There is no urgency about this - until we have a working postgres
> > on Windows initdb is useless anyway. My aim has been to have initdb
> > when postgres is ready. Of course, I test against Unix all the time to
> > sure nothing gets broken.
> Fine. We have the URL on the win32 web site, and that's all we need.
> 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
> ---------------------------(end of broadcast)---------------------------
> TIP 7: don't forget to increase your free space map settings
In response to
pgsql-hackers by date
|Next:||From: Jason Tishler||Date: 2003-10-10 12:02:14|
|Subject: Re: compile warnings on cygwin - make check fails|
|Previous:||From: Zeugswetter Andreas SB SD||Date: 2003-10-10 11:11:23|
|Subject: Re: 2-phase commit|
pgsql-patches by date
|Next:||From: Alvaro Herrera||Date: 2003-10-10 13:20:16|
|Subject: Re: [Fwd: Make psql use all pretty print options]|
|Previous:||From: Manfred Koizar||Date: 2003-10-10 09:56:26|
|Subject: Re: introduce "default_use_oids"|
pgsql-hackers-win32 by date
|Next:||From: Andrew Dunstan||Date: 2003-10-10 14:31:32|
|Subject: more setlocale fun|
|Previous:||From: Andrew Dunstan||Date: 2003-10-10 11:28:51|
|Subject: Re: signals on windows|