pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John Naylor <john.naylor@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Change mbbisearch to return the character range
Date: Wed, 25 Aug 2021 17:10:46 +0000
Message-ID: <E1mIwQI-0000tT-CK@gemulon.postgresql.org> (raw)

Change mbbisearch to return the character range

Add a width field to mbinterval and have mbbisearch return a
pointer to the found range rather than just bool for success.
A future commit will add another width besides zero, and this
will allow that to use the same search.

Reviewed by Jacob Champion
Discussion: https://www.postgresql.org/message-id/CAFBsxsGOCpzV7c-f3a8ADsA1n4uZ%3D8puCctQp%2Bx7W0vgkv%3Dw%2Bg%40...

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/78ab944cd4b9977732becd9d0bc83223b88af9a2

Modified Files
--------------
src/common/unicode/generate-unicode_width_table.pl |   4 +-
src/common/wchar.c                                 |  21 +-
src/include/common/unicode_width_table.h           | 386 ++++++++++-----------
3 files changed, 208 insertions(+), 203 deletions(-)



Message-ID: <E1mIwQI-0000tT-CK@gemulon.postgresql.org>
Permalink:  ../E1mIwQI-0000tT-CK@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1mIwQI-0000tT-CK@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: john.naylor@postgresql.org
  Subject: Re: pgsql: Change mbbisearch to return the character range
  In-Reply-To: <E1mIwQI-0000tT-CK@gemulon.postgresql.org>
  References: <E1mIwQI-0000tT-CK@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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