copy and length coercion - Mailing list pgsql-hackers

From Tatsuo Ishii
Subject copy and length coercion
Date
Msg-id 20001013151016T.t-ishii@sra.co.jp
Whole thread Raw
List pgsql-hackers
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



pgsql-hackers by date:

Previous
From: Denis Perchine
Date:
Subject: Re: Inserting a select statement result into another table
Next
From: Zeugswetter Andreas SB
Date:
Subject: AW: AW: ALTER TABLE DROP COLUMN