Can SQLite be compiled with additional extensions for the next release?

70 views
Skip to first unread message

Andre Garzia

unread,
Jan 27, 2020, 9:07:54 AM1/27/20
to d...@racket-lang.org
Hi Folks,

SQLite is very flexible and lots of features can be enabled at compile time. I was wondering if the following extensions could be enabled for the next release:

# FTS5
A new full-text search extension.


# JSON1
Enable JSON features inside SQLite. This is very useful for storing arbitrary documents.


# SQLAR

SQLite archives are a powerful way of storing binary files inside SQLite much like a virtual file system.


I've checked the compile options used for sqlite3.dll included in Racket 7.5 using "PRAGMA compile_options" and currently it is basically FTS3 and RTREE.

Best
A.

--
http://www.andregarzia.com -- All We Do Is Code.
http://fon.nu -- minimalist url shortening service.

Joel Dueck

unread,
Feb 1, 2020, 10:36:16 AM2/1/20
to Racket Developers
+1

Philip McGrath

unread,
Feb 2, 2020, 6:50:57 PM2/2/20
to Joel Dueck, Racket Developers
I'm also interested in these extensions. I'm not sure if there about potential downsides to statically linking them, though: e.g. IIUC Racket relies on a not-especially-recent system libsqlite3 on Mac OS (but maybe it shouldn't?).

From other mailing list discussions, though, I understand that it's also possible to dynamically link these extensions, and that you can arrange for Racket to use a libsqlite3 you provided: see https://groups.google.com/d/topic/racket-users/Xg2iwevsSu0/discussion and https://groups.google.com/d/topic/racket-users/lOF5FwViZfM/discussion.

-Philip


--
You received this message because you are subscribed to the Google Groups "Racket Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to racket-dev+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/racket-dev/b4a3f1d6-5466-432d-84d6-a457d43bd2c6%40googlegroups.com.

Stephen De Gabrielle

unread,
Feb 3, 2020, 3:07:18 AM2/3/20
to Philip McGrath, Joel Dueck, Racket Developers
I like the idea too but I don’t have the time or resources to take it on.

Maybe platform specific packages would be be better?


--
----
Reply all
Reply to author
Forward
0 new messages