Re: PL/PgSQL: RAISE and the number of parameters

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: PL/PgSQL: RAISE and the number of parameters
Дата
Msg-id CAFj8pRCZ2A0x9jOATTcHsXVSti9N7PEbKty4+8syUF8a_2rqiw@mail.gmail.com
обсуждение исходный текст
Ответ на PL/PgSQL: RAISE and the number of parameters  (Marko Tiikkaja <marko@joh.to>)
Список pgsql-hackers
Hi


2014-07-26 20:39 GMT+02:00 Marko Tiikkaja <marko@joh.to>:
Me again,

Here's a patch for making PL/PgSQL throw an error during compilation (instead of runtime) if the number of parameters passed to RAISE don't match the number of placeholders in error message.  I'm sure people can see the pros of doing it this way.


+1

Regards

Pavel

 

.marko


--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers


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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: PL/PgSQL: EXIT USING ROLLBACK
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: Use unique index for longer pathkeys.