// file : pgsql/index/driver.cxx // license : GNU GPL v2; see accompanying LICENSE file // Test PostgreSQL index creation. See also the common test. // #include // std::unique_ptr #include #include #include #include #include "test.hxx" #include "test-odb.hxx" #undef NDEBUG #include using namespace std; namespace pgsql = odb::pgsql; using namespace pgsql; int main (int argc, char* argv[]) { try { // This is just a schema creation test. // unique_ptr db (create_specific_database (argc, argv)); { transaction t (db->begin ()); t.commit (); } } catch (const odb::exception& e) { cerr << e.what () << endl; return 1; } }