you create a new user in your postgresql server and then specify its user to db_user in odoo.conf and its password to db_password, again in odoo.conf. Make sure that user also has create database permission using ALTER USER your_user WITH CREATEDB