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

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] Re: [INTERFACES] retrieving varchar size
Дата
Msg-id 199804271454.KAA05021@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] Re: [INTERFACES] retrieving varchar size  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Re: retrieving varchar size
Следующее
От: Byron Nikolaidis
Дата:
Сообщение: Re: [INTERFACES] Access'97 and ODBC