Re:

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Darko Prenosil" <Darko(dot)Prenosil(at)finteh(dot)hr>
Cc: "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us>, "pgsql interfaces" <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re:
Date: 2001-10-03 17:41:34
Message-ID: 6309.1002130894@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

"Darko Prenosil" <Darko(dot)Prenosil(at)finteh(dot)hr> writes:
> We wanted to use non-blocking PQSendQuery to send a large query which =
> consists of many SELECTs. Our pglib interface sent just first 8192 bytes =
> and returned EOF. Whole query was more than 64k.

I've said since day one that libpq's non-blocking mode is fundamentally
broken --- see http://fts.postgresql.org/db/mw/msg.html?mid=35774 and
rest of that thread. Tempt me not too far, or I'll rip it all out
until someone reimplements it in a non-broken fashion ...

regards, tom lane

In response to

  • at 2001-10-03 17:13:07 from Darko Prenosil

Responses

  • Re: at 2001-10-04 09:03:16 from Darko Prenosil
  • Re: at 2001-10-04 13:28:06 from Bruce Momjian

Browse pgsql-interfaces by date

  From Date Subject
Next Message Rene Pijlman 2001-10-03 17:45:17 Re: java.lang.OutOfMemory Exception with a large number of inserts
Previous Message Darko Prenosil 2001-10-03 17:13:07