PostgreSQL Ecosystem Updates: pg_clickhouse 0.11.1, pg_stat_monitor 2.4.1 for PG 19, temBoard 10.1, and Postgres.js 4.2Thematic roundup · digest for December 3
Studio still life of precision tools: four calibrated instruments and modular connectors for PostgreSQL monitoring and extensions on a graphite workbench.
Thematic roundup4 sections≈ 5 min

PostgreSQL Ecosystem Updates: pg_clickhouse 0.11.1, pg_stat_monitor 2.4.1 for PG 19, temBoard 10.1, and Postgres.js 4.2

Four key PostgreSQL ecosystem tools just shipped fresh releases: pg_clickhouse 0.11.1 adds pgvector and MergeTree mutations, pg_stat_monitor 2.4.1 lands PostgreSQL 19 support, temBoard 10.1 closes a batch of security holes, and Postgres.js 4.2 fixes Deno TLS and adds pool queue cancellation. Here is what's inside and what to roll out first.

pg_clickhouse 0.11.1: pgvector mapping and UPDATE/DELETE/TRUNCATE for MergeTree

pg_clickhouse 0.11.1 acts as a Foreign Data Wrapper between Postgres and ClickHouse. This release (ClickHouse blog) adds pgvector integration for embeddings and vector search: Array(Float32), Array(Float64), and Array(BFloat16) columns map to vector, while <->, <+>, <=>, and <#> operators (ClickHouse 23.8+) push down to ClickHouse. EXPLAIN shows right away whether a vector_similarity index (like HNSW) kicked in or fell back to a full scan.

Foreign tables backed by MergeTree now support UPDATE, DELETE, and TRUNCATE via lightweight mutations. UPDATE requires ClickHouse 25.7+ with enable_block_number_column = 1 and enable_block_offset_column = 1; RETURNING and JOIN raise errors. DELETE without WHERE injects WHERE true, though mutations target <=10% of rows (use TRUNCATE to wipe a table). The default driver switched from http to binary (revert with OPTIONS(driver 'http')), and upgrading from 0.11 only needs a restart—no ALTER EXTENSION UPDATE:

-- Foreign ClickHouse table using pgvector
CREATE FOREIGN TABLE items (
  id int NOT NULL,
  v  vector(4) NOT NULL
) SERVER ch_server;

-- Vector search (<-> pushes down as L2Distance) and mutations
EXPLAIN (VERBOSE, COSTS OFF)
SELECT id FROM items ORDER BY v <-> '[0.3,-0.2,0.5,0.1]' LIMIT 5;

UPDATE items SET v = '[1,1,1,1]' WHERE id = 0;
TRUNCATE items;

Analytics, vector search, and occasional mutations in ClickHouse now share one SQL interface. OCI images for PG 19rc1 and CloudNativePG are out too.

pg_stat_monitor 2.4.1: PostgreSQL 19 support and generic/custom plan stats

Percona's pg_stat_monitor 2.4.1 extends pg_stat_statements with time buckets and plan storage. Released November 20, 2026, it supports final PostgreSQL 19 and removes property graphs (which were pulled from PG 19 before release).

Its standout PG 19 addition is generic_plan_calls and custom_plan_calls (Percona docs). For prepared statements with $1 parameters, the planner picks between a custom plan per value or a shared generic plan. Data skew can make a generic plan tank performance, and now you can spot the culprit fast. With pgsm_enable_query_plan, plan text builds lazily (only when saved) to save CPU, and queries without a queryid are ignored:

-- Find prepared statements switching plans on PG 19
SELECT bucket_start_time, calls,
       generic_plan_calls, custom_plan_calls,
       left(query, 80) AS query_sample
FROM pg_stat_monitor
WHERE generic_plan_calls > 0 OR custom_plan_calls > 0
ORDER BY calls DESC LIMIT 10;

If queries slow down after a PG 19 upgrade, these counters quickly reveal whether the planner switched to a bad generic plan.

temBoard 10.1: security hardening for the monitoring web console

If you run Dalibo's temBoard 10.1.0 web console, prioritize this December 1, 2026 update—it's a comprehensive security hardening release.

It patches an SQL injection with RCE risk in maintenance, parameterizes pgconf queries, and restricts POST /json/instances to admins. It also fixes a privilege-check bug in instance-has-DBA: previously SELECT COUNT(1) always returned a row even for zero matches; switching to SELECT 1 closes the bypass.

XSS vectors via instance names, error messages, and pg_stat_activity's application_name are closed, and invalid hostnames are rejected. Passwords move to argon2, joined by login throttling, single-use reset links, HttpOnly cookies, and in-memory server sessions (restarts log everyone out). Before upgrading, check three breaking changes: Debian 11 (bullseye) is dropped, the default cookie secret is rejected, and behind a reverse proxy you must set external_url on both UI and agent (the agent no longer trusts Host).

Postgres.js 4.2: faster Node.js and Deno client updates

Postgres.js 4.2.0 (November 29, 2026) adopts native async stack traces: zero overhead on successful queries, and clean stacks across await on failures (Bun doesn't propagate these yet). sql.begin and sql.reserve promises gain .cancel() and .signal(), letting you abort a queued transaction with code 57014 before its callback ever runs.

It also adds require_auth (matching libpq's PGREQUIREAUTH) to reject disallowed auth methods with AUTH_METHOD_REFUSED, Temporal parameter encoding (reads still return Date), .transform(false), and byte-slice decode(x, start, end). On 25,000 rows × 12 columns, decode() halves CPU and cuts allocations by over 50%. Large TLS response corruption in Deno 2.1 / Supabase Edge Functions (30,000-byte control message limit) and flags like PGPREPARE=false are fixed too:

import postgres from 'postgres'

// Require SCRAM-SHA-256 and reject plaintext passwords
const sql = postgres(process.env.DATABASE_URL, {
  require_auth: 'scram-sha-256'
})

// Cancel pool wait after 2 seconds
const tx = sql.begin(async (txSql) => {
  const now = Temporal.Now.instant()
  return txSql`INSERT INTO events (ts) VALUES (${now})`
})
tx.signal(AbortSignal.timeout(2000))
await tx

If the pool stays backed up past two seconds, tx exits the queue without executing, and Temporal.Now.instant() writes straight to timestamptz without Date conversion.

Want a deep diveVotes help us choose what to break down in detail. This material has 0 votes.
Sources · 7