Google News
logo
PostgreSQL - Interview Questions
How do we start The Postgres Database Server?
To start Postgres Database server, we need to move to the location where pgsql script (ideally it’s a shell script) and the location of postgresql and start the services respectively as below.
 
We can add them to the auto startup scripts using chkconfig such that whenever server gets restarted postgres will be started.
 
* /usr/local/etc/rc.d/010.pgsql.sh start
* /usr/local/etc/rc.d/postgresql start
Advertisement