aboutsummaryrefslogtreecommitdiff
path: root/src/include/access/tupmacs.h
diff options
context:
space:
mode:
authorDavid Rowley <drowley@postgresql.org>2024-12-03 17:12:38 +1300
committerDavid Rowley <drowley@postgresql.org>2024-12-03 17:12:38 +1300
commit4171c44c9b791da3c00386dc6d8e6b1842e3036b (patch)
tree304a009d9a2b3b3df52033019a3f210a53f79823 /src/include/access/tupmacs.h
parentd28dff3f6cd6a7562fb2c211ac0fb74a33ffd032 (diff)
downloadpostgresql-4171c44c9b791da3c00386dc6d8e6b1842e3036b.tar.gz
postgresql-4171c44c9b791da3c00386dc6d8e6b1842e3036b.zip
Revert "Introduce CompactAttribute array in TupleDesc"
This reverts commit d28dff3f6cd6a7562fb2c211ac0fb74a33ffd032. Quite a large number of buildfarm members didn't like this commit and it's not yet clear why. Reverting this before too many animals turn red. Discussion: https://postgr.es/m/CAApHDvr9i6T5=iAwQCxFDgMsthr_obVxgwBaEJkC8KUH6yM3Hw@mail.gmail.com
Diffstat (limited to 'src/include/access/tupmacs.h')
-rw-r--r--src/include/access/tupmacs.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/include/access/tupmacs.h b/src/include/access/tupmacs.h
index 622adfa5f86..58b3a58cfd0 100644
--- a/src/include/access/tupmacs.h
+++ b/src/include/access/tupmacs.h
@@ -14,7 +14,6 @@
#ifndef TUPMACS_H
#define TUPMACS_H
-#include "access/tupdesc.h"
#include "catalog/pg_type_d.h" /* for TYPALIGN macros */
@@ -31,8 +30,8 @@ att_isnull(int ATT, const bits8 *BITS)
#ifndef FRONTEND
/*
- * Given a Form_pg_attribute or CompactAttribute and a pointer into a tuple's
- * data area, return the correct value or pointer.
+ * Given a Form_pg_attribute and a pointer into a tuple's data area,
+ * return the correct value or pointer.
*
* We return a Datum value in all cases. If the attribute has "byval" false,
* we return the same pointer into the tuple data area that we're passed.