Re: BUG #1931: ILIKE and LIKE fails on Turkish locale

From: Victor Snezhko <snezhko(at)indorsoft(dot)ru>
To: Volkan YAZICI <yazicivo(at)ttnet(dot)net(dot)tr>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #1931: ILIKE and LIKE fails on Turkish locale
Date: 2006-09-05 10:40:25
Message-ID: u1wqqzjdy.fsf@indorsoft.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-tr-genel

Victor Snezhko <snezhko(at)indorsoft(dot)ru> writes:

> 2) When I try to create a stored procedure to create table (e.g., for
> creating table only if it doesn't already exist), it fails to
> compile if i use cyrillic letter "х" (unicode id: 0x0445, utf-8
> representation is D1 85) with the following weird error:
>
> ERROR: expected dot between identifiers: х
> CONTEXT: compile of PL/pgSQL function "createoraltertable" near line 2
>
> the following query fails:
>
> CREATE OR REPLACE FUNCTION TestFunction()
> RETURNS int
> AS $$
> BEGIN
> SELECT х FROM test_table;
> RETURN 0;
> END;
> $$ LANGUAGE plpgsql;

Sorry, I was a bit sloppy here: I said about creating table and
specified error output from function createoraltertable(),
which contained CREATE TABLE statement instead of SELECT, but
specified another example function.

Clarification: TestFunction() also fails with the same error about
expected dot between identifiers and can be used for debugging.

--
WBR, Victor V. Snezhko
E-mail: snezhko(at)indorsoft(dot)ru

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2006-09-05 14:35:37 Re: BUG #1931: ILIKE and LIKE fails on Turkish locale
Previous Message Victor Snezhko 2006-09-05 09:26:22 Re: BUG #1931: ILIKE and LIKE fails on Turkish locale

Browse pgsql-tr-genel by date

  From Date Subject
Next Message Tom Lane 2006-09-05 14:35:37 Re: BUG #1931: ILIKE and LIKE fails on Turkish locale
Previous Message Victor Snezhko 2006-09-05 09:26:22 Re: BUG #1931: ILIKE and LIKE fails on Turkish locale