Fixed problem were content_item__get_item_id was not returning and item_id for an item that exists. Switched to plain old select and it works fine now.
Fixed file update error in postgreql. It adds an mtime column, update your datamodel on PG. Code checks for storage_type to run the correct queries/code for Oracle/PG.