Re: Emacs and postgres - Mailing list pgsql-general

From Greg Stark
Subject Re: Emacs and postgres
Date
Msg-id 87braatvxz.fsf@stark.xeocode.com
Whole thread Raw
In response to Emacs and postgres  (Sean Davis <sdavis2@mail.nih.gov>)
List pgsql-general
Sean Davis <sdavis2@mail.nih.gov> writes:

> This is a bit off-topic....
>
> Does anyone know of an interface between emacs and psql?  I currently use it as
> my default editor and do my share of save and then \i.  I just gave pgEdit a
> try and liked many aspects of it, but I still like Emacs as an editor and
> wondered if anyone else has tricks/plugins for emacs users.

You could just set EDITOR to emacsclient and run M-x server-start and use \e.

Personally I just use psql directly under something like shell-mode. That
doesn't give me completion but it gives me a history and editing.

--
greg

pgsql-general by date:

Previous
From: Lonni J Friedman
Date:
Subject: multiple runs of the same query cause out of memory - WAS [Re: capturing/viewing sort_mem utilization on a per query basis]
Next
From: "Cristian Prieto"
Date:
Subject: Seguimos buscando webdeveloper...