On Wed, Jul 21, 2021 at 12:13 PM Vladimir Sitnikov <sitnikov.vladimir@gmail.com> wrote: > It looks like the same utf8_advance function is good for both fast-path and for the slow path. > Then pg_utf8_verifychar could be removed altogether along with the corresponding IS_*_BYTE_LEAD macros.
pg_utf8_verifychar() is a public function usually called through pg_wchar_table[], so it needs to remain in any case.