Re: output

From: Popeanga Marian <pmarian(at)cnlo(dot)ro>
To: Popeanga Marian <pmarian(at)cnlo(dot)ro>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Richard Huxton <dev(at)archonet(dot)com>, pgsql-sql(at)postgresql(dot)org
Subject: Re: output
Date: 2003-10-06 13:32:42
Message-ID: 3F816EFA.2080500@cnlo.ro
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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(at)cnlo(dot)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

In response to

  • Re: output at 2003-10-03 04:09:51 from Popeanga Marian

Browse pgsql-sql by date

  From Date Subject
Next Message Richard Huxton 2003-10-06 13:52:15 Re: Converting Query from MS SQL
Previous Message teknokrat 2003-10-06 13:28:39 row and column transposition