Allow multi-byte characters as escape in SIMILAR TO and SUBSTRING

From: Jeff Davis <pgsql(at)j-davis(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Allow multi-byte characters as escape in SIMILAR TO and SUBSTRING
Date: 2014-07-11 03:49:30
Message-ID: 1405050570.9081.184.camel@jeff-desktop
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Attached is a small patch to $SUBJECT.

In master, only single-byte characters are allowed as an escape. Of
course, with the patch it must still be a single character, but it may
be multi-byte.

Regards,
Jeff Davis

Attachment Content-Type Size
similar-escape.patch text/x-patch 3.7 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2014-07-11 04:18:40 Re: Pg_upgrade and toast tables bug discovered
Previous Message Bruce Momjian 2014-07-11 03:18:52 Re: Pg_upgrade and toast tables bug discovered