Fix pgsql schema errors near proc_pp