Re: Regression in 8.3? - Mailing list pgsql-general

From Michael Glaesemann
Subject Re: Regression in 8.3?
Date
Msg-id B47D9EF2-7ED3-4ECE-90D3-0A394ACAE16A@seespotcode.net
Whole thread Raw
In response to Regression in 8.3?  (Patric Bechtel <patric.bechtel@gmail.com>)
List 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



Attachment

pgsql-general by date:

Previous
From: Patric Bechtel
Date:
Subject: Regression in 8.3?
Next
From: "Gauthier, Dave"
Date:
Subject: pg_tables and temp tables