Dimitri Fontaine
91359060c3
Convert MySQL smallint and tinyint to PostgreSQL smallint.
2013-10-09 00:19:26 +02:00
Dimitri Fontaine
5a235de5c5
Add support for MySQL point datatype, where we need using astext(col).
2013-10-06 21:01:11 +02:00
Dimitri Fontaine
314ee9611a
Fix MySQL default cast rules to include bigint auto_increment to bigserial.
2013-10-06 12:04:23 +02:00
Dimitri Fontaine
09a49f4771
MySQL also has a "timestamp" datatype, register default casts and handle the default value CURRENT_TIMESTAMP properly: without quoting.
2013-10-05 21:29:26 +02:00
Dimitri Fontaine
c01b693f21
Force MySQL identifiers that are PostgreSQL reserved keywords to be quoted.
2013-10-05 17:02:57 +02:00
Dimitri Fontaine
c7a28aa859
Add a default cast rule from "year" to "integer".
2013-10-01 09:29:42 +02:00
Dimitri Fontaine
2ddaba4284
Fix MySQL schema casting WRT identifers.
...
In MySQL schema cast, take care to downcase or quote the colum names
references in the index definitions, and replace non alphanumeric characters
with #\_ when downcasing.
2013-09-30 22:09:07 +02:00
Dimitri Fontaine
c9dd959fbd
Implement MySQL migration option "downcase|quote identifier".
2013-09-20 22:52:45 +02:00
Dimitri Fontaine
2135c45763
Review default type casting rules from MySQL to PostgreSQL, include blobs.
2013-09-20 10:18:45 +02:00
Dimitri Fontaine
24db93affd
Fix handling of typemod, in particular with numeric data types.
2013-09-19 22:44:02 +02:00
Dimitri Fontaine
be0738d70a
Implement casting of MySQL ENUM types.
2013-09-19 15:04:56 +02:00
Dimitri Fontaine
d0ded0a917
Cleanup the casting rules and transforms implementation.
2013-08-08 17:10:02 +02:00
Dimitri Fontaine
5ed766c570
Fully integrate data transformation rules.
2013-08-07 18:42:48 +02:00
Dimitri Fontaine
990c20d137
First stab at implementing parsed casting rules.
2013-08-06 17:28:45 +02:00
Dimitri Fontaine
d385a14897
Add *cast-rules* to keep *default-cast-rules* as default values.
2013-08-05 15:57:47 +02:00
Dimitri Fontaine
f94b17ac1e
Add tests to the casting rules support, and fix it.
2013-07-30 23:09:28 -07:00
Dimitri Fontaine
3c5c384837
Implement dynamic casting rules.
2013-07-16 17:43:35 +02:00