summaryrefslogtreecommitdiff
path: root/contrib/pageinspect/heapfuncs.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/pageinspect/heapfuncs.c')
-rw-r--r--contrib/pageinspect/heapfuncs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/pageinspect/heapfuncs.c b/contrib/pageinspect/heapfuncs.c
index 3dc705e43f7..8c1b7d38aa6 100644
--- a/contrib/pageinspect/heapfuncs.c
+++ b/contrib/pageinspect/heapfuncs.c
@@ -334,11 +334,11 @@ tuple_data_split_internal(Oid relid, char *tupdata,
for (i = 0; i < nattrs; i++)
{
- Form_pg_attribute attr;
+ CompactAttribute *attr;
bool is_null;
bytea *attr_data = NULL;
- attr = TupleDescAttr(tupdesc, i);
+ attr = TupleDescCompactAttr(tupdesc, i);
/*
* Tuple header can specify fewer attributes than tuple descriptor as