Re: serial data type

From: Tom Allison <tallison(at)tacocat(dot)net>
To: Doug McNaught <doug(at)mcnaught(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: serial data type
Date: 2004-09-25 23:20:23
Message-ID: 4155FD37.7010609@tacocat.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Doug McNaught wrote:
>>Is it realistic to use the serial data type as a KEY?
>
>
> Lots and lots of people do. If you're just looking for a unique key
> column for a single table, it works fine.
>
> -Doug

This is essentially what I'm looking for.

Any idea how to set up a timestamp=now on every insert/update ?

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Doug McNaught 2004-09-25 23:33:16 Re: serial data type
Previous Message Doug McNaught 2004-09-25 23:13:40 Re: serial data type