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
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-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

Browse pgsql-hackers by date

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

Browse pgsql-interfaces by date

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