From: John DeSoi <desoi@pgedit.com>
To: Andreas Joseph Krogh <andreak@officenet.no>
Cc: pgsql-sql@postgresql.org
Subject: Re: echo/printf function in plpgsql
Date: Tue, 19 Jul 2005 19:39:47 -0400
Message-ID: <DCD52400-C591-4F84-9176-C12EF554DAF2@pgedit.com> (raw)
In-Reply-To: <200507191758.05273.andreak@officenet.no>
References: <200507191651.28648.andreak@officenet.no>
<42DD19DE.60106@archonet.com>
<200507191758.05273.andreak@officenet.no>
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
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: desoi@pgedit.com, andreak@officenet.no
Subject: Re: echo/printf function in plpgsql
In-Reply-To: <DCD52400-C591-4F84-9176-C12EF554DAF2@pgedit.com>
* 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