Choose Your Own Adventure Postgres 12 By Example
summary
Live-demo tour of Postgres 12 shows concrete commands and results: uses Postgres 12.1 with the Pagila sample DB, adds enum values in-place, uses create or replace aggregate, demonstrates generated columns (STORED only right now) and rejects direct inserts, runs reindex concurrently to rebuild indexes without blocking writers, shows per-table vacuum options (vacuum_index_cleanup, vacuum_truncate), explains CTE inlining (default with MATERIALIZED to force old behavior), psql help URLs, pg_stat_progress views, and a COPY ... WHERE example that writes 36 rows to a CSV.
AI-written summary · about
chapters (14)
- 0:00Welcome to Postgres 12
- 1:12Demo setup and prerequisites
- 7:26Removal of OIDs feature
- 10:54Friendly config sizing
- 12:41Create or replace aggregate
- 15:06Add entries to enum types
- 16:49Generated columns overview
- 25:12Reindex concurrently
- 28:41Per-table vacuum options
- 34:36New system views for progress
- 35:38Common table expression changes
- 41:10Explain settings on feature
- 42:57Copy with WHERE clause
- 47:30Q&A and resources
