PostgreSQL Question:

How to check whether PostgreSQL server is up and running?

Tweet Share WhatsApp

Answers:

Answer #1/usr/local/etc/rc.d/010.pgsql.sh status
/usr/local/etc/rc.d/postgresql status?

Answer #2Root user
/etc/init.d/postgresql-9.3 status
postgres user
/opt/PostgreSQL/9.3/bin/pg_ctl -D /opt/PostgreSQL/9.3/data1/ status

Download PostgreSQL PDF Read All 24 PostgreSQL Questions
Previous QuestionNext Question
How to stop the database server?What are the languages which PostgreSQL supports?