pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Popeanga Marian <pmarian@cnlo.ro>
To: Popeanga Marian <pmarian@cnlo.ro>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Richard Huxton <dev@archonet.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: output
Date: Mon, 06 Oct 2003 16:32:42 +0300
Message-ID: <3F816EFA.2080500@cnlo.ro> (raw)
References: <3F7BE74A.70407@cnlo.ro>
	<200310021201.06107.dev@archonet.com>
	<3F7C075C.5050500@cnlo.ro>
	<27018.1065105315@sss.pgh.pa.us>
	<3F7CF68F.1070202@cnlo.ro>



Popeanga Marian wrote:

>
>       I am using libpg inside a plugin.
> For oracle conections i can read the server output with this package 
> dbms_output.read_line (... ).
>    For pgsql is something similar for reading server output ?
>  
> Tom Lane wrote:
>
>>Popeanga Marian <pmarian@cnlo.ro> writes:
>>  
>>
>>>Now if i don't use psql from where i can read the output ?
>>>    
>>>
>>
>>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
>>
>>  
>>
>
Can you tell me more  about how to install a notice processor hook 
routine to catch NOTICE messages ?

Thanks,
/Marian

view thread (7+ messages)

Message-ID: <3F816EFA.2080500@cnlo.ro>
Permalink:  ../3F816EFA.2080500@cnlo.ro/
Also on:    postgresql.org/message-id/3F816EFA.2080500@cnlo.ro

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: pmarian@cnlo.ro, tgl@sss.pgh.pa.us, dev@archonet.com
  Subject: Re: output
  In-Reply-To: <3F816EFA.2080500@cnlo.ro>

* 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