Re: [patch] INSTALL doc note (was Re: [BUGS] BUG #1051: Cannot remove groups) - Mailing list pgsql-patches

From Peter Eisentraut
Subject Re: [patch] INSTALL doc note (was Re: [BUGS] BUG #1051: Cannot remove groups)
Date
Msg-id 200401182250.04310.peter_e@gmx.net
Whole thread Raw
In response to [patch] INSTALL doc note (was Re: [BUGS] BUG #1051: Cannot remove groups)  (jari.aalto@poboxes.com (Jari Aalto))
List pgsql-patches
Jari Aalto wrote:
> Thank you. That did it. May I suggest adding this:
>
>
> --- INSTALL.old    2004-01-17 13:34:22.000000000 +0200
> +++ INSTALL    2004-01-17 13:33:32.000000000 +0200
> @@ -15,6 +15,7 @@
>    mkdir /usr/local/pgsql/data
>    chown postgres /usr/local/pgsql/data
>    su - postgres
> +  <kill current postmaster. This clears groups and users>
>    LC_ALL=C /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
>    /usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data >logfile
> 2>&1 & /usr/local/pgsql/bin/createdb test

This is plain wrong.  Killing the postmaster doesn't clear anything.


pgsql-patches by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: pltcl - cannot create 'normal' interpreter - Tcl_CreateSlave() fails - A solution
Next
From: Peter Eisentraut
Date:
Subject: Re: [patch] 7.4 initdb - drop trailing slash from $PGDATA