Colin Taylor <Colin_Taylor(at)portasystemsdev(dot)com> writes:
> How can I catch NOTICE messages from the backend using C++.
There is a provision in libpq to let the application install its own
callback routine for handling NOTICE messages. But AFAIR, libpq++
doesn't expose that libpq feature :-(. Feel free to contribute a fix.
regards, tom lane