pgsql: Fix psql \d commands to behave properly when a pattern using

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Fix psql \d commands to behave properly when a pattern using
Дата
Msg-id 20061010161523.148369FB2CB@postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Fix psql \d commands to behave properly when a pattern using regex | is given.
Formerly they'd emit '^foo|bar$' which is wrong because the anchors are
parsed as part of the alternatives; must emit '^(foo|bar)$' to get expected
behavior.  Same as bug found previously in similar_escape().  Already fixed
in HEAD, this is just back-porting the part of that patch that was a bug fix.

Tags:
----
REL8_1_STABLE

Modified Files:
--------------
    pgsql/src/bin/psql:
        describe.c (r1.129.2.3 -> r1.129.2.4)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/describe.c.diff?r1=1.129.2.3&r2=1.129.2.4)

В списке pgsql-committers по дате отправления:

Предыдущее
От: ahatzis@pgfoundry.org (User Ahatzis)
Дата:
Сообщение: press - pr: Initial DE translation (German) of the press kit in
Следующее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Fix psql \d commands to behave properly when a pattern using