We have made the Pgpool-II to handle the multiple failover/failback/promote
node requests by adding the request queue a long time ago. But somehow we were
still not accepting the pcp_[attach/detach/promote] requests during the failover.
This commit removes this unwanted restriction and allow queuing of node operation
requests from PCP client during the failover.
pcp_process_command(char tos, char *buf, int buf_len)
{
- if (tos == 'C' || tos == 'd' || tos == 'D' || tos == 'j' ||
- tos == 'J' || tos == 'O' || tos == 'T')
+ if (tos == 'O' || tos == 'T')
{
if (Req_info->switching)
{