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

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

            regards, tom lane

pgsql-interfaces by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] Re: retrieving varchar size
Next
From: Byron Nikolaidis
Date:
Subject: Re: [HACKERS] Re: [INTERFACES] retrieving varchar size