From: Alex Schroeder <alex@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: two question about sql-mode
Date: Fri, 08 Nov 2013 08:47:09 +0100 [thread overview]
Message-ID: <m28uwzwd1e.fsf@gnu.org> (raw)
In-Reply-To: mailman.5336.1383656044.10748.help-gnu-emacs@gnu.org
Luca Ferrari <fluca1978@infinito.it> 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.
http://docs.oracle.com/cd/E35137_01/appdev.32/e35117/intro.htm#CEGGHEFC
> 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
approach.
There is an alternative, however:
http://www.emacswiki.org/emacs/PostgreSQL has "Code by EricMarsden for a
socket-level elisp interface to PostgreSQL."
next prev parent reply other threads:[~2013-11-08 7:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.5336.1383656044.10748.help-gnu-emacs@gnu.org>
2013-11-05 16:32 ` two question about sql-mode Emanuel Berg
2013-11-08 7:47 ` Alex Schroeder [this message]
2013-11-05 12:53 Luca Ferrari
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m28uwzwd1e.fsf@gnu.org \
--to=alex@gnu.org \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.