Expected behaviour of \d in regexp with exponent numbers ?

Поиск
Список
Период
Сортировка
От Arnaud Lesauvage
Тема Expected behaviour of \d in regexp with exponent numbers ?
Дата
Msg-id 54047130.3000908@codata.eu
обсуждение исходный текст
Ответы Re: Expected behaviour of \d in regexp with exponent numbers ?  (Albe Laurenz <laurenz.albe@wien.gv.at>)
Re: Expected behaviour of \d in regexp with exponent numbers ?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Hi all,

I just came accross this trying to upgrade my server from 8.4.8 to 9.3.4 :

SELECT substring('²' FROM E'\\d');

8.4 : NULL
9.3 : "²"

Am I correct to expect NULL in this case ?
Thanks !

--
Arnaud


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

Предыдущее
От: Guillaume Lelarge
Дата:
Сообщение: Re: Performance issue with postgres_fdw
Следующее
От: Albe Laurenz
Дата:
Сообщение: Re: Expected behaviour of \d in regexp with exponent numbers ?