Postgres stuff that came up during FRS processing