Hello my friends! Sorry for my english!
I need to do a application that listen the port of Postgresql and return all commands actually in process in Postgresql. Like a monitor. I think that to do it i need to do a socket (sniffer) and understand the structure for Postgresql protocol. Somebody can help me?