summaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_coerce.c
diff options
context:
space:
mode:
authorTom Lane2006-10-10 16:15:37 +0000
committerTom Lane2006-10-10 16:15:37 +0000
commit7b165e3ba54da7c845bb0f7236fcb08656361a96 (patch)
treebdac41d31b5bba3f94cf0ae56547ccb4357776dd /src/backend/parser/parse_coerce.c
parentf3fa771ccf905ad1c1c2ab6bfab7ece0c02bef39 (diff)
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.
Diffstat (limited to 'src/backend/parser/parse_coerce.c')
0 files changed, 0 insertions, 0 deletions