changing the size of a column without losing data - Mailing list pgsql-novice

From Mark Seftel
Subject changing the size of a column without losing data
Date
Msg-id IOEPIFKAFJKHALEOJJHEKEEOCNAA.mark@trustemail.com
Whole thread Raw
Responses Re: changing the size of a column without losing data  ("paul butler" <paul@entropia.co.uk>)
Re: changing the size of a column without losing data  ("paul butler" <paul@entropia.co.uk>)
Re: changing the size of a column without losing data  (AarniRuuhimäki / Megative Tmi / KYMI.com<aarni.ruuhimaki@kymi.com>)
List pgsql-novice
hi,

How would i change a field which is currently char100 to char50?

have tried:
ALTER TABLE outlets MODIFY description varchar(50);

but get error:
parser: parse error at or near "modify"

what is the correct command.

Thx

Mark


pgsql-novice by date:

Previous
From: Rod Kreisler
Date:
Subject: Re: Enforcing Case
Next
From: JDK
Date:
Subject: Re: Enforcing Case