summaryrefslogtreecommitdiff
path: root/src/tutorial/basics.source
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/tutorial/basics.source
parentf32b8bc9e0e0e3096bcdae15f9946b39851e10f9 (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/tutorial/basics.source')
0 files changed, 0 insertions, 0 deletions