pgsql: Move processNamePattern into dumputils.c in preparation for using

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Move processNamePattern into dumputils.c in preparation for using
Date: 2006-10-09 23:30:33
Message-ID: 20061009233033.B55CD9FB2C2@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2006-10-09 23:31:29 pgsql: Improve description of the pattern matching rules used by psql's
Previous Message Bruce Momjian 2006-10-09 23:24:07 pgsql: Update release notes for releases 7.3.16, 7.4.14, 8.0.9, and