Re: User's exception plpgsql - Mailing list pgsql-patches

From Pavel Stehule
Subject Re: User's exception plpgsql
Date
Msg-id Pine.LNX.4.44.0507061916010.23774-100000@kix.fsv.cvut.cz
Whole thread Raw
In response to Re: User's exception plpgsql  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
>
> This would require promoting all the options for LEVEL into fully
> reserved words.  You really can't get around the fact that you need
> something pretty identifiable to terminate the expression.
>
> It might work to require parentheses:
>
>     RAISE LEVEL ( sqlstate expression ), 'fmt' [, ...]
>
? what sense has sqlstate expression? like any expression returns sqlstate
type?
    SQLSTATE('')|user exception|system exception

Pavel


pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: User's exception plpgsql
Next
From: Pavel Stehule
Date:
Subject: Re: User's exception plpgsql