Jak sprawdzić numer portu dla PostgreSQL

SELECT *
FROM pg_settings
WHERE name = 'port';
Mysterious Mandrill