Re: [PATCHES] libpq events patch (with sgml docs)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCHES] libpq events patch (with sgml docs)
Дата
Msg-id 25135.1221854891@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [PATCHES] libpq events patch (with sgml docs)  (Andrew Chernow <ac@esilo.com>)
Список pgsql-hackers
Andrew Chernow <ac@esilo.com> writes:
> I attached a patch.  You have to copy the events in PQmakeEmptyPGResult 
> because there is no where else to do this, other than copyresult but 
> that is different because it copies from a result not a conn.

Applied ...

> PQgetResult now calls PQfireResultCreateEvents.

... except I didn't do that because the error handling didn't seem
appropriate.  Since PQmakeEmptyPGResult allows a null conn,
PQfireResultCreateEvents ought to as well.  So I just made it return
false on failure.
        regards, tom lane


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

Предыдущее
От: "Dave Page"
Дата:
Сообщение: Re: PostgreSQL future ideas
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [PATCHES] libpq events patch (with sgml docs)