Re: Cast null string '' to integer 0

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: demmons(at)instantbenefits(dot)com
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Cast null string '' to integer 0
Date: 2006-08-19 16:53:11
Message-ID: 200608191653.k7JGrBf07062@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)momjian(dot)us
EnterpriseDB http://www.enterprisedb.com

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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Andrew Sullivan 2006-08-19 17:46:57 Re: problem with postgres SQL db
Previous Message John Gunther 2006-08-19 15:40:39 Confused about locales