Exec limit in pgtclsh - Mailing list pgsql-admin

From Daniel J. Blezek, Ph.D.
Subject Exec limit in pgtclsh
Date
Msg-id Pine.LNX.4.10.10003071515000.4329-100000@pragmatic.crd.ge.com
Whole thread Raw
List pgsql-admin
Hi all,

  Has anyone bumped into the 16K limit on the size of a statement using
pg_exec in the pgtclsh interface?  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"


Any ways around it?
-dan

--
Daniel Blezek, Ph.D.
blezek@crd.ge.com
Computer Graphics and Systems Program
Electronic Systems Lab
GE Corporate Research & Development


pgsql-admin by date:

Previous
From: "Ross J. Reedstrom"
Date:
Subject: Re: [ADMIN] Cannot install postgreSQL
Next
From: "Oliver Elphick"
Date:
Subject: Re: [ADMIN] Cannot install postgreSQL