File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -361,13 +361,13 @@ typedef struct
361361#define VARDATA_ANY (PTR ) \
362362 (VARATT_IS_1B(PTR) ? VARDATA_1B(PTR) : VARDATA_4B(PTR))
363363
364- /* Decompressed size and compression method of an external compressed Datum */
364+ /* Decompressed size and compression method of a compressed-in-line Datum */
365365#define VARDATA_COMPRESSED_GET_EXTSIZE (PTR ) \
366366 (((varattrib_4b *) (PTR))->va_compressed.va_tcinfo & VARLENA_EXTSIZE_MASK)
367367#define VARDATA_COMPRESSED_GET_COMPRESS_METHOD (PTR ) \
368368 (((varattrib_4b *) (PTR))->va_compressed.va_tcinfo >> VARLENA_EXTSIZE_BITS)
369369
370- /* Same, when working directly with a struct varatt_external */
370+ /* Same for external Datums; but note argument is a struct varatt_external */
371371#define VARATT_EXTERNAL_GET_EXTSIZE (toast_pointer ) \
372372 ((toast_pointer).va_extinfo & VARLENA_EXTSIZE_MASK)
373373#define VARATT_EXTERNAL_GET_COMPRESS_METHOD (toast_pointer ) \
You can’t perform that action at this time.
0 commit comments