| От | Eric Marsden |
|---|---|
| Тема | [ANN] pg.el -- Emacs Lisp interface for PostgreSQL |
| Дата | |
| Msg-id | wziu2vbi5fp.fsf@mail.dotcom.fr обсуждение исходный текст |
| Список | pgsql-interfaces |
pg.el is a socket-level interface to PostgreSQL for GNU Emacs (text editor extraordinaire). The module is capable of type coercions from a range of SQL types to the equivalent Emacs Lisp type. It currently supports neither crypt or Kerberos authentication, nor large objects, nor the v6.4 protocol. The code (version 0.1) is available under GPL from <URL:http://www.chez.com/emarsden/downloads/pg.el> Please note that this is a programmer's API, and doesn't provide any form of user interface. Example: (defun demo () (interactive) (let* ((conn (pg:connect "template1" "postgres" "postgres")) (res (pg:exec conn "SELECT * from scshdemo WHERE a = 42"))) (message "status is %s" (pg:result res 'status)) (message "metadata is %s" (pg:result res 'attributes)) (message "data is %s" (pg:result res 'tuples)) (pg:disconnect conn))) -- Eric Marsden emarsden @ mail.dotcom.fr It's elephants all the way down
В списке pgsql-interfaces по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера