implement Ecto.Adapters.Mysql.SQL based on Postgres version