Re: update substring pattern matching syntax

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: update substring pattern matching syntax
Дата
Msg-id 0f9efbd7-d697-eba5-e48e-9f0d455e9793@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: update substring pattern matching syntax  (Fabien COELHO <coelho@cri.ensmp.fr>)
Ответы Re: update substring pattern matching syntax  (Fabien COELHO <coelho@cri.ensmp.fr>)
Список pgsql-hackers
On 2020-06-20 09:08, Fabien COELHO wrote:
> I cannot say I'm a fan of this kind of keywords added for some arguments.
> I guess that it allows distinguishing between variants. I do not have the
> standard at hand: I wanted to check whether these keywords could be
> reordered, i.e. whether SUBSTRING(text ESCAPE ec SIMILAR part) was legal.
> I guess not.

It is not.

> Maybe the doc could advertise more systematically whether a features
> conforms fully or partially to some SQL standards, or is pg specific.

I think that would be useful, but it's probably a broader topic than 
just for this specific function.

> The
> added documentation refers both to SQL:1999 and SQL99. I'd suggest to
> chose one, possibly the former, and use it everywhere consistently.

fixed

> It seems that two instances where not updated to the new syntax, see in
> ./src/backend/catalog/information_schema.sql and
> ./contrib/citext/sql/citext.sql.

done

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Вложения

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

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: Remove a redundant condition check
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: pgsql: Enable Unix-domain sockets support on Windows