New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
btrim does not exist #70
Comments
Can you please share the table ddl to reproduce the issue. On Thu, Oct 29, 2015 at 7:31 PM, Dane notifications@github.com wrote:
Ahsan Hadi Phone: +92-51-8358874 Website: www.enterprisedb.com This e-mail message (and any attachment) is intended for the use of the |
I don't know if this makes a difference because I expect you to test/verify this on MySQL 5.6.x but the storage engine is INNODB.
The DDL for the foreign table defined on the PostgreSQL side is:
|
Hi, |
I will look at this issue this week. On Mon, Nov 2, 2015 at 9:00 AM, Dane notifications@github.com wrote:
Ibrar Ahmed |
Thanks! |
…d MySQL. Current implementation is for translating PostgreSQL's btrim to MySQL' trim. To do the translation mysql_deparse_func_expr function performs the replacement.
Thanks for fixing this ibrarahmad! You've added a notch to my happy meter. |
I have a MySQL/PHP app that I want to port to PostgreSQL so I just installed the mysql_fdw from https://github.com/EnterpriseDB/mysql_fdw because I'd like to do the data migration in SQL if possible.
Installation and set up worked flawlessly but when I run the following query
I get the following error:
ERROR: failed to prepare the MySQL query:
FUNCTION latest.btrim does not exist
FYI: Tables names that start w/ _ are the MySQL versions of PostgreSQL tables.
My PostgreSQL version is 9.5beta1 on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 4.9.2-10ubuntu13) 4.9.2, 64-bit.
My MySQL version is 5.6.27-0ubuntu1.
The text was updated successfully, but these errors were encountered: