PQexec(conn,buf)..... buf<255 chars? - Mailing list pgsql-interfaces

From private
Subject PQexec(conn,buf)..... buf<255 chars?
Date
Msg-id NABBLEOMMPNHHMBPOBPFMELBFFAA.goddyna@ansonic.com.au
Whole thread Raw
List pgsql-interfaces
Hi,
 
I'm writing a cgi, and use PQexec to submit a "simple" syncron. query.
 
The query is constructed by the program and varies in length.
The lenght is sometimes more than 255 chars and PQtrace only reports 
.....parse error at ""
(if I cut and paste the query into psql it works fine)
 
Is it possible that there is a limit? is there a way to reconfigure, fix or go arround it?
I'm using RedHat 6.1 & PostgreSQL 6.5.2
 
any suggestions welcome.

pgsql-interfaces by date:

Previous
From: Peter Mount
Date:
Subject: RE: [INTERFACES] Portuguese translation for PgAccess done!
Next
From: "private"
Date:
Subject: PQexec(conn,buf)..... buf<255 chars?