Revision 7693
Added by Aaron Marcuse-Kubitza over 11 years ago
bin/my2pg | ||
---|---|---|
19 | 19 |
-e "s/\/\*.* (SET NAMES )([0-9A-Za-z_]+) \*\/;/\1'\2';/" \ |
20 | 20 |
-e 's/ (CHARACTER SET|COLLATE) [0-9A-Za-z_]+//g' \ |
21 | 21 |
-e "s/ COMMENT '[^']*'//g" \ |
22 |
-e 's/ blob/ bytea/g' \
|
|
22 |
-e 's/ (binary|blob)/ bytea/g' \
|
|
23 | 23 |
-e 's/ longtext/ text/g' \ |
24 | 24 |
-e 's/ (int|mediumint|smallint|tinyint)([ (])/ integer\2/g' \ |
25 | 25 |
-e 's/ double/ double precision/g' \ |
Also available in: Unified diff
my2pg: Translate binary to bytea