X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 528F0D1B54D for ; Fri, 3 Oct 2003 04:14:56 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 51074-06 for ; Fri, 3 Oct 2003 01:14:07 -0300 (ADT) Received: from ns.cnlo.ro (ns.cnlo.ro [81.12.171.70]) by svr1.postgresql.org (Postfix) with ESMTP id 6149AD1B520 for ; Fri, 3 Oct 2003 01:14:05 -0300 (ADT) Received: from cnlo.ro (marian.cnlo.ro [192.168.10.64]) by ns.cnlo.ro (8.12.8/8.12.8) with ESMTP id h934Ds4Q020356; Fri, 3 Oct 2003 07:13:54 +0300 Message-ID: <3F7CF68F.1070202@cnlo.ro> Date: Fri, 03 Oct 2003 07:09:51 +0300 From: Popeanga Marian User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tom Lane Cc: Richard Huxton , pgsql-sql@postgresql.org Subject: Re: output References: <3F7BE74A.70407@cnlo.ro> <200310021201.06107.dev@archonet.com> <3F7C075C.5050500@cnlo.ro> <27018.1065105315@sss.pgh.pa.us> Content-Type: multipart/alternative; boundary="------------020201000106060207090304" X-RAVMilter-Version: 8.4.4(snapshot 20030410) (ns.cnlo.ro) X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=1.0 tagged_above=0.0 required=5.0 tests=EMAIL_ATTRIBUTION, HTML_20_30, REFERENCES, USER_AGENT_MOZILLA_UA X-Spam-Level: * X-Archive-Number: 200310/39 X-Sequence-Number: 15439 --------------020201000106060207090304 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 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 > > > --------------020201000106060207090304 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit
      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

  

--------------020201000106060207090304--