Re: PL/PgSQL: RAISE and the number of parameters - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: PL/PgSQL: RAISE and the number of parameters
Date
Msg-id CAFj8pRCZ2A0x9jOATTcHsXVSti9N7PEbKty4+8syUF8a_2rqiw@mail.gmail.com
Whole thread Raw
In response to PL/PgSQL: RAISE and the number of parameters  (Marko Tiikkaja <marko@joh.to>)
List 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 by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: PL/PgSQL: EXIT USING ROLLBACK
Next
From: Amit Kapila
Date:
Subject: Re: Use unique index for longer pathkeys.