Re: SELECT CAST(123 AS char) -> 1 - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: SELECT CAST(123 AS char) -> 1
Date
Msg-id 20080213161850.GF11314@alvh.no-ip.org
Whole thread Raw
In response to Re: SELECT CAST(123 AS char) -> 1  (Ken Johanson <pg-user@kensystem.com>)
Responses Re: SELECT CAST(123 AS char) -> 1
List 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 by date:

Previous
From: "Dave Page"
Date:
Subject: Re: msvcr80.dll and PostgreSQL 8.3 under Windows XP
Next
From: Ken Johanson
Date:
Subject: Re: SELECT CAST(123 AS char) -> 1