---------- Forwarded message ----------
From: adey <[EMAIL PROTECTED]>
Date: Mar 14, 2006 8:51 AM
Subject: Notice Processor hook
To: Tom Lane <[EMAIL PROTECTED]>
Hi Tom,
A colleague found this entry from yourself in thescripts.com:-
"Adam H.Pendleton" <[EMAIL PROTECTED]> writes:[color=blue]
> When running a "VACUUM VERBOSE" query using PQsendQuery,
> PQconsumeInput, and PQisBusy, all the "INFO:" output from the "VACUUM
> VERBOSE" command is printed on the terminal, and is not available
> through the PGresult structure.[/color]
You could capture that output by setting up a notice processor hook
routine.
regards, tom lane
> When running a "VACUUM VERBOSE" query using PQsendQuery,
> PQconsumeInput, and PQisBusy, all the "INFO:" output from the "VACUUM
> VERBOSE" command is printed on the terminal, and is not available
> through the PGresult structure.[/color]
You could capture that output by setting up a notice processor hook
routine.
regards, tom lane
We are having similar problems - please could you tell me how to implement a "Notice Processor hook"?
Adrian