Child pages
  • PostgreSQL Primer

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
sudo -u postgres /Library/PostgreSQL/9.0/bin/pg_ctl start -D /Library/PostgreSQL/9.0/data/

The EDB installed version already writes logs in the data/pg_log/ directory so no need to add the -l argument.

...

Code Block
 sudo -u postgres /Library/PostgreSQL/9.0/bin/pg_ctl stop -D /Library/PostgreSQL/9.0/data/

You need to provide the location of the database cluster because you can have multiple instances of PostgreSQL running with different data directories.

...