Re: Returns from ExecTuplesOk()

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Returns from ExecTuplesOk()
Дата
Msg-id 200204232058.g3NKwgT18225@candle.pha.pa.us
обсуждение исходный текст
Ответ на Returns from ExecTuplesOk()  (Paul M Foster <paulf@quillandmouse.com>)
Список pgsql-general
Paul M Foster wrote:
> I'm confused. In libpq++, it seems that ExecTuplesOk() should return
> PGRES_TUPLES_OK if a tuples are returned from the query. Yet I'm getting
> PGRES_COMMAND_OK instead. When I then check Tuples(), it returns 1. Am I
> missing something?

I am not sure.  Does libpq++/examples help?

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

В списке pgsql-general по дате отправления:

Предыдущее
От: Fran Fabrizio
Дата:
Сообщение: Re: when does a function name get mapped to an OID?
Следующее
От: "asdf asdasfa"
Дата:
Сообщение: Performance Issues with count()