Обсуждение: copy and length coercion

Поиск
Список
Период
Сортировка

copy and length coercion

От
Tatsuo Ishii
Дата:
I notced that COPY FROM does not invoke the length coercion function
before calling heap_insert(). This leads sometimes bad things such as
incorrectly truncated mutibyte strings. My idea is finding an
appropreate function like currently
coerce_type_typmod(parser/parse_coerce.c) does, and calling it before
heap_insert()

Comments?
--
Tatsuo Ishii