Re: BUG #3394: Partial search not working

From: "Murali Doss" <Murali(dot)Doss(at)mphasis(dot)com>
To: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Douglas Toltzman" <doug(at)oakstreetsoftware(dot)com>, <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #3394: Partial search not working
Date: 2007-06-20 12:13:56
Message-ID: 7C83A8A6B56D3A478333B1DF47E18586B93686@mpbabgex01.corp.mphasis.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Dear All,

How to change the pg_setting from en_US.UTF-8 to "C".

lc_collate - en_US.UTF-8
lc_ctype - en_US.UTF-8
lc_messages - en_US.UTF-8
lc_monetary - en_US.UTF-8
lc_numeric - en_US.UTF-8
lc_time - en_US.UTF-8

Regards
Murali Doss T.S.

-----Original Message-----
From: Tom Lane [mailto:tgl(at)sss(dot)pgh(dot)pa(dot)us]
Sent: Tuesday, June 19, 2007 7:50 PM
To: Murali Doss
Cc: Douglas Toltzman; pgsql-bugs(at)postgresql(dot)org
Subject: Re: [BUGS] BUG #3394: Partial search not working

"Murali Doss" <Murali(dot)Doss(at)mphasis(dot)com> writes:
> I have created new database with encoding as sql_ascii and reloaded
the
> data but still its returning 0 rows in Linux.

It's locale, not encoding (or not only encoding) that determines sort
order. It sounds to me like you are using C locale on the other
installations but some non-C locale on the Linux one. In C locale
"BA" is between "B-" and "B~" but in most other locales it's not.

Check LC_COLLATE setting to find out. If it's wrong you'll have to
re-initdb :-(

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Murali Doss 2007-06-20 12:51:57 BUG #3397: change the pg_setting
Previous Message Sergey Burladyan 2007-06-20 12:06:16 BUG #3396: strange error report for 'create domain ... default null'