You might want to try using a file system (ZFS, NTFS) that does compression, depending on what you're trying to compress.
pgsql-general by date:
Соглашаюсь с условиями обработки персональных данных