mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-09 08:10:09 +08:00
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: 6f9e39bc99
This commit is contained in:
parent
13b037f938
commit
7b6407d93d
@ -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(
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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;
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user