Skip site navigation (1) Skip section navigation (2)

Re:

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Darko Prenosil <Darko(dot)Prenosil(at)finteh(dot)hr>, pgsql interfaces <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re:
Date: 2001-10-04 13:28:06
Message-ID: 200110041328.f94DS6j29943@candle.pha.pa.us (view raw or flat)
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 ...

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(at)candle(dot)pha(dot)pa(dot)us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

In response to

  • Re: at 2001-10-03 17:41:34 from Tom Lane

pgsql-interfaces by date

Next:From: Christof PetigDate: 2001-10-05 08:32:03
Subject: libECPG: Warning: get descriptor: 7.1 and 7.2 are not binary compatible (yet)
Previous:From: Darko PrenosilDate: 2001-10-04 09:03:16
Subject: Re:

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group