<br /><br /> Popeanga Marian wrote:<br /><blockquote cite="mid3F7CF68F.1070202@cnlo.ro" type="cite"></blockquote><br />
I am using libpg inside a plugin. <br /> For oracle conections i can read the server output with this package
dbms_output.read_line(... ).<br /> For pgsql is something similar for reading server output ?<br /> <br /> Tom Lane
wrote:<br/><blockquote cite="mid27018.1065105315@sss.pgh.pa.us" type="cite"><pre wrap="">Popeanga Marian <a
class="moz-txt-link-rfc2396E"href="mailto:pmarian@cnlo.ro"><pmarian@cnlo.ro></a> writes: </pre><blockquote
type="cite"><prewrap="">Now if i don't use psql from where i can read the output ? </pre></blockquote><pre wrap="">
If you're using libpq directly, you can install a notice processor hook
routine to catch NOTICE messages. Otherwise they go to stderr.
regards, tom lane
</pre></blockquote><br /> Can you tell me more about how to install a notice processor hook routine to catch NOTICE
messages?<br /><br /> Thanks,<br /> /Marian<br />