all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Florian Weimer <fw@deneb.enyo.de>
To: Kenneth Raeburn <raeburn@raeburn.org>
Cc: emacs-devel@gnu.org
Subject: Re: SQLite interface
Date: Sat, 15 Mar 2014 16:00:52 +0100	[thread overview]
Message-ID: <8761nfo6aj.fsf@mid.deneb.enyo.de> (raw)
In-Reply-To: <1B24FFF2-0973-4814-94EF-041B63E94B7B@raeburn.org> (Kenneth Raeburn's message of "Sat, 15 Mar 2014 02:53:04 -0400")

* Kenneth Raeburn:

> I suppose using SELECT QUOTE(CAST (column AS BLOB)) ... and INSERT
> ... CAST(X'010203' AS TEXT), passing values as hexadecimal, would be
> horribly intrusive when writing the queries and processing the
> results, but is there more than that needed to use the command line
> client?

It would require parsing the queries and rewriting them.

I don't know yet how horrid the Emacs C internals are, but I'm pretty
sure it cannot be that bad, and it's easier to write something in C
now (and throw it away once the FFI arrives) than to implement two
sides of an IPC mechanism and all the query and result set massaging.



  reply	other threads:[~2014-03-15 15:00 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
2014-03-15  6:53     ` Kenneth Raeburn
2014-03-15 15:00       ` Florian Weimer [this message]
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

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

  git send-email \
    --in-reply-to=8761nfo6aj.fsf@mid.deneb.enyo.de \
    --to=fw@deneb.enyo.de \
    --cc=emacs-devel@gnu.org \
    --cc=raeburn@raeburn.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.