File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -361,13 +361,13 @@ typedef struct
361
361
#define VARDATA_ANY (PTR ) \
362
362
(VARATT_IS_1B(PTR) ? VARDATA_1B(PTR) : VARDATA_4B(PTR))
363
363
364
- /* Decompressed size and compression method of an external compressed Datum */
364
+ /* Decompressed size and compression method of a compressed-in-line Datum */
365
365
#define VARDATA_COMPRESSED_GET_EXTSIZE (PTR ) \
366
366
(((varattrib_4b *) (PTR))->va_compressed.va_tcinfo & VARLENA_EXTSIZE_MASK)
367
367
#define VARDATA_COMPRESSED_GET_COMPRESS_METHOD (PTR ) \
368
368
(((varattrib_4b *) (PTR))->va_compressed.va_tcinfo >> VARLENA_EXTSIZE_BITS)
369
369
370
- /* Same, when working directly with a struct varatt_external */
370
+ /* Same for external Datums; but note argument is a struct varatt_external */
371
371
#define VARATT_EXTERNAL_GET_EXTSIZE (toast_pointer ) \
372
372
((toast_pointer).va_extinfo & VARLENA_EXTSIZE_MASK)
373
373
#define VARATT_EXTERNAL_GET_COMPRESS_METHOD (toast_pointer ) \
You can’t perform that action at this time.
0 commit comments