Re: notice about costly ri checks (2)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: notice about costly ri checks (2)
Дата
Msg-id 11681.1078523755@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: notice about costly ri checks (2)  (Stephan Szabo <sszabo@megazone.bigpanda.com>)
Ответы Re: notice about costly ri checks (2)  (Fabien COELHO <fabien.coelho@ensmp.fr>)
Список pgsql-patches
Stephan Szabo <sszabo@megazone.bigpanda.com> writes:
>> Why should we make them guess which column is the problem, when we know
>> it perfectly well?

> As a side question, if there are multiple cross-type conversions in one
> constraint on different column pairs, what do we think the message should
> be? One message with multiple column mentions in detail or multiple
> notices?  (I haven't looked at the patch to see if one or the other is
> easier with how it's set up)

I would expect it to generate one WARNING for each mismatch; doing
anything else would make life a lot more complex, both as to writing the
code and as to formatting the output readably.

            regards, tom lane

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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Updated version of contrib/xml (at last)
Следующее
От: "Lee Kindness"
Дата:
Сообщение: ECPG: Update tests & memory leak fix