Re: Document the limit on the number of parameters

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Document the limit on the number of parameters
Дата
Msg-id 13394.1533697144@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Document the limit on the number of parameters  (Stephen Frost <sfrost@snowman.net>)
Ответы Re: Document the limit on the number of parameters  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-docs
Stephen Frost <sfrost@snowman.net> writes:
> * Bruce Momjian (bruce@momjian.us) wrote:
>> On Tue, Jul 17, 2018 at 01:25:08PM +0000, PG Doc comments form wrote:
>>> The backend protocol limits the number of parameters that can be passed for
>>> a prepared statement to 32767 (2 byte signed integer).

>> Uh, is this something people will care about?

> Seems like a limitation in the backend protocol should probably be
> documented in the backend protocol section of the docs..

It is: the definition of the Bind message format says that the parameter
count is an int16.

The question is whether this deserves to be cross-referenced from
elsewhere.  I agree with Bruce that it seems unlikely to be helpful.

            regards, tom lane


В списке pgsql-docs по дате отправления:

Предыдущее
От: Stephen Frost
Дата:
Сообщение: Re: Document the limit on the number of parameters
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: Document the limit on the number of parameters