aboutsummaryrefslogtreecommitdiff
path: root/contrib/tsearch2/tsearch2--1.0.sql
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/tsearch2/tsearch2--1.0.sql')
-rw-r--r--contrib/tsearch2/tsearch2--1.0.sql3
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/tsearch2/tsearch2--1.0.sql b/contrib/tsearch2/tsearch2--1.0.sql
index 369507e8f56..4777df8d914 100644
--- a/contrib/tsearch2/tsearch2--1.0.sql
+++ b/contrib/tsearch2/tsearch2--1.0.sql
@@ -1,5 +1,8 @@
/* contrib/tsearch2/tsearch2--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
+
-- These domains are just to catch schema-qualified references to the
-- old data types.
CREATE DOMAIN tsvector AS pg_catalog.tsvector;