aboutsummaryrefslogtreecommitdiff
path: root/contrib/pg_buffercache/sql/pg_buffercache.sql
blob: e1ba6f7e8d402dada73df51921d02375de8f63ec (plain)
1
2
3
4
5
6
CREATE EXTENSION pg_buffercache;

select count(*) = (select setting::bigint
                   from pg_settings
                   where name = 'shared_buffers')
from pg_buffercache;