pg.ddx.io pgsql-sql@postgresql.org mailing list archive
help / color / mirror / Atom feedChange a field to sequence (serial)
2+ messages / 2 participants
[nested] [flat]
* Change a field to sequence (serial)
@ 2007-02-24 23:37 Ezequias Rodrigues da Rocha <ezequias.rocha@gmail.com>
2007-02-25 06:07 ` Re: [SQL] Change a field to sequence (serial) Rodrigo De León <rdeleonp@gmail.com>
0 siblings, 1 reply; 2+ messages in thread
From: Ezequias Rodrigues da Rocha @ 2007-02-24 23:37 UTC (permalink / raw)
To: Pgadmin-Support <pgadmin-support@postgresql.org>; pgsql-sql
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/
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: [SQL] Change a field to sequence (serial)
2007-02-24 23:37 Change a field to sequence (serial) Ezequias Rodrigues da Rocha <ezequias.rocha@gmail.com>
@ 2007-02-25 06:07 ` Rodrigo De León <rdeleonp@gmail.com>
0 siblings, 0 replies; 2+ messages in thread
From: Rodrigo De León @ 2007-02-25 06:07 UTC (permalink / raw)
To: Pgadmin-Support <pgadmin-support@postgresql.org>; 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
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2007-02-25 06:07 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-02-24 23:37 Change a field to sequence (serial) Ezequias Rodrigues da Rocha <ezequias.rocha@gmail.com>
2007-02-25 06:07 ` Rodrigo De León <rdeleonp@gmail.com>
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