Re: plpgsql raise - parameters can be expressions

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: plpgsql raise - parameters can be expressions
Дата
Msg-id 42AE28BA.3010005@samurai.com
обсуждение исходный текст
Ответ на Re: plpgsql raise - parameters can be expressions  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: plpgsql raise - parameters can be expressions  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
Tom Lane wrote:
> That doesn't bother me either, seeing that an undefined variable isn't
> detected at compile time anywhere else.  However, fixing the SQLSTATE
> tests by removing them doesn't seem like a great solution ...

Yeah, true, I can just invoke the function to trigger the undefined
variable error.

> Actually, the reason I didn't do something about RAISE in 8.0 was that
> I thought we should reconsider the whole design of the statement

The ensuing discussion on this sounds good to me; should I apply Pavel's
RAISE patch now, or wait for the subsequent work on specifying a
particular SQLSTATE?

-Neil

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

Предыдущее
От: Neil Conway
Дата:
Сообщение: Re: pl/pgsql dump tree cleanup
Следующее
От: Tom Lane
Дата:
Сообщение: Re: plpgsql raise - parameters can be expressions