Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd153b80

Browse files
committed
Fix typos in some error messages thrown by extension scripts when fed to psql.
Some of the many error messages introduced in458857c missed 'FROMunpackaged'. Alsoe016b72 and45ffeb7 forgot to quote extensionversion numbers.Backpatch to 9.1, just like458857c which introduced the messages. Doso because the error messages thrown when the wrong command is copy &pasted aren't easy to understand.
1 parent3cd934f commitd153b80

File tree

39 files changed

+39
-39
lines changed

39 files changed

+39
-39
lines changed

‎contrib/btree_gin/btree_gin--unpackaged--1.0.sql‎

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

33
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
4-
\echo Use"CREATE EXTENSION btree_gin" to load this file. \quit
4+
\echo Use"CREATE EXTENSION btree_gin FROM unpackaged" to load this file. \quit
55

66
ALTER EXTENSION btree_gin ADD function gin_btree_consistent(internal,smallint,anyelement,integer,internal,internal);
77
ALTER EXTENSION btree_gin ADD function gin_extract_value_int2(smallint,internal);

‎contrib/btree_gist/btree_gist--unpackaged--1.0.sql‎

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

33
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
4-
\echo Use"CREATE EXTENSION btree_gist" to load this file. \quit
4+
\echo Use"CREATE EXTENSION btree_gist FROM unpackaged" to load this file. \quit
55

66
ALTER EXTENSION btree_gist ADD type gbtreekey4;
77
ALTER EXTENSION btree_gist ADD function gbtreekey4_in(cstring);

‎contrib/chkpass/chkpass--unpackaged--1.0.sql‎

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

33
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
4-
\echo Use"CREATE EXTENSION chkpass" to load this file. \quit
4+
\echo Use"CREATE EXTENSION chkpass FROM unpackaged" to load this file. \quit
55

66
ALTER EXTENSION chkpass ADD type chkpass;
77
ALTER EXTENSION chkpass ADD function chkpass_in(cstring);

‎contrib/citext/citext--unpackaged--1.0.sql‎

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

33
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
4-
\echo Use"CREATE EXTENSION citext" to load this file. \quit
4+
\echo Use"CREATE EXTENSION citext FROM unpackaged" to load this file. \quit
55

66
ALTER EXTENSION citext ADD type citext;
77
ALTER EXTENSION citext ADD function citextin(cstring);

‎contrib/cube/cube--unpackaged--1.0.sql‎

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

33
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
4-
\echo Use"CREATE EXTENSION cube" to load this file. \quit
4+
\echo Use"CREATE EXTENSION cube FROM unpackaged" to load this file. \quit
55

66
ALTER EXTENSION cube ADD type cube;
77
ALTER EXTENSION cube ADD function cube_in(cstring);

‎contrib/dblink/dblink--unpackaged--1.0.sql‎

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

33
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
4-
\echo Use"CREATE EXTENSION dblink" to load this file. \quit
4+
\echo Use"CREATE EXTENSION dblink FROM unpackaged" to load this file. \quit
55

66
ALTER EXTENSION dblink ADD function dblink_connect(text);
77
ALTER EXTENSION dblink ADD function dblink_connect(text,text);

‎contrib/dict_int/dict_int--unpackaged--1.0.sql‎

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

33
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
4-
\echo Use"CREATE EXTENSION dict_int" to load this file. \quit
4+
\echo Use"CREATE EXTENSION dict_int FROM unpackaged" to load this file. \quit
55

66
ALTER EXTENSION dict_int ADD function dintdict_init(internal);
77
ALTER EXTENSION dict_int ADD function dintdict_lexize(internal,internal,internal,internal);

‎contrib/dict_xsyn/dict_xsyn--unpackaged--1.0.sql‎

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

33
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
4-
\echo Use"CREATE EXTENSION dict_xsyn" to load this file. \quit
4+
\echo Use"CREATE EXTENSION dict_xsyn FROM unpackaged" to load this file. \quit
55

66
ALTER EXTENSION dict_xsyn ADD function dxsyn_init(internal);
77
ALTER EXTENSION dict_xsyn ADD function dxsyn_lexize(internal,internal,internal,internal);

‎contrib/earthdistance/earthdistance--unpackaged--1.0.sql‎

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

33
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
4-
\echo Use"CREATE EXTENSION earthdistance" to load this file. \quit
4+
\echo Use"CREATE EXTENSION earthdistance FROM unpackaged" to load this file. \quit
55

66
ALTER EXTENSION earthdistance ADD function earth();
77
ALTER EXTENSION earthdistance ADD type earth;

‎contrib/fuzzystrmatch/fuzzystrmatch--unpackaged--1.0.sql‎

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

33
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
4-
\echo Use"CREATE EXTENSION fuzzystrmatch" to load this file. \quit
4+
\echo Use"CREATE EXTENSION fuzzystrmatch FROM unpackaged" to load this file. \quit
55

66
ALTER EXTENSION fuzzystrmatch ADD function levenshtein(text,text);
77
ALTER EXTENSION fuzzystrmatch ADD function levenshtein(text,text,integer,integer,integer);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp