libpq query length limit - Mailing list pgsql-interfaces

From Charles Seaton
Subject libpq query length limit
Date
Msg-id 47F963C1.7070100@stccmop.org
Whole thread Raw
Responses Re: libpq query length limit
List pgsql-interfaces
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



pgsql-interfaces by date:

Previous
From: "Francisco Figueiredo Jr."
Date:
Subject: [ANN] Npgsql2 Beta3 Released!! - Correction
Next
From: Tom Lane
Date:
Subject: Re: libpq query length limit