Project

General

Profile

« Previous | Next » 

Revision 4430

my2pg: Also perform data-only replacements, since default values can contain data-specific replacements. This also allows my2pg to transform a combined schema+data export.

View differences:

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 19
"$@"

Also available in: Unified diff