Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 6f9e39b

Browse files
committed
Fix typo in update scripts for some contrib modules.
1 parent 1dc1186 commit 6f9e39b

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

contrib/dblink/dblink--1.0--1.1.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* contrib/dblink/dblink--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 dblink UPDATE TO '1.1'" to load this file. \quit
55

66
CREATE FUNCTION dblink_fdw_validator(

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

+1-1
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/pageinspect/pageinspect--1.0--1.1.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* contrib/pageinspect/pageinspect--1.0--1.1.sql */
22

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

66
DROP FUNCTION page_header(bytea);

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

+1-1
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;

contrib/pg_trgm/pg_trgm--1.0--1.1.sql

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* contrib/pg_trgm/pg_trgm--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 pg_trgm UPDATE TO '1.1'" to load this file. \quit
55

66
ALTER OPERATOR FAMILY gist_trgm_ops USING gist ADD

contrib/pgrowlocks/pgrowlocks--1.0--1.1.sql

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* contrib/pgrowlocks/pgrowlocks--1.0--1.1.sql */
22

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

66
ALTER EXTENSION pgrowlocks DROP FUNCTION pgrowlocks(text);
77
DROP FUNCTION pgrowlocks(text);

0 commit comments

Comments
 (0)