Re: PG 13 release notes, first draft (ltree dot star)

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: PG 13 release notes, first draft (ltree dot star)
Дата
Msg-id 20200512003331.GK4666@momjian.us
обсуждение исходный текст
Ответ на Re: PG 13 release notes, first draft (ltree dot star)  (Justin Pryzby <pryzby@telsasoft.com>)
Список pgsql-hackers
On Sun, May 10, 2020 at 03:09:47PM -0500, Justin Pryzby wrote:
> > In ltree, when using adjacent asterisks with braces, e.g. "*{2}.*{3}", properly interpret that as "*{5}" (Nikita
Glukhov)
> 
> I think that should say ".*" not "*", as in:
> 
> > In ltree, when using adjacent asterisks with braces, e.g. ".*{2}.*{3}", properly interpret that as "*{5}" (Nikita
Glukhov)
> 
> The existing text clearly came from the commit message, which (based on its
> regression tests) I think was the source of the missing dot.
> 
> commit 9950c8aadf0edd31baec74a729d47d94af636c06
> Author: Tom Lane <tgl@sss.pgh.pa.us>
> Date:   Sat Mar 28 18:31:05 2020 -0400
> 
>     Fix lquery's behavior for consecutive '*' items.
>     
>     Something like "*{2}.*{3}" should presumably mean the same as
>     "*{5}", but it didn't.  Improve that.
>     ...

OK, fixed to be:

    In ltree, when using adjacent asterisks with braces, e.g. ".*{2}.*{3}",
    properly interpret that as ".*{5}" (Nikita Glukhov)

I added two dots.

-- 
  Bruce Momjian  <bruce@momjian.us>        https://momjian.us
  EnterpriseDB                             https://enterprisedb.com

+ As you are, so once was I.  As I am, so you will be. +
+                      Ancient Roman grave inscription +



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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: PG 13 release notes, first draft
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: PG 13 release notes, first draft