Re: jdbc and automagic casting

From: Richard Broersma <richard(dot)broersma(at)gmail(dot)com>
To: Guillaume <lomig42(at)gmail(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: jdbc and automagic casting
Date: 2011-09-20 14:50:34
Message-ID: CABvLTWFwEeZoBVPoCSJFkAOmRAf1JmyMs48yOt_Y3LCg9mDv3w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Tue, Sep 20, 2011 at 2:18 AM, Guillaume <lomig42(at)gmail(dot)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.

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2011-09-20 18:19:00 Re: binary patch problems
Previous Message Oliver Jowett 2011-09-20 14:47:39 Re: binary patch problems