Re: BUG #18984: Empty prepared statement from psql \parse triggers assert in PortalRunMulti

Aleksander Alekseev <aleksander@tigerdata.com>

From: Aleksander Alekseev <aleksander@tigerdata.com>
To: pgsql-bugs@lists.postgresql.org
Cc: Tom Lane <tgl@sss.pgh.pa.us>, exclusion@gmail.com
Date: 2025-07-14T21:33:11Z
Lists: pgsql-bugs
Hi,

> This sounds pretty straightforward and seems to solve the problem.
> Patch attached.

Interestingly enough EXPLAIN EXECUTE is not affected, thus there is no
need to modify ExplainExecuteQuery.

```
eax=# explain execute s;
 QUERY PLAN
------------
(0 rows)
```



Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Minor cosmetic tweaks

  2. Simplify coding in ProcessQuery

  3. Remove assertion from PortalRunMulti

  4. Represent command completion tags as structs