The answer is: SSL. SSL will compress things, before encrypting(depends on setup obviously).As far as I know, postgresql it self doesn't compress any data over the wire.
-- GJ