On Jan 10, 2008, at 10:47 AM, marcelo Cortez wrote:

folks

 the follow queries work in postgres 8.2 but
 in  8.3beta don't work


SELECT c.* FROM c WHERE  c.numero LIKE '1%';

i think automatic conversion of  numeber to text is
the problem , in 8.3beta don't work
numero field is  integer type
any ideas?


Read the release notes :) Implicit casts from non-text types to text have been removed. The easiest solution is to use an explicit cast:

SELECT c.* FROM c WHERE c.numero::text LIKE '1%';

I can definitely see this being an 8.3 faq.

Erik Jones

DBA | Emma®
[EMAIL PROTECTED]
800.595.4401 or 615.292.5888
615.292.0777 (fax)

Emma helps organizations everywhere communicate & market in style.
Visit us online at http://www.myemma.com




---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend

Reply via email to