Re: [patch] INSTALL doc note (was Re: BUG #1051: Cannot remove groups)

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: jari(dot)aalto(at)poboxes(dot)com (Jari Aalto), PostgreSQL fixes <pgsql-patches(at)postgresql(dot)org>
Cc: pgsql-bugs(at)postgresql(dot)org, <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: [patch] INSTALL doc note (was Re: BUG #1051: Cannot remove groups)
Date: 2004-01-18 21:50:04
Message-ID: 200401182250.04310.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs 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.

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Ruslan A Dautkhanov 2004-01-19 03:52:44 vacuum inside the transaction
Previous Message PostgreSQL Bugs List 2004-01-18 12:41:56 BUG #1054: inefficient compression of doco html files

Browse pgsql-patches by date

  From Date Subject
Next Message Peter Eisentraut 2004-01-18 21:55:38 Re: pltcl - cannot create 'normal' interpreter - Tcl_CreateSlave() fails - A solution
Previous Message Peter Eisentraut 2004-01-18 21:48:43 Re: [patch] 7.4 initdb - drop trailing slash from $PGDATA