Andres Freund <andres@anarazel.de> writes:
> On 2022-12-05 20:06:55 -0500, Tom Lane wrote:
>> Hmm, either I'm confused or you're stating that backwards --- aren't
>> the hard-error code paths already tested by our existing tests?
> What I'd like to test is a hard error, either due to an input function
> that wasn't converted or because it's a type of error that can't be
> handled "softly", but when using the "safe" interface.
Oh, I see. That seems like kind of a problematic requirement,
unless we leave some datatype around that's intentionally not
ever going to be converted. For datatypes that we do convert,
there shouldn't be any easy way to get to a hard error.
I don't really quite understand why you're worried about that
though. The hard-error code paths are well tested already.
regards, tom lane