Обсуждение: [PATCH] In case module has wrong magic, report exact problem

Поиск
Список
Период
Сортировка

[PATCH] In case module has wrong magic, report exact problem

От
Marko Kreen
Дата:
In case module and server magic blocks do not match
report exact parameters that differ.

It is quite cumbersome problem to track down unless
user already knows the cause.

As we want to encourage module use, such situations
can happen more often.
Вложения

Re: [PATCH] In case module has wrong magic, report exact problem

От
Tom Lane
Дата:
Marko Kreen <markokr@gmail.com> writes:
> In case module and server magic blocks do not match
> report exact parameters that differ.

Applied with revisions --- your patch produced a message that wasn't
localizable and didn't follow the style guidelines.  Also it assumed
that all the fields would be plain integer values, which isn't true
even today.
        regards, tom lane