On Tuesday 17 December 2002 06:33 pm, you wrote:
> Hi all. I feel awfully stupid.
>
> Migrating my skillset from Oracle to Postgres, I am trying (in vain) to
> create a trigger and a sequence to "auto increment" the primary key in a
> table, so I won't have to worry about setting it; each time you INSERT
> into the table, the primary key will be automagically assigned.
Umm.. What is wrong with type serial. It does the same thing IIRC..
Shridhar