From: Tom Lane <tgl@sss.pgh.pa.us>
To: Kluzak, Matthew C. <mckluzak@nd.gov>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Bind Parameter is Too Big
Date: Thu, 01 Sep 2022 16:48:01 -0400
Message-ID: <639450.1662065281@sss.pgh.pa.us> (raw)
In-Reply-To: <DM8PR09MB666196A6BF5FE3D2612818FAAC7B9@DM8PR09MB6661.namprd09.prod.outlook.com>
References: <DM8PR09MB666196A6BF5FE3D2612818FAAC7B9@DM8PR09MB6661.namprd09.prod.outlook.com>
"Kluzak, Matthew C." <mckluzak@nd.gov> 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 succesfully input data with up to 1000 characters to the updated columns in Postgres. The generated SQL statement files can insert the data into the first Sybase database, the data successfully pipes to the master Sybase database, and then successfully pipes that to the other Sybase database . However, 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, mckluzak@nd.gov
Subject: Re: Bind Parameter is Too Big
In-Reply-To: <639450.1662065281@sss.pgh.pa.us>
References: <DM8PR09MB666196A6BF5FE3D2612818FAAC7B9@DM8PR09MB6661.namprd09.prod.outlook.com> <639450.1662065281@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox