Обсуждение: pgsql: Adjust processSQLNamePattern() so that $ within the pattern is

Поиск
Список
Период
Сортировка

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

От
tgl@postgresql.org (Tom Lane)
Дата:
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)