Serial / auto increment data type - Mailing list pgsql-general

From Typing80wpm@aol.com
Subject Serial / auto increment data type
Date
Msg-id 96.263711b3.2fa15388@aol.com
Whole thread Raw
Responses Re: Serial / auto increment data type  (Scott Marlowe <smarlowe@g2switchworks.com>)
Re: Serial / auto increment data type  (Tony Caduto <tony_caduto@amsoftwaredesign.com>)
List pgsql-general
I am just beginning to teach myself Postgresql and Access.  I notice that PG has the "serial" type of field which increments automatically.   I notice that when I do external links in Access through ODBC, that Access wants a field or fields which will be unique.
 
Here is my question.  Would I be wise to define each and ever table with a serial id, so that I may always be guaranteed something uniqe, to satisfy Access.   It seems to me like no harm can be done, since if you dont need the serial id, you dont need it, but it is always there if you do need it, and it is harder to add such a field down the line, after the fact.
 
Thanks!

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: restarting after power outage
Next
From: "Mak, Jason"
Date:
Subject: Re: populating a table via the COPY command using C code.