OSDN Git Service

Fix behavior for pg_hint_plan.debug_print
authormikecaat <righttoleft1134@gmail.com>
Tue, 18 Jan 2022 06:54:59 +0000 (15:54 +0900)
committerKyotaro Horiguchi <horikyota.ntt@gmail.com>
Tue, 18 Jan 2022 07:03:03 +0000 (16:03 +0900)
commit0a27fc8da0a5475be04a285d291ebb6152d1c1e9
treec41646cc7a0ec2dc2c0de4b2b129e016efa99903
parent687ced2ec2d24f0029e26f4ef5e7fdcd9bbb00a6
Fix behavior for pg_hint_plan.debug_print

It was a kind of broken that some debug code paths are never visited
or that higher debug_level doesn't offer detailed messages.
Fix some debug messages' debug_level condition so that we can see the
proper messages for every debug_level.
pg_hint_plan.c