Skip to content

Commit

Permalink
support geometry type migrate
Browse files Browse the repository at this point in the history
  • Loading branch information
义从 committed Apr 11, 2017
1 parent 7e2daa9 commit e9c1b59
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dbsync/mysql2pgsql.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ fetch_colmum_info(char *schemaname, char *tabname, MYSQL_RES *my_res, bool is_ta
case MYSQL_TYPE_STRING:
case MYSQL_TYPE_BIT:
case MYSQL_TYPE_BLOB:
case MYSQL_TYPE_LONG_BLOB:
appendPQExpBuffer(ddl, "%s %s", field->org_name, "text");
col_type[i] = TEXTOID;
break;
Expand Down

0 comments on commit e9c1b59

Please sign in to comment.