Tom Allison <[EMAIL PROTECTED]> writes:

> 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 ?

Use a trigger.

-Doug
-- 
Let us cross over the river, and rest under the shade of the trees.
   --T. J. Jackson, 1863

---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
      joining column's datatypes do not match

Reply via email to