Re: doing %-expansion in plpgsql RAISE USING

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: doing %-expansion in plpgsql RAISE USING
Date: 2009-08-04 13:51:57
Message-ID: 21970.1249393917@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:
> It seems there's no way to do %-expansion in plpgsql when one is using
> RAISE USING:

That's intentional. Just use string concatenation if you need a
run-time-variable message.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2009-08-04 13:56:22 Re: doing %-expansion in plpgsql RAISE USING
Previous Message Joe Conway 2009-08-04 13:51:27 Re: async notification patch for dblink