Re: Fix that deals with unusable custom variables. - Mailing list pgsql-patches

From Tom Lane
Subject Re: Fix that deals with unusable custom variables.
Date
Msg-id 24951.1111767485@sss.pgh.pa.us
Whole thread Raw
In response to Fix that deals with unusable custom variables.  (Thomas Hallgren <thhal@mailblocks.com>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: [BUGS] CC Date format code defaults to current centry
Next
From: Bruce Momjian
Date:
Subject: Re: Makefile breakage