]> granicus.if.org Git - postgresql/commit
Provide a HINT listing the allowed unit names when a GUC variable seems to
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 21 Jun 2007 18:14:21 +0000 (18:14 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 21 Jun 2007 18:14:21 +0000 (18:14 +0000)
commitaa55d05571e5de3882925bee26a486a940daf1c7
tree34489eaad19ce4ecbebc04fec1a72ac5e712a7d7
parent9f6aacd9e6bef6944c040862a94b1b21e60f4371
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.
src/backend/utils/misc/guc.c