Re: update substring pattern matching syntax
От
Vik Fearing
Тема
Re: update substring pattern matching syntax
Дата
Msg-id
2a525de8-0e4d-1483-5033-58902edd287e@postgresfriends.org
Ответ на
update substring pattern matching syntax (Peter Eisentraut)
Список
Дерево обсуждения
update substring pattern matching syntax Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: update substring pattern matching syntax Vik Fearing <vik@postgresfriends.org>
Re: update substring pattern matching syntax Fabien COELHO <coelho@cri.ensmp.fr>
Re: update substring pattern matching syntax Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: update substring pattern matching syntax Fabien COELHO <coelho@cri.ensmp.fr>
Re: update substring pattern matching syntax Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: update substring pattern matching syntax Pavel Stehule <pavel.stehule@gmail.com>
On 6/19/20 11:42 AM, Peter Eisentraut wrote: > At > > 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. Oh good, this was on my list (I added that item to the wiki). The patches look straightforward to me. The grammar cleanup patch makes things easier to read indeed. At first I didn't see a test left over for the old syntax, but it's there so this is all LGTM. Thanks for doing this! -- Vik Fearing
В списке pgsql-hackers по дате отправления