On Sun, Apr 7, 2013 at 10:00 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Alexander Korotkov <aekorotkov(at)gmail(dot)com> writes:
> > It's also likely we can change
> > if (pg_database_encoding_max_length() > 1)
> > into something like
> > if (pg_database_encoding_max_length() > 1 && bytelen != charlen)
>
> Hm, actually couldn't we just simplify to "if (bytelen != charlen)"?
>
I think yes, we can :)
------
With best regards,
Alexander Korotkov.