File tree Expand file tree Collapse file tree 4 files changed +11
-4
lines changed Expand file tree Collapse file tree 4 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,8 @@ MODULE_big = pg_buffercache
44OBJS = pg_buffercache_pages.o $(WIN32RES )
55
66EXTENSION = pg_buffercache
7- DATA = pg_buffercache--1.1.sql pg_buffercache--1.0--1.1.sql pg_buffercache--unpackaged--1.0.sql
7+ DATA = pg_buffercache--1.2.sql pg_buffercache--1.1--1.2.sql \
8+ pg_buffercache--1.0--1.1.sql pg_buffercache--unpackaged--1.0.sql
89PGFILEDESC = "pg_buffercache - monitoring of shared buffer cache in real-time"
910
1011ifdef USE_PGXS
Original file line number Diff line number Diff line change 1+ /* contrib/pg_buffercache/pg_buffercache--1.1--1.2.sql */
2+
3+ -- complain if script is sourced in psql, rather than via ALTER EXTENSION
4+ \echo Use " ALTER EXTENSION pg_buffercache UPDATE TO '1.2'" to load this file. \quit
5+
6+ ALTER FUNCTION pg_buffercache_pages() PARALLEL SAFE;
Original file line number Diff line number Diff line change 1- /* contrib/pg_buffercache/pg_buffercache--1.1 .sql */
1+ /* contrib/pg_buffercache/pg_buffercache--1.2 .sql */
22
33-- complain if script is sourced in psql, rather than via CREATE EXTENSION
44\echo Use " CREATE EXTENSION pg_buffercache" to load this file. \quit
77CREATE FUNCTION pg_buffercache_pages ()
88RETURNS SETOF RECORD
99AS ' MODULE_PATHNAME' , ' pg_buffercache_pages'
10- LANGUAGE C;
10+ LANGUAGE C PARALLEL SAFE ;
1111
1212-- Create a view for convenient access.
1313CREATE VIEW pg_buffercache AS
Original file line number Diff line number Diff line change 11# pg_buffercache extension
22comment = 'examine the shared buffer cache'
3- default_version = '1.1 '
3+ default_version = '1.2 '
44module_pathname = '$libdir/pg_buffercache'
55relocatable = true
You can’t perform that action at this time.
0 commit comments