Re: [SQL] Autonumber column - Mailing list pgsql-sql

From Bruce Momjian
Subject Re: [SQL] Autonumber column
Date
Msg-id 200001060132.UAA17085@candle.pha.pa.us
Whole thread Raw
In response to Autonumber column  ("Bron Till" <bron@hit.co.nz>)
List 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,
Pennsylvania19026
 


pgsql-sql by date:

Previous
From: "Bron Till"
Date:
Subject: Autonumber column
Next
From: Tom Lane
Date:
Subject: Re: [SQL] Calculation dependencies in views