Difference between revisions of "Database package"

From Octave
Jump to navigation Jump to search
(→‎SQLite: it's now more than one file.)
(minor updates)
Line 35: Line 35:
* [https://github.com/markuman/go-sqlite go-sqlite] – simple sqlite3 wrapper.
* [https://github.com/markuman/go-sqlite go-sqlite] – simple sqlite3 wrapper.
* [https://github.com/rmartinjak/mex-sqlite3 mex-sqlite3] – An extension for MATLAB® or GNU/octave to access sqlite3 databases
== redis ==
== 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.
* https://github.com/markuman/go-redis
You can find it here: https://github.com/markuman/go-redis

Revision as of 10:50, 16 June 2015

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


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


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:


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.


  • go-sqlite – simple sqlite3 wrapper.
  • mex-sqlite3 – An extension for MATLAB® or GNU/octave to access sqlite3 databases