Migrating From MySQL To PostgreSQL In PHP
Every row that exists in a PostgreSQL database has an OID column associated with it. When you normally select data from a table (e.g. select * from myTable) you won’t see this field, but try the following and see what you get:
select oid, * from myTable;
Think of this an internal unique ID the database server uses to keep track of your data.
oidcolumn is not automatically created.