Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oTr6d-0002En-FR for pgsql-general@arkaria.postgresql.org; Thu, 01 Sep 2022 20:48:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oTr6c-0006nI-Bd for pgsql-general@arkaria.postgresql.org; Thu, 01 Sep 2022 20:48:06 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oTr6c-0006mW-1C for pgsql-general@lists.postgresql.org; Thu, 01 Sep 2022 20:48:06 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oTr6Z-0003RM-Ij for pgsql-general@lists.postgresql.org; Thu, 01 Sep 2022 20:48:05 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 281Km1Aq639451; Thu, 1 Sep 2022 16:48:01 -0400 From: Tom Lane To: "Kluzak, Matthew C." cc: "pgsql-general@lists.postgresql.org" Subject: Re: Bind Parameter is Too Big In-reply-to: References: Comments: In-reply-to "Kluzak, Matthew C." message dated "Thu, 01 Sep 2022 20:34:43 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <639449.1662065281.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Thu, 01 Sep 2022 16:48:01 -0400 Message-ID: <639450.1662065281@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk "Kluzak, Matthew C." writes: > I recently updated two comment columns in two tables, both on the Sybase= and Postgres sides, from varchar (255) to varchar(1000). The app can succ= esfully input data with up to 1000 characters to the updated columns in Po= stgres. The generated SQL statement files can insert the data into the fir= st Sybase database, the data successfully pipes to the master Sybase datab= ase, and then successfully pipes that to the other Sybase database . Howev= er, when trying to pipe the data from Sybase to Postgres I get the error "= Bind Parameter for value :9 is Too Big (2000)." The comment column is the = 9th column. There is no such string in the Postgres source code (it doesn't even meet our message style guidelines). So this is certainly not coming from the Postgres server. You didn't specify what's the software stack on the client side, but it has to be coming from one or another layer there. regards, tom lane