branch: elpa/emacsql commit 57c40202e8e44e5cbfd067390846afd11e3b840c Author: Christopher Wellons <well...@nullprogram.com> Commit: Christopher Wellons <well...@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))