Re: BUG: text(varchar) truncates at 31 bytes

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG: text(varchar) truncates at 31 bytes
Дата
Msg-id 2362.1002233329@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: BUG: text(varchar) truncates at 31 bytes  (Thomas Lockhart <lockhart@fourpalms.org>)
Список pgsql-hackers
Thomas Lockhart <lockhart@fourpalms.org> writes:
>> Sure, I said *after* we fail to find an exact match.  But the "freebie"
>> match is for a function name that matches a type name and is
>> binary-compatible with the source type.  That's not a weak constraint.
>> ISTM that interpretation should take priority over interpretations that
>> involve more than one level of transformation.

> Ah, OK I think. If there is a counterexample, it is probably no less
> obscure than this one.

Done.  Essentially, this amounts to interchanging steps 2 and 3 of the
function call resolution rules described at
http://www.ca.postgresql.org/users-lounge/docs/7.1/postgres/typeconv-func.html
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Timestamp, fractional seconds problem
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Plpython bug with int8 - Found, need advice