aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam
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:53:20 -0500
commit9445db925e78c2c4fb12067ad5618e2aecabe109 (patch)
treec4b0fdbcff300b5c353eec5205ea2d692f5146eb /src/backend/access/transam
parent33b5eab7ab82a355629257f1b11fd9fcf4ff6f28 (diff)
downloadpostgresql-9445db925e78c2c4fb12067ad5618e2aecabe109.tar.gz
postgresql-9445db925e78c2c4fb12067ad5618e2aecabe109.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')
0 files changed, 0 insertions, 0 deletions