pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedFwd: Notice Processor hook
2+ messages / 2 participants
[nested] [flat]
* Fwd: Notice Processor hook
@ 2006-03-27 00:07 adey <adey11@gmail.com>
2006-03-27 07:09 ` Re: Fwd: Notice Processor hook Volkan YAZICI <yazicivo@ttnet.net.tr>
0 siblings, 1 reply; 2+ messages in thread
From: adey @ 2006-03-27 00:07 UTC (permalink / raw)
To: pgsql-admin
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
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Fwd: Notice Processor hook
2006-03-27 00:07 Fwd: Notice Processor hook adey <adey11@gmail.com>
@ 2006-03-27 07:09 ` Volkan YAZICI <yazicivo@ttnet.net.tr>
0 siblings, 0 replies; 2+ messages in thread
From: Volkan YAZICI @ 2006-03-27 07:09 UTC (permalink / raw)
To: adey <adey11@gmail.com>; +Cc: pgsql-admin
On Mar 27 12:07, adey wrote:
> Below is an old message from Tom Lane regarding "Notice Processor hook".
> ... Would one of you be able to help me to implement
> this please?
Not me, but you can:
[28.10. Notice Processing]
http://www.postgresql.org/docs/current/interactive/libpq-notice-processing.html
Regards.
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2006-03-27 07:09 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2006-03-27 00:07 Fwd: Notice Processor hook adey <adey11@gmail.com>
2006-03-27 07:09 ` Volkan YAZICI <yazicivo@ttnet.net.tr>
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