pgq_node: use 'install.sql' file
authorMarko Kreen <markokr@gmail.com>
Mon, 5 Sep 2011 11:04:20 +0000 (14:04 +0300)
committerMarko Kreen <markokr@gmail.com>
Mon, 5 Sep 2011 11:04:20 +0000 (14:04 +0300)
sql/pgq_node/Makefile
sql/pgq_node/structure/install.sql [new file with mode: 0644]

index 7c2d3055c8a000af09d49e1696417c4937be896d..aea7a2759e707d97027a2eaf5c8c28078d4b8f01 100644 (file)
@@ -20,7 +20,7 @@ CATSQL = ../../scripts/catsql.py
 #
 
 pgq_node.sql: $(SRCS)
-       $(CATSQL) structure/tables.sql structure/functions.sql > $@
+       $(CATSQL) structure/install.sql > $@
 
 pgq_node.upgrade.sql: $(SRCS)
        $(CATSQL) structure/functions.sql > $@
diff --git a/sql/pgq_node/structure/install.sql b/sql/pgq_node/structure/install.sql
new file mode 100644 (file)
index 0000000..a6d95ca
--- /dev/null
@@ -0,0 +1,2 @@
+\i structure/tables.sql
+\i structure/functions.sql