Skip to content

Commit f13feb0

Browse files
MasaoFujiianarazel
authored andcommitted
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: 6f9e39b
1 parent ebd4d9c commit f13feb0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

contrib/hstore/hstore--1.0--1.1.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* contrib/hstore/hstore--1.0--1.1.sql */
22

3-
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
3+
-- complain if script is sourced in psql, rather than via ALTER EXTENSION
44
\echo Use "ALTER EXTENSION hstore UPDATE TO '1.1'" to load this file. \quit
55

66
ALTER EXTENSION hstore DROP OPERATOR => (text, text);

contrib/pg_stat_statements/pg_stat_statements--1.0--1.1.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* contrib/pg_stat_statements/pg_stat_statements--1.0--1.1.sql */
22

33
-- complain if script is sourced in psql, rather than via ALTER EXTENSION
4-
\echo Use "ALTER EXTENSION pg_stat_statements UPDATE" to load this file. \quit
4+
\echo Use "ALTER EXTENSION pg_stat_statements UPDATE TO '1.1'" to load this file. \quit
55

66
/* First we have to remove them from the extension */
77
ALTER EXTENSION pg_stat_statements DROP VIEW pg_stat_statements;

0 commit comments

Comments
 (0)