When you setup SWART and PostgreSQL from the installation process, you have set database configuration as well.
At any time, you can access those parameters from Database → Configuration
and if needed, you can change it and save it by clicking the button Save
Configuration validation will be checked before saving, so if something is not correct, error message will be shown bellow
Otherwise, if everything is valid, Database Configuration Window will close and you can check the notification message ‘Database configuration saved.’ in Output