]> granicus.if.org Git - postgresql/commitdiff
Fix typos in some error messages thrown by extension scripts when fed to psql.
authorAndres Freund <andres@anarazel.de>
Mon, 25 Aug 2014 16:30:28 +0000 (18:30 +0200)
committerAndres Freund <andres@anarazel.de>
Mon, 25 Aug 2014 16:30:28 +0000 (18:30 +0200)
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.

39 files changed:
contrib/btree_gin/btree_gin--unpackaged--1.0.sql
contrib/btree_gist/btree_gist--unpackaged--1.0.sql
contrib/chkpass/chkpass--unpackaged--1.0.sql
contrib/citext/citext--unpackaged--1.0.sql
contrib/cube/cube--unpackaged--1.0.sql
contrib/dblink/dblink--unpackaged--1.0.sql
contrib/dict_int/dict_int--unpackaged--1.0.sql
contrib/dict_xsyn/dict_xsyn--unpackaged--1.0.sql
contrib/earthdistance/earthdistance--unpackaged--1.0.sql
contrib/fuzzystrmatch/fuzzystrmatch--unpackaged--1.0.sql
contrib/hstore/hstore--unpackaged--1.0.sql
contrib/intagg/intagg--unpackaged--1.0.sql
contrib/intarray/intarray--unpackaged--1.0.sql
contrib/isn/isn--unpackaged--1.0.sql
contrib/lo/lo--unpackaged--1.0.sql
contrib/ltree/ltree--unpackaged--1.0.sql
contrib/pageinspect/pageinspect--1.0--1.1.sql
contrib/pageinspect/pageinspect--1.1--1.2.sql
contrib/pageinspect/pageinspect--unpackaged--1.0.sql
contrib/pg_buffercache/pg_buffercache--unpackaged--1.0.sql
contrib/pg_freespacemap/pg_freespacemap--unpackaged--1.0.sql
contrib/pg_stat_statements/pg_stat_statements--unpackaged--1.0.sql
contrib/pg_trgm/pg_trgm--unpackaged--1.0.sql
contrib/pgcrypto/pgcrypto--unpackaged--1.0.sql
contrib/pgrowlocks/pgrowlocks--unpackaged--1.0.sql
contrib/pgstattuple/pgstattuple--unpackaged--1.0.sql
contrib/seg/seg--unpackaged--1.0.sql
contrib/spi/autoinc--unpackaged--1.0.sql
contrib/spi/insert_username--unpackaged--1.0.sql
contrib/spi/moddatetime--unpackaged--1.0.sql
contrib/spi/refint--unpackaged--1.0.sql
contrib/spi/timetravel--unpackaged--1.0.sql
contrib/sslinfo/sslinfo--unpackaged--1.0.sql
contrib/tablefunc/tablefunc--unpackaged--1.0.sql
contrib/test_parser/test_parser--unpackaged--1.0.sql
contrib/tsearch2/tsearch2--unpackaged--1.0.sql
contrib/unaccent/unaccent--unpackaged--1.0.sql
contrib/uuid-ossp/uuid-ossp--unpackaged--1.0.sql
contrib/xml2/xml2--unpackaged--1.0.sql

index 8dfafc1e8b9256bce3d950a8f8aa9784fe19e218..3dae2dd38ff447b323174edc9569f9b99717e886 100644 (file)
@@ -1,7 +1,7 @@
 /* contrib/btree_gin/btree_gin--unpackaged--1.0.sql */
 
 -- complain if script is sourced in psql, rather than via CREATE EXTENSION
-\echo Use "CREATE EXTENSION btree_gin" to load this file. \quit
+\echo Use "CREATE EXTENSION btree_gin FROM unpackaged" to load this file. \quit
 
 ALTER EXTENSION btree_gin ADD function gin_btree_consistent(internal,smallint,anyelement,integer,internal,internal);
 ALTER EXTENSION btree_gin ADD function gin_extract_value_int2(smallint,internal);
index 838ad7ec1e1dd5c61cbe87dfaa4c401ab5bfa11f..e9913ab7f2521990eeef8a51390e32956eb33834 100644 (file)
@@ -1,7 +1,7 @@
 /* contrib/btree_gist/btree_gist--unpackaged--1.0.sql */
 
 -- complain if script is sourced in psql, rather than via CREATE EXTENSION
-\echo Use "CREATE EXTENSION btree_gist" to load this file. \quit
+\echo Use "CREATE EXTENSION btree_gist FROM unpackaged" to load this file. \quit
 
 ALTER EXTENSION btree_gist ADD type gbtreekey4;
 ALTER EXTENSION btree_gist ADD function gbtreekey4_in(cstring);
index 7bbfb142a6a8747784b20d175c338a5a9a54aaa4..8bdecddfa5be8a302393603b04b82d42b9b96b9a 100644 (file)
@@ -1,7 +1,7 @@
 /* contrib/chkpass/chkpass--unpackaged--1.0.sql */
 
 -- complain if script is sourced in psql, rather than via CREATE EXTENSION
-\echo Use "CREATE EXTENSION chkpass" to load this file. \quit
+\echo Use "CREATE EXTENSION chkpass FROM unpackaged" to load this file. \quit
 
 ALTER EXTENSION chkpass ADD type chkpass;
 ALTER EXTENSION chkpass ADD function chkpass_in(cstring);
index 102743c5281d5124b77140856d3fce3465e46d4d..b20d170b655f1140d0947a3660df4c07e0147635 100644 (file)
@@ -1,7 +1,7 @@
 /* contrib/citext/citext--unpackaged--1.0.sql */
 
 -- complain if script is sourced in psql, rather than via CREATE EXTENSION
-\echo Use "CREATE EXTENSION citext" to load this file. \quit
+\echo Use "CREATE EXTENSION citext FROM unpackaged" to load this file. \quit
 
 ALTER EXTENSION citext ADD type citext;
 ALTER EXTENSION citext ADD function citextin(cstring);
index 68596827861643ab8173cbf3ca3f8a1052b6209b..1065512a290f0e810ca7a9d9fe99ccf4ecb6ecc5 100644 (file)
@@ -1,7 +1,7 @@
 /* contrib/cube/cube--unpackaged--1.0.sql */
 
 -- complain if script is sourced in psql, rather than via CREATE EXTENSION
-\echo Use "CREATE EXTENSION cube" to load this file. \quit
+\echo Use "CREATE EXTENSION cube FROM unpackaged" to load this file. \quit
 
 ALTER EXTENSION cube ADD type cube;
 ALTER EXTENSION cube ADD function cube_in(cstring);
index 29f5bed0c13a2a1ab5ead15ba2bcf8f29c3a223e..f3923b5b350be936650bc84515f6d6bd63df42c4 100644 (file)
@@ -1,7 +1,7 @@
 /* contrib/dblink/dblink--unpackaged--1.0.sql */
 
 -- complain if script is sourced in psql, rather than via CREATE EXTENSION
-\echo Use "CREATE EXTENSION dblink" to load this file. \quit
+\echo Use "CREATE EXTENSION dblink FROM unpackaged" to load this file. \quit
 
 ALTER EXTENSION dblink ADD function dblink_connect(text);
 ALTER EXTENSION dblink ADD function dblink_connect(text,text);
index ef59b046ee67f1afa4858e3cc063218eae6ed93c..1b2d862e1f63f067cf3ff13c80041be05dc981bb 100644 (file)
@@ -1,7 +1,7 @@
 /* contrib/dict_int/dict_int--unpackaged--1.0.sql */
 
 -- complain if script is sourced in psql, rather than via CREATE EXTENSION
-\echo Use "CREATE EXTENSION dict_int" to load this file. \quit
+\echo Use "CREATE EXTENSION dict_int FROM unpackaged" to load this file. \quit
 
 ALTER EXTENSION dict_int ADD function dintdict_init(internal);
 ALTER EXTENSION dict_int ADD function dintdict_lexize(internal,internal,internal,internal);
index 1d193f7981a42f1c0cd780066b15d14f26d08bf4..7533da19022442ea31752c71aa14abcb0c2bf8cd 100644 (file)
@@ -1,7 +1,7 @@
 /* contrib/dict_xsyn/dict_xsyn--unpackaged--1.0.sql */
 
 -- complain if script is sourced in psql, rather than via CREATE EXTENSION
-\echo Use "CREATE EXTENSION dict_xsyn" to load this file. \quit
+\echo Use "CREATE EXTENSION dict_xsyn FROM unpackaged" to load this file. \quit
 
 ALTER EXTENSION dict_xsyn ADD function dxsyn_init(internal);
 ALTER EXTENSION dict_xsyn ADD function dxsyn_lexize(internal,internal,internal,internal);
index 362e0ac1071c3a6c06fb78d98a02b443958a4918..ae787f68775e77b6d4ee0f3114421bcd613671de 100644 (file)
@@ -1,7 +1,7 @@
 /* contrib/earthdistance/earthdistance--unpackaged--1.0.sql */
 
 -- complain if script is sourced in psql, rather than via CREATE EXTENSION
-\echo Use "CREATE EXTENSION earthdistance" to load this file. \quit
+\echo Use "CREATE EXTENSION earthdistance FROM unpackaged" to load this file. \quit
 
 ALTER EXTENSION earthdistance ADD function earth();
 ALTER EXTENSION earthdistance ADD type earth;
index b9a805a4fe51779d2d304b16b54fc9b8dd5f0715..14491a9fa72bcf88a84b33bd5afc6591f8774572 100644 (file)
@@ -1,7 +1,7 @@
 /* contrib/fuzzystrmatch/fuzzystrmatch--unpackaged--1.0.sql */
 
 -- complain if script is sourced in psql, rather than via CREATE EXTENSION
-\echo Use "CREATE EXTENSION fuzzystrmatch" to load this file. \quit
+\echo Use "CREATE EXTENSION fuzzystrmatch FROM unpackaged" to load this file. \quit
 
 ALTER EXTENSION fuzzystrmatch ADD function levenshtein(text,text);
 ALTER EXTENSION fuzzystrmatch ADD function levenshtein(text,text,integer,integer,integer);
index b7e73f41232cd7a0fbe97c7d745ddceaede360a5..19a78028051a4e49744be427b430c1d37d4c099c 100644 (file)
@@ -1,7 +1,7 @@
 /* contrib/hstore/hstore--unpackaged--1.0.sql */
 
 -- complain if script is sourced in psql, rather than via CREATE EXTENSION
-\echo Use "CREATE EXTENSION hstore" to load this file. \quit
+\echo Use "CREATE EXTENSION hstore FROM unpackaged" to load this file. \quit
 
 ALTER EXTENSION hstore ADD type hstore;
 ALTER EXTENSION hstore ADD function hstore_in(cstring);
index 6a6663d092c6640d6dd777f6d8266430cb396866..a0b13f3f69143ad31b59f68e089e70451d8026d6 100644 (file)
@@ -1,7 +1,7 @@
 /* contrib/intagg/intagg--unpackaged--1.0.sql */
 
 -- complain if script is sourced in psql, rather than via CREATE EXTENSION
-\echo Use "CREATE EXTENSION intagg" to load this file. \quit
+\echo Use "CREATE EXTENSION intagg FROM unpackaged" to load this file. \quit
 
 ALTER EXTENSION intagg ADD function int_agg_state(internal,integer);
 ALTER EXTENSION intagg ADD function int_agg_final_array(internal);
index 5de64bf0aba1813db32c566874a1b49bcc641ab8..63814cef980ac990abf8c00f25a6c5458228efbb 100644 (file)
@@ -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);
index 30e5012156602415d8cd4964a2746b07deb520e0..8a19d6a475d11fa757869bea21b34aea4b6ea181 100644 (file)
@@ -1,7 +1,7 @@
 /* contrib/isn/isn--unpackaged--1.0.sql */
 
 -- complain if script is sourced in psql, rather than via CREATE EXTENSION
-\echo Use "CREATE EXTENSION isn" to load this file. \quit
+\echo Use "CREATE EXTENSION isn FROM unpackaged" to load this file. \quit
 
 ALTER EXTENSION isn ADD type ean13;
 ALTER EXTENSION isn ADD function ean13_in(cstring);
index 053185ba1d8576ccb6bd86a589679d2136d57664..d6bcf1a46e28432ed0eeb2e6d27b6f1651b751cc 100644 (file)
@@ -1,7 +1,7 @@
 /* contrib/lo/lo--unpackaged--1.0.sql */
 
 -- complain if script is sourced in psql, rather than via CREATE EXTENSION
-\echo Use "CREATE EXTENSION lo" to load this file. \quit
+\echo Use "CREATE EXTENSION lo FROM unpackaged" to load this file. \quit
 
 ALTER EXTENSION lo ADD domain lo;
 ALTER EXTENSION lo ADD function lo_oid(lo);
index 1e24fa56c688c75dc6f5b154a564a0581aa9aebe..30a94c2fc5cd6462cfaf1547970f1af7b84cb82f 100644 (file)
@@ -1,7 +1,7 @@
 /* contrib/ltree/ltree--unpackaged--1.0.sql */
 
 -- complain if script is sourced in psql, rather than via CREATE EXTENSION
-\echo Use "CREATE EXTENSION ltree" to load this file. \quit
+\echo Use "CREATE EXTENSION ltree FROM unpackaged" to load this file. \quit
 
 ALTER EXTENSION ltree ADD type ltree;
 ALTER EXTENSION ltree ADD function ltree_in(cstring);
index 49e83264d337fe88c78d9d87280c42298a496559..0e2c3f45b35b01b0dee127be5040d22bc96ae0c8 100644 (file)
@@ -1,7 +1,7 @@
 /* contrib/pageinspect/pageinspect--1.0--1.1.sql */
 
 -- 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
+\echo Use "ALTER EXTENSION pageinspect UPDATE TO '1.1'" to load this file. \quit
 
 DROP FUNCTION page_header(bytea);
 CREATE FUNCTION page_header(IN page bytea,
index 5e23ca4dd59149bd7d2a154552b9bedbf6746f2d..31ffbb0eb53daba5863d49cc761da5e787dbb9fd 100644 (file)
@@ -1,7 +1,7 @@
 /* contrib/pageinspect/pageinspect--1.1--1.2.sql */
 
 -- complain if script is sourced in psql, rather than via ALTER EXTENSION
-\echo Use "ALTER EXTENSION pageinspect UPDATE TO 1.2" to load this file. \quit
+\echo Use "ALTER EXTENSION pageinspect UPDATE TO '1.2'" to load this file. \quit
 
 DROP FUNCTION page_header(bytea);
 CREATE FUNCTION page_header(IN page bytea,
index 13e2167dfc1acbf117b5c2848d4dc2bd38f20be5..1bf6bccb79bacf5c0c20d352295cf44370fb2a5a 100644 (file)
@@ -1,7 +1,7 @@
 /* contrib/pageinspect/pageinspect--unpackaged--1.0.sql */
 
 -- complain if script is sourced in psql, rather than via CREATE EXTENSION
-\echo Use "CREATE EXTENSION pageinspect" to load this file. \quit
+\echo Use "CREATE EXTENSION pageinspect FROM unpackaged" to load this file. \quit
 
 DROP FUNCTION heap_page_items(bytea);
 CREATE FUNCTION heap_page_items(IN page bytea,
index bfe6e52f8f40e9d7bb9f706a8e4dd869e213f8ac..dc1cbdd6fe503e7c1c5633d5d38643f107af4f7b 100644 (file)
@@ -1,7 +1,7 @@
 /* contrib/pg_buffercache/pg_buffercache--unpackaged--1.0.sql */
 
 -- complain if script is sourced in psql, rather than via CREATE EXTENSION
-\echo Use "CREATE EXTENSION pg_buffercache" to load this file. \quit
+\echo Use "CREATE EXTENSION pg_buffercache FROM unpackaged" to load this file. \quit
 
 ALTER EXTENSION pg_buffercache ADD function pg_buffercache_pages();
 ALTER EXTENSION pg_buffercache ADD view pg_buffercache;
index 5e8d7e472ee901e448e01dda4950a2352e391a4c..865137380016b08badd4d63faff46f2663854419 100644 (file)
@@ -1,7 +1,7 @@
 /* contrib/pg_freespacemap/pg_freespacemap--unpackaged--1.0.sql */
 
 -- complain if script is sourced in psql, rather than via CREATE EXTENSION
-\echo Use "CREATE EXTENSION pg_freespacemap" to load this file. \quit
+\echo Use "CREATE EXTENSION pg_freespacemap FROM unpackaged" to load this file. \quit
 
 ALTER EXTENSION pg_freespacemap ADD function pg_freespace(regclass,bigint);
 ALTER EXTENSION pg_freespacemap ADD function pg_freespace(regclass);
index e84a3cbafc2c7d4340009b439351c226d31adf58..116e95834db448c3f5ddcfca39fdec0f0a5edef9 100644 (file)
@@ -1,7 +1,7 @@
 /* contrib/pg_stat_statements/pg_stat_statements--unpackaged--1.0.sql */
 
 -- complain if script is sourced in psql, rather than via CREATE EXTENSION
-\echo Use "CREATE EXTENSION pg_stat_statements" to load this file. \quit
+\echo Use "CREATE EXTENSION pg_stat_statements FROM unpackaged" to load this file. \quit
 
 ALTER EXTENSION pg_stat_statements ADD function pg_stat_statements_reset();
 ALTER EXTENSION pg_stat_statements ADD function pg_stat_statements();
index 7243a6a410f93d911c123d7e38f2590321ca3c4a..d3eab97d419936adf731e287fbbba76ee042924f 100644 (file)
@@ -1,7 +1,7 @@
 /* contrib/pg_trgm/pg_trgm--unpackaged--1.0.sql */
 
 -- complain if script is sourced in psql, rather than via CREATE EXTENSION
-\echo Use "CREATE EXTENSION pg_trgm" to load this file. \quit
+\echo Use "CREATE EXTENSION pg_trgm FROM unpackaged" to load this file. \quit
 
 ALTER EXTENSION pg_trgm ADD function set_limit(real);
 ALTER EXTENSION pg_trgm ADD function show_limit();
index fe8d4c4e72ce9e8746a83b40a8a785dfd9766c66..8154e85f44d6370426e6019ef4299f3de9618e4a 100644 (file)
@@ -1,7 +1,7 @@
 /* contrib/pgcrypto/pgcrypto--unpackaged--1.0.sql */
 
 -- complain if script is sourced in psql, rather than via CREATE EXTENSION
-\echo Use "CREATE EXTENSION pgcrypto" to load this file. \quit
+\echo Use "CREATE EXTENSION pgcrypto FROM unpackaged" to load this file. \quit
 
 ALTER EXTENSION pgcrypto ADD function digest(text,text);
 ALTER EXTENSION pgcrypto ADD function digest(bytea,text);
index b8c3faf1c7678fde8f9c9605e1c46a2ebc166352..bfa98558255152d55ab16c66c7418db79f2dacc4 100644 (file)
@@ -1,6 +1,6 @@
 /* contrib/pgrowlocks/pgrowlocks--unpackaged--1.0.sql */
 
 -- complain if script is sourced in psql, rather than via CREATE EXTENSION
-\echo Use "CREATE EXTENSION pgrowlocks" to load this file. \quit
+\echo Use "CREATE EXTENSION pgrowlocks FROM unpackaged" to load this file. \quit
 
 ALTER EXTENSION pgrowlocks ADD function pgrowlocks(text);
index 14b63cafcf5fe00d2ab15d45648daabd1b34ae4b..ef71000a3293156dd14da74e30cbdcb2fd9135bb 100644 (file)
@@ -1,7 +1,7 @@
 /* contrib/pgstattuple/pgstattuple--unpackaged--1.0.sql */
 
 -- complain if script is sourced in psql, rather than via CREATE EXTENSION
-\echo Use "CREATE EXTENSION pgstattuple" to load this file. \quit
+\echo Use "CREATE EXTENSION pgstattuple FROM unpackaged" to load this file. \quit
 
 ALTER EXTENSION pgstattuple ADD function pgstattuple(text);
 ALTER EXTENSION pgstattuple ADD function pgstattuple(oid);
index ebd6b3bc5b53c28b86dc637731c144848577f9ee..3987ebf3ddff326d70bfdebb69a19b95a5557724 100644 (file)
@@ -1,7 +1,7 @@
 /* contrib/seg/seg--unpackaged--1.0.sql */
 
 -- complain if script is sourced in psql, rather than via CREATE EXTENSION
-\echo Use "CREATE EXTENSION seg" to load this file. \quit
+\echo Use "CREATE EXTENSION seg FROM unpackaged" to load this file. \quit
 
 ALTER EXTENSION seg ADD type seg;
 ALTER EXTENSION seg ADD function seg_in(cstring);
index cfe2065d3d860b5f43a891b7aa8643191d1b8170..e5289e834fcc74d342ceb5cb877995406cf4b5df 100644 (file)
@@ -1,6 +1,6 @@
 /* contrib/spi/autoinc--unpackaged--1.0.sql */
 
 -- complain if script is sourced in psql, rather than via CREATE EXTENSION
-\echo Use "CREATE EXTENSION autoinc" to load this file. \quit
+\echo Use "CREATE EXTENSION autoinc FROM unpackaged" to load this file. \quit
 
 ALTER EXTENSION autoinc ADD function autoinc();
index 91a5d1f30958cc980011c57777ec626e2e19a17b..eb26ba0bd1656cf88c067e7487d73ddb2918526f 100644 (file)
@@ -1,6 +1,6 @@
 /* contrib/spi/insert_username--unpackaged--1.0.sql */
 
 -- complain if script is sourced in psql, rather than via CREATE EXTENSION
-\echo Use "CREATE EXTENSION insert_username" to load this file. \quit
+\echo Use "CREATE EXTENSION insert_username FROM unpackaged" to load this file. \quit
 
 ALTER EXTENSION insert_username ADD function insert_username();
index caa49ce0dc90a790cbf2aab5ba1d6ffbc2fb54b9..c681fa7ed95083f2d3dc1c2d6db149553ab6f9c8 100644 (file)
@@ -1,6 +1,6 @@
 /* contrib/spi/moddatetime--unpackaged--1.0.sql */
 
 -- complain if script is sourced in psql, rather than via CREATE EXTENSION
-\echo Use "CREATE EXTENSION moddatetime" to load this file. \quit
+\echo Use "CREATE EXTENSION moddatetime FROM unpackaged" to load this file. \quit
 
 ALTER EXTENSION moddatetime ADD function moddatetime();
index cd9c9b0c3656eaf41cba8e26dac97b08c1c5e050..461ed157c30f7acd88b4854c4b5feddbc62b6f6a 100644 (file)
@@ -1,7 +1,7 @@
 /* contrib/spi/refint--unpackaged--1.0.sql */
 
 -- complain if script is sourced in psql, rather than via CREATE EXTENSION
-\echo Use "CREATE EXTENSION refint" to load this file. \quit
+\echo Use "CREATE EXTENSION refint FROM unpackaged" to load this file. \quit
 
 ALTER EXTENSION refint ADD function check_primary_key();
 ALTER EXTENSION refint ADD function check_foreign_key();
index dd07a133a5004deb76eb09a281c14ea926b3b4c3..121bceba9b2ba87278a52403b5090cd9bed04a1d 100644 (file)
@@ -1,7 +1,7 @@
 /* contrib/spi/timetravel--unpackaged--1.0.sql */
 
 -- complain if script is sourced in psql, rather than via CREATE EXTENSION
-\echo Use "CREATE EXTENSION timetravel" to load this file. \quit
+\echo Use "CREATE EXTENSION timetravel FROM unpackaged" to load this file. \quit
 
 ALTER EXTENSION timetravel ADD function timetravel();
 ALTER EXTENSION timetravel ADD function set_timetravel(name,integer);
index e4b868423b305b830040d00ef638d8b2c94f4f7f..07407acb54306915d9eb3f7a44532aff8f779335 100644 (file)
@@ -1,7 +1,7 @@
 /* contrib/sslinfo/sslinfo--unpackaged--1.0.sql */
 
 -- complain if script is sourced in psql, rather than via CREATE EXTENSION
-\echo Use "CREATE EXTENSION sslinfo" to load this file. \quit
+\echo Use "CREATE EXTENSION sslinfo FROM unpackaged" to load this file. \quit
 
 ALTER EXTENSION sslinfo ADD function ssl_client_serial();
 ALTER EXTENSION sslinfo ADD function ssl_is_used();
index e5e9619c52f93530cd84e05914b349ed185e5ddf..f0a276a9c4bfb13e964f765472437202fdad056e 100644 (file)
@@ -1,7 +1,7 @@
 /* contrib/tablefunc/tablefunc--unpackaged--1.0.sql */
 
 -- complain if script is sourced in psql, rather than via CREATE EXTENSION
-\echo Use "CREATE EXTENSION tablefunc" to load this file. \quit
+\echo Use "CREATE EXTENSION tablefunc FROM unpackaged" to load this file. \quit
 
 ALTER EXTENSION tablefunc ADD function normal_rand(integer,double precision,double precision);
 ALTER EXTENSION tablefunc ADD function crosstab(text);
index 34120f2346bc7afc6a4483fec457e9f43721b872..62458bd2c6878bc37911a3dbbd9bf8d5f2673a9d 100644 (file)
@@ -1,7 +1,7 @@
 /* contrib/test_parser/test_parser--unpackaged--1.0.sql */
 
 -- complain if script is sourced in psql, rather than via CREATE EXTENSION
-\echo Use "CREATE EXTENSION test_parser" to load this file. \quit
+\echo Use "CREATE EXTENSION test_parser FROM unpackaged" to load this file. \quit
 
 ALTER EXTENSION test_parser ADD function testprs_start(internal,integer);
 ALTER EXTENSION test_parser ADD function testprs_getlexeme(internal,internal,internal);
index af970a4862ff08da0386524694a87f1d940b0055..e123297132501225607865238c5a7c84ee9cb918 100644 (file)
@@ -1,7 +1,7 @@
 /* contrib/tsearch2/tsearch2--unpackaged--1.0.sql */
 
 -- complain if script is sourced in psql, rather than via CREATE EXTENSION
-\echo Use "CREATE EXTENSION tsearch2" to load this file. \quit
+\echo Use "CREATE EXTENSION tsearch2 FROM unpackaged" to load this file. \quit
 
 ALTER EXTENSION tsearch2 ADD type @extschema@.tsvector;
 ALTER EXTENSION tsearch2 ADD type @extschema@.tsquery;
index abd06983ac4ca87d78ac871b08a0cd84d66ef88c..f3fb5d87600a5963479f95853e79624162339982 100644 (file)
@@ -1,7 +1,7 @@
 /* contrib/unaccent/unaccent--unpackaged--1.0.sql */
 
 -- complain if script is sourced in psql, rather than via CREATE EXTENSION
-\echo Use "CREATE EXTENSION unaccent" to load this file. \quit
+\echo Use "CREATE EXTENSION unaccent FROM unpackaged" to load this file. \quit
 
 ALTER EXTENSION unaccent ADD function unaccent(regdictionary,text);
 ALTER EXTENSION unaccent ADD function unaccent(text);
index 5776b6f93001e95e14aca04a00e6d976408474c8..444c5c7ceffc716b6abf6b3ec4d0dc668a2b506f 100644 (file)
@@ -1,7 +1,7 @@
 /* contrib/uuid-ossp/uuid-ossp--unpackaged--1.0.sql */
 
 -- complain if script is sourced in psql, rather than via CREATE EXTENSION
-\echo Use '''CREATE EXTENSION "uuid-ossp"''' to load this file. \quit
+\echo Use '''CREATE EXTENSION "uuid-ossp" FROM unpackaged''' to load this file. \quit
 
 ALTER EXTENSION "uuid-ossp" ADD function uuid_nil();
 ALTER EXTENSION "uuid-ossp" ADD function uuid_ns_dns();
index b02dabffc2a034b564b9adb872bb40ecd4edd186..8badef3079bbf26fac6f23fcbe20227092817edd 100644 (file)
@@ -1,7 +1,7 @@
 /* contrib/xml2/xml2--unpackaged--1.0.sql */
 
 -- complain if script is sourced in psql, rather than via CREATE EXTENSION
-\echo Use "CREATE EXTENSION xml2" to load this file. \quit
+\echo Use "CREATE EXTENSION xml2 FROM unpackaged" to load this file. \quit
 
 ALTER EXTENSION xml2 ADD function xslt_process(text,text);
 ALTER EXTENSION xml2 ADD function xslt_process(text,text,text);