emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/emacsql 57c40202e8 307/427: Set correct default transactio


From: ELPA Syncer
Subject: [nongnu] elpa/emacsql 57c40202e8 307/427: Set correct default transaction type in PostgreSQL.
Date: Tue, 13 Dec 2022 02:59:53 -0500 (EST)

branch: elpa/emacsql
commit 57c40202e8e44e5cbfd067390846afd11e3b840c
Author: Christopher Wellons <wellons@nullprogram.com>
Commit: Christopher Wellons <wellons@nullprogram.com>

    Set correct default transaction type in PostgreSQL.
---
 emacsql-psql.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/emacsql-psql.el b/emacsql-psql.el
index a2bbc99f02..86df1e355e 100644
--- a/emacsql-psql.el
+++ b/emacsql-psql.el
@@ -85,6 +85,8 @@ 
http://www.postgresql.org/docs/7.3/static/sql-keywords-appendix.html";)
               "\\set PROMPT1 ]"
               "EMACSQL;")) ; error message flush
       (emacsql-wait connection)
+      (emacsql connection
+               [:set (= default-transaction-isolation 'SERIALIZABLE)])
       (emacsql-register connection))))
 
 (defmethod emacsql-close ((connection emacsql-psql-connection))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]