Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
docs:mac:builds:postgresql [2008/06/09 00:13] – billh | docs:mac:builds:postgresql [2012/04/25 23:05] (current) – [PostgreSQL] billh | ||
---|---|---|---|
Line 13: | Line 13: | ||
sudo su - postgres | sudo su - postgres | ||
/ | / | ||
- | (cd to or replace | + | (cd to or replace |
- | / | + | / |
/ | / | ||
/ | / | ||
+ | (to shut down the server) | ||
+ | / | ||
</ | </ | ||
- | |||
===== Clients ===== | ===== Clients ===== | ||
* psql (command line, included with PostgreSQL) | * psql (command line, included with PostgreSQL) | ||
* [[http:// | * [[http:// | ||
+ | |||
+ | ===== Mac OS X Startup Item ===== | ||
+ | Postgres source code (at least as of 8.3.1) contains a startup script package for OS X. Go to <pg build dir>/ | ||
+ | < | ||
+ | sudo /bin/sh ./ | ||
+ | </ | ||
+ | |||
+ | Your / | ||
+ | < | ||
+ | POSTGRESQL=-YES- | ||
+ | </ | ||
+ | |||
+ | You can now manually control the server with these: | ||
+ | < | ||
+ | sudo / | ||
+ | sudo / | ||
+ | sudo / | ||
+ | </ | ||
+ | |||
===== See Also ===== | ===== See Also ===== | ||
Line 29: | Line 49: | ||
===== External Links ===== | ===== External Links ===== | ||
* http:// | * http:// | ||
- |