I want build a psql proxy which could deal with the connection request from
localhost to psql server which on other machine by type in psql -h localhost
-U bob network.
what function should I use to capture these information in my proxy code. I
try to print the buf but there is nothing there after the read function.
Cheers!