Как проверить номер порта на PostgreSQL
SELECT *
FROM pg_settings
WHERE name = 'port';
Mysterious Mandrill
SELECT *
FROM pg_settings
WHERE name = 'port';