pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix query-based tab completion for multibyte characters.
6+ messages / 1 participants
[nested] [flat]

* pgsql: Fix query-based tab completion for multibyte characters.
@ 2016-03-04 16:58  Robert Haas <rhaas@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Robert Haas @ 2016-03-04 16:58 UTC (permalink / raw)
  To: pgsql-committers

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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/9445db925e78c2c4fb12067ad5618e2aecabe109

Modified Files
--------------
src/bin/psql/tab-complete.c | 30 +++++++++++++++++++-----------
1 file changed, 19 insertions(+), 11 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Fix query-based tab completion for multibyte characters.
@ 2016-03-04 16:58  Robert Haas <rhaas@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Robert Haas @ 2016-03-04 16:58 UTC (permalink / raw)
  To: pgsql-committers

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.

Branch
------
REL9_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/8de488d009e6280f4b80b634ee0fe79b6b34689e

Modified Files
--------------
src/bin/psql/tab-complete.c | 30 +++++++++++++++++++-----------
1 file changed, 19 insertions(+), 11 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Fix query-based tab completion for multibyte characters.
@ 2016-03-04 16:58  Robert Haas <rhaas@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Robert Haas @ 2016-03-04 16:58 UTC (permalink / raw)
  To: pgsql-committers

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.

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/0315dfa8f4afa8390383119330ca0bf241be4ad4

Modified Files
--------------
src/bin/psql/tab-complete.c | 30 +++++++++++++++++++-----------
1 file changed, 19 insertions(+), 11 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Fix query-based tab completion for multibyte characters.
@ 2016-03-04 16:58  Robert Haas <rhaas@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Robert Haas @ 2016-03-04 16:58 UTC (permalink / raw)
  To: pgsql-committers

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.

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/54139ac22f274940e5d5477594cd03b7988ca7be

Modified Files
--------------
src/bin/psql/tab-complete.c | 30 +++++++++++++++++++-----------
1 file changed, 19 insertions(+), 11 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Fix query-based tab completion for multibyte characters.
@ 2016-03-04 16:58  Robert Haas <rhaas@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Robert Haas @ 2016-03-04 16:58 UTC (permalink / raw)
  To: pgsql-committers

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.

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/b4895bf796d66245080cb37acaf2b396014b7225

Modified Files
--------------
src/bin/psql/tab-complete.c | 30 +++++++++++++++++++-----------
1 file changed, 19 insertions(+), 11 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Fix query-based tab completion for multibyte characters.
@ 2016-03-04 16:58  Robert Haas <rhaas@postgresql.org>
  0 siblings, 0 replies; 6+ messages in thread

From: Robert Haas @ 2016-03-04 16:58 UTC (permalink / raw)
  To: pgsql-committers

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.

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/c658d5a9b6323ce16029fdcdbc6b93acc3c24114

Modified Files
--------------
src/bin/psql/tab-complete.c | 30 +++++++++++++++++++-----------
1 file changed, 19 insertions(+), 11 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2016-03-04 16:58 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-03-04 16:58 pgsql: Fix query-based tab completion for multibyte characters. Robert Haas <rhaas@postgresql.org>
2016-03-04 16:58 pgsql: Fix query-based tab completion for multibyte characters. Robert Haas <rhaas@postgresql.org>
2016-03-04 16:58 pgsql: Fix query-based tab completion for multibyte characters. Robert Haas <rhaas@postgresql.org>
2016-03-04 16:58 pgsql: Fix query-based tab completion for multibyte characters. Robert Haas <rhaas@postgresql.org>
2016-03-04 16:58 pgsql: Fix query-based tab completion for multibyte characters. Robert Haas <rhaas@postgresql.org>
2016-03-04 16:58 pgsql: Fix query-based tab completion for multibyte characters. Robert Haas <rhaas@postgresql.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox