pgsql: Fix PQdescribePrepared with more than 7498 params - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Fix PQdescribePrepared with more than 7498 params
Date
Msg-id E1wZ3CA-000OiR-10@gemulon.postgresql.org
Whole thread
List pgsql-committers
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

Branch
------
REL_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/8d516d2b99b355bc1fb6b84f7dd0d5460c00c93f

Modified Files
--------------
src/interfaces/libpq/fe-protocol3.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Doc: remove stale entry for removed aclitem[] ~ aclitem operator
Next
From: Tom Lane
Date:
Subject: pgsql: Modernize pg_bsd_indent's error/warning reporting code.