Fwd: Notice Processor hook

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Below is an old message from Tom Lane regarding "Notice Processor hook". I have not been able to contact him to explain it, nor does it appear in the Postgresql.org archives. Would one of you be able to help me to implement this please? We are trying to obtain the output from a vacuum run by automated script.

---------- Forwarded message ----------
From: adey <adey11@xxxxxxxxx>
Date: Mar 14, 2006 8:51 AM
Subject: Notice Processor hook
To: Tom Lane <tgl@xxxxxxxxxxxxx>

Hi Tom,
A colleague found this entry from yourself in thescripts.com:-
 
"Adam H.Pendleton" <fmonkey@xxxxxxxxxxx> 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
 
 
We are having similar problems - please could you tell me how to implement a "Notice Processor hook"?
 
Adrian

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux