aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistold.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:40 -0500
commitb4895bf796d66245080cb37acaf2b396014b7225 (patch)
tree9523a92df40ca5803f366f0b90b3c2ae1b659a0c /src/backend/access/gist/gistold.c
parentf32b8bc9e0e0e3096bcdae15f9946b39851e10f9 (diff)
downloadpostgresql-b4895bf796d66245080cb37acaf2b396014b7225.tar.gz
postgresql-b4895bf796d66245080cb37acaf2b396014b7225.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/gist/gistold.c')
0 files changed, 0 insertions, 0 deletions