convert postgres table to datums and pprint 2 of them in main for now