agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
pgsql: Fix PQdescribePrepared with more than 7498 params
6+ messages / 1 participants
[nested] [flat]

* pgsql: Fix PQdescribePrepared with more than 7498 params
@ 2026-06-15 09:01  Heikki Linnakangas <heikki.linnakangas@iki.fi>
  0 siblings, 0 replies; 6+ messages in thread

From: Heikki Linnakangas @ 2026-06-15 09:01 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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
------
master

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

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



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Fix PQdescribePrepared with more than 7498 params
@ 2026-06-15 09:01  Heikki Linnakangas <heikki.linnakangas@iki.fi>
  0 siblings, 0 replies; 6+ messages in thread

From: Heikki Linnakangas @ 2026-06-15 09:01 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_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(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Fix PQdescribePrepared with more than 7498 params
@ 2026-06-15 09:01  Heikki Linnakangas <heikki.linnakangas@iki.fi>
  0 siblings, 0 replies; 6+ messages in thread

From: Heikki Linnakangas @ 2026-06-15 09:01 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_17_STABLE

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

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



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Fix PQdescribePrepared with more than 7498 params
@ 2026-06-15 09:01  Heikki Linnakangas <heikki.linnakangas@iki.fi>
  0 siblings, 0 replies; 6+ messages in thread

From: Heikki Linnakangas @ 2026-06-15 09:01 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Fix PQdescribePrepared with more than 7498 params
@ 2026-06-15 09:01  Heikki Linnakangas <heikki.linnakangas@iki.fi>
  0 siblings, 0 replies; 6+ messages in thread

From: Heikki Linnakangas @ 2026-06-15 09:01 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/0f63b74a47307bf00fd6301cc3612f9db924a0d1

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



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Fix PQdescribePrepared with more than 7498 params
@ 2026-06-15 09:01  Heikki Linnakangas <heikki.linnakangas@iki.fi>
  0 siblings, 0 replies; 6+ messages in thread

From: Heikki Linnakangas @ 2026-06-15 09:01 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/1b79c8d1a58195c1c6bedd336ce509f0b01c14d7

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



^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2026-06-15 09:01 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2026-06-15 09:01 pgsql: Fix PQdescribePrepared with more than 7498 params Heikki Linnakangas <heikki.linnakangas@iki.fi>
2026-06-15 09:01 pgsql: Fix PQdescribePrepared with more than 7498 params Heikki Linnakangas <heikki.linnakangas@iki.fi>
2026-06-15 09:01 pgsql: Fix PQdescribePrepared with more than 7498 params Heikki Linnakangas <heikki.linnakangas@iki.fi>
2026-06-15 09:01 pgsql: Fix PQdescribePrepared with more than 7498 params Heikki Linnakangas <heikki.linnakangas@iki.fi>
2026-06-15 09:01 pgsql: Fix PQdescribePrepared with more than 7498 params Heikki Linnakangas <heikki.linnakangas@iki.fi>
2026-06-15 09:01 pgsql: Fix PQdescribePrepared with more than 7498 params Heikki Linnakangas <heikki.linnakangas@iki.fi>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox