Re: Change a field to sequence (serial) - Mailing list pgsql-sql

From Rodrigo De León
Subject Re: Change a field to sequence (serial)
Date
Msg-id a55915760702242207u7165360dr2b19129a489ef6e8@mail.gmail.com
Whole thread Raw
In response to Change a field to sequence (serial)  ("Ezequias Rodrigues da Rocha" <ezequias.rocha@gmail.com>)
List pgsql-sql
On 2/24/07, Ezequias Rodrigues da Rocha <ezequias.rocha@gmail.com> wrote:
> Hi lists,
>
> Is there possible to change a bigint field (primary key) to a serial ?
> If yes how it is possible ?
>
> I was trying to do that but the pgadmin don't enable the change to sequence.
>
> What is the problem my friends ?
>
> Regards
> Ezequias
> http://ezequiasrocha.blogspot.com/

See:
http://www.postgresql.org/docs/8.2/static/datatype-numeric.html#DATATYPE-SERIAL
http://www.postgresql.org/docs/8.2/static/functions-sequence.html


pgsql-sql by date:

Previous
From: Phillip Smith
Date:
Subject: Re: Insert based in a select
Next
From: Richard Jones
Date:
Subject: Very large IN-clause is slow, but how to rewrite it?