It's not a safe assumption that OIDs will be present in PostgreSQL tables. As of PG 7.2 you can create tables without OIDs, and many applications are starting to take advantage of that since it cuts down on space usage for tables that already have their own IDs.