Re: pg_dump error - LOCALIZATION PROBLEM

From: Burak Bilen <bilen(at)metu(dot)edu(dot)tr>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: pg_dump error - LOCALIZATION PROBLEM
Date: 2001-09-17 10:00:50
Message-ID: 3BA5C9D2.6E07796E@metu.edu.tr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

hi,

I have also seen the same problem. But there is another problem related
with locale.
The function MIN is translated into mýn ( in Turkish locale support) and
postgres gives an
error message as follows:
Function 'mýn(int8)' does not exist .

But when I use "LIKE" , postgres does the operations correctly. I don't
know the internals of postgres,
but I want to solve this problem somehow?
Thanks in advance.

Tom Lane wrote:

> Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> > Untested, but try this:
>
> > Edit src/backend/commands/variable.c, look for the function
> > parse_XactIsoLevel(). Change the code that looks like this:
>
> > if (strcasecmp(value, "SERIALIZABLE") == 0)
> > XactIsoLevel = XACT_SERIALIZABLE;
> > else if (strcasecmp(value, "COMMITTED") == 0)
> > XactIsoLevel = XACT_READ_COMMITTED;
>
> > into:
>
> > if (strcmp(value, "serializable") == 0)
> > XactIsoLevel = XACT_SERIALIZABLE;
> > else if (strcmp(value, "committed") == 0)
> > XactIsoLevel = XACT_READ_COMMITTED;
>
> Hmm. Given that we expect the lexer to have downcased any unquoted
> words, this seems like a workable solution --- where else are we using
> strcasecmp() unnecessarily?
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Thurstan R. McDougle 2001-09-17 10:30:48 Re: pgdumpall
Previous Message viraj 2001-09-17 09:46:34 Some Japanies charaters cannot be seen when using JDBC driver

Browse pgsql-hackers by date

  From Date Subject
Next Message Turbo Fredriksson 2001-09-17 10:34:22 Hot spare PSQL server
Previous Message Gavin Sherry 2001-09-17 08:37:49 lo_creat() bug