pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christoph Haller <ch@rodos.fzk.de>
To: pgsql-sql@postgresql.org
Cc: atul@imcindia.net
Cc: xzilla@users.sourceforge.net
Cc: Andreas.Pflug@web.de
Subject: Re: How to increase Column width of table
Date: Wed, 26 Mar 2003 09:08:34 +0100
Message-ID: <3E816001.90019E7A@rodos.fzk.de> (raw)

>
> http://fts.postgresql.org/db/mw/msg.html?mid=1071582
>
resp.
>
> You can rename your old column, create a new column varchar(100),
update
> ... set newCol=oldCol, drop oldCol and rename newCol to oldCol
> See ALTER TABLE doc for this.
>
Ok, this is the accurate solution to minimize side effects.
Thanks to Robert and Andreas for pointing this out.

Regards, Christoph




view thread (5+ messages)

Message-ID: <3E816001.90019E7A@rodos.fzk.de>
Permalink:  ../3E816001.90019E7A@rodos.fzk.de/
Also on:    postgresql.org/message-id/3E816001.90019E7A@rodos.fzk.de

 · 

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-sql@postgresql.org
  Cc: ch@rodos.fzk.de, atul@imcindia.net, xzilla@users.sourceforge.net, Andreas.Pflug@web.de
  Subject: Re: How to increase Column width of table
  In-Reply-To: <3E816001.90019E7A@rodos.fzk.de>

* 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