Skip site navigation (1) Skip section navigation (2)

Re: [HACKERS] initdb

From: "Andrew Dunstan" <andrew(at)dunslane(dot)net>
To: "Postgresql Hackers" <pgsql-hackers(at)postgresql(dot)org>,"pgsql-hackers-win32" <pgsql-hackers-win32(at)postgresql(dot)org>
Subject: Re: [HACKERS] initdb
Date: 2003-10-10 11:50:06
Message-ID: 001b01c38f24$a8021810$6401a8c0@DUNSLANE (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-hackers-win32pgsql-patches
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.

cheers

andrew


----- 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>;
"pgsql-hackers-win32" <pgsql-hackers-win32(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
will
> > let you know - right now I am dealing with 2 issues -
setlocale(LC_ALL,"")
> > doesn't read from the environment on Windows, and the program is
possibly
> > not picking up the buffers/connections properly.
> >
> > Please don't put the version currently out there in CVS - the files
won't
> > even be the same - initdb-scripts.h will disappear and there will be a
new
> > file called "system_views.sql".
> >
> > There is no urgency about this - until we have a working postgres
executable
> > on Windows initdb is useless anyway. My aim has been to have initdb
ready
> > when postgres is ready. Of course, I test against Unix all the time to
make
> > 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
19073
>
> ---------------------------(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 TishlerDate: 2003-10-10 12:02:14
Subject: Re: compile warnings on cygwin - make check fails
Previous:From: Zeugswetter Andreas SB SDDate: 2003-10-10 11:11:23
Subject: Re: 2-phase commit

pgsql-patches by date

Next:From: Alvaro HerreraDate: 2003-10-10 13:20:16
Subject: Re: [Fwd: Make psql use all pretty print options]
Previous:From: Manfred KoizarDate: 2003-10-10 09:56:26
Subject: Re: introduce "default_use_oids"

pgsql-hackers-win32 by date

Next:From: Andrew DunstanDate: 2003-10-10 14:31:32
Subject: more setlocale fun
Previous:From: Andrew DunstanDate: 2003-10-10 11:28:51
Subject: Re: signals on windows

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group