pgsql: Adjust processSQLNamePattern() so that $ within the pattern is

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Adjust processSQLNamePattern() so that $ within the pattern is
Date: 2007-07-10 00:21:31
Message-ID: 20070710002131.B3DB89FB60F@postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Adjust processSQLNamePattern() so that $ within the pattern is always matched
literally, whether quoted or not. Since we allow $ as a character within
identifiers, this behavior is useful, whereas the previous behavior of
treating it as the regexp ending anchor was nearly useless given that the
pattern is automatically anchored anyway. This affects the arguments of
psql's \d commands as well as pg_dump's -n and -t switches. Per discussion.

Modified Files:
--------------
pgsql/doc/src/sgml/ref:
psql-ref.sgml (r1.192 -> r1.193)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/ref/psql-ref.sgml.diff?r1=1.192&r2=1.193)
pgsql/src/bin/pg_dump:
dumputils.c (r1.36 -> r1.37)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/pg_dump/dumputils.c.diff?r1=1.36&r2=1.37)

Browse pgsql-committers by date

  From Date Subject
Next Message Magnus Hagander 2007-07-10 13:14:22 pgsql: Add support for GSSAPI authentication.
Previous Message Tom Lane 2007-07-09 16:14:06 pgsql: Fix stddev_pop(numeric) and var_pop(numeric), which were