Re: and it's not a bunny rabbit, either

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: and it's not a bunny rabbit, either
Дата
Msg-id AANLkTinc2OzJkN8d08hED=RqtzCH4T_kxMagFtf8A_zH@mail.gmail.com
обсуждение исходный текст
Ответ на Re: and it's not a bunny rabbit, either  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: and it's not a bunny rabbit, either  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On Thu, Dec 30, 2010 at 11:49 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> One possibility is to break it down like this:
>
>        ERROR: foo is a sequence
>        DETAIL: Triggers can only be used on tables and views.
>
> This could still be emitted by a function such as you suggest, and
> indeed that would be the most practical way from both a consistency
> and code-size standpoint.

Great idea.  I should have thought of that.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Sync Rep Design
Следующее
От: Stefan Kaltenbrunner
Дата:
Сообщение: Re: Sync Rep Design