>
> Now I will proceed with the quick and dirty CAST(id AS VARCHAR).
>

There's nothing wrong with doing the cast - I wouldn't consider it "quick
and dirty."


> Jonathan: I read around implicit casting was default in pg version < 8.3.
>

I was mostly being snarky because people shouldn't expect Postgres to
implement MySQL's broken implementation. :) But you can explicitly create
implicit casts between two types. But I would not recommend this - I think
the explicit cast in your query is more clear as to how you're running the
query.

http://www.postgresql.org/docs/8.3/static/sql-createcast.html

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.

Reply via email to