diff options
Diffstat (limited to 'contrib/tablefunc/tablefunc--1.0.sql')
| -rw-r--r-- | contrib/tablefunc/tablefunc--1.0.sql | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/tablefunc/tablefunc--1.0.sql b/contrib/tablefunc/tablefunc--1.0.sql index 7bf117cb5c..8681ff4706 100644 --- a/contrib/tablefunc/tablefunc--1.0.sql +++ b/contrib/tablefunc/tablefunc--1.0.sql @@ -1,5 +1,8 @@ /* contrib/tablefunc/tablefunc--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 + CREATE FUNCTION normal_rand(int4, float8, float8) RETURNS setof float8 AS 'MODULE_PATHNAME','normal_rand' |
