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

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 (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-hackers-win32pgsql-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

pgsql-hackers by date

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

pgsql-patches by date

Next:From: Rod TaylorDate: 2003-11-13 14:59:41
Subject: Re: ALTER TABLE modifications
Previous:From: Peter EisentrautDate: 2003-11-13 14:20:05
Subject: Re: ALTER TABLE modifications

pgsql-hackers-win32 by date

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

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