summaryrefslogtreecommitdiff
path: root/src/backend/executor/execQual.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2016-03-04 11:53:20 -0500
committerRobert Haas <rhaas@postgresql.org>2016-03-04 11:57:36 -0500
commitc658d5a9b6323ce16029fdcdbc6b93acc3c24114 (patch)
tree131df3403b097ba4f46b1dbf1ee735417d3fa06f /src/backend/executor/execQual.c
parentdcba544dd5f76974ea273cd689ab9ff41a22af1e (diff)
Fix query-based tab completion for multibyte characters.
The existing code confuses the byte length of the string (which is relevant when passing it to pg_strncasecmp) with the character length of the string (which is relevant when it is used with the SQL substring function). Separate those two concepts. Report and patch by Kyotaro Horiguchi, reviewed by Thomas Munro and reviewed and further revised by me.
Diffstat (limited to 'src/backend/executor/execQual.c')
0 files changed, 0 insertions, 0 deletions