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.