[odb-users] XML type for a class member using ODB and postgresql
    Simón Emmanuel Gutiérrez Brida 
    simon.gutierrez.brida at gmail.com
       
    Tue Jan 28 20:14:06 EST 2014
    
    
  
Hi, I want to write
#pragma db type("XML")
std::string data;
But when I compile with odb I get
error: unknown PostgreSQL type 'XML'
Even though I can create a database in postgresql with a table that have a
XML column (using pgAdmin)
I downloaded libodb-pgsql-2.3.1 db library (it appears to be the latest
version)
Is there anything special one must do to make the code I put in the
beginning work?
Regards
    
    
More information about the odb-users
mailing list