fixing previous changeset cause generate too many loops on pg_tables… Hit DB so much.