# initdb --pgdata=/usr/local/pgsql/data
manually as user pgsql. The advantage is that you can specify an encoding and some other options. Running # /usr/local/etc/rc.d/postgresql initdb
is fine too.psql: FATAL: role "postgres" does not exist
createuser -s postgres
createuser: could not connect to database postgres: FATAL: role "postgres" does not exist
# initdb --pgdata=/usr/local/pgsql/data
or # /usr/local/etc/rc.d/postgresql initdb
?