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(dot)petig(at)wtal(dot)de> did. :-)
Michael
--
Michael Meskes
Michael(at)Fam-Meskes(dot)De
Go SF 49ers! Go Rhein Fire!
Use Debian GNU/Linux! Use PostgreSQL!