freenode

← digests

PostgreSQL DDL redesign debate and QEMU patches

Databases & Infrastructure2026-10-21

PostgreSQL core developers debated redesigns for DDL helper functions amid concerns over correctness and duplication, while QEMU received security fixes and large series for Arm features, QOM schema work, and new machine models. Parallel threads examined promotion stalls, aggregate overflow, and confidential guest support.

PostgreSQL pg_get_*_ddl redesign debate

Core hackers on pgsql-hackers debated redesign or removal of pg_get_role_ddl() and related helpers. Issues raised include dependency ordering, password handling, and overlap with pg_dump. The discussion matters because these functions underpin schema tooling and any change affects dump/restore reliability and security handling of roles.

QEMU XHCI reentrancy guard fixes

A patch on qemu-devel addresses further reentrancy guards in the XHCI host controller code. It closes a use-after-free that a guest can trigger by directing MSI-X interrupts at doorbell registers. Readers should care because the flaw is guest-exploitable and affects USB emulation stability and isolation.

QEMU QOM property types via QAPI schema

A 65-patch v7 series on qemu-devel replaces free-form property types with formal QAPI schema links for QOM and qdev introspection. The change standardizes how device properties are declared and queried. It improves tooling, documentation generation, and consistency across machine models.

QEMU Arm MPAM 1.1 emulation

A 37-patch series adds Arm MPAM 1.1 register and MSC emulation to the QEMU virt machine. The work targets Linux resctrl support for memory-system partitioning. Developers working on Arm resource control or performance isolation gain a usable emulation path.

PostgreSQL 19 promotion hang on blocked backend

A regression thread on pgsql-hackers shows promotion waiting on ProcSignalBarrier even under replica wal_level when a backend is stuck on client I/O. Accompanying patches address blocked I/O paths and remove unnecessary waits. The issue affects high-availability failover latency when clients hang.

QEMU Hexagon SoC-style machines

A v2 15-patch series adds real Qualcomm Hexagon SoC machine models to QEMU, including a new v85 CPU, QDSP6SS clock, devices, and tests. The series moves beyond simplified models toward fuller SoC fidelity. It benefits developers targeting Hexagon DSP and related embedded workloads.

PostgreSQL SUM(int2)/SUM(int4) overflow detection

Hackers discussed adding overflow checks to sum(int2) and sum(int4) because the int8 accumulator currently wraps silently, while parallel combine functions can error. The mismatch surfaces under parallel plans. Correctness of aggregates on large integer sets is at stake for analytics queries.

QEMU Arm Realm (RME) confidential guest support

An RFC v4 24-patch series adds Arm RME Realm support to QEMU-VMM, integrating with KVM guest-memfd and the RMM. The work enables confidential computing guests under Arm CCA. It advances isolation features for cloud and secure multi-tenant environments.