Revision 7536
Added by Aaron Marcuse-Kubitza almost 12 years ago
my2pg | ||
---|---|---|
21 | 21 |
-e 's/ double/ double precision/g' \ |
22 | 22 |
-e 's/ (integer|bigint|double precision|float)(\([^)]*\))?( unsigned)?/ \1/g' \ |
23 | 23 |
-e 's/ datetime/ timestamp/g' \ |
24 |
-e "s/'0000-00-00'/'-infinity'/g" \ |
|
24 |
-e "s/'0000-00-00( 00:00:00)?'/'-infinity'/g" \
|
|
25 | 25 |
"$@" |
Also available in: Unified diff
my2pg*: Replace '0000-00-00 00:00:00' with '-infinity'