root/lib/PostgreSQL-MySQL.csv @ 602
1 |
"PostgreSQL","MySQL","Comments" |
---|---|
2 |
"^--(?=\S)","\g<0> ", |
3 |
"""([^""]*?)""","`\1`", |
4 |
"(?<=DEFAULT )(\d+|'[^']*')::\w+(?: \w+)*","\1", |
5 |
"(\d+|'[^']*')::(\w+(?: \w+)*)","CAST(\1 AS \2)", |
6 |
"\bserial( NOT NULL\b)?","int(11)\1 AUTO_INCREMENT", |
7 |
"Integer","int(11)", |
8 |
"Boolean","int(1)", |
9 |
" with time zone\b","", |
10 |
"fulltext","\g<0>__" |
11 |
"\btimestamp\b(?: with time zone\b)?(?! NOT NULL\b)","\g<0> NULL" |