From: Brian B. <ca...@um...> - 2000-04-07 01:23:07
|
Thanks Carl. I'll commit it in a few. Brian On Thu, 6 Apr 2000, Carl Seutter wrote: > Here is the Postgres data types so that a Postgress schema can be > generated. There are a few that I could not quite match up. Hopefully, > someone with more Postgres knowledge will be able to fill them in. > > /* Postgres data types */ > char *mdb_postgres_types[] = > {"Postgres_Unknown 0x00", > "Bool", > "Int2", > "Int4", > "Int8", > "Money", > "Float4", > "Float8", > "Timestamp", > "Postgres_Unknown 0x09", > "Char", > "Postgres_Unknown 0x0b", > "Postgres_Unknown 0x0c", > "Postgres_Unknown 0x0d", > "Postgres_Unknown 0x0e", > "Serial"}; > > > These lines need to be added to function mdb_init_backends: > > backend = (MdbBackend *) g_malloc0(sizeof(MdbBackend)); > backend->types_table = mdb_postgres_types; > mdb_register_backend(backend, "postgres"); > > > _______________________________________________ > mdbtools-dev mailing list > mdb...@li... > http://lists.sourceforge.net/mailman/listinfo/mdbtools-dev > |