Skip to content

Things we would have done differently

Julien Schmidt edited this page Oct 27, 2017 · 4 revisions

During the development of this driver, we made a lot of mistakes. We learned from them and fixed most of them.

However, we can't fix some of them, as they would break many existing setups. Some other are caused by badly designed interfaces in the database/sql package.

In this page, we try to collect those, so that we can fix them if we are about to release an incompatible version 2 of this driver.

  • DNSes should be regular URIs (#591)
  • database/sql should just ask for the number of columns directly, instead of requesting an slice of all column names and just using it's length