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

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема Re: Allow multi-byte characters as escape in SIMILAR TO and SUBSTRING
Дата
Msg-id 1409117614.2335.471.camel@jeff-desktop
обсуждение исходный текст
Ответ на Re: Allow multi-byte characters as escape in SIMILAR TO and SUBSTRING  (Jeff Davis <pgsql@j-davis.com>)
Список pgsql-hackers
On Tue, 2014-08-26 at 22:13 -0700, Jeff Davis wrote:
> Attached a patch implementing the same idea though: only use the
> multibyte path if *both* the escape char and the current character from
> the pattern are multibyte.

Forgot to mention: with this patch, the test completes in about 720ms,
so just between unpatched and the v1 patch.

I feel like we're spending too much time optimizing this patch, but we
got this far, and it doesn't really complicate the code, so we might as
well finish it.

Regards,Jeff Davis





В списке pgsql-hackers по дате отправления:

Предыдущее
От: Mark Kirkwood
Дата:
Сообщение: Re: Per table autovacuum vacuum cost limit behaviour strange
Следующее
От: Rajeev rastogi
Дата:
Сообщение: Re: Support for N synchronous standby servers