Skip site navigation (1) Skip section navigation (2)

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 (view raw, whole thread or download thread mbox)
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

pgsql-general by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group