Re: Interesting abilities of substring

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Kenneth Downs <ken(at)secdat(dot)com>
Cc: pgsql general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Interesting abilities of substring
Date: 2007-08-09 17:24:57
Message-ID: 17410.1186680297@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Kenneth Downs <ken(at)secdat(dot)com> writes:
> Basically, it "knows what you mean" when you do substrings on dates and
> numbers, doing an implicit cast for you.

Implicit casts to text are evil, and are mostly going to be gone in 8.3.
So try not to rely on this behavior ...

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Louis-David Mitterrand 2007-08-09 17:27:55 timestamp skew during 7.4 -> 8.2 upgrade
Previous Message Tom Lane 2007-08-09 17:20:09 Re: failed to unlink, Permission denied