From: adey <adey11@gmail.com>
To: Pgsql-Admin <pgsql-admin@postgresql.org>
Subject: Fwd: Notice Processor hook
Date: Mon, 27 Mar 2006 12:07:11 +1200
Message-ID: <1c66bda80603261607k97a7502o99c5402979452859@mail.gmail.com> (raw)
In-Reply-To: <1c66bda80603131251v49a6ca6y5a0421f4395f9d5d@mail.gmail.com>
References: <1c66bda80603131251v49a6ca6y5a0421f4395f9d5d@mail.gmail.com>
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@gmail.com>
Date: Mar 14, 2006 8:51 AM
Subject: Notice Processor hook
To: Tom Lane <tgl@sss.pgh.pa.us>
Hi Tom,
A colleague found this entry from yourself in thescripts.com:-
"Adam H.Pendleton" <fmonkey@fmonkey.net> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: adey11@gmail.com
Subject: Re: Fwd: Notice Processor hook
In-Reply-To: <1c66bda80603261607k97a7502o99c5402979452859@mail.gmail.com>
References: <1c66bda80603131251v49a6ca6y5a0421f4395f9d5d@mail.gmail.com> <1c66bda80603261607k97a7502o99c5402979452859@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox