Re: - Mailing list pgsql-interfaces

From Bruce Momjian
Subject Re:
Date
Msg-id 200110041328.f94DS6j29943@candle.pha.pa.us
Whole thread Raw
In response to Re:  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-interfaces
> "Darko Prenosil" <Darko.Prenosil@finteh.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 ...

This is my fault.  I voted for its inclusion even though Tom said it was
not reliable.  I thought someone would have fixed it by now but perhaps
it is not fixable.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-interfaces by date:

Previous
From: "Darko Prenosil"
Date:
Subject: Re:
Next
From: Christof Petig
Date:
Subject: libECPG: Warning: get descriptor: 7.1 and 7.2 are not binary compatible (yet)