Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 136c783

Browse files
committed
Fix compilation of pg_visibility with new cfs
1 parent a25d308 commit 136c783

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

contrib/pg_visibility/pg_visibility.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -794,9 +794,9 @@ pg_cfm(PG_FUNCTION_ARGS)
794794
tupdesc = BlessTupleDesc(tupdesc);
795795

796796
MemSet(nulls, 0, sizeof(nulls));
797-
values[0] = UInt32GetDatum(pg_atomic_read_u32(&map->physSize));
798-
values[1] = UInt32GetDatum(pg_atomic_read_u32(&map->virtSize));
799-
values[2] = UInt32GetDatum(pg_atomic_read_u32(&map->usedSize));
797+
values[0] = UInt32GetDatum(pg_atomic_read_u32(&map->hdr.physSize));
798+
values[1] = UInt32GetDatum(pg_atomic_read_u32(&map->hdr.virtSize));
799+
values[2] = UInt32GetDatum(pg_atomic_read_u32(&map->hdr.usedSize));
800800
values[3] = UInt64GetDatum(map->generation);
801801

802802

0 commit comments

Comments
 (0)