update substring pattern matching syntax

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема update substring pattern matching syntax
Дата
Msg-id a15db31c-d0f8-8ce0-9039-578a31758adb@2ndquadrant.com
обсуждение исходный текст
Ответы Re: update substring pattern matching syntax  (Pavel Stehule <pavel.stehule@gmail.com>)
Re: update substring pattern matching syntax  (Vik Fearing <vik@postgresfriends.org>)
Re: update substring pattern matching syntax  (Fabien COELHO <coelho@cri.ensmp.fr>)
Список pgsql-hackers
At 
<https://wiki.postgresql.org/wiki/PostgreSQL_vs_SQL_Standard#Obsolete_syntax_for_substring.28.29> 
it is described that the substring pattern matching syntax in PostgreSQL 
does not conform to the current standard.  PostgreSQL implements

     SUBSTRING(text FROM pattern FOR escapechar)

whereas the current standard says

     SUBSTRING(text SIMILAR pattern ESCAPE escapechar)

The former was in SQL99, but the latter has been there since SQL:2003.

It's pretty easy to implement the second form also, so here is a patch 
that does that.

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

Вложения

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

Предыдущее
От: "movead.li@highgo.ca"
Дата:
Сообщение: Re: Global snapshots
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: snowball ASCII stemmer configuration