pg/writer: don't try to update all-PK tables
fix go vet issues
pg/writer: modernize MergeTable a little

Should create a formatting function that allows me to indent queries
properly but still display them nicely in the console. (remove loading
tabs...).