From: Jeroen Elassaiss-Schaap <j.schaap@lumc.nl>
To: Daniel J. Blezek, Ph.D. <blezek@crd.ge.com>
To: pgsql-admin@postgreSQL.org
Subject: Re: [ADMIN] Exec limit in pgtclsh
Date: Wed, 08 Mar 2000 08:15:42 -0500
Message-ID: <38C6527E.62FB33AF@lumc.nl> (raw)
References: <Pine.LNX.4.10.10003071515000.4329-100000@pragmatic.crd.ge.com>
> I'd like to populate a "text" field
> using a large amount of text, but I get an error on the length limit of
> the pg_exec call. Something like this:
>
> PQsendQuery() -- query is too long. Maximum length is 16382
>
> while executing
> "pg_exec $conn $statement"
1. Divide text among different entries
2. Use large objects
Jeroen
--
J. Elassaiss-Schaap
Dept. Physiology
Leiden University Medical Centre
Postbus 9604
2300 RC Leiden
The Netherlands
tel: 071-5276811
fax: 071-5276782
E-mail: j.schaap@physiology.medfac.leidenuniv.nl
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-admin@postgresql.org
Cc: j.schaap@lumc.nl, blezek@crd.ge.com
Subject: Re: [ADMIN] Exec limit in pgtclsh
In-Reply-To: <38C6527E.62FB33AF@lumc.nl>
References: <Pine.LNX.4.10.10003071515000.4329-100000@pragmatic.crd.ge.com> <38C6527E.62FB33AF@lumc.nl>
* 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