marcelo Cortez escribió:
> Pavel
>
>
> --- Pavel Stehule <pavel.stehule@gmail.com> escribió:
>
> > Hello,
> >
> > it isn't bug. You have to cast to string before.
> >
> >
> http://www.postgresql.org/docs/8.3/static/release-8-3.html
> > E.1.2.1. General
>
> Yes you are right, but my queries was generated for
> one mapper ,explicit cast is not an option ( not
> manual code here).
> there any way simulate previous behavior? (automatic
> conversion), create cast can help?
The cast already exist; I think you could change its context (from
"explicit" to "assignment" IIRC). This is, of course, not recommended.
The operation you show is a pretty stupid thing for a mapper to do
anyway ... I suggest you fix it.
--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support