Economics at your fingertips  

POSTGRESQL: Octave functions to access PostgreSQL database

Dirk Eddelbuettel ()

Octave codes

Abstract: PostgreSQL has a pretty decent C++ library called libpq++, with good documentation. It was quite straightforward to wrap these in C++ code that is callable from Octave. For the time being, these functions can execute select queries only. I will add code for insert and update later. There is however a fundamental problem in as much PostgreSQL, as a proper RDBMS (i.e. ignoring the object-oriented extensions for a moment) supports a lot more data types than Octave as a numerically-minded language. I therefore reduced the interface to two functions. The first is to be used for strictly numerical data and returns a single (numerical) matrix. The second can be used for various datatypes as they will be returned in string vectors, one for each column retrieved.

Language: Octave
Requires: Octave
Date: 1999-08-22
References: Add references at CitEc
Citations: Track citations by RSS feed

There are no downloads for this item, see the EconPapers FAQ for hints about obtaining it.

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link:

Access Statistics for this software item

More software in Octave codes
Bibliographic data for series maintained by ().

Page updated 2023-11-23
Handle: RePEc:cod:octave:c042501