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

From Bruce Momjian
Subject Re: Cast null string '' to integer 0
Date
Msg-id 200608191653.k7JGrBf07062@momjian.us
Whole thread Raw
In response to Cast null string '' to integer 0  ("Dwight Emmons" <demmons@instantbenefits.com>)
List pgsql-general
Dwight Emmons wrote:
> 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?

You would have to hack the backend code to change this.

--
  Bruce Momjian   bruce@momjian.us
  EnterpriseDB    http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

pgsql-general by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: Connection string
Next
From: Andrew Sullivan
Date:
Subject: Re: problem with postgres SQL db