1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

Add pinning_backends column to the pg_buffercache extension.

The new column shows how many backends have a buffer pinned. That can
be useful during development or to diagnose production issues
e.g. caused by vacuum waiting for cleanup locks.

To handle upgrades transparently - the extension might be used in
views - deal with callers expecting the old number of columns.

Reviewed by Fujii Masao and Rajeev rastogi.
This commit is contained in:
Andres Freund
2014-08-22 00:28:37 +02:00
parent ce486056ec
commit f57791985a
6 changed files with 58 additions and 6 deletions

View File

@ -1,5 +1,5 @@
# pg_buffercache extension
comment = 'examine the shared buffer cache'
default_version = '1.0'
default_version = '1.1'
module_pathname = '$libdir/pg_buffercache'
relocatable = true