2026-05-27

Fix bug of CHECK constraint enforceability recursion

# Fix Bug of CHECK Constraint Enforceability Recursion ## Core Problem PostgreSQL 19 introduced the ability to `ALTER TABLE ... ALTER CONSTRAINT ... [NOT] ENFORCED` for CHECK constraints. This new ...

[PATCH] Defensive hardening: Replace sprintf with snprintf in pg_stat_statements

# Technical Analysis: Defensive Hardening of sprintf → snprintf in pg_stat_statements ## Core Problem The `generate_normalized_query()` function in `contrib/pg_stat_statements` uses unbounded `spri...

let ALTER TABLE DROP COLUMN drop whole-row referenced object

# ALTER TABLE DROP COLUMN: Handling Whole-Row Referenced Objects ## Core Problem PostgreSQL has a fundamental gap in its dependency tracking system when dealing with **whole-row Var references** in...

Proposal: Adding compression of temporary files

## Incremental Update: Filip's Clarification on Benchmark Methodology Filip Janus responds to Tomas Vondra's follow-up questions, providing important clarifications but no new patch or fundamentally ...

[PATCH] Two small errhint cleanups in PG19 code

# Technical Analysis: Two Small errhint Cleanups in PG19 Code ## Core Problem This thread addresses two minor but important message quality issues in PostgreSQL 19's error hint (errhint) strings — ...

[PATCH] Add regression test for mismatched ENCODING and LOCALE in CREATE DATABASE

## Incremental Update: Tom Lane Rejects Patch Due to Platform Portability Concerns ### Summary Tom Lane has responded to the patch with a clear rejection rationale based on cross-platform locale nam...

[PATCH] Little refactoring of portalcmds.c

# Technical Analysis: [PATCH] Little refactoring of portalcmds.c ## Core Problem The patch addresses code duplication in `src/backend/commands/portalcmds.c`, specifically around cursor name validat...

POC: PLpgSQL FOREACH IN JSON ARRAY

# Technical Analysis: PLpgSQL FOREACH IN JSON ARRAY ## Core Problem PL/pgSQL currently lacks a native iteration construct for JSON arrays. Developers who need to iterate over JSON array elements mus...

Fix pg_get_multixact_stats() members_size calculation

## Patch Committed The fix has been committed as `6aa26be288fa` by Michael Paquier on 2026-05-26. ### Additional Issues Found During Commit Michael discovered that the existing test on HEAD (prior ...

Implement waiting for wal lsn replay: reloaded

## Minimal Progress: Commit Intent and Minor Comment Cleanups The three new messages contain no new technical arguments, no new patches with behavioral changes, and no position shifts: 1. **Korotkov...

future of PQfn()

# Future of PQfn(): Retiring PostgreSQL's Fast-Path Function Call Interface ## Core Problem PQfn() is PostgreSQL's "fast path" interface in libpq, which allows clients to invoke server-side functio...

meson: Make test output much more useful on failure (both in CI and locally)

## Incremental Update: New Use Case Advocacy and "Show Everything" Mode Request ### New Developments Two new messages advance the discussion: **1. Jelte Fennema-Nio rejects the TAP-sets-env-var app...

[PATCH] psql: Display SQLSTATE macro name in verbose error reports

## Incremental Update: Tom Lane's Architectural Distinction Tom Lane provides a brief but technically significant clarification distinguishing this patch from the earlier submission by Josh (referenc...

Bug in ALTER SUBSCRIPTION ... SERVER / ... CONNECTION with broken old server

## Incremental Update ### Amit Kapila's Brief Comment (2026-05-27) Amit Kapila weighs in with a single short statement agreeing that the HINT message approach (from v6-0003's `ReportSlotConnectionEr...

[BUG] CRASH: ECPGprepared_statement() and ECPGdeallocate_all() when connection is NULL

## New Development: Redundant `ecpg_get_connection()` Call in `ecpg_auto_prepare()` The discussion has shifted to a code quality issue tangentially related to the original NULL-connection crash fix. ...

Removing broken support for OpenSSL without ECDH

## No Substantive Progress The only new message is a "+1" acknowledgment from Jacob Champion (EnterpriseDB), expressing agreement with the proposed patch. No new technical arguments, code changes, or...

Support loser tree for k-way merge

# Support Loser Tree for K-Way Merge in PostgreSQL ## Core Problem PostgreSQL's external sort implementation uses a binary heap (priority queue) to perform k-way merging of sorted runs during `tupl...

Failure in test_slru for host gokiburi (REL_16_STABLE only)

## Incremental Update: Fix Committed and Buildfarm Restored to Green The thread has reached resolution with no further technical debate. Michael Paquier committed the fix and resolved the buildfarm s...

First draft of PG 19 release notes

## No substantive new progress This round contains only routine editorial corrections to the release notes draft: 1. **Evan Li (forwarding from Chong Peng)** identified an inaccuracy in the slot syn...

postgres_fdw: use_scram_passthrough on user mapping is ignored when also set on server

## Incremental Analysis: Patches Committed ### Summary Fujii Masao confirmed that the patches have been pushed (committed). This is a brief administrative message with no new technical discussion, a...

Add --extra-dependencies and immediate data dumping for pg_dump/pg_upgrade

# Deep Technical Analysis: Data-Level Dependencies in pg_dump/pg_upgrade ## The Core Problem PostgreSQL's `pg_dump` architecture separates output into distinct sections: **pre-data** (schema definit...

NULL pointer dereference in syslogger with load_libraries() and -DEXEC_BACKEND at startup

# NULL Pointer Dereference in Syslogger with EXEC_BACKEND at Startup ## Core Problem A NULL pointer dereference occurs in PostgreSQL's syslogger process when all of the following conditions are met...

Remove inner joins based on foreign keys

## Richard Guo's PGConf.dev Synthesis and Formal Options Enumeration (v5) Richard returns from PGConf.dev with a significant message that restructures the entire discussion. Rather than defending the...

[PoC] Add CANONICAL option to xmlserialize

# Technical Analysis: Adding XML Canonicalization to PostgreSQL ## Core Problem XML documents can have multiple valid physical representations that are semantically equivalent. For example, `

[PATCH] DOCS: Fix inconsistent text description punctuation in UPDATE FOR PORTION OF

# Analysis: Documentation Punctuation Fix for UPDATE FOR PORTION OF ## Core Problem This is a minor documentation consistency issue in the newly added `FOR PORTION OF` clause documentation. The `FOR...

Fix HAVING-to-WHERE pushdown with mismatched operator families

# Fix HAVING-to-WHERE Pushdown with Mismatched Operator Families ## Core Problem This thread exposes a family of optimizer correctness bugs where the planner incorrectly pushes filter clauses past g...

remove autoanalyze corner case

# Technical Analysis: Removing Autoanalyze Corner Case in Anti-Wraparound Vacuum ## The Core Problem PostgreSQL's autovacuum system has a subtle and likely unintentional behavioral corner case rela...

[PATCH] REPLICA IDENTITY USING INDEX accepts column with invalid NOT NULL

## Incremental Update: Review and Commitfest Registration No new technical arguments or patch changes in this round. The only new message is from Aleksander Alekseev, who provides a positive review o...

expand refint docs with usage info

# Technical Analysis: Expanding refint Documentation with Usage Info ## Core Problem The `refint` contrib module (which provides referential integrity checking via triggers) has been the subject of ...

Deadlock detector fails to activate on a hot standby replica

## Incremental Update: v3 Patch Discussion ### New Patch Version (v3) from Vitaly Davydov Vitaly submitted a revised patch (v3) responding to Fujii's earlier review. Key design decisions in v3: 1. ...

Fix incorrect size check in statext_dependencies_deserialize

## Patch Committed Michael Paquier has committed the fix as `0b8fa5fd37b1`. This is a brief confirmation message with no new technical discussion, alternative approaches, or additional context beyond...

Todo item: Include the symbolic SQLSTATE name in verbose error reports

# Technical Analysis: Including Symbolic SQLSTATE Names in Verbose Error Reports ## Core Problem PostgreSQL's verbose error reporting mode (activated via `\set VERBOSITY verbose` in psql) displays ...

RFC: Boyer-Moore-Horspool optimization for LIKE '%pattern%' searches

# RFC: Boyer-Moore-Horspool Optimization for LIKE '%pattern%' Searches ## Technical Problem PostgreSQL's `LIKE '%pattern%'` queries perform substring searches using a relatively naive character-by-...

[PATCH] DOCS: Add introductory paragraph to Getting Started chapter

# Analysis: PATCH to Add Introductory Paragraph to Getting Started Chapter ## Core Problem This is a documentation-only patch proposing to add a brief introductory paragraph to the "Getting Started"...

COPY FROM with RLS

## Incremental Update: Community Testing Confirmation (No Substantive Technical Progress) A new participant (Solai) posted a brief testing confirmation of the v2 patch. The message reports: - Confir...

doc: Clarify ALTER CONSTRAINT enforceability wording

# Documentation Clarification: ALTER CONSTRAINT Enforceability Wording ## Core Problem The thread identifies a documentation clarity issue introduced by commit `342051d73`, which added support for ...

bugfix - fix broken output in expanded aligned format, when data are too short

# Bugfix: Broken Output in Expanded Aligned Format When Data Are Too Short ## Core Problem The bug exists in `src/fe_utils/print.c`, specifically in the `print_aligned_vertical()` function, which h...

Fix SPLIT PARTITION bound-overlap bug and other improvements

## Incremental Update: Patch 0004 Successfully Re-pushed and Confirmed Stable on Buildfarm ### Final Status Alexander Korotkov confirmed on May 25 that patch 0004 (reject degenerate no-op split) has...

libpq maligning postgres stability

# Technical Analysis: libpq Misleading "Server Crash" Error Messages ## Core Problem libpq, PostgreSQL's client library, contains a long-standing error message pattern that misleads users about the ...

[PATCH] Fix REPACK decoding worker not cleaned up on FATAL exit

## Follow-up Patch Pushed Álvaro Herrera confirms he incorporated the reviewer's feedback (re-adding explicit `shm_mq_detach()` call) and pushed the follow-up cleanup patch. This is a simple acknowl...

Import Statistics in postgres_fdw before resorting to sampling.

## Incremental Update: Acknowledgment Only The new message from Corey Huinker is a simple acknowledgment of Etsuro Fujita's Coverity fix approach. He agrees with: - The second method (using `pstrdup`...

Rename Postgres 19 to Postgres 26 (year-based)?

## Incremental Update: Proposer Pivots to Lightweight Alternatives The most significant development is that **Nikolay Samokhvalov has explicitly conceded** the year-based versioning proposal and pivo...

Tighten SCRAM iteration parsing and bound libpq PBKDF2 work

## Incremental Analysis: Community Response to Patch Series Two substantive responses have arrived from Daniel Gustafsson (PostgreSQL committer, SCRAM area expert) and Sehrope Sarkuni (pgjdbc maintai...

Small fixes for CHECKPOINT FLUSH_UNLOGGED

# Technical Analysis: Small fixes for CHECKPOINT FLUSH_UNLOGGED ## Context and Background This thread addresses two minor but important polish issues with the recently committed feature "Add FLUSH_U...

[Patch] Fix check_pub_rdt bypass when origin is set in same ALTER SUBSCRIPTION

# Technical Analysis: Fix check_pub_rdt Bypass When Origin is Set in Same ALTER SUBSCRIPTION ## Core Problem This patch addresses a subtle logic bug in PostgreSQL's `ALTER SUBSCRIPTION` command pro...