[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/emacsql a4d01edd71 411/427: Adjust emacsql-pg to new pg ve
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/emacsql a4d01edd71 411/427: Adjust emacsql-pg to new pg version from original author |
Date: |
Tue, 13 Dec 2022 03:00:24 -0500 (EST) |
branch: elpa/emacsql
commit a4d01edd71b31dcf4081eb12752c75c1b681941e
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
Adjust emacsql-pg to new pg version from original author
Also see https://github.com/melpa/melpa/pull/8207.
---
emacsql-pg.el | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/emacsql-pg.el b/emacsql-pg.el
index 307d9112ce..83ae94201a 100644
--- a/emacsql-pg.el
+++ b/emacsql-pg.el
@@ -7,7 +7,7 @@
;; Homepage: https://github.com/magit/emacsql
;; Package-Version: 3.0.0-git
-;; Package-Requires: ((emacs "25.1") (emacsql "3.0.0") (pg "0"))
+;; Package-Requires: ((emacs "25.1") (emacsql "3.0.0") (pg "0.16"))
;; SPDX-License-Identifier: Unlicense
;;; Commentary:
@@ -41,7 +41,7 @@
(host "localhost") (password "") (port 5432)
debug)
"Connect to a PostgreSQL server using pg.el."
(require 'pg)
- (let* ((pgcon (pg:connect dbname user password host port))
+ (let* ((pgcon (pg-connect dbname user password host port))
(connection (make-instance 'emacsql-pg-connection
:process (pgcon-process pgcon)
:pgcon pgcon
@@ -51,20 +51,20 @@
(emacsql-register connection)))
(cl-defmethod emacsql-close ((connection emacsql-pg-connection))
- (ignore-errors (pg:disconnect (emacsql-pg-pgcon connection))))
+ (ignore-errors (pg-disconnect (emacsql-pg-pgcon connection))))
(cl-defmethod emacsql-send-message ((connection emacsql-pg-connection) message)
(condition-case error
(setf (emacsql-pg-result connection)
- (pg:exec (emacsql-pg-pgcon connection) message))
+ (pg-exec (emacsql-pg-pgcon connection) message))
(error (signal 'emacsql-error error))))
(cl-defmethod emacsql-waiting-p ((_connection emacsql-pg-connection))
- ;; pg:exec will block
+ ;; pg-exec will block
t)
(cl-defmethod emacsql-parse ((connection emacsql-pg-connection))
- (let ((tuples (pg:result (emacsql-pg-result connection) :tuples)))
+ (let ((tuples (pg-result (emacsql-pg-result connection) :tuples)))
(cl-loop for tuple in tuples collect
(cl-loop for value in tuple
when (stringp value) collect (read value)
- [nongnu] elpa/emacsql 5962268f83 184/427: Split off reaper code., (continued)
- [nongnu] elpa/emacsql 5962268f83 184/427: Split off reaper code., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql f8c3d9fce2 369/427: Silence Emacs 25's byte-compiler, ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 8e34660ba1 370/427: Allow `gcc` as a separate option for C compilation., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 739c24cab6 389/427: Add kludge to work around `cl-defmethod' bug, ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 18b40213fd 403/427: No longer use obsolete generalized variable `point', ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 6d999ba39d 400/427: Update library headers, ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql a29b9e7ea5 388/427: No longer needlessly require url and url-http, ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 20e390ea06 401/427: Add FAQ to README.md, ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 30912aa69e 404/427: Include ../.config.mk in sqlite/Makefile, ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql f5da68e5f9 391/427: Fix quoting in docstring, ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql a4d01edd71 411/427: Adjust emacsql-pg to new pg version from original author,
ELPA Syncer <=
- [nongnu] elpa/emacsql f179ba928a 047/427: Add :drop-table expander., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 458b8a6acd 074/427: Add :insert and :values expanders., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 2faed63b20 107/427: Prime emacsql-expand for substatements., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 13cfbeeaba 186/427: Tidy up the constructors., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql a742687cfb 192/427: Add funcall operator., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 8fa1ca451c 238/427: Fix schema mistake in unit test., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql ea613c5191 360/427: Push other sub-packages up to Emacs 25 as well, ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql fbda94e6b5 339/427: Improve some doc-strings., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 6f1e375a2e 367/427: Better escaping of NUL and control characters (#42), ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 3dc6971829 190/427: Add ALTER TABLE stuff., ELPA Syncer, 2022/12/13