Re: Sobre ALTER TABLE

From: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
To: Ariel Romero <aromero(at)cenatav(dot)co(dot)cu>
Cc: Lista <pgsql-es-ayuda(at)postgresql(dot)org>
Subject: Re: Sobre ALTER TABLE
Date: 2005-01-19 18:53:26
Message-ID: 20050119185326.GC32192@dcc.uchile.cl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

On Wed, Jan 19, 2005 at 01:33:11PM -0500, Ariel Romero wrote:

Hola,

Que version estas usando? Select version();

> Tengo un problema con alter table para quitarle el oid
>
> 1-ALTER TABLE tema SET WITHOUT OIDS;
>
> y me da el error: ERROR: parser: parse error at or near "SET" at character 18.

Solo 7.4 AFAIK.

> Al igual que para cambiar el tipo de dato de una columna a serial
>
> 2-ALTER TABLE tema ALTER COLUMN id_tema SET type int8;
>
> me da el error : ERROR: parser: parse error at or near "type" at character 43

Solo 8.0.

> Parece ser un error de sintaxis, pero consulté en la ayuda y lo he escrito bien.

Cual ayuda?

--
Alvaro Herrera (<alvherre[(at)]dcc(dot)uchile(dot)cl>)
"The eagle never lost so much time, as
when he submitted to learn of the crow." (William Blake)

In response to

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Francisco Valladolid 2005-01-19 18:55:39 Re: Para quien me pueda ayudar...
Previous Message Cristian Aravena Romero 2005-01-19 18:49:35 Consulta sobre tipo de dato