branch: elpa/pg
commit 9f848145e3aa30ff19bebf9c282ddecd4d99a84c
Author: Eric Marsden <[email protected]>
Commit: Eric Marsden <[email protected]>
Preliminary support for Apache Datafusion variant.
---
pg.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/pg.el b/pg.el
index 72961695736..4bb44e32bc4 100644
--- a/pg.el
+++ b/pg.el
@@ -2406,6 +2406,8 @@ can be decoded using `pg-result', but with data in BUF."
;; discard any content in our process buffer
(with-current-buffer (process-buffer (pgcon-process con))
(setq-local pgcon--position (point-max)))
+ (when (member (pgcon-server-variant con) '(datafusion))
+ (cl-return-from pg-sync nil))
(pg-send-char con ?S)
(pg-send-uint con 4 4)
(pg-flush con)