[Bug 382770] Re: Unable to re-run initdb after installing postgresql-8.3 on Ubuntu hardy

2009-06-09 Thread Martin Pitt
You can still use initdb, but you cannot mix initdb with pg_createcluster. You either need to stick with the upstream tools, or use the Debian/Ubuntu tools. Please see /usr/share/doc/postgresql-8.3/README.Debian.gz for further information. Thank you for your report! ** Changed in: postgresql

[Bug 382770] Re: Unable to re-run initdb after installing postgresql-8.3 on Ubuntu hardy

2009-06-09 Thread Martin Pitt
Oh, btw, we don't modify PostgreSQL in that regard. We have a small patch to libpq to update the default socket path (/tmp - /var/lib/postgresql/, for security reasons), but we don't touch behaviour of the tools; that would be pretty evil. pg_createcluster has a --locale option as well, FYI. --

[Bug 382770] Re: Unable to re-run initdb after installing postgresql-8.3 on Ubuntu hardy

2009-06-03 Thread egilst
I have now studied how postgresql is installed on Ubuntu, and found that there are a number of commands not documented in the official PostgreSQL documentation, among those: pg_createcluster, which is a wrapper for initdb. When I found out how to use these commands, I was able to solve my problem.