pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Gary Stainburn <gary.stainburn@ringways.co.uk>
To: pgsql-admin@postgresql.org
Subject: alter table alter column to resize a varchar
Date: Thu, 27 Sep 2012 10:23:57 +0100
Message-ID: <201209271023.57710.gary.stainburn@ringways.co.uk> (raw)

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 




view thread (3+ messages)  latest in thread

Message-ID: <201209271023.57710.gary.stainburn@ringways.co.uk>
Permalink:  ../201209271023.57710.gary.stainburn@ringways.co.uk/
Also on:    postgresql.org/message-id/201209271023.57710.gary.stainburn@ringways.co.uk

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: gary.stainburn@ringways.co.uk
  Subject: Re: alter table alter column to resize a varchar
  In-Reply-To: <201209271023.57710.gary.stainburn@ringways.co.uk>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox