Pgsql patching for DB changes