Re: echo/printf function in plpgsql - Mailing list pgsql-sql

From John DeSoi
Subject Re: echo/printf function in plpgsql
Date
Msg-id DCD52400-C591-4F84-9176-C12EF554DAF2@pgedit.com
Whole thread Raw
In response to Re: echo/printf function in plpgsql  (Andreas Joseph Krogh <andreak@officenet.no>)
Responses Re: echo/printf function in plpgsql
List pgsql-sql
On Jul 19, 2005, at 11:58 AM, Andreas Joseph Krogh wrote:

> I see. Can I make the ouput somehow less verbose? It spits out a  
> lot of noise
> for each "NOTICE":

If you just want to output some information to the log, you can use  
something like this:

raise log 't is %', t;

If I recall correctly, the values to be inserted into the format  
string can only be variables, not expressions.



John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL



pgsql-sql by date:

Previous
From: Chris Travers
Date:
Subject: Re: difference between all RDBMSs
Next
From: Andreas Joseph Krogh
Date:
Subject: Re: echo/printf function in plpgsql