PostgreSQL Patterns
Quick reference for PostgreSQL best practices. For detailed guidance, use the database-reviewer agent.
When to Activate
- Writing SQL queries or migrations
- Designing database schemas
- Troubleshooting slow queries
- Implementing Row Level Security
- Setting up connection pooling
Quick Reference
Index Cheat Sheet
| Query Pattern | Index Type | Example | |--------------|------------|---------| | WHERE col = value | B-tree (default) | `CREATE INDEX idx ON
[Description truncada. Veja o README completo no GitHub.]