summaryrefslogtreecommitdiff
path: root/contrib/test_parser/sql
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2011-02-13 20:06:41 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2011-02-13 22:54:49 -0500
commit629b3af27d5c2bc9d6e16b22b943ad651d4ecb56 (patch)
treeeae9ef9a69ae6ad7aacb2428e3cf15ec77873ac5 /contrib/test_parser/sql
parente693e97d754ed6812ea115170afeae4bf8797d3f (diff)
downloadpostgresql-629b3af27d5c2bc9d6e16b22b943ad651d4ecb56.tar.gz
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/test_parser/sql')
-rw-r--r--contrib/test_parser/sql/test_parser.sql10
1 files changed, 1 insertions, 9 deletions
diff --git a/contrib/test_parser/sql/test_parser.sql b/contrib/test_parser/sql/test_parser.sql
index 97c2cb5a5d..1f21504602 100644
--- a/contrib/test_parser/sql/test_parser.sql
+++ b/contrib/test_parser/sql/test_parser.sql
@@ -1,12 +1,4 @@
---
--- first, define the parser. Turn off echoing so that expected file
--- does not depend on contents of this file.
---
-SET client_min_messages = warning;
-\set ECHO none
-\i test_parser.sql
-\set ECHO all
-RESET client_min_messages;
+CREATE EXTENSION test_parser;
-- make test configuration using parser