postgresql/contrib/tablefunc/tablefunc--unpackaged--1.0.sql
Andres Freund d153b80161 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.
2014-08-25 18:30:37 +02:00

20 lines
1.1 KiB
SQL

/* contrib/tablefunc/tablefunc--unpackaged--1.0.sql */
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
\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);
ALTER EXTENSION tablefunc ADD type tablefunc_crosstab_2;
ALTER EXTENSION tablefunc ADD type tablefunc_crosstab_3;
ALTER EXTENSION tablefunc ADD type tablefunc_crosstab_4;
ALTER EXTENSION tablefunc ADD function crosstab2(text);
ALTER EXTENSION tablefunc ADD function crosstab3(text);
ALTER EXTENSION tablefunc ADD function crosstab4(text);
ALTER EXTENSION tablefunc ADD function crosstab(text,integer);
ALTER EXTENSION tablefunc ADD function crosstab(text,text);
ALTER EXTENSION tablefunc ADD function connectby(text,text,text,text,integer,text);
ALTER EXTENSION tablefunc ADD function connectby(text,text,text,text,integer);
ALTER EXTENSION tablefunc ADD function connectby(text,text,text,text,text,integer,text);
ALTER EXTENSION tablefunc ADD function connectby(text,text,text,text,text,integer);