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

    Tests: add workaround for Apache Datafusion
---
 test/test-pg.el | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/test/test-pg.el b/test/test-pg.el
index 7d150599460..5e84e7db866 100755
--- a/test/test-pg.el
+++ b/test/test-pg.el
@@ -1,10 +1,15 @@
 ;;; Tests for the pg.el library   -*- coding: utf-8; lexical-binding: t; -*-
 ;;
 ;; Author: Eric Marsden <[email protected]>
-;; Copyright: (C) 2022-2025  Eric Marsden
+;; Copyright: (C) 2022-2026  Eric Marsden
 ;; SPDX-License-Identifier: GPL-3.0-or-later
 
 
+;; Work at end 2025 on defining "PostgreSQL compatibility" more precisely and 
in a granular manner,
+;; as a compatibility matrix:
+;; 
https://wiki.postgresql.org/wiki/PGConf.EU_2025_Establishing_the_PostgreSQL_standard_What_is_Postgres_compatible
+
+
 (require 'cl-lib)
 (require 'hex-util)
 (require 'pg)
@@ -1044,7 +1049,7 @@ bar$$"))))
         (pg-exec con sql)
         (should (pgtest-have-table con "count_test"))
         (should (member "val" (pg-columns con "count_test")))
-        (unless (member (pgcon-server-variant con) '(cratedb risingwave ydb 
materialize))
+        (unless (member (pgcon-server-variant con) '(cratedb risingwave ydb 
materialize datafusion))
           (pg-exec con "TRUNCATE TABLE count_test"))
         (dotimes (i count)
           (pg-exec-prepared con "INSERT INTO count_test VALUES($1, $2)"
@@ -1775,7 +1780,6 @@ bar$$"))))
            (row (pg-result res :tuples)))
       (should (equal row '((-33) (-32) (-31)))))))
 
-
 ;; TODO: we do not currently handle multidimension arrays correctly
 ;; (should (equal (vector (vector 4 5) (vector 6 7))
 ;;                (scalar "SELECT '{{4,5},{6,7}}'::int8[][]")))))

Reply via email to