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

Re: Migration - not null default '0' -> not null default 0 - confused

From: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
To: "Wang, Mary Y" <mary(dot)y(dot)wang(at)boeing(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Migration - not null default '0' -> not null default 0 - confused
Date: 2010-03-30 23:56:11
Message-ID: 201003301656.11447.adrian.klaver@gmail.com (view raw or flat)
Thread:
Lists: pgsql-general
On Tuesday 30 March 2010 4:49:42 pm Wang, Mary Y wrote:
> Ok.  Thanks. In that case, I'm going to have a lot of type casting issues. 
> What's the best way to fix all tables? Write a script to alter those
> tables? Any suggestions?
>
> Mary Wang
>
>


This might help:
http://petereisentraut.blogspot.com/2008/03/readding-implicit-casts-in-postgresql.html


-- 
Adrian Klaver
adrian(dot)klaver(at)gmail(dot)com

In response to

pgsql-general by date

Next:From: Jeff DavisDate: 2010-03-30 23:59:30
Subject: Re: Migration - not null default '0' -> not null default 0 - confused
Previous:From: Wang, Mary YDate: 2010-03-30 23:49:42
Subject: Re: Migration - not null default '0' -> not null default 0 - confused

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