Re: NOTICE-messages in C++

Поиск
Список
Период
Сортировка
От Michael Meskes
Тема Re: NOTICE-messages in C++
Дата
Msg-id 20001020091104.D8476@feivel.credativ.de
обсуждение исходный текст
Ответ на NOTICE-messages in C++  (Colin Taylor <Colin_Taylor@portasystemsdev.com>)
Список pgsql-general
On Thu, Oct 19, 2000 at 10:54:06AM +0100, Colin Taylor wrote:
> How can I catch NOTICE messages from the backend using C++.
> ...

I never used libpq++ but I know how it's done with libpq. Just look into
file src/interfaces/ecpg/lib/connect.c function ECPGconnect to see how to
install your own notice handler. To be honest, I did not write the code my
self, but Christof Petig <christof.petig@wtal.de> did. :-)

Michael
--
Michael Meskes
Michael@Fam-Meskes.De
Go SF 49ers! Go Rhein Fire!
Use Debian GNU/Linux! Use PostgreSQL!

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [ANNOUNCE] Open Source Database Summit
Следующее
От: Fernando Caamaño
Дата:
Сообщение: how can I unsuscribe from the list?