diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2006-10-10 16:15:28 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2006-10-10 16:15:28 +0000 |
commit | 13abcaba8066b992ac3406716e415fedccbe7ef5 (patch) | |
tree | eaf8a19aa6b77e9e3e1bdeb486495b880bdc8303 /src/backend/executor/nodeSort.c | |
parent | bc0fa10440fdcbea855ac54268bf73470e5709f9 (diff) | |
download | postgresql-13abcaba8066b992ac3406716e415fedccbe7ef5.tar.gz postgresql-13abcaba8066b992ac3406716e415fedccbe7ef5.zip |
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/executor/nodeSort.c')
0 files changed, 0 insertions, 0 deletions