Topic

PostgreSQL

Monitor PostgreSQL database developments, extension releases, and version updates. Our digest aggregates query optimization, indexing, and replication discussions from database administrator communities.

What this topic tracks

  • Database releases and ecosystem updates
  • Query, indexing, and modeling practices
  • Operational lessons from production systems

PostgreSQL · 104 stories

Recent stories

Each story's summary, with the places it was discussed.

Summaries are written by AI from the linked sources. Open the source for full context.

20 stories

PostgreSQL 19 Released!

postgresql.org · 19 Nov

Backend · Database · PostgreSQL

PostgreSQL 19 was released on November 19, 2026, adding tools for less disruptive administration, distributed data, and application development.

`REPACK (CONCURRENTLY)` removes table bloat without blocking reads or writes, while `pg_plan_advice` stabilizes query plans. New features include standby “read-your-writes” consistency via `WAIT FOR LSN`, sequence replication, `INSERT ... ON CONFLICT DO SELECT`, JSON output from `COPY`, faster foreign-key checks, adaptive asynchronous I/O, server-side SNI, and default-disabled JIT.

Postgres 19 is late because so many more bugs are being found now

rhaas.blogspot.com · 30 Oct

Artificial Intelligence · Database · PostgreSQL

PostgreSQL 19 will likely be released in November or later because LLMs are uncovering far more bugs, delaying fixes and late feature reversions.

From April 8 to September 25, 2026, back-patched commits increased over 60% for the master branch’s prior-release work and over 74% for an older release, while humans still review AI-drafted fixes. The delay reflects quality control, but the project faces a long-term challenge: addressing decades of newly detectable defects while continuing innovation.

What ORMs have taught me: just learn SQL

wozniak.ca · 5 Jul

Database · PostgreSQL · SQL

The author argues that Object-Relational Mappers (ORMs) often cause more problems than they solve due to issues like attribute creep, complex foreign key joins, and the Object-Relational Impedance Mismatch.

Instead of relying on ORMs for query generation, the author advocates for mastering SQL and treating the database as an API-driven data type.

supabase/supabase

github.com · 21 Oct

Backend · Database · PostgreSQL

Supabase is a Postgres development platform that provides web, mobile, and AI applications with a dedicated database and Firebase-like developer experience built from open source tools.

It combines hosted or self-hosted Postgres with authentication, authorization, auto-generated REST and GraphQL APIs, Realtime subscriptions, database and Edge Functions, file Storage, AI vector/embeddings tooling, and a Dashboard. Its architecture integrates PostgREST, GoTrue, Realtime, pg_graphql, postgres-meta, and Envoy, with modular clients for multiple languages.

SQLite is all you need for durable workflows

obeli.sk · 29 May

Database · PostgreSQL · SQLite

The article proposes using SQLite instead of Postgres for durable workflow execution, particularly for AI agents.

By utilizing a local database file combined with Litestream for S3 backups, developers can achieve durable state management without complex infrastructure. This approach offers cost-effective, simple, and fault-isolated solutions, though Postgres remains better for high-availability requirements.

Training a 4B model to produce 81% faster query plans than Postgres

rohanbansal.com · 16 Sept

Database · PostgreSQL · SQL

Rohan Bansal trained a 4B open-weights model with supervised fine-tuning and agentic reinforcement learning to improve PostgreSQL query plans through pg_hint_plan.

Careful cache-noise control and custom rewards were essential. On the 113-query JOB benchmark, best-of-15 selection achieved 1.81× geometric-mean speedup and a 44.7% latency reduction versus PostgreSQL defaults, demonstrating niche domain training’s potential.

Postgres is enough for more than we admit

postgresisenough.dev · 9 Jul

Database · PostgreSQL · Software Architecture

Many development teams prematurely adopt complex architectures, adding unnecessary databases like Redis, Elasticsearch, or MongoDB.

Postgres is often sufficient for most use cases, offering robust features for caching, queues, search, and analytics. Prioritizing simplicity reduces operational overhead, maintenance burdens, and costs, allowing startups to focus on innovation until actual scale necessitates more specialized solutions.

The startup's Postgres survival guide

hatchet.run · 22 Jul

Database · PostgreSQL · SQL

This guide covers essential Postgres management for startups, emphasizing iterative schema design, performance-oriented querying with indices, and effective connection management.

It covers intermediate topics like the query planner, query optimization with EXPLAIN ANALYZE, balancing autovacuum settings to prevent bloat, and advanced strategies such as partitioning and FOR UPDATE SKIP LOCKED to ensure production reliability.

Unconventional PostgreSQL Optimizations

hakibenita.com · 20 Jan

Database · Performance · PostgreSQL

This article explores unconventional optimization techniques for PostgreSQL to improve performance and reduce storage costs.

Key strategies include using constraint_exclusion to skip unnecessary table scans, leveraging function-based indexes on virtual generated columns for lower cardinality data, and enforcing uniqueness on large values using exclusion constraints with Hash indexes.

It's 2026, Just Use Postgres

tigerdata.com · 2 Feb

Database · PostgreSQL · SQL

This article challenges the 'use the right tool for the right job' mantra that often leads developers to manage multiple specialized databases (Elasticsearch, Pinecone, Redis, etc.).

Such sprawl creates technical debt, complex security models, and high operational costs. Instead, the author advocates for using PostgreSQL as a unified platform. Innovations like pgvector (vector search), TimeScaleDB (time-series), and pg_textsearch (BM25 search) allow Postgres to match specialized tools' performance using similar algorithms. This simplification is especially critical in the AI era, where maintaining consistent data for agents is easier within a single, atomic environment. The post concludes that 99% of companies can achieve their goals with Postgres alone, reducing architecture fragmentation and potential failure points.

Lies We Tell Ourselves About Email Addresses

gitpush--force.com · 6 Jun

Backend · Database · PostgreSQL

Email validation is fraught with legacy issues and misconceptions.

Instead of relying on complex, unreliable regex that often breaks valid cases like international characters, subaddressing, or unique domain formats, prioritize verification. Simply send a verification email to confirm the address is functional and owned by the user, while implementing case-insensitive storage for consistency.

Pgbackrest is no longer being maintained

github.com · 27 Apr

Database · PostgreSQL · Open Source

David Steele has announced he is stepping down as the maintainer of pgBackRest, a popular PostgreSQL backup and restore tool, citing a lack of sustainable funding.

The project is now unmaintained. Future forks will require a new name. Contributor support is welcomed for potential new maintainers moving forward.

The reverts will continue until morale improves [PostgreSQL 19]

peter.eisentraut.org · 19 Oct

Database · PostgreSQL

PostgreSQL 19 has reverted roughly 8–10 significant features, largely because intensified LLM-assisted review and fuzzing exposed many defects, while the Vulnpocalypse reduced senior developers’ beta-period review and testing time.

Architectural complexity and the lack of an experimental feature status also contributed. Developers may restore many features later, while PostgreSQL 19 will still include REPACK CONCURRENTLY, logical replication of sequences, and planner hinting with pg_plan_advice. PostgreSQL 20 already has several partially completed features queued.

22-Year-Old PostgreSQL Bug Turned into Remote Code Execution

mehmetince.net · 9 Nov

Backend · Cybersecurity · Database · Low-Level Programming · PostgreSQL

Researchers uncovered a 22-year-old PostgreSQL core type-confusion flaw that can turn a low-privileged login into remote code execution.

By preparing a query with a composite type, changing an attribute before execution, and reinterpreting stale UUID bytes as bytea, attackers can forge expanded objects, invoke native function pointers, call system(), and leak addresses to defeat ASLR. The issue, reported across 21 variants, led to CVE-2026-6460 and five related CVEs, affecting PostgreSQL and managed-compatible services.

AWS Engineer Reports PostgreSQL Perf Halved by Linux 7.0, Fix May Not Be Easy

phoronix.com · 4 Apr

Database · Linux · PostgreSQL

A regression in Linux 7.0 has caused PostgreSQL throughput to drop by half on Graviton4 servers due to scheduler preemption changes.

Kernel developers suggest PostgreSQL should adopt Restartable Sequences (RSEQ) rather than reverting kernel changes, potentially leading to performance degradation in upcoming Linux 7.0 stable releases, including Ubuntu 26.04 LTS.

PostgreSQL 19

postgresql.org · 20 Nov

Backend · Database · PostgreSQL

PostgreSQL 19 was released on November 19, 2026, adding REPACK with CONCURRENTLY, planner-advice extensions, automatic I/O worker scaling, parallel autovacuum, sequence logical replication, and the WAIT command for standby read-your-writes consistency.

It improves query planning, foreign-key checks, COPY, WAL compression, and monitoring, while introducing JSON output, IGNORE NULLS window functions, and INSERT ... ON CONFLICT DO SELECT ... RETURNING. Migration requires pg_upgrade, dump/restore, or logical replication; JIT is now disabled by default and several compatibility changes apply.

Postgres LISTEN/NOTIFY actually scales

dbos.dev · 24 Jul

Database · Performance · PostgreSQL

Postgres LISTEN/NOTIFY is often criticized for scalability issues caused by a global exclusive lock during commits.

By buffering notifications and batching them, developers can bypass this serialization bottleneck. This approach enables high-throughput, low-latency streaming—achieving 60K writes per second while maintaining millisecond latency—without sacrificing system reliability or durability.

Where it came fromHacker NewsRedditLobstersGitHubCreate a Snapbyte.dev digest and choose PostgreSQL as one of your topics.Build your digest