Re: NOTICE-messages in C++

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Colin Taylor <Colin_Taylor(at)portasystemsdev(dot)com>
Cc: "Pgsql Mailing List (E-mail)" <pgsql-general(at)postgresql(dot)org>
Subject: Re: NOTICE-messages in C++
Date: 2000-10-19 14:43:42
Message-ID: 9009.971966622@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message KuroiNeko 2000-10-19 16:12:52 Re: vacuumdb can't find libraries
Previous Message Tom Lane 2000-10-19 14:41:31 Re: NOTICE-message