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.
describe.c (r220.127.116.11 -> r18.104.22.168)
pgsql-committers by date
|Next:||From: User Ahatzis||Date: 2006-10-10 17:09:39|
|Subject: press - pr: Minor change in example enumeration of available PostgreSQL |
|Previous:||From: Tom Lane||Date: 2006-10-10 16:15:37|
|Subject: pgsql: Fix psql \d commands to behave properly when a pattern using |