aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/commit_ts.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:22 -0500
commit0315dfa8f4afa8390383119330ca0bf241be4ad4 (patch)
treeae7cdb0b1aa767fa3d27628e2041327a0c28b8e7 /src/backend/access/transam/commit_ts.c
parent9b3f0c10e7ae60eb0f9ca41f01fb5cc2cbf9cf00 (diff)
downloadpostgresql-0315dfa8f4afa8390383119330ca0bf241be4ad4.tar.gz
postgresql-0315dfa8f4afa8390383119330ca0bf241be4ad4.zip
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/access/transam/commit_ts.c')
0 files changed, 0 insertions, 0 deletions