Patch for bind message regarding the number of parameters and result column format codes

From: Dave Cramer <davecramer(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Austin Bonander <austin(dot)bonander(at)gmail(dot)com>
Subject: Patch for bind message regarding the number of parameters and result column format codes
Date: 2026-05-21 01:12:34
Message-ID: CADK3HHLv-4nU8wFNEodvNedtWP2qBnZvL-9RZzd11mMt7U6hQA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

While talking to Austin he noted that the docs for the number of parameters
is actually an unsigned integer.

This patch corrects that.

See

1. Parameter format codes count (line 4323) — read at postgres.c:1725
2. Parameter values count (line 4348) — read at postgres.c:1734
3. Result-column format codes count (line 4396) — read at postgres.c:2017

Dave Cramer

Attachment Content-Type Size
0001-doc-clarify-Bind-parameter-count-is-unsigned-Int16.patch application/octet-stream 1.6 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Smith 2026-05-21 01:19:18 Re: Proposal: Conflict log history table for Logical Replication
Previous Message Peter Smith 2026-05-21 00:02:25 Re: Proposal: Conflict log history table for Logical Replication