s2mem: generic pgctl hostname