Re: SELECT CAST(123 AS char) -> 1

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: SELECT CAST(123 AS char) -> 1
Дата
Msg-id 20080213161850.GF11314@alvh.no-ip.org
обсуждение исходный текст
Ответ на Re: SELECT CAST(123 AS char) -> 1  (Ken Johanson <pg-user@kensystem.com>)
Ответы Re: SELECT CAST(123 AS char) -> 1
Список pgsql-general
Ken Johanson wrote:

> Henceforth SELECT CAST(123 AS char) will and should undisputedly return '1'.

If you are arguing that the spec's definition of the CHARACTER type is
not really very useful, I think you are going to find a lot of
supporters.  You can send your complaints to the SQL committee; but
then, it is unlikely that this is going to change anytime soon because
of the fear of breaking backwards compatibility.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

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

Предыдущее
От: "Dave Page"
Дата:
Сообщение: Re: msvcr80.dll and PostgreSQL 8.3 under Windows XP
Следующее
От: Ken Johanson
Дата:
Сообщение: Re: SELECT CAST(123 AS char) -> 1