non-UTF8 databases, plus a few more tests that were missing, I have applied the two patches for the input functions.
I've reviewed what you committed and it looks good to me aside from the one nitpick I already made.
Perhaps these will need some adjustments, but I also see little point in moving on with these based on the coverage we have and how the code is shaped. Could you rebase the rest of the patch set for the three remaining pieces, Corey? You will also need to address some of the comments from Chao based on a review of v16, that were not addressed as of v17.