It looks like we're going to give a go at a native interface between
MATLAB and PostgreSQL. I think if we can just define the enumerated
types for PGresult and PGconnect plus some of the enumerated constants
(PGRES_TUPLES_OK, PGRES_COMMAND_OK), then we can just write cmex wrapper
functions from the existing C function library of PostgreSQL.

Does anyone happen to have a nice PGresult and PGconnect definition
(i.e. no references to other enumerated types)? The way these look now
(in the header file libpq-int.h) it may take some time to go through all
of the embedded enumerated types.

Also, just so we don't have to re-invent the wheel: Are there any
MATLAB/PostgreSQL interfaces already written?

Thanks.
-Tony Reina



Fri, 29 Oct 1999 15:10:44 -0700
"G. Anthony Reina" <reina@nsi.edu>
MATLAB PostgreSQL interface
> It looks like we're going to give a go at a native interface between
> MATLAB and PostgreSQL. I think if we can just define the enumerated
> types for PGresult and PGconnect plus some of the enumerated constants
> (PGRES_TUPLES_OK, PGRES_COMMAND_OK), then we can just write cmex wrapper
> functions from the existing C function library of PostgreSQL.

Grab them from the source or include file.



-- 
  Bruce Momjian                        |  http://www.op.net/~candle
  maillist@candle.pha.pa.us            |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026


Fri, 29 Oct 1999 18:18:43 -0400 (EDT)
Bruce Momjian <maillist@candle.pha.pa.us>
Re: [HACKERS] MATLAB PostgreSQL interface