pgsql: Move processNamePattern into dumputils.c in preparation for using - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Move processNamePattern into dumputils.c in preparation for using
Date
Msg-id 20061009233033.B55CD9FB2C2@postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Move processNamePattern into dumputils.c in preparation for using it in
pg_dump as well as psql.  Since psql already uses dumputils.c, while there's
not any code sharing in the other direction, this seems the easiest way.
Also, fix misinterpretation of patterns using regex | by adding parentheses
(same bug found previously in similar_escape()).  This should be backpatched.

Modified Files:
--------------
    pgsql/src/bin/pg_dump:
        dumputils.c (r1.32 -> r1.33)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/dumputils.c.diff?r1=1.32&r2=1.33)
        dumputils.h (r1.18 -> r1.19)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/dumputils.h.diff?r1=1.18&r2=1.19)
    pgsql/src/bin/psql:
        describe.c (r1.146 -> r1.147)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/describe.c.diff?r1=1.146&r2=1.147)

pgsql-committers by date:

Previous
From: momjian@postgresql.org (Bruce Momjian)
Date:
Subject: pgsql: Update release notes for releases 7.3.16, 7.4.14, 8.0.9, and
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Improve description of the pattern matching rules used by psql's