unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Florian Weimer <fw@deneb.enyo.de>
To: emacs-devel@gnu.org
Subject: Re: SQLite interface
Date: Thu, 13 Mar 2014 21:31:23 +0100	[thread overview]
Message-ID: <87pplp263o.fsf@mid.deneb.enyo.de> (raw)
In-Reply-To: <87y50e6mck.fsf@lifelogs.com> (Ted Zlatanov's message of "Thu, 13 Mar 2014 13:26:51 -0400")

* Ted Zlatanov:

> Given that any possible FFI interface is after the freeze and probably
> will take months to get into a released Emacs, can you consider writing
> this with a shell backend for now and use the C API opportunistically?

What does this mean?  Do you want me to write a stub for the SQLite
API that runs as a subprocess and exposes that over some sort of RPC
interface?

> I don't know the details about SQLite's accessibility, but I believe it
> can do at least some useful things non-interactively over STDOUT/STDIN.

Oh, you want me to use the existing sqlite3 command line client?
That's a non-starter.  It is not binary-transparent, and it does not
separated support query parameters.  My planned use case (Gnus)
handles untrusted data received over the network, so this approach
does not seem such a good idea to me.



  reply	other threads:[~2014-03-13 20:31 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-13 10:08 SQLite interface Florian Weimer
2014-03-13 10:26 ` joakim
2014-03-13 10:29   ` Florian Weimer
2014-03-13 13:54     ` joakim
2014-03-13 13:20 ` Stefan Monnier
2014-03-13 13:31   ` David Kastrup
2014-03-13 14:25     ` Stefan Monnier
2014-03-13 17:26 ` Ted Zlatanov
2014-03-13 20:31   ` Florian Weimer [this message]
2014-03-15  6:53     ` Kenneth Raeburn
2014-03-15 15:00       ` Florian Weimer
2014-03-15 17:23         ` Ted Zlatanov
2014-03-15 12:26     ` Ted Zlatanov

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pplp263o.fsf@mid.deneb.enyo.de \
    --to=fw@deneb.enyo.de \
    --cc=emacs-devel@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).