mirror of
https://github.com/postgres/postgres.git
synced 2025-10-24 01:29:19 +03:00
More code cleanup for configurable TOAST compression.
Remove unused macro. Fix confusion about whether a TOAST compression method is identified by an OID or a char. Justin Pryzby Discussion: http://postgr.es/m/20210321235544.GD4203@telsasoft.com
This commit is contained in:
@@ -50,8 +50,6 @@ typedef enum ToastCompressionId
|
||||
errdetail("This functionality requires the server to be built with lz4 support."), \
|
||||
errhint("You need to rebuild PostgreSQL using --with-lz4.")))
|
||||
|
||||
#define IsValidCompression(cm) ((cm) != InvalidCompressionMethod)
|
||||
|
||||
#define IsStorageCompressible(storage) ((storage) != TYPSTORAGE_PLAIN && \
|
||||
(storage) != TYPSTORAGE_EXTERNAL)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user