Re: BUG #14709: inconsistent answers with foreign data wrappers to mysql

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: mark(dot)manley(at)tapad(dot)com
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #14709: inconsistent answers with foreign data wrappers to mysql
Date: 2017-06-15 22:43:56
Message-ID: 13822.1497566636@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

mark(dot)manley(at)tapad(dot)com writes:
> When using a foreign data wrapper from our 9.6.2 database to a MySQL 5.7
> database, we get inconsistent results.

My first thought is that you're looking at a bug in the mysql FDW,
probably incorrect pushdown of conditions to the mysql server. You
should enable logging on the mysql server and look at the queries
generated by the FDW, comparing those to EXPLAIN output to see which
conditions get checked locally as opposed to being sent to the remote.

If you can identify what the FDW is doing wrong, reporting that to
the FDW's authors might get some results. (I don't know if they
read this bugs list.)

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message 厚积薄发 2017-06-15 23:48:24 Re: GIN index vacuum hang after pg_rman restore in PG9.2.21
Previous Message mark.manley 2017-06-15 22:06:06 BUG #14709: inconsistent answers with foreign data wrappers to mysql