For example, what if we want to support representing cstring type as std::basic_view?
We can define CSTRINGOID being an allowed type in type_traits::is but then it'd expect it to be a hard-coded type that it is expecting there.
Proposed solution: extend datum_conversion to pass Oid of the value?