Project

General

Profile

« Previous | Next » 

Revision 8932

bin/my2pg: translate varbinary to bytea

View differences:

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

Also available in: Unified diff