From: Eric Marsden <emarsden@mail.dotcom.fr>
To: pgsql-interfaces@postgreSQL.org
Subject: Re: [ANN] pg.el v0.2 -- Emacs Lisp interface to PostgreSQL
Date: 22 Jul 1999 17:28:35 +0200
Message-ID: <wzi673c900s.fsf@mail.dotcom.fr> (raw)
References: <Pine.LNX.4.04.9907220922480.4493-100000@cumquat.fruit.com>
>>>>> "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 have succeeded 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: emarsden@mail.dotcom.fr
Subject: Re: [ANN] pg.el v0.2 -- Emacs Lisp interface to PostgreSQL
In-Reply-To: <wzi673c900s.fsf@mail.dotcom.fr>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox