Don't allow to EXECUTE empty queries (fixes Assert violation)

Log in to edit
ID 5918
Title Don't allow to EXECUTE empty queries (fixes Assert violation)
CI (CFBot) Summary
Stats (from CFBot) Patch count: 1, First patch: +11−1, All patches: +11−1
Tags Backport Bugfix
Created 2025-07-14 21:23:06
Last modified 2025-07-17 17:27:58 (1 year ago)
Latest email 2025-07-17 15:48:27 (1 year ago)
Status
PG19-2 (2025-09-01 – 2025-09-30): Rejected
Target version 18
Authors Tom Lane (tgl), Aleksander Alekseev (a.alekseev), Alexander Lakhin (law)
Reviewers Log in to become reviewer
Committer
Links
Emails
BUG #18984: Empty prepared statement from psql \parse triggers assert in PortalRunMulti
First at 2025-07-14 19:00:02 by PG Bug reporting form <noreply at postgresql.org>
Latest at 2025-07-17 15:48:27 by Álvaro Herrera <alvherre at kurilemu.de>
Latest attachment (0001-Remove-assertion-in-PortalRunMulti-simplify-comment.patch) at 2025-07-15 12:33:14 from Álvaro Herrera <alvherre at kurilemu.de>
    Attachment (0001-Remove-assertion-in-PortalRunMulti-simplify-comment.patch) at 2025-07-15 12:33:14 from Álvaro Herrera <alvherre at kurilemu.de> (Patch: Yes)
    Attachment (wip2-avoid-failure-with-empty-prepared-query.patch) at 2025-07-14 22:05:50 from Tom Lane <tgl at sss.pgh.pa.us> (Patch: Yes)
    Attachment (wip-avoid-failure-with-empty-prepared-query.patch) at 2025-07-14 21:40:22 from Tom Lane <tgl at sss.pgh.pa.us> (Patch: Yes)
    Attachment (v1-0001-Don-t-allow-to-execute-an-empty-query.patch) at 2025-07-14 21:11:31 from Aleksander Alekseev <aleksander at tigerdata.com> (Patch: Yes)
History
When Who What
2025-07-17 17:27:58 Tom Lane (tgl) Closed in commitfest PG19-2 with status: Rejected
2025-07-14 21:24:12 Aleksander Alekseev (a.alekseev) Changed tags to Backport, Bugfix
2025-07-14 21:23:06 Aleksander Alekseev (a.alekseev) Attached mail thread 18984-0f4778a6599ac3ae@postgresql.org
2025-07-14 21:23:06 Aleksander Alekseev (a.alekseev) Created patch record
Log in to edit