Diff minimization, indent
Tweak error message
Defend against incorrect number of writeable CTEs with ON CONFLICT