I'm working on setting up the export using ODBC. I tend to use Postgres as my DB of choice so I downloaded the ODBC drivers and updated the connection string. I was able to test the connection to the database but I ran into an issue.
When I clicked `Validate Table Setup` I get the error
CREATE TABLE encounter_table (encid CHAR(8), title VARCHAR(64), starttime TIMESTAMP, endtime TIMESTAMP, duration INT, damage BIGINT, encdps DOUBLE, zone VARCHAR(64), kills INT, deaths INT);
System.Data.Odbc.OdbcException (0x80131937): ERROR [42704] ERROR: type "double" does not exist;
Error while executing the query
So the Postgres DB doesn't know of a type called DOUBLE, in Postgres it would be a DOUBLE PRECISION.
I imagine there might be a couple more of these issues in other tables. I would love to help make this work. I don't see any source available so cannot submit a patch but please let me know what other information would be useful.
Comments