{"slug":"postgresql","title":"PostgreSQL","description":"Wiki for PostgreSQL 18: SQL & querying (joins/CTEs/windows), DDL/DML, data types incl. JSON/JSONB, indexes, transactions & MVCC, performance/EXPLAIN, PL/pgSQL, psql, roles & security, and operations.","tags":["postgresql","database","sql"],"category":"devtools","scope":{"covers":"PostgreSQL 18 for practitioners: SQL and querying (joins, subqueries, CTEs, window functions), DDL (tables/schemas/constraints/partitioning), DML (incl. ON CONFLICT upsert, RETURNING), data types including JSON/JSONB, indexes (all types, partial/expression), transactions and MVCC (isolation levels, locking), performance tuning with EXPLAIN, PL/pgSQL, the psql client, roles/privileges/RLS, backups (pg_dump), and a reference catalog.","notCovered":"The exhaustive SQL-command and function reference, partitioning/full-text-search deep dives, the extension ecosystem internals, replication/HA configuration, and server administration beyond basics — use postgresql.org/docs. Pinned to PostgreSQL 18; freshness = source fetch date below.","currentAs":"2026-06-25 (18)"},"lastUpdated":"2026-06-25","documentCount":19,"raw_base":"/raw/postgresql/","html_base":"/wiki/postgresql/","documents":[{"path":"README.md","title":"LLM Wiki","type":null,"updated":null},{"path":"wiki/index.md","title":"PostgreSQL KB — Master Index","type":"index","updated":"2026-06-25"},{"path":"wiki/concepts/constraints.md","title":"Constraints","type":"concept","updated":"2026-06-25"},{"path":"wiki/concepts/data-types.md","title":"Data Types","type":"concept","updated":"2026-06-25"},{"path":"wiki/concepts/dml.md","title":"Data Manipulation: INSERT, UPDATE, DELETE","type":"concept","updated":"2026-06-25"},{"path":"wiki/concepts/indexes.md","title":"Indexes and Index Types","type":"concept","updated":"2026-06-25"},{"path":"wiki/concepts/json.md","title":"JSON and JSONB","type":"concept","updated":"2026-06-25"},{"path":"wiki/concepts/plpgsql.md","title":"PL/pgSQL — SQL Procedural Language","type":"concept","updated":"2026-06-25"},{"path":"wiki/concepts/queries-and-joins.md","title":"Queries, Table Expressions, and CTEs","type":"concept","updated":"2026-06-25"},{"path":"wiki/concepts/roles-and-security.md","title":"Roles, Privileges, and Row-Level Security","type":"concept","updated":"2026-06-25"},{"path":"wiki/concepts/schema-and-tables.md","title":"Schemas and Tables","type":"concept","updated":"2026-06-25"},{"path":"wiki/concepts/sql-basics.md","title":"SQL Basics in PostgreSQL","type":"concept","updated":"2026-06-25"},{"path":"wiki/concepts/transactions-and-mvcc.md","title":"Transactions, MVCC, and Locking","type":"concept","updated":"2026-06-25"},{"path":"wiki/concepts/window-and-aggregates.md","title":"Window Functions and Aggregates","type":"concept","updated":"2026-06-25"},{"path":"wiki/entities/psql.md","title":"psql — PostgreSQL Interactive Terminal","type":"entity","updated":"2026-06-25"},{"path":"wiki/log.md","title":"Activity Log","type":"log","updated":null},{"path":"wiki/summaries/operations-and-reference-catalog.md","title":"Operations and Reference Catalog","type":"summary","updated":"2026-06-25"},{"path":"wiki/syntheses/data-modeling-and-types.md","title":"Data Modeling and Type Selection","type":"synthesis","updated":"2026-06-25"},{"path":"wiki/syntheses/query-performance-tuning.md","title":"Query Performance Tuning","type":"synthesis","updated":"2026-06-25"}]}