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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alexander Farber <alexander(dot)farber(at)gmail(dot)com>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Re: Matching uppercased russian words (\x0410-\x042F) in UTF8 database 8.4.13
Date: 2013-03-19 18:03:33
Message-ID: 8300.1363716213@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Alexander Farber <alexander(dot)farber(at)gmail(dot)com> 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Luke Luke 2013-03-19 20:02:16 Dump table from schema and function from another one
Previous Message Alexander Farber 2013-03-19 17:03:54 Re: Matching uppercased russian words (\x0410-\x042F) in UTF8 database 8.4.13