Project

General

Profile

« Previous | Next » 

Revision 6785

my2pg: Translate blob to bytea

View differences:

bin/my2pg
15 15
-e "s/\/\*.* (SET NAMES )([0-9A-Za-z_]+) \*\/;/\1'\2';/" \
16 16
-e 's/ CHARACTER SET [0-9A-Za-z_]+//g' \
17 17
-e "s/ COMMENT '[^']*'//g" \
18
-e 's/ blob/ bytea/g' \
18 19
-e 's/ longtext/ text/g' \
19 20
-e 's/ (int|mediumint|smallint|tinyint)([ (])/ integer\2/g' \
20 21
-e 's/ double/ double precision/g' \

Also available in: Unified diff