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. Neon BlogProducts & Tools

    Neon Deprecates pg_mooncake, Pivots to CDC-Free LTAP Analytics

    Neon is deprecating the pg_mooncake Postgres extension, saying its CDC replication engine is the wrong way to bridge OLTP and OLAP. The company is instead building LTAP on Lakebase, where the storage layer writes lossless columnar copies to an open lake format with no pipeline and no table opt-in.

    Why It MattersNeon users relying on pg_mooncake columnstore tables for analytics must migrate; LTAP pushes columnar conversion into the storage layer, at the cost of coupling to Lakebase.

  7. NeonProducts & Tools

    Databasus, in collaboration with Neon, added support for Neon and Neon Object Storage, letting users back up Neon databases directly to Neon Object Storage.

    Quoteddatabasus@databasus

    Now you can make backups of Neon database to Neon Object Storage via Databasus! In collaboration with @neondatabase (owned by @databricks), we added support for both Neon and Neon Object Storage to Databasus. Support means: - there is native parsing of Neon connection strings (instead of manually entering role, DB address, bucket region, etc.); - health checks are disabled by default to not wake up a sleeping database, so your bill doesn't grow; - we added both DB and storage testing right into our CI to not allow regressions to happen; - confirmed that restore verification works well with Neon. Links to docs in the comment. Special thanks to @rishi_raj_jain_ for this help! Website - t.co/723ZZWcZOF GitHub - t.co/DoNphGlmu9

    Why It MattersNative connection-string parsing and health checks off by default cut backup setup effort and avoid extra Neon charges from waking sleeping databases.

  8. 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.

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

    Rethinking Read Replicas for the Lakebase Architecture

    Databricks' Lakebase Postgres attaches read replicas as extra compute to the primary's existing storage, so a replica copies no data, is ready in seconds, adds no storage cost, and scales to zero when idle.

    Why It MattersSeparating compute from durable storage gives heavy reads their own compute and cache, while reads that need to see their own writes stay on the primary.

  10. 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.

  11. 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.

  12. 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.

  13. 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.

  14. 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.

  15. 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.

  16. 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.

  17. 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.

  18. 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.

Earlier updates →