pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Volker Paul <vpaul@dohle.com>
To: pgsql-sql@postgresql.org
Subject: Change type of column
Date: Tue, 11 Jul 2000 09:31:49 +0200
Message-ID: <396ACD65.5E91F1E5@dohle.com> (raw)

Hello,

how can I change the type of a column, e.g. from varchar() to text?
Or is it possible to drop (i.e. delete) a column without
creating a new table from the old one but without that column,
dropping the old table and renaming the old to the new?

Thanks,

Volker Paul



view thread (2+ messages)  latest in thread

Message-ID: <396ACD65.5E91F1E5@dohle.com>
Permalink:  ../396ACD65.5E91F1E5@dohle.com/
Also on:    postgresql.org/message-id/396ACD65.5E91F1E5@dohle.com

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: vpaul@dohle.com
  Subject: Re: Change type of column
  In-Reply-To: <396ACD65.5E91F1E5@dohle.com>
  References: <396ACD65.5E91F1E5@dohle.com>

* 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