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

Re: [HACKERS] Re: [INTERFACES] retrieving varchar size

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: tgl(at)sss(dot)pgh(dot)pa(dot)us (Tom Lane)
Cc: pgsql-hackers(at)postgreSQL(dot)org, pgsql-interfaces(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Re: [INTERFACES] retrieving varchar size
Date: 1998-04-27 14:54:13
Message-ID: 199804271454.KAA05021@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-interfaces
> 
> Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us> writes:
> > OK, you just need to remember to throw away any un-called-for results if
> > they do another PQexec without retrieving all the results returned by
> > the backend.
> 
> OK, so you feel the right behavior is "throw away unconsumed results"
> and not "raise an error"?
> 
> I don't have a strong feeling either way; I'm just asking what the
> consensus is.

Throw them away.  That is what we have always done, and if they wanted
them, they wouldn't have put them all in one pgexec().

-- 
Bruce Momjian                          |  830 Blythe Avenue
maillist(at)candle(dot)pha(dot)pa(dot)us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)

In response to

pgsql-hackers by date

Next:From: Thomas G. LockhartDate: 1998-04-27 14:54:43
Subject: Re: [HACKERS] postgres init script things solved
Previous:From: Bruce MomjianDate: 1998-04-27 14:52:44
Subject: Re: [HACKERS] Re: retrieving varchar size

pgsql-interfaces by date

Next:From: Thomas G. LockhartDate: 1998-04-27 15:20:25
Subject: Re: [HACKERS] Re: [INTERFACES] retrieving varchar size
Previous:From: Bruce MomjianDate: 1998-04-27 14:52:44
Subject: Re: [HACKERS] Re: retrieving varchar size

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