Re: Concatenation Snafu

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Concatenation Snafu
Дата
Msg-id 1434.1048635285@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Concatenation Snafu  ("Chad Thompson" <chad@weblinkservices.com>)
Ответы Re: Concatenation Snafu  (Thomas Good <tomg@sqlclinic.net>)
Список pgsql-sql
"Chad Thompson" <chad@weblinkservices.com> writes:
> The assumtion that char and varchar can be compared is gone.

The real problem is that we have too dang many || operators; there's
no reason to have char||char, varchar||varchar, *and* text||text.
The parser can't decide which of the first two to prefer, so it
punts.  If we got rid of both and left only text||text, all would be
well.

Thomas is wrong to claim that this used to behave differently; all
versions I have handy to test, back to 7.0, give the same error.
        regards, tom lane



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

Предыдущее
От: Thomas Good
Дата:
Сообщение: Re: Concatenation Snafu
Следующее
От: Thomas Good
Дата:
Сообщение: Re: Concatenation Snafu