diff --git a/Makefile b/Makefile index 7a7eb80..0594d43 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ MODULES = set_user EXTENSION = set_user -DATA = set_user--1.5.sql set_user--1.4--1.5.sql set_user--1.1--1.4.sql set_user--1.0--1.1.sql +DATA = set_user--1.6.sql set_user--1.5--1.6.sql set_user--1.4--1.5.sql set_user--1.1--1.4.sql set_user--1.0--1.1.sql PGFILEDESC = "set_user - similar to SET ROLE but with added logging" REGRESS = set_user diff --git a/set_user--1.5--1.6.sql b/set_user--1.5--1.6.sql new file mode 100644 index 0000000..9a216c3 --- /dev/null +++ b/set_user--1.5--1.6.sql @@ -0,0 +1,6 @@ +/* set-user-1.5--1.6.sql */ + +-- complain if script is sourced in psql, rather than via ALTER EXTENSION +\echo Use "ALTER EXTENSION set_user UPDATE to '1.6'" to load this file. \quit + +-- just bumping our version to 1.6. no new sql function features here, so nothing to do. diff --git a/set_user--1.5.sql b/set_user--1.6.sql similarity index 94% rename from set_user--1.5.sql rename to set_user--1.6.sql index 1ae0769..1bdefbb 100644 --- a/set_user--1.5.sql +++ b/set_user--1.6.sql @@ -1,4 +1,4 @@ -/* set-user--1.5.sql */ +/* set-user--1.6.sql */ -- complain if script is sourced in psql, rather than via CREATE EXTENSION \echo Use "CREATE EXTENSION set_user" to load this file. \quit @@ -39,3 +39,4 @@ LANGUAGE C STRICT; REVOKE EXECUTE ON FUNCTION set_user_u(text) FROM PUBLIC; /* No new sql functions for 1.5 */ +/* No new sql functions for 1.6 */ diff --git a/set_user.control b/set_user.control index b4d8dc0..ab68f03 100644 --- a/set_user.control +++ b/set_user.control @@ -1,5 +1,5 @@ # set_user extension comment = 'similar to SET ROLE but with added logging' -default_version = '1.5' +default_version = '1.6' module_pathname = '$libdir/set_user' relocatable = true