Installation initializes the database and sets the permissions on the data directory to their correct values.
initdb program sets the permissions on the data directory to
700. You should not change these permissions to anything else to avoid creating a security hole.
You can start the
postmaster program with the following command (make sure you are still the user
matthew@seymour:~$ postmaster -D /usr/local/pgsql/data &
If you have decided to use a directory other than
/usr/local/pgsql/data as the data directory, you should replace the directory in the postmaster command line with whatever directory you are using.
By default, Ubuntu makes the PostgreSQL data directory ...