summaryrefslogtreecommitdiff
path: root/contrib/ltree/sql
diff options
context:
space:
mode:
authorTom Lane2011-02-14 01:06:41 +0000
committerTom Lane2011-02-14 03:54:49 +0000
commit629b3af27d5c2bc9d6e16b22b943ad651d4ecb56 (patch)
treeeae9ef9a69ae6ad7aacb2428e3cf15ec77873ac5 /contrib/ltree/sql
parente693e97d754ed6812ea115170afeae4bf8797d3f (diff)
Convert contrib modules to use the extension facility.
This isn't fully tested as yet, in particular I'm not sure that the "foo--unpackaged--1.0.sql" scripts are OK. But it's time to get some buildfarm cycles on it. sepgsql is not converted to an extension, mainly because it seems to require a very nonstandard installation process. Dimitri Fontaine and Tom Lane
Diffstat (limited to 'contrib/ltree/sql')
-rw-r--r--contrib/ltree/sql/ltree.sql10
1 files changed, 1 insertions, 9 deletions
diff --git a/contrib/ltree/sql/ltree.sql b/contrib/ltree/sql/ltree.sql
index 50aad78d3cc..46cfa41a419 100644
--- a/contrib/ltree/sql/ltree.sql
+++ b/contrib/ltree/sql/ltree.sql
@@ -1,12 +1,4 @@
---
--- first, define the datatype. Turn off echoing so that expected file
--- does not depend on contents of ltree.sql.
---
-SET client_min_messages = warning;
-\set ECHO none
-\i ltree.sql
-\set ECHO all
-RESET client_min_messages;
+CREATE EXTENSION ltree;
SELECT ''::ltree;
SELECT '1'::ltree;