Re: 8.3beta bug or feature?

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: marcelo Cortez <jmdc_marcelo(at)yahoo(dot)com(dot)ar>
Cc: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: 8.3beta bug or feature?
Date: 2008-01-10 17:29:49
Message-ID: 20080110172948.GN6465@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda pgsql-general

marcelo Cortez escribió:
> Pavel
>
>
> --- Pavel Stehule <pavel(dot)stehule(at)gmail(dot)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

In response to

Responses

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message marcelo Cortez 2008-01-10 17:38:18 Re: 8.3beta bug or feature?
Previous Message Erik Jones 2008-01-10 17:25:46 Re: 8.3beta bug or feature?

Browse pgsql-general by date

  From Date Subject
Next Message Bricklen Anderson 2008-01-10 17:31:08 Re: 8.2.4 serious slowdown
Previous Message Alvaro Herrera 2008-01-10 17:26:49 Re: [GENERAL] 8.3 Beta Incompatible Data Disaster