postgresql
Installation
SKILL.md
PostgreSQL
PostgreSQL (Postgres) is a powerful, open-source object-relational database system. It is known for its reliability, feature robustness (JSONB, GIS, Full Text Search), and performance.
When to Use
- Primary Database: The default choice for almost any modern application (Django, Rails, Node).
- Complex Data: When you need Relational + JSON (NoSQL) + Geo-spatial (PostGIS) in one DB.
- Data Integrity: When strictly typed schemas and ACID compliance are critical.
Quick Start
-- JSONB column usage
CREATE TABLE events (
id SERIAL PRIMARY KEY,
data JSONB
);