in reply to Postgres to MySQL row ID

lol, what are you using the oid for? Postgres OID's are not forced unique -- they will wrap (and dup) eventually. If you have a lot of inserts and deletes I am surprised you have not been caught by that already. The post above has the correct solution -- just wanted you to be aware of your design flaw.


-Waswas

Replies are listed 'Best First'.
Re^2: Postgres to MySQL row ID
by nlafferty (Scribe) on Aug 13, 2004 at 19:10 UTC
    Thanks, Luckily the design had not yet been implemented. What does the above mean, Make it and index? And will the autoincrement field be given a value for every row created without specifying it to do so?
      You will need to read up on mysql before you dig to far into this project. auto inc type columns will auto increment the value for new inserts this combined with defining the column as unique and indexing will give you what you want.


      -Waswas