• Tom Lane's avatar
    Code cleanup inspired by recent resname bug report (doesn't fix the bug · 88381ade
    Tom Lane authored
    yet, though).  Avoid using nth() to fetch tlist entries; provide a
    common routine get_tle_by_resno() to search a tlist for a particular
    resno.  This replaces a couple uses of nth() and a dozen hand-coded
    search loops.  Also, replace a few uses of nth(length-1, list) with
    llast().
    88381ade
rewriteManip.c 24.9 KB