Leonardo M. Ramé wrote:
> Hi, does anyone know if there's a compression function to let me store
> in gzipped/deflate format TEXT or Bytea fields.
>
> Please correct me if I'm wrong, but I also wonder if this function is
> really needed since I've read large objects are stored with TOAST, hence
> compression is already there.
Right, TOAST does that.
See http://www.postgresql.org/docs/9.4/static/storage-toast.html
You can control the storage attributes per column.
Yours,
Laurenz Albe