not working with pgpool II version 4

it needs rewrite with newer versions