Re: [ANN] pg.el v0.2 -- Emacs Lisp interface to PostgreSQL - Mailing list pgsql-interfaces

From Eric Marsden
Subject Re: [ANN] pg.el v0.2 -- Emacs Lisp interface to PostgreSQL
Date
Msg-id wzi673c900s.fsf@mail.dotcom.fr
Whole thread Raw
In response to Re: [INTERFACES] [ANN] pg.el v0.2 -- Emacs Lisp interface to PostgreSQL  (Hugh Lawson <hglawson@nr.infi.net>)
Responses Re: [INTERFACES] Re: [ANN] pg.el v0.2 -- Emacs Lisp interface to PostgreSQL
List pgsql-interfaces
>>>>> "hl" == Hugh Lawson <hglawson@nr.infi.net> writes:
 ecm>   ELISP> (setq conn (pg:connect "template1" "postgres" "postgres")) ecm>   >> <struct cl ...> ecm>   ELISP> (setq
res(pg:exec conn "SELECT * from scshdemo WHERE a=42")) ecm>   >> <struct cl ...> ecm>   ELISP> (pg:result res :status)
ecm>  >> "SELECT"
 
 hl> I can't get the hang of doing this. How do you get the ELISP> hl> prompt? And what exactly do you type? hl>  hl> I
havesucceeded at making the example function work properly.
 

The "ELISP>" prompt is from typing `M-x ielm' in Emacs (I don't think
that XEmacs has anything like this: it's an inferior emacs-lisp). You
can also type in the sexps using the *scratch* buffer, or using `M-:'. 
-- 
Eric Marsden
It's elephants all the way down


pgsql-interfaces by date:

Previous
From: Lamar Owen
Date:
Subject: Re: [INTERFACES] invalid command name "pg_connect" on tcl/tk script
Next
From: Hugh Lawson
Date:
Subject: Re: [INTERFACES] Re: [ANN] pg.el v0.2 -- Emacs Lisp interface to PostgreSQL