alter table alter column to resize a varchar

From: Gary Stainburn <gary(dot)stainburn(at)ringways(dot)co(dot)uk>
To: pgsql-admin(at)postgresql(dot)org
Subject: alter table alter column to resize a varchar
Date: 2012-09-27 09:23:57
Message-ID: 201209271023.57710.gary.stainburn@ringways.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi folks.

I'm planning on extending a field in one of my main tables using:

alter table stock alter column type varchar(255);

to extend it from the current varchar(80). My concern is that this table and
this field is used in a number of views, and views of views.

Are then any gotchas that I need to worry about or things I need to check, or
will it just work?

Gary
--
Gary Stainburn
Group I.T. Manager
Ringways Garages
http://www.ringways.co.uk

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Craig James 2012-09-27 14:49:53 Re: alter table alter column to resize a varchar
Previous Message Tom Lane 2012-09-26 23:08:17 Re: Debian Squeeze - no xml support for Pg 9.2