Cast null string '' to integer 0 - Mailing list pgsql-general

From Dwight Emmons
Subject Cast null string '' to integer 0
Date
Msg-id 20060817210643.YCUQ28427.mta10.adelphia.net@IBN
Whole thread Raw
Responses Re: Cast null string '' to integer 0
Re: Cast null string '' to integer 0
List pgsql-general

I am upgrading from Postgres 7.2 to 8.1.  We have multiple systems already in place that took advantage of the implicit cast of a null ‘’ string to an integer of ‘0’.  It is not financially feasible for us to modify all the instances.  Does anyone know of a fix?

 

Any help would be appreciated

 

Dwight

 

pgsql-general by date:

Previous
From: Gregory Stark
Date:
Subject: Re: Query optimization and indexes
Next
From: "Rodion Raskolnikov"
Date:
Subject: problem with postgres SQL db