File tree 4 files changed +11
-4
lines changed
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
4
4
OBJS = pg_buffercache_pages.o $(WIN32RES )
5
5
6
6
EXTENSION = 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
8
9
PGFILEDESC = "pg_buffercache - monitoring of shared buffer cache in real-time"
9
10
10
11
ifdef 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 */
2
2
3
3
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
4
4
\echo Use " CREATE EXTENSION pg_buffercache" to load this file. \quit
7
7
CREATE FUNCTION pg_buffercache_pages ()
8
8
RETURNS SETOF RECORD
9
9
AS ' MODULE_PATHNAME' , ' pg_buffercache_pages'
10
- LANGUAGE C;
10
+ LANGUAGE C PARALLEL SAFE ;
11
11
12
12
-- Create a view for convenient access.
13
13
CREATE VIEW pg_buffercache AS
Original file line number Diff line number Diff line change 1
1
# pg_buffercache extension
2
2
comment = 'examine the shared buffer cache'
3
- default_version = '1.1 '
3
+ default_version = '1.2 '
4
4
module_pathname = '$libdir/pg_buffercache'
5
5
relocatable = true
You can’t perform that action at this time.
0 commit comments