Modify column type - Mailing list pgsql-sql

From Scott David Walter
Subject Modify column type
Date
Msg-id 3329.65.206.3.249.1029775533.squirrel@webmail.geneseo.edu
Whole thread Raw
Responses Re: Modify column type  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
List pgsql-sql
Is there a way to modify the type of an existing column?  All I actually
want to do is extend the length of the type from a VARCHAR(6) to
VARCHAR(100).

        Column         |         Type          |       Modifiers
------------------------+-----------------------+------------------------email                  | character varying(6)
|not null
 


gold_program=> ALTER TABLE student MODIFY email varchar(100);
ERROR:  parser: parse error at or near "modify"





pgsql-sql by date:

Previous
From: Mathieu Arnold
Date:
Subject: sql subqueries problem
Next
From: Stephan Szabo
Date:
Subject: Re: sql subqueries problem