From: Wei Weng <wweng@kencast.com>
To: pgsql-sql@postgresql.org
Subject: How do I print a message in a function?
Date: 02 Jul 2001 19:46:03 -0400
Message-ID: <994117573.6587.5.camel@Monet> (raw)
I did something like
create function test() returns integer as
'
declare
msg varchar;
begin
msg := "test";
RAISE NOTICE "message is " || msg;
end'
language 'plpgsql';
The function compiled without any error, however, when I tried to run it
as select test(); it broke down with an error message " Unterminated " "
Can anyone help me on this?
Thanks!
--
Wei Weng
Network Software Engineer
KenCast Inc.
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: wweng@kencast.com
Subject: Re: How do I print a message in a function?
In-Reply-To: <994117573.6587.5.camel@Monet>
* 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