From b540e3f6136447e54e3e109ec19063d3860b5af5 Mon Sep 17 00:00:00 2001 From: Francois Payette Date: Wed, 23 Sep 2020 16:58:40 -0400 Subject: [PATCH] Update mysql_fdw.c merge pr190 --- mysql_fdw.c | 2 ++ 1 file changed, 2 insertions(+) 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,"