pg.ddx.io pgsql-sql@postgresql.org mailing list archive
help / color / mirror / Atom feedAutonumber column
3+ messages / 3 participants
[nested] [flat]
* Autonumber column
@ 2000-01-06 00:40 Bron Till <bron@hit.co.nz>
2000-01-06 01:32 ` Re: [SQL] Autonumber column Bruce Momjian <pgman@candle.pha.pa.us>
2000-01-06 08:24 ` Re: [SQL] Autonumber column Vladimir Terziev <vlady@school.digsys.bg>
0 siblings, 2 replies; 3+ messages in thread
From: Bron Till @ 2000-01-06 00:40 UTC (permalink / raw)
To: pgsql-sql
How can I create an autonumber (automatically incremented by 1) column in
table in Postgres? Do I have to use a trigger?
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: [SQL] Autonumber column
2000-01-06 00:40 Autonumber column Bron Till <bron@hit.co.nz>
@ 2000-01-06 01:32 ` Bruce Momjian <pgman@candle.pha.pa.us>
1 sibling, 0 replies; 3+ messages in thread
From: Bruce Momjian @ 2000-01-06 01:32 UTC (permalink / raw)
To: Bron Till <bron@hit.co.nz>; +Cc: pgsql-sql
Sequences. See my book for a chapter on it on web site.
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> How can I create an autonumber (automatically incremented by 1) column in
> table in Postgres? Do I have to use a trigger?
>
>
>
> ************
>
>
--
Bruce Momjian | http://www.op.net/~candle
maillist@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: [SQL] Autonumber column
2000-01-06 00:40 Autonumber column Bron Till <bron@hit.co.nz>
@ 2000-01-06 08:24 ` Vladimir Terziev <vlady@school.digsys.bg>
1 sibling, 0 replies; 3+ messages in thread
From: Vladimir Terziev @ 2000-01-06 08:24 UTC (permalink / raw)
To: Bron Till <bron@hit.co.nz>; +Cc: pgsql-sql
Yes, you can
SQL type is serial
Vladimir
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2000-01-06 08:24 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-01-06 00:40 Autonumber column Bron Till <bron@hit.co.nz>
2000-01-06 01:32 ` Bruce Momjian <pgman@candle.pha.pa.us>
2000-01-06 08:24 ` Vladimir Terziev <vlady@school.digsys.bg>
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