Открыть порты postgresql. Postgresql архитектура бд. схема бд postgresql.