Re: alter varchar() column length?

From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: alter varchar() column length?
Date: 2008-01-11 15:25:11
Message-ID: fm81on$5tl$1@ger.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Gauthier, Dave, 11.01.2008 15:55:
> Is there a way to alter a varchar column’s length? Maybe something like
> “alter table foo alter column xyz varchar(256)”.

A quick look into the manual would have revealed the correct syntax:

http://www.postgresql.org/docs/8.2/static/sql-altertable.html

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Marko Kreen 2008-01-11 15:25:39 Re: How to safely compare transaction id?
Previous Message Vyacheslav Kalinin 2008-01-11 15:18:20 Prepared statement's plan