pgsql: Allow multibyte characters as escape in SIMILAR TO and SUBSTRING

From: Jeff Davis <jdavis(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Allow multibyte characters as escape in SIMILAR TO and SUBSTRING
Date: 2014-08-28 04:09:30
Message-ID: E1XMr1e-0003CP-Sn@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Fujii Masao 2014-08-28 07:15:35 pgsql: Allow units to be specified in relation option setting value.
Previous Message Alvaro Herrera 2014-08-27 23:17:18 Re: pgsql: Add regression tests for SELECT FOR UPDATE/SHARE NOWAIT.