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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
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:41:33
Message-ID: 4165.893688093@sss.pgh.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.

regards, tom lane

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1998-04-27 14:51:28 Re: [HACKERS] Re: [INTERFACES] retrieving varchar size
Previous Message Byron Nikolaidis 1998-04-27 14:40:17 Re: [INTERFACES] Access'97 and ODBC

Browse pgsql-interfaces by date

  From Date Subject
Next Message Bruce Momjian 1998-04-27 14:51:28 Re: [HACKERS] Re: [INTERFACES] retrieving varchar size
Previous Message Byron Nikolaidis 1998-04-27 14:40:17 Re: [INTERFACES] Access'97 and ODBC