CVSROOT:        /cvsroot
Module name:    pgsql-server
Changes by:     [EMAIL PROTECTED]       03/08/11 17:46:47

Modified files:
        src/backend/catalog: pg_proc.c 
        src/backend/commands: comment.c explain.c 
        src/backend/executor: execJunk.c 
        src/backend/optimizer/path: allpaths.c 
        src/backend/optimizer/plan: createplan.c 
        src/backend/parser: parse_relation.c parse_target.c 
        src/backend/rewrite: rewriteManip.c 
        src/backend/utils/adt: not_in.c tid.c 
        src/include/parser: parsetree.h 

Log message:
        Code cleanup inspired by recent resname bug report (doesn't fix the bug
        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().


---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

               http://archives.postgresql.org

Reply via email to