Type: enum
Default: pglz
Context: user
Restart: false
Values: [pglz, lz4]
Since: 14

This variable sets the default TOAST compression method for columns of newly-created tables. The CREATE TABLE statement can override this default by specifying the COMPRESSION column option. The supported compression methods are pglz and, if PostgreSQL was compiled with --with-lz4, lz4. The default is pglz.