Set connection settings to postgresql