Database package: Difference between revisions

From Octave
Jump to navigation Jump to search
(don't know who profits from the mailinglist extract?)
(→‎SQLite: it's now more than one file.)
Line 34: Line 34:
== SQLite ==
== SQLite ==


* [https://github.com/markuman/go-sqlite go-sqlite] – simple sqlite3 wrapper as one .m file.
* [https://github.com/markuman/go-sqlite go-sqlite] – simple sqlite3 wrapper.


== redis ==
== redis ==

Revision as of 16:33, 22 March 2014

This Octave Forge has currently no maintainer and is known to nor well anymore.


osdbi

There's another package called osdbi that is released under the BSD license that I was able to make work, but only for sqlite3. You can find it here: http://jriedy.users.sonic.net/cgi/jriedy/cgit/cgit.cgi/osdbi/tree/doc/osdbi.texi JRiedy the author will answer emails. I use it on OS X 10.6 and octave 3.4.0. Also on 10.5.8 but no luck on 10.7


postgreSQL

After some hours trying to connect to postgresql, I am geting convinced there is currently no DB connection to postgresql DB from octave. Indeed, there is a very nice small code for mkoctfile:

  http://dirk.eddelbuettel.com/code/octave-pg/

But, I found there is no longer a libpq++ in postgresql (http://blog.gmane.org/gmane.comp.db.postgresql.interfaces/month=20080701)... Anyone knows if there is a libpqxx interface (I found nothing on google)? In another approach, maybe "extern C" can be used to reimplement a libpq (standard C) based oct of Dirk Eddelbuettel's code?

Embedded SQL

A feature request was open on the tracker to include it as a package.

SQLite

redis

There's a github repository called go-redis (GNU Octave Redis) that is released under the WTFPL license. It is using Instrument_control package. You can find it here: https://github.com/markuman/go-redis