Re: [PATCHES] [BUGS] BUG #2704: pg_class.relchecks overflow

Поиск
Список
Период
Сортировка
От Toru SHIMOGAKI
Тема Re: [PATCHES] [BUGS] BUG #2704: pg_class.relchecks overflow
Дата
Msg-id 4557FB5A.4060703@oss.ntt.co.jp
обсуждение исходный текст
Ответ на Re: [PATCHES] [BUGS] BUG #2704: pg_class.relchecks overflow problem  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Tom Lane wrote:
> While there's not anything wrong with this proposed patch in itself,
> I have to admit that I don't see the point.

The points are:
1. It is just unpleasant to leave the overflow.
2. It is not easy for users to understand what they should do when they
encounter the error message. At least users can't understand that it is because
of the upper limit:

 ERROR: unexpected constraint record found for rel test_a


I haven't found such a case in real practice. But I think the limit will be a
little closer than that is now, because constraint exclusion is expanded for
UPDATE/DELETE in 8.2 and the opportunity of using check constraint will increase
 . So I investigated the upper limit and found it.

By the way, as you said, it would impose an extra burden on message translators
and I can understand your opinion. But will it lead directly to the reason that
we don't fix it?

Best regards,

--
Toru SHIMOGAKI<shimogaki.toru@oss.ntt.co.jp>


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

Предыдущее
От: Robert Treat
Дата:
Сообщение: Re: Frequent Update Project: Design Overview ofHOTUpdates
Следующее
От: Robert Treat
Дата:
Сообщение: Re: adminpack and pg_catalog