Re: serial data type - Mailing list pgsql-general

From Tom Allison
Subject Re: serial data type
Date
Msg-id 4155FD37.7010609@tacocat.net
Whole thread Raw
In response to Re: serial data type  (Doug McNaught <doug@mcnaught.org>)
Responses Re: serial data type
Re: serial data type
List 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 ?

pgsql-general by date:

Previous
From: Doug McNaught
Date:
Subject: Re: serial data type
Next
From: Doug McNaught
Date:
Subject: Re: serial data type