Re: [INTERFACES] [ANN] pg.el v0.2 -- Emacs Lisp interface to PostgreSQL

Поиск
Список
Период
Сортировка
От Hugh Lawson
Тема Re: [INTERFACES] [ANN] pg.el v0.2 -- Emacs Lisp interface to PostgreSQL
Дата
Msg-id Pine.LNX.4.04.9907220922480.4493-100000@cumquat.fruit.com
обсуждение исходный текст
Ответ на Re: [INTERFACES] [ANN] pg.el v0.2 -- Emacs Lisp interface to PostgreSQL  (Eric Marsden <emarsden@mail.dotcom.fr>)
Список pgsql-interfaces
On 21 Jul 1999, Eric Marsden wrote:

> Hi Hugh,
> 
> That's right. demo is an example of the type of elisp a programmer
> would write to access PostgreSQL from Emacs. You can also play around
> with it interactively:
> 
>   ELISP> (setq conn (pg:connect "template1" "postgres" "postgres"))
>   <struct cl ...>
>   ELISP> (setq res (pg:exec conn "SELECT * from scshdemo WHERE a=42"))
>   <struct cl ...>
>   ELISP> (pg:result res :status)
>   "SELECT"

I can't get the hang of doing this.  How do you get the ELISP> prompt?
And what exactly do you type?

I have succeeded at making the example function work properly.

Hugh Lawson
Greensboro, North Carolina
hglawson@nr.infi.net




В списке pgsql-interfaces по дате отправления:

Предыдущее
От: Thomas Lockhart
Дата:
Сообщение: Re: [ANN] pg.el v0.2 -- Emacs Lisp interface to PostgreSQL
Следующее
От: Lamar Owen
Дата:
Сообщение: Re: [INTERFACES] invalid command name "pg_connect" on tcl/tk script