branch: elpa/pg
commit 3679900801b59e6a1f592a1a27dac6778d2c0c08
Author: Eric Marsden <[email protected]>
Commit: Eric Marsden <[email protected]>
Tests: add recipe for GlueSQL + pgwire
---
test/Makefile | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/test/Makefile b/test/Makefile
index 4e7d2f38f34..155a7463290 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -1520,6 +1520,23 @@ test-stoolap: test-pg.el
+# A Pgwire adaptor for GlueSQL. More an SQL engine than really providing
PostgreSQL compatibility;
+# basic functions like version() are not implemented.
+#
+# https://github.com/gluesql/gluesql
+# https://github.com/sunng87/pgwire/blob/master/examples/gluesql.rs
+test-gluesql: test-pg.el
+ $(eval TMPBDIR := $(shell mktemp -d -t gluesql-buildXXXX))
+ (cd ${TMPBDIR} && \
+ git clone --depth 1 https://github.com/sunng87/pgwire/ && \
+ cd pgwire && \
+ cargo run --example gluesql &)
+ sleep 2
+ PGURI=postgresql://pgeltestuser:[email protected]/pgwire $(MAKE) test
+ rm -rf ${TMPBDIR}
+
+
+
# https://www.kinetica.com/kinetica-developer-edition/
test-kinetica: test-pg.el
${DOCKER} run --rm --name kinetica \