Re: Regression in 8.3?

From: Michael Glaesemann <grzm(at)seespotcode(dot)net>
To: Patric Bechtel <patric(dot)bechtel(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Regression in 8.3?
Date: 2007-11-11 23:52:18
Message-ID: B47D9EF2-7ED3-4ECE-90D3-0A394ACAE16A@seespotcode.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On Nov 11, 2007, at 18:46 , Patric Bechtel wrote:

> Given a table bla(a bigint,b text)
>
> select * from bla where a like '8%'
>
> works in <=8.2, but not on 8.3
>
> Same happens with date columns, too.

The server is now more strict and has fewer implicit type casts in
8.3, so this is working as intended. If you want to treat a bigint or
a date as a string, explicitly cast it.

Michael Glaesemann
grzm seespotcode net

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Gauthier, Dave 2007-11-12 03:23:02 pg_tables and temp tables
Previous Message Patric Bechtel 2007-11-11 23:46:58 Regression in 8.3?