PostgreSQL
- Installation (local)
- Cheatsheet - DB/Table Metrics
- Cheatsheet - DB Troubleshooting
- Concepts
Configure to start automatically
$ mkdir -p ~/Library/LaunchAgents
$ ln -sfv /usr/local/opt/postgresql/*.plist ~/Library/LaunchAgents
$ launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
Note: if not installed via homebrew, it should looks like
com.postgresapp.Postgres2LoginHelper.plist
References
- Postgres - Json functions | Official docs
- Safe and unsafe operations for high volume PostgreSQL
- Source Tutorial
- http://www.postgresqltutorial.com/
- Postgres Guide - tips on dates
- Cheatsheet - https://gist.github.com/Kartones/dd3ff5ec5ea238d4c546