pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Charles Seaton <cseaton@stccmop.org>
To: pgsql-interfaces@postgresql.org
Subject: libpq query length limit
Date: Sun, 06 Apr 2008 16:58:57 -0700
Message-ID: <47F963C1.7070100@stccmop.org> (raw)

I am using libpq to access a PostgreSQL 8.2.7 database.

I am encountering segfault errors when the query length exceeds some 
value greater than 633 characters and less than 2492 characters. The 
database log shows the message
LOG:  08P01: unexpected EOF on client connection

The query that causes problems through libpq can be run directly in psql 
without a problem.

Is there a limit on the length of a query, and is there a way around this?

thanks,

Charles Seaton




view thread (2+ messages)  latest in thread

Message-ID: <47F963C1.7070100@stccmop.org>
Permalink:  ../47F963C1.7070100@stccmop.org/
Also on:    postgresql.org/message-id/47F963C1.7070100@stccmop.org

 · 

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: cseaton@stccmop.org
  Subject: Re: libpq query length limit
  In-Reply-To: <47F963C1.7070100@stccmop.org>

* 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