17th September 2020: PostgreSQL 13 RC 1 Released!

ODB C++ ORM adds support for PostgreSQL

Posted on 2011-07-27

I am pleased to announce the release of ODB 1.5.0 with support for PostgreSQL.

ODB is an open-source object-relational mapping (ORM) system for C++. It allows you to persist C++ objects to a relational database without having to deal with tables, columns, or SQL and without manually writing any of the mapping code.

Major new features in this release:

* Support for the PostgreSQL database, including updates to the Boost and Qt profiles.

* Support for per-class database operations callbacks.

* New NULL handling mechanism.

* Ability to specify database default values and additional column definition options.

A more detailed discussion of the new features as well as some performance numbers for the new PostgreSQL support can be found in the following blog post:


For the complete list of new features in this version see the official release announcement:


ODB is written in portable C++ and you should be able to use it with any modern C++ compiler. In particular, we have tested this release on GNU/Linux (x86/x86-64), Windows (x86/x86-64), Mac OS X, and Solaris (x86/x86-64/SPARC) with GNU g++ 4.2.x-4.5.x, MS Visual C++ 2008 and 2010, and Sun Studio 12. The currently supported database systems are MySQL, SQLite, and PostgreSQL.

More information, documentation, source code, and pre-compiled binaries are available from:


This post has been migrated from a previous version of the PostgreSQL website. We apologise for any formatting issues caused by the migration.