Re: PostgreSQL specific datatypes very confusing for beginners who use wrappers around JDBC - Mailing list pgsql-general

From Andrew Sullivan
Subject Re: PostgreSQL specific datatypes very confusing for beginners who use wrappers around JDBC
Date
Msg-id 20140128232440.GR8796@crankycanuck.ca
Whole thread Raw
In response to Re: PostgreSQL specific datatypes very confusing for beginners who use wrappers around JDBC  (Mike Christensen <mike@kitchenpc.com>)
Responses Re: PostgreSQL specific datatypes very confusing for beginners who use wrappers around JDBC  (Mike Christensen <mike@kitchenpc.com>)
List pgsql-general
On Tue, Jan 28, 2014 at 02:55:03PM -0800, Mike Christensen wrote:

> I'd be curious as to what types of bugs were caused by these implicit
> casts..

Typically, they were cases when there was an ambiguity that the
programmer didn't understand, causing applications to blow up in
surprising and wonderful ways.

There are things you can do if you're really prepared for the gun
aimed at your feet.  Since you can create casts in Postgres, you can
actually add back many of the implicit casts yourself.

> Such as implicitly cast iff the intention is not ambiguous

I think if the developers could write code that read minds, they'd be
working on more profitable enterprises ;-)

Best,

A

--
Andrew Sullivan
ajs@crankycanuck.ca


pgsql-general by date:

Previous
From: Mike Christensen
Date:
Subject: Re: PostgreSQL specific datatypes very confusing for beginners who use wrappers around JDBC
Next
From: Mike Christensen
Date:
Subject: Re: PostgreSQL specific datatypes very confusing for beginners who use wrappers around JDBC