Topic digest

PostgreSQL news and engineering summaries

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

85 recent stories

Latest ranked stories

Current PostgreSQL stories

These stories are ranked from recent public source activity and shown as a preview of what a configured digest can deliver. Summaries are AI-generated; open the original source for full context.

02wozniak.ca

What ORMs have taught me: just learn 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.

03obeli.sk

SQLite is all you need for durable workflows

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.

04rohanbansal.com

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

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

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.

05postgresisenough.dev

Postgres is enough for more than we admit

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.

06pgdog.dev

PgDog is funded and coming to a database near you

PgDog is funded and coming to a database near you

PgDog is an open-source proxy project designed to make Postgres horizontally scalable, supporting over 1 million queries per second and 100 TB+ datasets. Founded by experienced infrastructure engineers backed by $5.5M in funding, it aims to eliminate scaling challenges for Postgres while providing flexible deployment options across cloud and on-prem environments.

07hatchet.run

The startup's Postgres survival guide

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.

08hakibenita.com

Unconventional PostgreSQL Optimizations

Unconventional PostgreSQL Optimizations

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.

10tigerdata.com

It's 2026, Just Use Postgres

It's 2026, Just Use Postgres

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.

11gitpush--force.com

Lies We Tell Ourselves About Email Addresses

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.

13phoronix.com

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

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.

14dbos.dev

Postgres LISTEN/NOTIFY actually scales

Postgres LISTEN/NOTIFY actually scales

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.

15incident.io

Bloom filters: the niche trick behind a 16× faster API | Blog | incident.io

Bloom filters: the niche trick behind a 16× faster API | Blog | incident.io

The engineering team at incident.io improved API performance by reducing P95 latency from 5s to 0.3s. They solved pagination bottlenecks for large datasets by implementing Bloom Filters in PostgreSQL and enforcing a mandatory 30-day time window for alert history, significantly optimizing query efficiency for high-volume customer data.

17dbos.dev

Just Use Postgres for Durable Workflows

Just Use Postgres for Durable Workflows

Durable workflows improve reliability by checkpointing task progress to a database. While traditional systems use complex external orchestrators, this article proposes building durable workflows directly on Postgres. By leveraging Postgres for state management, coordination, and observability, developers can reduce infrastructure complexity, improve scalability, and unify security policies without adding new single points of failure.

18dlt.github.io

Introduction to PostgreSQL Indexes

This comprehensive guide to PostgreSQL indexes explores their internal mechanics, storage on disk using heap files and 8KB pages, and the tradeoffs associated with their use. It details how the query planner decides between sequential and index scans and emphasizes the costs of indexing, including disk space, memory usage, and impact on write operations. The article breaks down various index types, such as B-tree, Hash, BRIN, GIN, GiST, and SP-GiST, while also covering advanced strategies like partial, covering, multi-column, and expression indexes for specialized optimization.

19github.com

timescale/pg_vectorsearch

timescale/pg_vectorsearch

pg_vectorsearch is an alpha PostgreSQL extension for high-performance approximate nearest neighbor (ANN) search. Its PRISM index targets datasets exceeding 100 million vectors, using hierarchical routing, RaBitQ quantization with theoretical error bounds, SIMD-optimized distance computation, and PostgreSQL buffer caching. It supports inserts, updates, deletes, rebalancing through prism_rebalance, and existing pgvector vector or halfvec columns. Two-stage filtering reduces full-precision reranking while preserving recall and improving query and index-building speed.

20github.com

Show HN: PgDog – Scale Postgres without changing the app

Show HN: PgDog – Scale Postgres without changing the app

PgDog is an open-source, high-performance PostgreSQL proxy written in Rust. It offers advanced connection pooling, load balancing, and sharding capabilities. Featuring application-layer routing, health checks, and automatic failover, it supports complex cross-shard queries and online re-sharding. It is designed for scalability on commodity hardware and integrates with Kubernetes, AWS RDS, and Terraform.

Snapbyte.dev workflow

Get a PostgreSQL digest by email

Create a Snapbyte.dev digest and choose PostgreSQL as one of your topics.