sorry, but forgot to mention, when i change to sslmode=allow, it lets me connect and runs my query on 'select * from test_table' which is a dummy table ... [root@localhost serv]# ./bin/test_lib ret=0 GOT CONNECTION NAME AGE ---------------------------- me 1 you 2 they 3 us 4 [root@localhost serv]# ---------------------------(end of broadcast)--------------------------- TIP 2: Don't 'kill -9' the postmaster