Re: [BUGS] BUG #14709: inconsistent answers with foreign datawrappers to mysql

Поиск
Список
Период
Сортировка
От Mark Manley
Тема Re: [BUGS] BUG #14709: inconsistent answers with foreign datawrappers to mysql
Дата
Msg-id CAPyC7H-kS2G1Y84z0n0nx6C6YGZa+VrGYSUu+Vk3s7JaHDGJzA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [BUGS] BUG #14709: inconsistent answers with foreign datawrappers to mysql  (Ahsan Hadi <ahsan.hadi@enterprisedb.com>)
Список pgsql-bugs
Thank you.  I have confirmed your fix works:

iris_staging=# select audiences.* FROM audiences
INNER JOIN mwm_users ON mwm_users.id = audiences.created_by
INNER JOIN mwm_accounts ON mwm_accounts.id = audiences.account_id and audiences.name like '%name%';
 id |       foreign_audience_id       | advertising_platform_name | location |   name    |    description     | account
_id | created_by |          created_at
----+---------------------------------+---------------------------+----------+-----------+--------------------+--------
----+------------+-------------------------------
  1 | mock_facebook_audience(happy)-1 | FACEBOOK                  | nj1      | some name | some foreign descr |       1
012 |        269 | 2017-05-02 22:49:24.984224+00
  2 | mock_facebook_audience(happy)-2 | FACEBOOK                  | nj1      | some name | some foreign descr |       1
012 |        269 | 2017-05-02 22:49:49.771061+00
  3 | mock_facebook_audience(happy)-1 | FACEBOOK                  | nj1      | some name | some foreign descr |       1
012 |        269 | 2017-05-04 18:38:54.569716+00
(3 rows)

Thanks again!

On Wed, Jun 21, 2017 at 1:50 AM, Ahsan Hadi <ahsan.hadi@enterprisedb.com> wrote:
The fix for this issue is committed in mysql_fdw github repository, please see the following mysql_fdw github entry for details...
Thanks Mark for providing the test case.

On Mon, Jun 19, 2017 at 4:01 PM, Ahsan Hadi <ahsan.hadi@enterprisedb.com> wrote:
It will be helpful if you can share a test case that can be used to verify our fix?

-- Ahsan


On Mon, Jun 19, 2017 at 3:57 PM, Mark Manley <mark.manley@tapad.com> wrote:
Thank you all.  :)


On Mon, Jun 19, 2017 at 3:57 AM, Rushabh Lathia <rushabh.lathia@gmail.com> wrote:
Hi,

I informed the maintainer of mysql_fdw and they will start looking into this issue.

Thanks,


On Mon, Jun 19, 2017 at 4:13 AM, Andrew Gierth <andrew@tao11.riddles.org.uk> wrote:
>>>>> "mark" == mark manley <mark.manley@tapad.com> writes:

 mark> When using a foreign data wrapper from our 9.6.2 database to a
 mark> MySQL 5.7 database, we get inconsistent results.  We're joining
 mark> two tables from another server:

mysql_fdw is (and has _always_ been) broken for anything beyond the most
trivial queries:

https://github.com/EnterpriseDB/mysql_fdw/blob/master/mysql_fdw.c#L734

https://github.com/EnterpriseDB/mysql_fdw/issues/73

Since mysql_fdw is not part of postgresql you should take this up with
the maintainers. However, the linked issue has been outstanding for 18
months, so probably best not hold your breath.

--
Andrew (irc:RhodiumToad)


--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



--
Rushabh Lathia




--
Ahsan Hadi
Snr Director Product Development
EnterpriseDB Corporation
The Enterprise Postgres Company

Phone: +92-51-8358874   
Mobile: +92-333-5162114

Website: www.enterprisedb.com
EnterpriseDB Blog: http://blogs.enterprisedb.com/
Follow us on Twitter: http://www.twitter.com/enterprisedb

This e-mail message (and any attachment) is intended for the use of the individual or entity to whom it is addressed. This message contains information from EnterpriseDB Corporation that may be privileged, confidential, or exempt from disclosure under applicable law. If you are not the intended recipient or authorized to receive this for the intended recipient, any use, dissemination, distribution, retention, archiving, or copying of this communication is strictly prohibited. If you have received this e-mail in error, please notify the sender immediately by reply e-mail and delete this message.



--
Ahsan Hadi
Snr Director Product Development
EnterpriseDB Corporation
The Enterprise Postgres Company

Phone: +92-51-8358874   
Mobile: +92-333-5162114

Website: www.enterprisedb.com
EnterpriseDB Blog: http://blogs.enterprisedb.com/
Follow us on Twitter: http://www.twitter.com/enterprisedb

This e-mail message (and any attachment) is intended for the use of the individual or entity to whom it is addressed. This message contains information from EnterpriseDB Corporation that may be privileged, confidential, or exempt from disclosure under applicable law. If you are not the intended recipient or authorized to receive this for the intended recipient, any use, dissemination, distribution, retention, archiving, or copying of this communication is strictly prohibited. If you have received this e-mail in error, please notify the sender immediately by reply e-mail and delete this message.

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Kaijiang Chen
Дата:
Сообщение: Re: [BUGS] Urgent - SQL left join bug?
Следующее
От: "Caio Parolin"
Дата:
Сообщение: [BUGS] Problems installation