Re: NOTICE-messages in C++ - Mailing list pgsql-general

From Michael Meskes
Subject Re: NOTICE-messages in C++
Date
Msg-id 20001020091104.D8476@feivel.credativ.de
Whole thread Raw
In response to NOTICE-messages in C++  (Colin Taylor <Colin_Taylor@portasystemsdev.com>)
List 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 by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [ANNOUNCE] Open Source Database Summit
Next
From: Fernando Caamaño
Date:
Subject: how can I unsuscribe from the list?