This library allows you to connect and send queries to PostgreSQL databases. PostgreSQL is a popular alternative to MySQL/MariaDB primarily used in enterprise environments. It has a more strict syntax than MySQL/MariaDB and is my preferred database software, hence this library.
Both Windows and Linux are supported. Tested on Windows 10 Professional and CentOS 7 (64-bit multiarch)
Bug reports and suggestions may be reported to the appropriate forum.
The library is object-oriented and is very simple to use. See the demo code in the project.
Changelog:
Version 1.4Version 1.3*
- Added a 'dbtype' field to return the type of database.
Version 1.2*
- Major release. The library is now attached to the sql4dm suite. Note that the changelog functionality now exists as a separate library.
Version 1.1
- Bug fix: Null values are now properly sent as SQL NULL's.
Version 1.0*
- Provides a link to the bug tracker when throwing exceptions.
- Modified the example to show use of prepared statements.
- Added a Changelog object. Point this at an XML file to automatically manage database updates. See sample_changelog.xml for an example.
- Initial release.
Fields marked with an asterix (*) denote a modification of the DLL/SO files, which requires you to overwrite them with the ones in your project folder.