Skip to content
  1. select * from depesz;Guides & Cases

    How PostgreSQL 19 Handles INSERT … ON CONFLICT DO SELECT

    PostgreSQL 19’s INSERT … ON CONFLICT DO SELECT inserts new rows or returns existing ones on conflict without a no-op update. It requires RETURNING and supports optional row locking. When locking is requested, conflicting rows filtered out by WHERE are still locked.

    Why It MattersWhen replacing no-op updates in get-or-create code, check whether the old primary key is null to identify inserts, since the command tag counts returned rows.

  2. Microsoft Azure Database for PostgreSQL BlogBenchmarks

    PostgreSQL 19 GIN VACUUM Tested Beyond Shared Buffer Capacity

    PostgreSQL 19 adds streaming reads for GIN VACUUM cleanup. On Azure Database for PostgreSQL with 16 GiB of shared_buffers, median cleanup speedups over 18.6 were 1.27x for a 21.30 GiB GIN index and 2.20x for a 26.62 GiB index. Smaller indexes finished in under a second.

    Brief · Based on the source excerpt

    Why It MattersWhen assessing PostgreSQL 19’s GIN cleanup gains, whether the index fits in shared buffers is more informative than table row count alone.

  3. select * from depesz;Guides & Cases

    Testing PostgreSQL 19’s Slot-Driven Logical Decoding

    Tests show PostgreSQL 19 enables logical decoding without a restart when the first logical slot is created with wal_level=replica. The checkpointer reverts to replica asynchronously after the last slot is dropped or invalidated. effective_wal_level shows the current level.

    Why It MattersEnabling logical decoding for on demand CDC no longer requires a restart, but leftover valid logical slots can keep the extra WAL overhead in place.

  4. Neon BlogGuides & Cases

    Building a Software Factory on Neon

    Neon runs several agent pipelines that turn Slack requests, GitHub issues and alerts into reviewed PRs, keeping orchestrator state in Postgres and giving each request its own branch of the production database.

    Why It MattersIsolating each request in a branch of production and keeping process control in plain code lets agents change data without touching production or colliding; the cost is maintaining orchestrator state tables plus branch expiration and snapshot policies.

  5. Crunchy DataGuides & Cases

    Queries captured by pg_stat_statements can be re-run from psql by passing arguments with the \bind command when they are simple SELECT statements. Statements with IN lists don't work because pg_stat_statements collapses them; use EXPLAIN (GENERIC_PLAN) instead.

    Why It MattersThe approach works for parameterized replay of simple SELECTs sampled from pg_stat_statements; statements with IN lists must fall back to EXPLAIN (GENERIC_PLAN) since their parameters can't be matched.

  6. Microsoft Azure Database for PostgreSQL BlogProducts & Tools

    Azure HorizonDB previews customer-managed keys for encryption at rest

    Azure HorizonDB now offers a preview of customer-managed keys (CMK) for encryption at rest, letting users protect clusters with keys they own in Azure Key Vault.

    Brief · Based on the source excerpt

    Why It MattersThe encryption mode must be chosen at cluster creation and cannot be changed later; CMK adoption requires a same-region Key Vault, a 4,096-bit RSA/RSA-HSM key, and a user-assigned managed identity.

  7. NeonProducts & Tools

    On Lakebase Postgres, a read replica is not a physical clone of the machine as in a monolith but another compute on the same storage. No data is copied, replicas are ready in seconds, autoscale, and can scale to zero.

    Why It MattersDecoupling replicas from storage means read scaling needs no data copy, is ready in seconds, and can scale to zero for spiky read workloads.

  8. CYBERTEC PostgreSQL BlogGuides & Cases

    How to Deal with Slow Shutdown in PostgreSQL

    Laurenz Albe explains why PostgreSQL shutdown can be slow: a clean shutdown runs a checkpoint that flushes dirty shared buffers to disk, so larger shared_buffers and more dirty pages mean longer shutdown.

    Why It MattersFor PostgreSQL instances needing fast restarts, an explicit CHECKPOINT before shutdown shortens downtime; with large UNLOGGED tables you must use FLUSH_UNLOGGED (v19+) or the FILE_COPY database trick, or shutdown stays slow.

  9. Databricks Blog (Postgres / Lakebase)Products & Tools

    Databricks Makes Lakebase Postgres Spark Streaming Sink Generally Available

    Databricks made the native Lakebase Postgres sink for Apache Spark Structured Streaming generally available, with built-in batching, connection pooling, retries, deduplication, and upserts.

    Why It MattersDatabricks makes the Lakebase Postgres sink generally available, removing custom batching, retry, and upsert infrastructure while reporting latency at sustained streaming scale.

  10. Neon BlogProducts & Tools

    Neon Adds Object Storage That Branches With Your Database

    Neon Object Storage makes buckets belong to a branch, so a child branch inherits every bucket and object from its parent using the same copy-on-write model as Postgres, with no object copying and no extra billing for a 200 GB bucket copy.

    Why It MattersPreview branches isolate file writes and reset their files alongside Postgres, but instant restore rolls back only the database and cannot undo object changes.

  11. EDB PostgreSQL BlogReleases

    How REPACK (CONCURRENTLY) Entered PostgreSQL 19 Core

    Álvaro Herrera, who was involved in bringing pg_squeeze functionality into core PostgreSQL, recounts the backstory of REPACK (CONCURRENTLY), which shipped with the latest release.

    Brief · Based on the source excerpt

    Why It MattersÁlvaro Herrera recounts how pg_squeeze functionality led to REPACK (CONCURRENTLY) entering PostgreSQL core, providing context on the feature’s evolution.

  12. Timescale / Tiger Data BlogProducts & Tools

    Tiger Lake Reaches GA for Continuous Postgres-to-Lakehouse Sync

    Tiger Lake is generally available to Tiger Cloud customers on Scale and Enterprise plans, continuously syncing Postgres tables and TimescaleDB hypertables to Apache Iceberg. It requires PostgreSQL 17.6 or later and a primary key on each synced table except continuous aggregates. Tiger Lake is free until March 1, 2027.

    Why It MattersQuery engines that support Iceberg equality deletes can read mirrored tables directly in default mode, while Snowflake and Databricks require an extra step to apply change records.

  13. CYBERTEC PostgreSQL BlogGuides & Cases

    How to Stabilize Query Plans in PostgreSQL 19 with pg_stash_advice

    PostgreSQL 19 uses pg_plan_advice and pg_stash_advice to constrain join order without rewriting SQL. In the example, a row estimate of 20 versus 990 led to a 405.646 ms query. Stored advice survives restarts but not pg_upgrade. cybertec-postgresql.com/en/pg…

    Why It MattersConstraining only the join order can guard against a bad choice caused by underestimated row counts while leaving the planner free to adapt join methods and scan strategies.

  14. PostgreSQL Official NewsReleases

    PostgreSQL 19 Released with Concurrent REPACK and Plan Advice

    PG 19 REPACK (CONCURRENTLY) permits concurrent reads and writes for most of the operation. The final table and index file swap still requires ACCESS EXCLUSIVE.

    Why It MattersPostgreSQL 19 brings table-bloat management, plan stability, and logical-replication improvements into core, while upgrades should account for authentication and JIT default changes.

  15. Microsoft Azure Database for PostgreSQL BlogProducts & Tools

    Microsoft Launches HorizonDB on Azure and Fabric

    Microsoft announced general availability of Azure HorizonDB and public preview of Microsoft Fabric HorizonDB, introducing a cloud-native PostgreSQL architecture.

    Brief · Based on the source excerpt

    Why It MattersAzure HorizonDB is generally available for demanding PostgreSQL workloads, while Fabric HorizonDB enters public preview with a cloud-native architecture and built-in availability capabilities.

  16. CYBERTEC PostgreSQL BlogProducts & Tools

    CYBERTEC PGEE GPU Edition: GPU-Accelerated PostgreSQL for Enterprise Analytics

    CYBERTEC has introduced PGEE GPU Edition, which extends CYBERTEC PostgreSQL Enterprise Edition with GPU-accelerated execution for supported analytical queries, with the PostgreSQL query planner choosing a GPU path when suitable and no application or SQL changes required.

    Why It MattersAcceleration covers only supported analytical query patterns, with some floating-point aggregates kept on CPU to preserve PostgreSQL numerical behaviour, so adoption requires measuring representative queries and inspecting execution plans.

  17. pganalyze BlogEcosystem

    pganalyze Analyzes PostgreSQL 18.7 Security Release and CVE-2026-6460

    PostgreSQL 18.7, 17.12, 16.16, 15.20, and 14.25 fix 52 security vulnerabilities and other bugs. pganalyze groups the issues by exploit prerequisites, focusing on CVE-2026-6460, potential code execution and privilege escalation, extension source changes, and the need to restart servers after package updates.

    Why It MattersThe analysis groups 52 vulnerabilities by exploit prerequisites and highlights CVE-2026-6460’s practical impact on extension compatibility and upgrade procedures.

  18. EDB PostgreSQL BlogEcosystem

    Postgres Belongs on Kubernetes: CloudNativePG Reaches CNCF Incubation

    CloudNativePG has reached CNCF incubation, and EDB outlines what comes next for running Postgres in production on Kubernetes. The post focuses on the direction of Kubernetes-based Postgres operations without citing specific versions or benchmark figures.

    Brief · Based on the source excerpt

    Why It MattersCloudNativePG’s entry into CNCF incubation informs production deployment decisions about the project’s stage, not its performance.

Earlier updates →