Fix that deals with unusable custom variables.

From: Thomas Hallgren <thhal(at)mailblocks(dot)com>
To: "pgsql-patches(at)postgresql(dot)org" <pgsql-patches(at)postgresql(dot)org>
Subject: Fix that deals with unusable custom variables.
Date: 2005-03-15 18:07:42
Message-ID: 4237246E.7030305@mailblocks.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

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.

Regards,
Thomas Hallgren

Attachment Content-Type Size
gucbug.diff text/plain 2.1 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Magnus Hagander 2005-03-15 22:26:36 Kerberos on win32
Previous Message Magnus Hagander 2005-03-15 16:54:28 Kerberos code overwrites it's own error message