Thread: Re: Casting, again

Re: Casting, again

From
Bruce Momjian
Date:
> For 7.0, I changed the implementation to decouple string types and
> other types by natively supporting char_length() (and
> character_length()), the SQL92-defined length function(s) for strings.
> I left length() for the other types.
> 
> I believe that this is mentioned in the release notes.
> 
> btw, what were we hoping to accomplish with length(755)? Why isn't "3"
> a good answer??

Three is the right answer.  I was just wondering why it used to fail,
but now it works.

--  Bruce Momjian                        |  http://www.op.net/~candle pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026