pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jakub Ouhrabka <jakub.ouhrabka@comgate.cz>
To: pgsql-bugs@postgresql.org
Cc: Robert Haas <robertmhaas@gmail.com>
Subject: Re: Corrupted index on 9.0.3 streaming hot standby
Date: Mon, 07 Mar 2011 15:15:43 +0100
Message-ID: <4D74E88F.20306@comgate.cz> (raw)
In-Reply-To: <AANLkTimVNi6XwWm_hZPJFcXsmmp88XXYcVpXZsJ7EqTL@mail.gmail.com>
References: <4D679081.4020801@comgate.cz>
	<AANLkTi=TCA9iOJJAxi29Uz6GZ+3=o99_E-F2pJ8Q3ZG+@mail.gmail.com>
	<4D6FC45D.5030709@comgate.cz>
	<AANLkTimVNi6XwWm_hZPJFcXsmmp88XXYcVpXZsJ7EqTL@mail.gmail.com>

Hi,

for the archives: the root cause is locale. Both linux/debian servers 
were set to the same locale (cs_CZ.UTF-8) but there is slightly 
different definition of this locale on those systems - once numbers are 
before letters and another time numbers are after letters. Then the 
index appears to be broken...

So definitely it's not a postgresql bug. It'd be nice if there are some 
safeguards against this mismatch, although I don't know how to do it...

Sorry for the noise.

Kuba



view thread (8+ messages)  latest in thread

Message-ID: <4D74E88F.20306@comgate.cz>
Permalink:  ../4D74E88F.20306@comgate.cz/
Also on:    postgresql.org/message-id/4D74E88F.20306@comgate.cz

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: jakub.ouhrabka@comgate.cz, robertmhaas@gmail.com
  Subject: Re: Corrupted index on 9.0.3 streaming hot standby
  In-Reply-To: <4D74E88F.20306@comgate.cz>
  References: <4D679081.4020801@comgate.cz> <AANLkTi=TCA9iOJJAxi29Uz6GZ+3=o99_E-F2pJ8Q3ZG+@mail.gmail.com> <4D6FC45D.5030709@comgate.cz> <AANLkTimVNi6XwWm_hZPJFcXsmmp88XXYcVpXZsJ7EqTL@mail.gmail.com> <4D74E88F.20306@comgate.cz>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox