Skip to content

Commit a95afc7

Browse files
committed
Fixed pg_visibility extension for work with new CFS. Increased version to 9.6.3.2
1 parent 029c5a4 commit a95afc7

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

configure

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2754,7 +2754,7 @@ else
27542754
fi
27552755

27562756

2757-
PGPRO_VERSION="$PACKAGE_VERSION.1"
2757+
PGPRO_VERSION="$PACKAGE_VERSION.2"
27582758
PGPRO_PACKAGE_NAME="PostgresPro"
27592759
PGPRO_EDITION="enterprise"
27602760

configure.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ AC_DEFINE_UNQUOTED(PG_MAJORVERSION, "$PG_MAJORVERSION", [PostgreSQL major versio
3838
PGAC_ARG_REQ(with, extra-version, [STRING], [append STRING to version],
3939
[PG_VERSION="$PACKAGE_VERSION$withval"],
4040
[PG_VERSION="$PACKAGE_VERSION"])
41-
PGPRO_VERSION="$PACKAGE_VERSION.1"
41+
PGPRO_VERSION="$PACKAGE_VERSION.2"
4242
PGPRO_PACKAGE_NAME="PostgresPro"
4343
PGPRO_EDITION="enterprise"
4444
AC_SUBST(PGPRO_PACKAGE_NAME)

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy