I am going to use them as primary key of the table, so I'll surely need them unique :)

Eduoardo, I REALLY suggest you don't use them at all. You should make a primary key like this:


CREATE TABLE blah (
  id SERIAL PRIMARY KEY,
  ...
);

Also note that by default, OIDs are NOT dumped by pg_dump. You will need to add extra switches to your pg_dump backup to ensure that they are.

Chris


---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])

Reply via email to