We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a25d308 commit 136c783Copy full SHA for 136c783
contrib/pg_visibility/pg_visibility.c
@@ -794,9 +794,9 @@ pg_cfm(PG_FUNCTION_ARGS)
794
tupdesc = BlessTupleDesc(tupdesc);
795
796
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));
+ values[0] = UInt32GetDatum(pg_atomic_read_u32(&map->hdr.physSize));
+ values[1] = UInt32GetDatum(pg_atomic_read_u32(&map->hdr.virtSize));
+ values[2] = UInt32GetDatum(pg_atomic_read_u32(&map->hdr.usedSize));
800
values[3] = UInt64GetDatum(map->generation);
801
802
0 commit comments