From: Andreas Joseph Krogh <andreak@officenet.no>
To: pgsql-sql@postgresql.org
Subject: Re: echo/printf function in plpgsql
Date: Wed, 20 Jul 2005 09:21:26 +0200
Message-ID: <200507200921.26644.andreak@officenet.no> (raw)
In-Reply-To: <DCD52400-C591-4F84-9176-C12EF554DAF2@pgedit.com>
References: <200507191651.28648.andreak@officenet.no>
<200507191758.05273.andreak@officenet.no>
<DCD52400-C591-4F84-9176-C12EF554DAF2@pgedit.com>
On Wednesday 20 July 2005 01:39, John DeSoi wrote:
> 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.
Thanks!
--
AJK
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: andreak@officenet.no
Subject: Re: echo/printf function in plpgsql
In-Reply-To: <200507200921.26644.andreak@officenet.no>
* 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