From d153b801611f6fdc58c7941e85dddb0cb25ca4ef Mon Sep 17 00:00:00 2001 From: Andres Freund Date: Mon, 25 Aug 2014 18:30:37 +0200 Subject: 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. --- contrib/tablefunc/tablefunc--unpackaged--1.0.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/tablefunc') diff --git a/contrib/tablefunc/tablefunc--unpackaged--1.0.sql b/contrib/tablefunc/tablefunc--unpackaged--1.0.sql index e5e9619c52..f0a276a9c4 100644 --- a/contrib/tablefunc/tablefunc--unpackaged--1.0.sql +++ b/contrib/tablefunc/tablefunc--unpackaged--1.0.sql @@ -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); -- cgit v1.2.3