diff --git a/mysql_fdw.c b/mysql_fdw.c index c9e7df9..06f35d0 100644 --- a/mysql_fdw.c +++ b/mysql_fdw.c @@ -1744,6 +1744,8 @@ mysqlImportForeignSchema(ImportForeignSchemaStmt *stmt, Oid serverOid) " WHEN c.DATA_TYPE = 'blob' THEN 'bytea'" " WHEN c.DATA_TYPE = 'mediumblob' THEN 'bytea'" " WHEN c.DATA_TYPE = 'longblob' THEN 'bytea'" + " WHEN c.DATA_TYPE = 'binary' THEN 'bytea'" + " WHEN c.DATA_TYPE = 'varbinary' THEN 'bytea'" " ELSE c.DATA_TYPE" " END," " c.COLUMN_TYPE,"