Fix PQdescribePrepared with more than 7498 params
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Author:
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2026-06-15T08:38:30Z
Releases:
15 (unreleased)
Fix PQdescribePrepared with more than 7498 params If a query has more than 7498 params, the ParameterDescription message exceeds the 30000 byte limit on messages that are not specifically marked as possibly being longer than that (VALID_LONG_MESSAGE_TYPE). To fix, add ParameterDescription to the list. Author: Ning Sun <classicning@gmail.com> Discussion: https://www.postgresql.org/message-id/dbfb4b65-0aa8-470a-8b87-b6496160b28a@gmail.com Backpatch-through: 14
Files
| Path | Change | +/− |
|---|---|---|
| src/interfaces/libpq/fe-protocol3.c | modified | +1 −1 |
Discussion
- Add ParameterDescription message to libpq frontend long message types 4 messages · 2026-04-01 → 2026-06-15