Re: doing %-expansion in plpgsql RAISE USING

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: doing %-expansion in plpgsql RAISE USING
Дата
Msg-id 20090804141645.GB6494@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: doing %-expansion in plpgsql RAISE USING  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> Alvaro Herrera <alvherre@commandprompt.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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: Proposal: More portable way to support 64bit platforms
Следующее
От: Tom Lane
Дата:
Сообщение: Re: async notification patch for dblink