Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fnEgu-0005sm-V8 for pgsql-docs@arkaria.postgresql.org; Wed, 08 Aug 2018 02:59:17 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fnEgt-0007ib-1T for pgsql-docs@arkaria.postgresql.org; Wed, 08 Aug 2018 02:59:15 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fnEgs-0007iU-Rg for pgsql-docs@lists.postgresql.org; Wed, 08 Aug 2018 02:59:14 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fnEgp-0002n3-Gg for pgsql-docs@lists.postgresql.org; Wed, 08 Aug 2018 02:59:14 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id w782x4FH013395; Tue, 7 Aug 2018 22:59:04 -0400 From: Tom Lane To: Stephen Frost cc: Bruce Momjian , postgres@kellerer.name, pgsql-docs@lists.postgresql.org Subject: Re: Document the limit on the number of parameters In-reply-to: <20180808020655.GC27724@tamriel.snowman.net> References: <153183390829.1395.16339447781418953738@wrigleys.postgresql.org> <20180807215822.GM7297@momjian.us> <20180808020655.GC27724@tamriel.snowman.net> Comments: In-reply-to Stephen Frost message dated "Tue, 07 Aug 2018 22:06:55 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <13393.1533697144.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Tue, 07 Aug 2018 22:59:04 -0400 Message-ID: <13394.1533697144@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Stephen Frost 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 passe= d 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