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.
An early, unreviewed prototype modeling the PostgreSQL engine internals.
This educational project aims to explain database mechanisms but is currently in a preliminary state. The author encourages community feedback and contributions through GitHub issues or pull requests to improve accuracy.
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.
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.
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 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.
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.
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.
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.
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.
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.
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.
pg_durable is a PostgreSQL extension that enables durable, fault-tolerant workflow execution directly within the database.
By using a SQL-native DSL for checkpointing steps, it eliminates the need for external queues, workers, or cron jobs, allowing developers to build robust data and AI pipelines with automatic recovery from system failures and crashes.
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.
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.
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.
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
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
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 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 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.