summaryrefslogtreecommitdiff
path: root/contrib/intarray
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2014-08-25 18:30:46 +0200
committerAndres Freund <andres@anarazel.de>2014-08-25 18:30:46 +0200
commit10cb39da28afcaf3bedee2a273ea6f7c3336869c (patch)
tree8f60d83de42235bb75dedd9e8bd92a6054cda34b /contrib/intarray
parent7b6407d93d78948e44e81a0328b3b26608db2a00 (diff)
Fix typos in some error messages thrown by extension scripts when fed to psql.
Some of the many error messages introduced in 458857cc missed 'FROM unpackaged'. Also e016b724 and 45ffeb7e forgot to quote extension version numbers. Backpatch to 9.1, just like 458857cc which introduced the messages. Do so because the error messages thrown when the wrong command is copy & pasted aren't easy to understand.
Diffstat (limited to 'contrib/intarray')
-rw-r--r--contrib/intarray/intarray--unpackaged--1.0.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/intarray/intarray--unpackaged--1.0.sql b/contrib/intarray/intarray--unpackaged--1.0.sql
index 5de64bf0aba..63814cef980 100644
--- a/contrib/intarray/intarray--unpackaged--1.0.sql
+++ b/contrib/intarray/intarray--unpackaged--1.0.sql
@@ -1,7 +1,7 @@
/* contrib/intarray/intarray--unpackaged--1.0.sql */
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
-\echo Use "CREATE EXTENSION intarray" to load this file. \quit
+\echo Use "CREATE EXTENSION intarray FROM unpackaged" to load this file. \quit
ALTER EXTENSION intarray ADD type query_int;
ALTER EXTENSION intarray ADD function bqarr_in(cstring);