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:55:02 +0000 (16:55 +0900)
commit7dcc96fd27a7f91545156887faba5907f35da068
tree2c5d487613e8ceb4bc6f5b33dceec0384dc0e243
parentdd5ea9685ee83db934eab9ed8203f44b0b2f5cac
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