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

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Marko Tiikkaja <marko(at)joh(dot)to>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: PL/PgSQL: RAISE and the number of parameters
Date: 2014-07-27 04:59:15
Message-ID: CAFj8pRCZ2A0x9jOATTcHsXVSti9N7PEbKty4+8syUF8a_2rqiw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi

2014-07-26 20:39 GMT+02:00 Marko Tiikkaja <marko(at)joh(dot)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(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers
>
>

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2014-07-27 05:50:42 Re: Use unique index for longer pathkeys.
Previous Message Pavel Stehule 2014-07-27 04:44:22 Re: PL/PgSQL: EXIT USING ROLLBACK