Apparently suffer from template cleverness overload
Yet more type conversions. This is a complement to pvif.h in that PVIF calls into dbPut() which this code is called by dbPut().