Added in-line compression to pgsql and mysql handlers, appears to work fine in tests