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 <[email protected]>
Discussion: 
https://www.postgresql.org/message-id/[email protected]
Backpatch-through: 14

Branch
------
REL_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/b1ab4bc52a1fd4f8bf396baf4c1ab0a4c32f9b49

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

Reply via email to