Re: Fix that deals with unusable custom variables.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Fix that deals with unusable custom variables.
Дата
Msg-id 24951.1111767485@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Fix that deals with unusable custom variables.  (Thomas Hallgren <thhal@mailblocks.com>)
Список pgsql-patches
Thomas Hallgren <thhal@mailblocks.com> writes:
> This is a bit embarrassing but the patch I submitted that enables custom
> variable classes (8-10 months ago) was somewhat incomplete. The
> DefineCustomIntVariable and DefineCustomRealVariable functions doesn't
> have parameters that make it possible to set the min and max values of
> the variables. Consequently, custom variables of int and real type are
> completely useless. This patch adds the additional parameters minValue
> and maxValue to those functions.

> No one but me have used this so far (or someone would have noticed) so I
> think it would be safe to backport this for 8.0.2.

Applied to HEAD and 8.0.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [BUGS] CC Date format code defaults to current centry
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Makefile breakage