convert the port to a string
Merge pull request #7095 from riverajo/postgres-port

convert the port to a string