pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: private <goddyna@ansonic.com.au>
To: pgsql-interfaces@postgresql.org
Subject: PQexec(conn,buf).....   buf<255 chars?
Date: Fri, 28 Jan 2000 15:06:02 +1100
Message-ID: <NABBLEOMMPNHHMBPOBPFMELBFFAA.goddyna@ansonic.com.au> (raw)

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.
Axel  mailto:goddyna@ansonic.com.au

view thread (2+ messages)  latest in thread

Message-ID: <NABBLEOMMPNHHMBPOBPFMELBFFAA.goddyna@ansonic.com.au>
Permalink:  ../NABBLEOMMPNHHMBPOBPFMELBFFAA.goddyna@ansonic.com.au/
Also on:    postgresql.org/message-id/NABBLEOMMPNHHMBPOBPFMELBFFAA.goddyna@ansonic.com.au

 · 

reply

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-interfaces@postgresql.org
  Cc: goddyna@ansonic.com.au
  Subject: Re: PQexec(conn,buf).....   buf<255 chars?
  In-Reply-To: <NABBLEOMMPNHHMBPOBPFMELBFFAA.goddyna@ansonic.com.au>
  References: <NABBLEOMMPNHHMBPOBPFMELBFFAA.goddyna@ansonic.com.au>

* 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