$ sudo -u postgres psql postgres
postgres=# CREATE USER ifinance;
postgres=# create database ifinance Encoding 'UTF8' lc_collate 'ja_JP.UTF-8'
lc_ctype 'ja_JP.UTF-8' Owner ifinance TEMPLATE template0;
postgres=# show hba_file;
(例)/var/lib/pgsql/data/pg_hba.conf
(例)$ sudo vim /var/lib/pgsql/data/pg_hba.conf
## ident => trust
local all all trust
host all all 127.0.0.1/32 trust
host all all ::1/128 trust