"Leonardo Francalanci" <lfrancalanci(at)simtel(dot)ie> writes:
> Could you point me to some docs on this TOAST-mechanism?
> For instance: what kind of method is used to compress data?
When in doubt, read the code ;-)
src/backend/utils/adt/pg_lzcompress.c
src/include/utils/pg_lzcompress.h
regards, tom lane