From: Ted Zlatanov <tzz@lifelogs.com>
To: emacs-devel@gnu.org
Subject: Re: SQLite interface
Date: Sat, 15 Mar 2014 13:23:37 -0400 [thread overview]
Message-ID: <87d2hn74va.fsf@lifelogs.com> (raw)
In-Reply-To: 8761nfo6aj.fsf@mid.deneb.enyo.de
On Sat, 15 Mar 2014 16:00:52 +0100 Florian Weimer <fw@deneb.enyo.de> wrote:
FW> * 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?
FW> It would require parsing the queries and rewriting them.
FW> I don't know yet how horrid the Emacs C internals are, but I'm pretty
FW> sure it cannot be that bad, and it's easier to write something in C
FW> now (and throw it away once the FFI arrives) than to implement two
FW> sides of an IPC mechanism and all the query and result set massaging.
Yup. Having done exactly this sort of query rewriting for an old
database, I agree it's not worth the pain.
Ted
next prev parent reply other threads:[~2014-03-15 17:23 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
2014-03-15 17:23 ` Ted Zlatanov [this message]
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=87d2hn74va.fsf@lifelogs.com \
--to=tzz@lifelogs.com \
--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 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.