Re: libpq query length limit

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: libpq query length limit
Дата
Msg-id 1111.1207666227@sss.pgh.pa.us
обсуждение исходный текст
Ответ на libpq query length limit  (Charles Seaton <cseaton@stccmop.org>)
Список pgsql-interfaces
Charles Seaton <cseaton@stccmop.org> writes:
> 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.

Almost certainly, this is a bug within the code calling libpq, and not
in libpq itself.  Many people routinely use queries much longer than
that ...
        regards, tom lane


В списке pgsql-interfaces по дате отправления:

Предыдущее
От: Charles Seaton
Дата:
Сообщение: libpq query length limit
Следующее
От: Drago
Дата:
Сообщение: NOTIFY connection lost