pgsql: Allow multibyte characters as escape in SIMILAR TO and SUBSTRING - Mailing list pgsql-committers

From Jeff Davis
Subject pgsql: Allow multibyte characters as escape in SIMILAR TO and SUBSTRING
Date
Msg-id E1XMr1e-0003CP-Sn@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Allow multibyte characters as escape in SIMILAR TO and SUBSTRING.

Previously, only a single-byte character was allowed as an
escape. This patch allows it to be a multi-byte character, though it
still must be a single character.

Reviewed by Heikki Linnakangas and Tom Lane.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/8167a3883a3c49f2f77785f8e5f638920c9f14ef

Modified Files
--------------
src/backend/utils/adt/regexp.c |   63 ++++++++++++++++++++++++++++++++++++----
1 file changed, 58 insertions(+), 5 deletions(-)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: pgsql: Add regression tests for SELECT FOR UPDATE/SHARE NOWAIT.
Next
From: Fujii Masao
Date:
Subject: pgsql: Allow units to be specified in relation option setting value.