fix pgsql configuration (change owners of databases)