From 7de3a2630148fa3cf6b1d22f746e072e0fd63551 Mon Sep 17 00:00:00 2001 From: Gerard van Helden Date: Thu, 26 Jan 2023 18:11:54 +0100 Subject: [PATCH 1/2] warn for using unsupported 'RETURNING' clause in stead of ERROR --- mysql_fdw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mysql_fdw.c b/mysql_fdw.c index 4698658..6d3b85f 100644 --- a/mysql_fdw.c +++ b/mysql_fdw.c @@ -1701,7 +1701,7 @@ mysqlPlanForeignModify(PlannerInfo *root, } if (plan->returningLists) - ereport(ERROR, + ereport(WARNING, (errcode(ERRCODE_FDW_UNABLE_TO_CREATE_EXECUTION), errmsg("RETURNING is not supported by this FDW"))); From 52d99d91ed277a2d4744215ce324552b1a4ddd8c Mon Sep 17 00:00:00 2001 From: Gerard van Helden Date: Thu, 2 Feb 2023 15:26:51 +0100 Subject: [PATCH 2/2] re #266 - add missing 'pg_catalog.=(bigint,bigint)' operator --- mysql_fdw_pushdown.config | 1 + 1 file changed, 1 insertion(+) diff --git a/mysql_fdw_pushdown.config b/mysql_fdw_pushdown.config index 6dfbd07..a673084 100644 --- a/mysql_fdw_pushdown.config +++ b/mysql_fdw_pushdown.config @@ -79,6 +79,7 @@ ROUTINE pg_catalog."numeric"(bigint) ROUTINE pg_catalog."numeric"(integer) ROUTINE pg_catalog."numeric"(double precision) ROUTINE pg_catalog."numeric"(smallint) +OPERATOR pg_catalog.=(bigint,bigint) OPERATOR pg_catalog.=(integer,integer) OPERATOR pg_catalog.=(text,text) OPERATOR pg_catalog.=(smallint,integer)