Messing with PostgreSQL network traffic to make some usefull things