Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
docs:mac:builds:postgresql [2008/06/08 21:42] – created billh | docs:mac:builds:postgresql [2012/04/25 23:05] (current) – [PostgreSQL] billh | ||
---|---|---|---|
Line 9: | Line 9: | ||
sudo make install | sudo make install | ||
- | (untested from here down) | + | sudo mkdir / |
- | + | sudo chown postgres:postgres / | |
- | mkdir / | + | sudo su - postgres |
- | chown postgres / | + | |
- | su - postgres | + | |
/ | / | ||
- | / | + | (cd to or replace postgres.log with your desired logfile name and location) |
+ | / | ||
/ | / | ||
/ | / | ||
+ | (to shut down the server) | ||
+ | / | ||
</ | </ | ||
- | FIXME - continue verifying | + | ===== Clients ===== |
+ | * psql (command line, included with PostgreSQL) | ||
+ | * [[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 ./install.sh | ||
+ | </ | ||
+ | |||
+ | Your / | ||
+ | < | ||
+ | POSTGRESQL=-YES- | ||
+ | </ | ||
+ | |||
+ | You can now manually control the server with these: | ||
+ | < | ||
+ | sudo / | ||
+ | sudo / | ||
+ | sudo / | ||
+ | </ | ||
+ | |||
+ | |||
+ | ===== See Also ===== | ||
+ | * [[..: | ||
+ | |||
+ | ===== External Links ===== | ||
+ | * http:// |