PostgreSQL: PL/pgSQL Row Checks Tightened

PL/pgSQL's too-many-rows check now applies to dynamic execute-into, with clearer guidance for multi-row results, while pg_checksums docs clarify file-node requires check mode. The dynamic SQL change is forward-only and may surface new warnings or errors in existing code.

Duration: PT2M12S

Episode overview

This episode is a short developer briefing from PostgreSQL.

It explains recent repository work in plain language.

  • Show: PostgreSQL
  • Published: 2026-11-16T14:04:08Z
  • Audio duration: PT2M12S

Source and disclosure

PostgreSQL is an unofficial, AI-generated summary of public activity in postgres/postgres on GitHub.

Podlog isn't affiliated with or endorsed by the project or its maintainers. Episodes aren't reviewed by a person before they go out, so check the source repository for the full story.

Transcript excerpt

This excerpt keeps the crawler page concise. Listen to the episode or use the RSS feed for the full update.

Good morning, it's Monday, November 16th, 2026 — this is your PostgreSQL briefing.

The main signal today is consistency in how P-L-pg-S-Q-L handles queries that return more than one row, closing a gap between static and dynamic SQL.

First, dynamic execute into now honors the too-many-rows setting. Previously, execute into without strict silently kept only the first row, even if you had enabled too many rows as an extra warning or error. Static SQL was already checked, but dynamic SQL only flagged multiple rows when strict was specified. That…

Second, the guidance itself is clearer. The multiple-rows hint suggested using limit one, but it also appeared for commands such as update with returning, which do not support that clause. In commit 6-0-C-D-A-E-0, the hint is reworded to present limit one with select as an example, keeping concrete advice for select…

Finally, a small but useful documentation fix for p-g checksums. The file-node option can only be used together with check mode, but that restriction was missing from the docs. Commit 7-F-C-2-F-0-4, from Sri Vishnu, makes it explicit. If you script checksum verification for individual files, make sure your tooling…

What's next is…

Nearby episodes from PostgreSQL

  1. Silent Corruption and Standby Divergence Fixes
  2. Merge Correctness and Recovery Safety
  3. Sort, Recovery and Parser Crash Fixes
  4. Async Merge Append Support
  5. Weekly Recap - Correctness Fixes and Upgrade Reliability
  6. Dead Code Cleanup in Tuple Handling
  7. Vacuum Estimates and Semaphore Cleanup
  8. Silent Correctness and Upgrade Reliability Fixes