Re: User's exception plpgsql

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: User's exception plpgsql
Дата
Msg-id 42CE01D0.8060700@samurai.com
обсуждение исходный текст
Ответ на Re: User's exception plpgsql  (Neil Conway <neilc@samurai.com>)
Ответы Re: User's exception plpgsql
Re: User's exception plpgsql
Список pgsql-patches
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

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

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