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

From Marko Tiikkaja
Subject PL/PgSQL: RAISE and the number of parameters
Date
Msg-id 53D3F5D3.4070900@joh.to
Whole thread Raw
Responses Re: PL/PgSQL: RAISE and the number of parameters  (Pavel Stehule <pavel.stehule@gmail.com>)
Re: PL/PgSQL: RAISE and the number of parameters  (Fabien COELHO <coelho@cri.ensmp.fr>)
List pgsql-hackers
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.


.marko

Attachment

pgsql-hackers by date:

Previous
From: Marko Tiikkaja
Date:
Subject: Re: PL/PgSQL: EXIT USING ROLLBACK
Next
From: Tom Lane
Date:
Subject: Re: PL/PgSQL: EXIT USING ROLLBACK