OSDN Git Service

Use proper type for non-integer GUC options.
authorKyotaro Horiguchi <horikyota.ntt@gmail.com>
Mon, 17 Feb 2020 07:19:48 +0000 (16:19 +0900)
committerKyotaro Horiguchi <horikyota.ntt@gmail.com>
Mon, 17 Feb 2020 07:56:35 +0000 (16:56 +0900)
commitef5e86487f2df6b551e75102ce1a187231e4c671
treee8974db5cad2280e774799c1094aeb868d1fcd3e
parentffc2832f84f93e922bca81329f8d733bf63c6e36
Use proper type for non-integer GUC options.

pg_hint_plan internally preserved numeric options into integer
variable regardless of their types, which leads to unintentional
change of the values.  Handle double values in the proper way.
pg_hint_plan.c