Revision 4455
Added by Aaron Marcuse-Kubitza about 12 years ago
bin/my2pg | ||
---|---|---|
15 | 15 |
-e 's/ (int|smallint|tinyint)([ (])/ integer\2/g' \ |
16 | 16 |
-e 's/ double/ double precision/g' \ |
17 | 17 |
-e 's/ (integer|double precision|float)(\([^)]*\))?( unsigned)?/ \1/g' \ |
18 |
-e "s/'0000-00-00'/-infinity/g" \
|
|
18 |
-e "s/'0000-00-00'/'-infinity'/g" \
|
|
19 | 19 |
"$@" |
bin/my2pg.data | ||
---|---|---|
9 | 9 |
sed () { "$(which sed)" -"$sedEreFlag" "$@";} |
10 | 10 |
|
11 | 11 |
sed \ |
12 |
-e "s/'0000-00-00'/-infinity/g" \
|
|
12 |
-e "s/'0000-00-00'/'-infinity'/g" \
|
|
13 | 13 |
"$@" |
Also available in: Unified diff
my2pg, my2pg.data: Fixed bug where replacement for '0000-00-00' date needed to be wrapped in single quotes