pgsql: Provide a HINT listing the allowed unit names when a GUC variable

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Provide a HINT listing the allowed unit names when a GUC variable
Date: 2007-06-21 18:14:21
Message-ID: 20070621181421.BA1EB9FB742@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Provide a HINT listing the allowed unit names when a GUC variable seems to
contain a wrong unit specification, per discussion.
In passing, fix the code to avoid unnecessary integer overflows when
converting units, and to detect overflows when they do occur.

Modified Files:
--------------
pgsql/src/backend/utils/misc:
guc.c (r1.400 -> r1.401)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/misc/guc.c.diff?r1=1.400&r2=1.401)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2007-06-21 22:59:14 pgsql: Allow trailing whitespace in parse_real(), for consistency with
Previous Message Peter Eisentraut 2007-06-21 12:20:11 pgsql: Update password example.