mexPostgres is a simple C++ routine which allows you to send SQL commands to and fetch results from local or remote PostgreSQL database. The script is a simple wrapper for official PostgreSQL C library - libpq.
The results are returned as array of structures with fields' names set according to db columns' labels.
Currently, numeric, date-time and string types are supported.
Requirements:
C++ compiler (g++ on Linux platform, Visual Studio or Windows 7 SDK on Windows platform)
libpq installed on the system (the library is part of the PostgreSQL installation pack)
To make, call makeMexPostgres.m script.
Note: please, adjust makeMexPostgres.m script according to your specific environment.
References:
lipq documentation:
http://www.postgresql.org/docs/9.4/static/libpq.html
Citar como
Martin Mityska (2024). mexPostgres (https://www.mathworks.com/matlabcentral/fileexchange/50271-mexpostgres), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.0.0 |