branch: elpa/pg
commit b543afe6e574be4d322e0e5e198191c61c52832b
Author: Eric Marsden <[email protected]>
Commit: Eric Marsden <[email protected]>

    Tests: add recipes for pgduckdb and for AntDB
---
 test/Makefile | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/test/Makefile b/test/Makefile
index 75f2cac4d47..4e7d2f38f34 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -489,6 +489,23 @@ test-orioledb: test-pg.el
        ${DOCKER} stop orioledb
 
 
+# https://github.com/duckdb/pg_duckdb
+test-pgduckdb: test-pg.el
+       ${DOCKER} run --rm --name pgduckdb \
+           --pull=newer \
+           --publish 127.0.0.1:5317:5317 \
+           -e POSTGRES_DB=pgeltestdb \
+           -e POSTGRES_USER=pgeltestuser \
+           -e POSTGRES_PASSWORD=pgeltest \
+           -e PGPORT=5317 \
+           -e LANG=en_US.UTF8 \
+           -e LC_CTYPE=en_US.UTF8 \
+           -d docker.io/pgduckdb/pgduckdb:18-v1.1.1
+       sleep 5
+       PGURI=postgresql://pgeltestuser:[email protected]:5317/pgeltestdb 
$(MAKE) test
+       ${DOCKER} stop pgduckdb
+
+
 # An Oracle-compatible flavour of PostgreSQL.
 #
 # https://docs.ivorysql.org/en/ivorysql-doc/v3.4/v3.4/6#Docker-installation
@@ -1163,6 +1180,22 @@ test-opengauss: test-pg.el
        ${DOCKER} stop opengauss
 
 
+# AntDB fork of PostgreSQL
+# https://hub.docker.com/r/falconia/antdb-ce
+test-antdb: test-pg.el
+       ${DOCKER} run --rm --name antdb \
+           --pull=newer \
+           --publish 127.0.0.1:5677:5432 \
+           -e ANTDB_DB=pgeltestdb \
+           -e ANTDB_USER=pgeltestuser \
+           -e ANTDB_PASSWORD=pgeltest \
+           -e ANTDB_LISTEN_ADDRESSES="*" \
+          -d docker.io/falconia/antdb-ce:latest
+       sleep 10
+       PGURI=postgresql://pgeltestuser:[email protected]:5677/pgeltestdb 
$(MAKE) test
+       ${DOCKER} stop antdb
+
+
 # Very limited PostgreSQL support: there is no pg_type table so we can't 
retrieve information
 # regarding the OID of builtin types. We have to be careful during the 
initialization sequence not
 # to send the query "SET datestyle = 'ISO'", which would fail and cause the 
network connection to be

Reply via email to