Skip to content

Commit 4247769

Browse files
committed
add pg_stat_kcache
1 parent a34b424 commit 4247769

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

postgres-appliance/build_scripts/base.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,14 @@ for version in $DEB_PG_SUPPORTED_VERSIONS; do
166166
pg_permissions-${PG_PERMISSIONS_COMMIT} \
167167
pg_profile-${PG_PROFILE} \
168168
"${EXTRA_EXTENSIONS[@]}"; do
169-
make -C "$n" USE_PGXS=1 clean install-strip
169+
PATH="/usr/lib/postgresql/$version/bin:$PATH" make -C "$n" USE_PGXS=1 clean
170+
PATH="/usr/lib/postgresql/$version/bin:$PATH" make -C "$n" USE_PGXS=1 install-strip
170171
done
172+
173+
if [ "$version" == "18" ]; then
174+
git clone https://github.com/powa-team/pg_stat_kcache.git
175+
PATH="/usr/lib/postgresql/$version/bin:$PATH" make -C pg_stat_kcache clean install-strip
176+
fi
171177
done
172178

173179
apt-get install -y skytools3-ticker pgbouncer

postgres-appliance/scripts/spilo_commons.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
extensions = {
1515
'timescaledb': (9.6, 17, True, True),
1616
'pg_cron': (9.5, 18, True, False),
17-
'pg_stat_kcache': (9.4, 17, True, False),
17+
'pg_stat_kcache': (9.4, 18, True, False),
1818
'pg_partman': (9.4, 17, False, True)
1919
}
2020
if os.environ.get('ENABLE_PG_MON') == 'true':

0 commit comments

Comments
 (0)