Tom Lane wrote:
> 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.
Yes, I can do that, but it's really ugly and gets unmaintainable
quickly.
--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support