Bug fix:

When PGPORT does not exist, port is equal to 5432.