summaryrefslogtreecommitdiffstats
path: root/contrib/pg_freespacemap/pg_freespacemap--1.1--1.2.sql
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/pg_freespacemap/pg_freespacemap--1.1--1.2.sql')
-rw-r--r--contrib/pg_freespacemap/pg_freespacemap--1.1--1.2.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/pg_freespacemap/pg_freespacemap--1.1--1.2.sql b/contrib/pg_freespacemap/pg_freespacemap--1.1--1.2.sql
new file mode 100644
index 0000000..f558def
--- /dev/null
+++ b/contrib/pg_freespacemap/pg_freespacemap--1.1--1.2.sql
@@ -0,0 +1,7 @@
+/* contrib/pg_freespacemap/pg_freespacemap--1.1--1.2.sql */
+
+-- complain if script is sourced in psql, rather than via ALTER EXTENSION
+\echo Use "ALTER EXTENSION pg_freespacemap UPDATE TO '1.2'" to load this file. \quit
+
+GRANT EXECUTE ON FUNCTION pg_freespace(regclass, bigint) TO pg_stat_scan_tables;
+GRANT EXECUTE ON FUNCTION pg_freespace(regclass) TO pg_stat_scan_tables;