Hi, How to if it is possible to let postgresql to auto assign unique key to each new record that is added to the database? Thanks ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/users-lounge/docs/faq.html