diff options
author | Fujii Masao <fujii@postgresql.org> | 2014-08-25 18:30:48 +0200 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2014-08-25 18:30:48 +0200 |
commit | f13feb088aaf5a1f725289c01f636c5f78fa85e9 (patch) | |
tree | 2c18f0da345af4c9b0d82af2e6657c8e11975ae5 | |
parent | ebd4d9cddb894207911eb0a9e014867f3278b167 (diff) |
Backpatch: Fix typo in update scripts for some contrib modules.
Backpatch as discussed in 20140702192641.GD22738@awork2.anarazel.de
ff. as the error messages are user facing and possibly confusing.
Original commit: 6f9e39bc9993c18686f0950f9b9657c7c97c7450
-rw-r--r-- | contrib/hstore/hstore--1.0--1.1.sql | 2 | ||||
-rw-r--r-- | contrib/pg_stat_statements/pg_stat_statements--1.0--1.1.sql | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/contrib/hstore/hstore--1.0--1.1.sql b/contrib/hstore/hstore--1.0--1.1.sql index 3027ecfaa18..4e32a575c5f 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/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 5662273e16e..5be281ea47a 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; |