Removed some redundancy.
Working on postgresql table journal.