Not true. Currently, you need either OID *or* a primary key. Obviously, that id column should get a pk.
We'll extend the grid some time, to accept any other unique keys also. Still, defining a PK on every table is best practice.
Defining a column as serial does *not* guarantee it's unique!

Remember that unique indexes can have multiple NULL values. Also, oids are not guaranteed unique.


Chris

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

Reply via email to