This file is part of IDEAS, which uses RePEc data


[ Papers | Articles | Software | Books | Chapters | Authors | Institutions | JEL Classification | NEP reports | Search | New papers by email | Author registration | Rankings | Volunteers | FAQ | Blog | Help! ]

POSTGRESQL: Octave functions to access PostgreSQL database

Author info | Abstract | Publisher info | Download info | Related research | Statistics
Author Info
Dirk Eddelbuettel ()
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.

Download Info
To our knowledge, this item is not available for download. To find whether it is available, there are three options:
1. Check below under "Related research" whether another version of this item is available online.
2. Check on the provider's web page whether it is in fact available.
3. Perform a search for a similarly titled item that would be available.

Publisher Info
Software component provided by in its series Octave codes with number C021101.

Download reference. The following formats are available: HTML (with abstract), plain text (with abstract), BibTeX, RIS (EndNote, RefMan, ProCite), ReDIF
Size:
Programming language: Octave
Requires: Octave
Date of creation: 22 Aug 1999
Date of revision:
Handle: RePEc:cod:octave:c042501

Contact details of provider:

For technical questions regarding this item, or to correct its listing, contact: ().

Related research
Keywords:

Statistics
Access and download statistics

Did you know? The yearly budget of IDEAS is exactly $0: it relies entirely on volunteer work.

This page was last updated on 2009-12-9.


This information is provided to you by IDEAS at the Department of Economics, College of Liberal Arts and Sciences, University of Connecticut using RePEc data on a server sponsored by the Society for Economic Dynamics.