pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Volker Paul <vpaul@dohle.com>
To: Bernie Huang <bernie.huang@ec.gc.ca>
Cc: PGSQL-SQL <pgsql-sql@postgresql.org>
Subject: Re: Change attribute of a column
Date: Wed, 26 Jul 2000 14:01:18 +0200
Message-ID: <397ED30D.6FF6DA89@dohle.com> (raw)
References: <397E23FB.CE2E1F85@ec.gc.ca>

Hello,

I asked a similar question before and it seems there
is no way but using pg_dump.
Question to the developers:
Is it planned to make type changing (and casting) possible
with ALTER TABLE or the like?

Volker


Bernie Huang wrote:
> 
> Hi,
> 
> I have a field in text[] and I want to change it to a datetime[]. Is it
> possible?  how?  Thanks very much.
> 
> - Bernie
> 
>   ------------------------------------------------------------------------
> 
>   Bernie Huang <bernie.huang@ec.gc.ca>
>   Programmer
>   Environment Canada
>   Standards and Technology Services
> 
>   Bernie Huang
>   Programmer                         <bernie.huang@ec.gc.ca>
>   Environment Canada                 HTML Mail
>   Standards and Technology Services
>   700-1200 West 73 Ave.              Fax: (604)664-9195
>   Vancouver                          Work: (604)664-9172
>   BC                                 Netscape Conference Address
>   V6P 6H9                            Netscape Conference DLS Server
>   Canada
>   Additional Information:
>   Last Name     Huang
>   First Name    Bernie
>   Version       2.1



view thread (2+ messages)

Message-ID: <397ED30D.6FF6DA89@dohle.com>
Permalink:  ../397ED30D.6FF6DA89@dohle.com/
Also on:    postgresql.org/message-id/397ED30D.6FF6DA89@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, bernie.huang@ec.gc.ca
  Subject: Re: Change attribute of a column
  In-Reply-To: <397ED30D.6FF6DA89@dohle.com>
  References: <397E23FB.CE2E1F85@ec.gc.ca> <397ED30D.6FF6DA89@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