Thread: MATLAB PostgreSQL interface

MATLAB PostgreSQL interface

From
"G. Anthony Reina"
Date:
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




Re: [HACKERS] MATLAB PostgreSQL interface

From
Bruce Momjian
Date:
> 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,
Pennsylvania19026