PostgreSQL Question:
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?
/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
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
Previous Question | Next Question |
How to stop the database server? | What are the languages which PostgreSQL supports? |