pg_clickhouse 0.11.1 Adds pgvector Pushdown and Lightweight UPDATE, DELETE on ClickHouse Foreign Tables
The ClickHouse-maintained Postgres extension now pushes pgvector distance searches, UPDATE, DELETE, TRUNCATE, and nine regression functions down to ClickHouse foreign tables.
Overview
ClickHouse has released version 0.11.1 of pg_clickhouse, the PostgreSQL extension it maintains for offloading analytic queries from a Postgres database to a connected ClickHouse server, adding pushdown support for pgvector similarity search, UPDATE, DELETE, and TRUNCATE operations, and nine linear-regression aggregate functions. The release was published on GitHub on November 9, 2026, and covered on the ClickHouse blog on November 19.
pg_clickhouse underpins ClickHouse’s managed Postgres service, which the Machine Herald previously reported had reached version 0.10 in August, when the extension’s focus was pushing correlated subqueries down to ClickHouse for the TPC-H benchmark suite. Version 0.11.1 extends the pushdown model from analytic SQL into vector search and data-modification statements.
What We Know
- Version 0.11.1 adds pushdown support for pgvector
vectorcolumns, which can now be stored in ClickHouse asArray(Float32),Array(Float64), orArray(BFloat16)columns;vectorconstants and parameters push down asArray(Float32), and the pgvector=and<>operators also push down, according to GitHub. - The release pushes down the pgvector distance operators
<->,<=>,<#>, and<+>, along with thel2_distance,cosine_distance,inner_product,l1_distance, andvector_dimsfunctions, to let nearest-neighbor queries sort and limit inside ClickHouse; the<#>operator sorts asdotProduct(...) DESCand requires ClickHouse 23.8 or later, according to GitHub. - When a ClickHouse table has a
vector_similarityindex, pg_clickhouse’s query planner now detects and reports that inEXPLAINoutput, showing which index a search can use or why ClickHouse will instead compare every row; planner warnings that flagORDER BYorLIMITclauses preventing index use can be silenced with thepg_clickhouse.vector_planner_warningssetting, according to GitHub. - The extension adds
UPDATEandDELETEsupport on foreign tables backed by MergeTree-family ClickHouse tables, executing each as a single ClickHouse lightweightUPDATEorDELETEstatement; statements that can’t run entirely inside ClickHouse — such as those usingRETURNING, joins, or Postgres-side conditions — raise an error instead, andUPDATEpushdown requires ClickHouse 25.7 or later, according to GitHub. TRUNCATEis now supported on foreign tables, sending one ClickHouseTRUNCATE TABLEstatement per table, according to GitHub.- The release adds pushdown for nine ClickHouse linear-regression aggregate functions —
regr_avgx,regr_avgy,regr_count,regr_intercept,regr_r2,regr_slope,regr_sxx,regr_sxy, andregr_syy— gated to ClickHouse 26.9 and later, according to GitHub. - Other additions include pushdown of
jsonbsubscripts with constant text keys (such asdata['a']['b']) as ClickHouse JSON sub-column dot notation, and a newsettingsoption for foreign servers and tables that sends ClickHouse session settings with queries and inserts, according to GitHub. - The release also changes the extension’s default driver from HTTP to binary, and changes how
pg_clickhouse.session_settingsinteracts with pg_clickhouse’s built-in settings — it now overrides them by key rather than replacing the set outright, according to GitHub. - ClickHouse’s blog post says the release “delivers a slew of improvements and bug fixes, including”
UPDATE,DELETE,TRUNCATE, and pgvector search pushdown. - Existing v0.11 installations receive 0.11.1’s improvements automatically on reload without any action, according to GitHub, while the ClickHouse blog says users upgrading from pg_clickhouse v0.10 or earlier should run
ALTER EXTENSION pg_clickhouse UPDATE;.
What We Don’t Know
Neither the GitHub release notes nor the ClickHouse blog post gives a timeline for extending UPDATE/DELETE pushdown to statements involving joins or RETURNING, which still fall back to local Postgres execution, or for further TPC-H pushdown coverage beyond what pg_clickhouse 0.10 already reached.
Analysis
The 0.11.1 release continues the pattern the Machine Herald described in August: pg_clickhouse’s roadmap works through categories of SQL that previously had to execute locally in Postgres, pushing each one down to ClickHouse once support is built. Lightweight DELETE/UPDATE pushdown was reported as a still-open roadmap item when version 0.10 shipped in August; 0.11.1 closes it, alongside a new category — vector similarity search — that extends pg_clickhouse’s reach from pure analytics into retrieval-augmented workloads that combine Postgres’s pgvector extension with ClickHouse as a backing store. For developers running Postgres alongside ClickHouse through this extension, the practical effect is that nearest-neighbor vector queries and basic row-level writes against MergeTree-backed foreign tables can now be planned as single remote ClickHouse statements rather than requiring separate code paths or manual synchronization.