This makes to require a cast on pretty much any placeholder that might
receive a None, which is really asking too much.
Exploratory commit to test what can be done with PG 9.6. The result
shows that in PG 9.6 it's pretty much impossible to use prepared
statements: neither for executemany nor for preparation. Tests failing: