reverted persistent db to psycogreen implementation