[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: two question about sql-mode

From: Alex Schroeder
Subject: Re: two question about sql-mode
Date: Fri, 08 Nov 2013 08:47:09 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin)

Luca Ferrari <> writes:

> I've two questions about the sql mode.
> The first one is that onn my linux box I've Oracle SQL Developer, but
> not sqlplus, and when I try to connect to an oracle database but of
> course I got a "no sqlplus found" error, and therefore I would like to
> know if it is possible to use the sqldeveloper as intermediate library
> to connect thru Emacs, and if someone can point me to the right
> configuration.

Looking at the docs, it seems that SQL Developer has a GUI. SQL Mode,
like all inferior modes, needs to communicate with the subprocess using
stdin and stdout. I assume this will not work.

> The second is about PostgreSQL: if I get it right it seems that C-c
> C-c (send-paragraph) works only for the sqli buffer, that is for
> Oracle. Is there any way to use something similar via libpq?

The same applies here. SQL Mode uses stdin and stdout to communicate.
Using a vendor-specific library would require a totally different

There is an alternative, however: has "Code by EricMarsden for a
socket-level elisp interface to PostgreSQL."

reply via email to

[Prev in Thread] Current Thread [Next in Thread]