CDB-1387 #comment Be aware of the environment when retrieving the name,oid tuple from the database tables