Re: [PATCHES] initdb in C

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: PostgreSQL Win32 port list <pgsql-hackers-win32(at)postgresql(dot)org>, "Patches (PostgreSQL)" <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [PATCHES] initdb in C
Date: 2003-11-13 14:52:50
Message-ID: 200311131452.hADEqoJ08421@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-hackers-win32 pgsql-patches


Patch applied. Thanks.

---------------------------------------------------------------------------

Andrew Dunstan wrote:
> Note to self: stop working when brain is clearly malfunctioning.
>
> *This* patch works. Please disregard previous.
>
> thanks
>
> andrew
>
> Andrew Dunstan wrote:
>
> >
> > OK, this works.
> >
> > cheers
> >
> > andrew
> >
> > Andrew Dunstan wrote:
> >
> >>
> >> ARRGGHH! It has a typo!. new patch shortly.
> >>
> >> Andrew Dunstan wrote:
> >>
> >

> ? initdb
> Index: initdb.c
> ===================================================================
> RCS file: /projects/cvsroot/pgsql-server/src/bin/initdb/initdb.c,v
> retrieving revision 1.4
> diff -c -w -r1.4 initdb.c
> *** initdb.c 13 Nov 2003 01:36:00 -0000 1.4
> --- initdb.c 13 Nov 2003 12:52:21 -0000
> ***************
> *** 2275,2280 ****
> --- 2275,2285 ----
> check_input(features_file);
> check_input(system_views_file);
>
> + printf("The files belonging to this database system will be owned "
> + "by user \"%s\".\n"
> + "This user must also own the server process.\n\n",
> + effective_user);
> +
> setlocales();
>
> if (strcmp(lc_ctype, lc_collate) == 0 &&

>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org

--
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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jan Wieck 2003-11-13 14:57:43 Re: ARC buffer strategy committed
Previous Message Tom Lane 2003-11-13 14:50:59 Re: 7.4RC2 regression failur and not running stats collector process on Solaris

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Joshua D. Drake 2003-11-13 17:29:51 CreateProcess vs Create Thread
Previous Message Andrew Dunstan 2003-11-13 13:14:27 Re: [PATCHES] initdb in C

Browse pgsql-patches by date

  From Date Subject
Next Message Rod Taylor 2003-11-13 14:59:41 Re: ALTER TABLE modifications
Previous Message Peter Eisentraut 2003-11-13 14:20:05 Re: ALTER TABLE modifications