8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa2fe04 commit 540f316Copy full SHA for 540f316
src/include/access/toast_internals.h
@@ -31,7 +31,7 @@ typedef struct toast_compress_header
31
*/
32
#define TOAST_COMPRESS_HDRSZ ((int32) sizeof(toast_compress_header))
33
#define TOAST_COMPRESS_RAWSIZE(ptr) (((toast_compress_header *) (ptr))->rawsize)
34
-#define TOAST_COMPRESS_SIZE(ptr) ((int32) VARSIZE(ptr) - TOAST_COMPRESS_HDRSZ)
+#define TOAST_COMPRESS_SIZE(ptr) ((int32) VARSIZE_ANY(ptr) - TOAST_COMPRESS_HDRSZ)
35
#define TOAST_COMPRESS_RAWDATA(ptr) \
36
(((char *) (ptr)) + TOAST_COMPRESS_HDRSZ)
37
#define TOAST_COMPRESS_SET_RAWSIZE(ptr, len) \
0 commit comments