diff --git a/contrib/dblink/dblink--1.0--1.1.sql b/contrib/dblink/dblink--1.0--1.1.sql index c964f87a7bb7068a039b5b807f733898dcba2865..67293f0ef8ea002a12b8a541278b165ad73c0079 100644 --- a/contrib/dblink/dblink--1.0--1.1.sql +++ b/contrib/dblink/dblink--1.0--1.1.sql @@ -1,6 +1,6 @@ /* contrib/dblink/dblink--1.0--1.1.sql */ --- complain if script is sourced in psql, rather than via CREATE EXTENSION +-- complain if script is sourced in psql, rather than via ALTER EXTENSION \echo Use "ALTER EXTENSION dblink UPDATE TO '1.1'" to load this file. \quit CREATE FUNCTION dblink_fdw_validator( diff --git a/contrib/hstore/hstore--1.0--1.1.sql b/contrib/hstore/hstore--1.0--1.1.sql index 3027ecfaa18785a04a7508a9c2eb112ffd069b12..4e32a575c5f6845311e584bfe07f914c79b8431e 100644 --- a/contrib/hstore/hstore--1.0--1.1.sql +++ b/contrib/hstore/hstore--1.0--1.1.sql @@ -1,6 +1,6 @@ /* contrib/hstore/hstore--1.0--1.1.sql */ --- complain if script is sourced in psql, rather than via CREATE EXTENSION +-- complain if script is sourced in psql, rather than via ALTER EXTENSION \echo Use "ALTER EXTENSION hstore UPDATE TO '1.1'" to load this file. \quit ALTER EXTENSION hstore DROP OPERATOR => (text, text); diff --git a/contrib/pageinspect/pageinspect--1.0--1.1.sql b/contrib/pageinspect/pageinspect--1.0--1.1.sql index 5997c580dac42f41a2298d7d4f606efe6f0ee121..49e83264d337fe88c78d9d87280c42298a496559 100644 --- a/contrib/pageinspect/pageinspect--1.0--1.1.sql +++ b/contrib/pageinspect/pageinspect--1.0--1.1.sql @@ -1,6 +1,6 @@ /* contrib/pageinspect/pageinspect--1.0--1.1.sql */ --- complain if script is sourced in psql, rather than via ALTER EXTENSION UPDATE +-- complain if script is sourced in psql, rather than via ALTER EXTENSION \echo Use "ALTER EXTENSION pageinspect UPDATE TO 1.1" to load this file. \quit DROP FUNCTION page_header(bytea); diff --git a/contrib/pg_stat_statements/pg_stat_statements--1.0--1.1.sql b/contrib/pg_stat_statements/pg_stat_statements--1.0--1.1.sql index 5662273e16ead8312471d81b26dae7b6843eece8..5be281ea47a47f5b042be072ba273de0ba9361eb 100644 --- a/contrib/pg_stat_statements/pg_stat_statements--1.0--1.1.sql +++ b/contrib/pg_stat_statements/pg_stat_statements--1.0--1.1.sql @@ -1,7 +1,7 @@ /* contrib/pg_stat_statements/pg_stat_statements--1.0--1.1.sql */ -- complain if script is sourced in psql, rather than via ALTER EXTENSION -\echo Use "ALTER EXTENSION pg_stat_statements UPDATE" to load this file. \quit +\echo Use "ALTER EXTENSION pg_stat_statements UPDATE TO '1.1'" to load this file. \quit /* First we have to remove them from the extension */ ALTER EXTENSION pg_stat_statements DROP VIEW pg_stat_statements; diff --git a/contrib/pg_trgm/pg_trgm--1.0--1.1.sql b/contrib/pg_trgm/pg_trgm--1.0--1.1.sql index 65bbb1cfde6329a3347dae7db63136701083e68e..b4e3e26037b23115a3cad9916c8909e6aa6bd32d 100644 --- a/contrib/pg_trgm/pg_trgm--1.0--1.1.sql +++ b/contrib/pg_trgm/pg_trgm--1.0--1.1.sql @@ -1,6 +1,6 @@ /* contrib/pg_trgm/pg_trgm--1.0--1.1.sql */ --- complain if script is sourced in psql, rather than via CREATE EXTENSION +-- complain if script is sourced in psql, rather than via ALTER EXTENSION \echo Use "ALTER EXTENSION pg_trgm UPDATE TO '1.1'" to load this file. \quit ALTER OPERATOR FAMILY gist_trgm_ops USING gist ADD diff --git a/contrib/pgrowlocks/pgrowlocks--1.0--1.1.sql b/contrib/pgrowlocks/pgrowlocks--1.0--1.1.sql index d98cd807cae47050938d3bedcc66b00f84eb79cc..3d5ca34c086498698a0a22120f0fdbea6fdcced9 100644 --- a/contrib/pgrowlocks/pgrowlocks--1.0--1.1.sql +++ b/contrib/pgrowlocks/pgrowlocks--1.0--1.1.sql @@ -1,7 +1,7 @@ /* contrib/pgrowlocks/pgrowlocks--1.0--1.1.sql */ --- complain if script is sourced in psql, rather than via CREATE EXTENSION -\echo Use "CREATE EXTENSION pgrowlocks" to load this file. \quit +-- complain if script is sourced in psql, rather than via ALTER EXTENSION +\echo Use "ALTER EXTENSION pgrowlocks UPDATE TO '1.1'" to load this file. \quit ALTER EXTENSION pgrowlocks DROP FUNCTION pgrowlocks(text); DROP FUNCTION pgrowlocks(text);