Re: jdbc and automagic casting - Mailing list pgsql-jdbc

From Richard Broersma
Subject Re: jdbc and automagic casting
Date
Msg-id CABvLTWFwEeZoBVPoCSJFkAOmRAf1JmyMs48yOt_Y3LCg9mDv3w@mail.gmail.com
Whole thread Raw
In response to Re: jdbc and automagic casting  (Guillaume <lomig42@gmail.com>)
List pgsql-jdbc
On Tue, Sep 20, 2011 at 2:18 AM, Guillaume <lomig42@gmail.com> wrote:
> I find it a bit surprising that postgres does not know how to convert
> from varchar to inet implicitly (although the inet() operator does
> exist), but there is at least a solution.

I would say from Pg 8.3 and on, this is not a bug but an intentional behavior.
http://www.postgresql.org/docs/8.3/static/release-8-3.html#AEN87384

--
Regards,
Richard Broersma Jr.

pgsql-jdbc by date:

Previous
From: Oliver Jowett
Date:
Subject: Re: binary patch problems
Next
From: Dave Cramer
Date:
Subject: Re: binary patch problems