On 2020-Nov-17, Tom Lane wrote:
> Robert Haas <robertmhaas@gmail.com> writes:
> > On Tue, Nov 17, 2020 at 10:32 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> >> Adding the expected length to the error message might be OK though.
>
> > Certainly seems like we should do at least that much. The current
> > message is just wrong, right?
>
> It's incomplete, for sure. Doesn't mention nulls either.
So let's go with this one.