I have PSQL running, and am trying to get a perl application connecting to the database. Is there a command to find the current port and host that the database is running on
From the terminal you can do:
\conninfo
I would suggest reading a documentation on their exhaustive list of all commands using:
\?