Search Postgresql Archives

Re: Re: Matching uppercased russian words (\x0410-\x042F) in UTF8 database 8.4.13

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Alexander Farber <alexander.farber@xxxxxxxxx> writes:
> I'm trying at the psql prompt of an UTF8 database in 8.4.13:
> # select 'Ð?Ð?Ð?Ð?Ð?' ~ '^[\u0410-\u042F]{2,}$';
> WARNING:  nonstandard use of escape in a string literal

I think Unicode escapes were introduced in 9.0.  In 8.4 you'd probably
have to write out the UTF8 equivalent as octal escapes :-(

			regards, tom lane


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux