Re: length coerce for bpchar is broken since 7.0

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: length coerce for bpchar is broken since 7.0
Дата
Msg-id 28919.971752781@sss.pgh.pa.us
обсуждение исходный текст
Ответ на length coerce for bpchar is broken since 7.0  (Tatsuo Ishii <t-ishii@sra.co.jp>)
Ответы Re: length coerce for bpchar is broken since 7.0
Список pgsql-hackers
Tatsuo Ishii <t-ishii@sra.co.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


В списке pgsql-hackers по дате отправления: