initdb creates a new PostgreSQL database cluster (or database
system). A database cluster is a collection of databases that
are managed by a single server instance. Creating a database
system consists of creating the directories in which the
database data will live, generating the shared catalog tables
(tables that belong to the whole cluster rather than to any
particular database), and creating the template1 database. When
you create a new database, everything in the template1 database
is copied. It contains catalog tables filled in for things like
the built-in types. initdb initializes the database cluster's
default locale and character set encoding. Some locale
categories are fixed for the lifetime of the cluster, so it is
important to make the right choice when running initdb. Other
locale categories can be changed later when the server is
started. initdb will write those locale settings into the
postgresql.conf configuration file so they are the default, but
they can be changed by editing that file. To s