Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp> writes:
> If VARSIZE returned from exprTypmod() and atttypmod passed to
> coerce_type_typmod() is equal, the function node to call bpchar()
> would not be added.
Um, what's wrong with that? Seems to me that parse_coerce is doing
exactly what it's supposed to, ie, adding only length coercions
that are needed.
regards, tom lane