Re: Syntax error while altering col-type

From: Andrew Sullivan <ajs(at)crankycanuck(dot)ca>
To: "'pgsql-sql(at)postgresql(dot)org'" <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Syntax error while altering col-type
Date: 2005-01-13 12:05:49
Message-ID: 20050113120549.GA31357@phlogiston.dyndns.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Thu, Jan 13, 2005 at 09:48:02AM +0100, KÖPFERL Robert wrote:

> I'm a little bit perplexed now... is it really the case that pre 8.0 systems
> aren't able to change col-types?

It really is. In fact, the feature was (IIRC) somewhat
controversial, because there are all sorts of decisions that need to
be made about what to do with incompatible types. What if you change
from int8 to int4? What about varchar(4) to char(4)? Just to name
two simple-minded examples. See the -general and -hackers archives
for plenty of previous discussion of this stuff.

A

--
Andrew Sullivan | ajs(at)crankycanuck(dot)ca
When my information changes, I alter my conclusions. What do you do sir?
--attr. John Maynard Keynes

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message KÖPFERL Robert 2005-01-13 12:30:21 Re: Syntax error while altering col-type
Previous Message KÖPFERL Robert 2005-01-13 11:39:46 RE RE: Single row tables