Re: [HACKERS] Re: [INTERFACES] retrieving varchar size - Mailing list pgsql-interfaces

From Bruce Momjian
Subject Re: [HACKERS] Re: [INTERFACES] retrieving varchar size
Date
Msg-id 199804271454.KAA05021@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] Re: [INTERFACES] retrieving varchar size  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-interfaces
>
> Bruce Momjian <maillist@candle.pha.pa.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@candle.pha.pa.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)

pgsql-interfaces by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Re: retrieving varchar size
Next
From: Byron Nikolaidis
Date:
Subject: Re: [INTERFACES] Access'97 and ODBC