Alter Column - Mailing list pgsql-novice

From Steve Tucknott
Subject Alter Column
Date
Msg-id 1098866625.3186.16.camel@retsol1
Whole thread Raw
Responses Re: Alter Column
List pgsql-novice
PostgreSQL 7.4.5

Is there a simple way of altering the definition of a column?

Say I have a column defined as CHAR(5) and I want to make that CHAR(10) NOT NULL - apart from creating a second table and copying the table, dropping the original and renaming the copy.

What I am hoping for is 'yes, V8 has ALTER TABLE MODIFY (colName     definition) '  ;-)


Regards,

Steve Tucknott

ReTSol Ltd

DDI: 01903 828769

pgsql-novice by date:

Previous
From: ishaame@bluewin.ch
Date:
Subject: Cannot Create tables - on Windows XP
Next
From: Michael Fuhr
Date:
Subject: Re: Alter Column