Re: I want to send comments to the backend!

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: I want to send comments to the backend!
Дата
Msg-id 23990.1048177895@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: I want to send comments to the backend!  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: I want to send comments to the backend!  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-interfaces
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> It returns PGRES_NONFATAL_ERROR.  Why should this be an error?

Actually, you don't get a "res" object at all, because nothing happened.
The only place in libpq that returns that code is PQresultStatus itself.

Perhaps PGRES_EMPTY_QUERY would be more appropriate?  Not sure where in
the chain would be best to change the behavior, though.
        regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: I want to send comments to the backend!
Следующее
От: Steve Howe
Дата:
Сообщение: Re: I want to send comments to the backend!