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
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.
--
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.