Fix node id range check bug in trigger_failover_command().
authorTatsuo Ishii <ishii@postgresql.org>
Wed, 19 Nov 2014 01:34:14 +0000 (10:34 +0900)
committerTatsuo Ishii <ishii@postgresql.org>
Wed, 19 Nov 2014 01:34:14 +0000 (10:34 +0900)
commitb56e3de8f3a39df25114fe0c434ae5528d7a73ea
treefc79a7e9cf04180e857363d0ed261e2644355c32
parent27cf0a2529703329860e3bd3df1a6e4ec4b2261a
Fix node id range check bug in trigger_failover_command().

The node id should be lower than NUM_BACKENDS. Probably harmless since
callers never pass node ids greater or equal to NUM_BACKENDS. But a
bug is a bug.
main.c