PostgreSQL Question:
Download Questions PDF

How to check whether PostgreSQL server is up and running?

Answers:

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

Answer #2
Root 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 Interview Questions And Answers PDF

Previous QuestionNext Question
How to stop the database server?What are the languages which PostgreSQL supports?