pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bayet Richard <bayet@enseirb.fr>
To: pgsql-admin@postgresql.org
Subject: Changing the type of a column ?
Date: Thu, 01 Mar 2001 04:05:38 +0100
Message-ID: <3A9DBC82.7AA25674@enseirb.fr> (raw)

Is it possible to directly change the type of a column (eg: from int4 to
date) or does one have to first add a column of the desired type, copy
the first column's content, then drop this first column ?



view thread (3+ messages)  latest in thread

Message-ID: <3A9DBC82.7AA25674@enseirb.fr>
Permalink:  ../3A9DBC82.7AA25674@enseirb.fr/
Also on:    postgresql.org/message-id/3A9DBC82.7AA25674@enseirb.fr

 · 

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-admin@postgresql.org
  Cc: bayet@enseirb.fr
  Subject: Re: Changing the type of a column ?
  In-Reply-To: <3A9DBC82.7AA25674@enseirb.fr>
  References: <3A9DBC82.7AA25674@enseirb.fr>

* 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