Re: [GENERAL] Linux replication to FreeBSD problem

2014-08-20 Thread Jov
Yes,it is locale problem. I do some more testing,and find that in my DB locale which is zh_CN.UTF-8,the indexes on FreeBSD slave can works if the indexed data is lower case ascii,it can't find data contain upper case. Explicit set the column collate to "C" can solve the problem. I will recreate al

Re: [GENERAL] Linux replication to FreeBSD problem

2014-08-20 Thread Tom Lane
Adrian Klaver writes: > On 08/20/2014 07:53 AM, Jov wrote: >> I setup a PG 9.3.5 master on CentOS 6 x86_64,and 2 screaming replicaton >> slaves,one on CentOS6 x86_64,the other on FreeBSD 10 amd64. >> The replication work fine for a week,But today I find a problem on sql >> running on FreeBSD:simpl

Re: [GENERAL] Linux replication to FreeBSD problem

2014-08-20 Thread Adrian Klaver
On 08/20/2014 07:53 AM, Jov wrote: I setup a PG 9.3.5 master on CentOS 6 x86_64,and 2 screaming replicaton slaves,one on CentOS6 x86_64,the other on FreeBSD 10 amd64. The replication work fine for a week,But today I find a problem on sql running on FreeBSD:simple sql use index do not return resul

[GENERAL] Linux replication to FreeBSD problem

2014-08-20 Thread Jov
I setup a PG 9.3.5 master on CentOS 6 x86_64,and 2 screaming replicaton slaves,one on CentOS6 x86_64,the other on FreeBSD 10 amd64. The replication work fine for a week,But today I find a problem on sql running on FreeBSD:simple sql use index do not return result.If I disable the index ,use seqscan