Re: User's exception plpgsql

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: User's exception plpgsql
Дата
Msg-id Pine.LNX.4.44.0507080636140.1715-100000@kix.fsv.cvut.cz
обсуждение исходный текст
Ответ на Re: User's exception plpgsql  (Neil Conway <neilc@samurai.com>)
Ответы Re: User's exception plpgsql  (Neil Conway <neilc@samurai.com>)
Список pgsql-patches
On Fri, 8 Jul 2005, Neil Conway wrote:

> Neil Conway wrote:
> > Ah, I see. I would be content to allow opt_sqlstate to be either a
> > string literal, a T_WORD (predefined error condition), or a TEXT
> > variable. If users need to throw a sqlstate that is derived from a SQL
> > expression, they can always assign to a TEXT variable and then specify
> > that variable to RAISE.
>
> >>>     RAISE [ opt_sqlstate ] LEVEL 'fmt' [ , expr ... ]
>
> BTW, do have we reached a consensus on this?
>
> -Neil
>

ok, but don't forget, please, on exception part.

Pavel


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: User's exception plpgsql
Следующее
От: Neil Conway
Дата:
Сообщение: Re: User's exception plpgsql