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:34:42 +1100
Message-ID: <NABBLEOMMPNHHMBPOBPFCELDFFAA.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)

Message-ID: <NABBLEOMMPNHHMBPOBPFCELDFFAA.goddyna@ansonic.com.au>
Permalink:  ../NABBLEOMMPNHHMBPOBPFCELDFFAA.goddyna@ansonic.com.au/
Also on:    postgresql.org/message-id/NABBLEOMMPNHHMBPOBPFCELDFFAA.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 using the --to and --cc options:
  reply via email

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