varbinary and bytea values can be compared to escaped strings in mysql and postgres respectively, but with different formats (X'0102' vs '\x0101') up until now mysql_fdw had been sending the postgres string to mysql so equality comparisons would always fail. This change converts the postgres string to mysql's format before sending.
Hopefully this change meets your approval. Thanks for creating mysql_fdw :)
varbinary and bytea values can be compared to escaped strings in mysql and postgres respectively, but with different formats (X'0102' vs '\x0101') up until now mysql_fdw had been sending the postgres string to mysql so equality comparisons would always fail. This change converts the postgres string to mysql's format before sending.
Hopefully this change meets your approval. Thanks for creating mysql_fdw :)