From: | Hugh Lawson <hglawson(at)nr(dot)infi(dot)net> |
---|---|
To: | pgsql-interfaces(at)postgreSQL(dot)org |
Subject: | Re: [INTERFACES] [ANN] pg.el v0.2 -- Emacs Lisp interface to PostgreSQL |
Date: | 1999-07-22 13:25:37 |
Message-ID: | Pine.LNX.4.04.9907220922480.4493-100000@cumquat.fruit.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)nr(dot)infi(dot)net
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Page | 1999-07-22 14:09:29 | libpq.dll & VB |
Previous Message | Ahmad Munif | 1999-07-22 13:13:27 | invalid command name "pg_connect" on tcl/tk script |