pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Roman Neuhauser <neuhauser@sigpipe.cz>
To: Judith <jaltamirano@correolux.com.mx>
Cc: pgsql-sql@postgresql.org
Subject: Re: Change of data type
Date: Tue, 8 Aug 2006 11:51:56 +0000
Message-ID: <20060808115156.GA8393@dagan.sigpipe.cz> (raw)
In-Reply-To: <44D77A8C.9040303@correolux.com.mx>
References: <44D77A8C.9040303@correolux.com.mx>

# jaltamirano@correolux.com.mx / 2006-08-07 12:38:20 -0500:
>    Hello everybody, excuse me how can I change de data type of a field, 
> I currently have:
>   
>    material character(30)  
> 
>    but I now want the field in text type like this:
>  
>    material  text
> 
>    somebody knows if ALTER TABLE has some option to do this?, or How 
> can I do that?

    http://www.postgresql.org/docs/8.1/static/sql-altertable.html

-- 
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man.  You don't KNOW.
Cause you weren't THERE.             http://bash.org/?255991



view thread (5+ messages)  latest in thread

Message-ID: <20060808115156.GA8393@dagan.sigpipe.cz>
Permalink:  ../20060808115156.GA8393@dagan.sigpipe.cz/
Also on:    postgresql.org/message-id/20060808115156.GA8393@dagan.sigpipe.cz

 · 

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: neuhauser@sigpipe.cz, jaltamirano@correolux.com.mx
  Subject: Re: Change of data type
  In-Reply-To: <20060808115156.GA8393@dagan.sigpipe.cz>

* 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