Skip site navigation (1) Skip section navigation (2)

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

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix psql \d commands to behave properly when a pattern using
Date: 2006-10-10 16:15:43
Message-ID: 20061010161543.026589FB2ED@postgresql.org (view raw or flat)
Thread:
Lists: 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:
----
REL7_3_STABLE

Modified Files:
--------------
    pgsql/src/bin/psql:
        describe.c (r1.71.2.2 -> r1.71.2.3)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/describe.c.diff?r1=1.71.2.2&r2=1.71.2.3)

pgsql-committers by date

Next:From: User AhatzisDate: 2006-10-10 17:09:39
Subject: press - pr: Minor change in example enumeration of available PostgreSQL
Previous:From: Tom LaneDate: 2006-10-10 16:15:37
Subject: pgsql: Fix psql \d commands to behave properly when a pattern using

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group