[odb-users] Mapping PostGIS POLYGON type

Boris Kolpackov boris at codesynthesis.com
Wed Mar 30 08:52:11 EDT 2016


Hi Yoav,

Weiss, Yoav <yoav.weiss at intel.com> writes:

> error: unknown PostgreSQL type 'GEOMETRY'

The way to handle this in ODB is via the extended database type mapping
support:

http://www.codesynthesis.com/~boris/blog/2012/07/18/custom-database-to-cxx-type-mapping-in-odb/

See also Section 14.8, "Database Type Mapping Pragmas" in the manual as
well as the pgsql/custom test in the odb-tests package.

Boris



More information about the odb-users mailing list