aboutsummaryrefslogtreecommitdiff
path: root/src/backend/storage/file/reinit.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:23 -0500
commit8de488d009e6280f4b80b634ee0fe79b6b34689e (patch)
tree51b6210bf42f57692da8012afcda2eebdf0d8e5a /src/backend/storage/file/reinit.c
parentc7327561f75717205d0790e8629b5ea676b8b962 (diff)
downloadpostgresql-8de488d009e6280f4b80b634ee0fe79b6b34689e.tar.gz
postgresql-8de488d009e6280f4b80b634ee0fe79b6b34689e.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/storage/file/reinit.c')
0 files changed, 0 insertions, 0 deletions