Re: [pgsql-hackers-win32] initdb in C

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: [pgsql-hackers-win32] initdb in C
Дата
Msg-id 3FB305F4.2030107@dunslane.net
обсуждение исходный текст
Ответ на Re: [pgsql-hackers-win32] initdb in C  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [pgsql-hackers-win32] initdb in C  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-patches
Apologies. Here's the patch. There may be other very minor differences
in wording, too. But if that's all I missed I won't think I did too
badly :-)

cheers

andrew

Tom Lane wrote:

>What's become of initdb's initial note about who you are?
>
>$ initdb
>The files belonging to this database system will be owned by user "postgres".
>This user must also own the server process.
>... etc etc...
>
>The first two lines of printout don't seem to be in the "highly
>compatible" C version.
>
>
>
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 04:15:33 -0000
***************
*** 2324,2329 ****
--- 2324,2333 ----
      pqsignal(SIGTERM, trapsig);
  #endif

+     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,",
+            efective_user);
+
      /* clear this we'll use it in a few lines */
      errno = 0;


В списке pgsql-patches по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: "make check" improvement for cygwin
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: [pgsql-hackers-win32] initdb in C