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?
SELECT * FROM pg_settings WHERE name = 'port';
1.4m articles
1.4m replys
5 comments
57.0k users