Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bSA0o-0006LF-Sd for pgsql-committers@arkaria.postgresql.org; Tue, 26 Jul 2016 21:35:38 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bSA0o-00035H-Ap for pgsql-committers@arkaria.postgresql.org; Tue, 26 Jul 2016 21:35:38 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bSA0n-00034w-Ni for pgsql-committers@postgresql.org; Tue, 26 Jul 2016 21:35:37 +0000 Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bSA0f-0000J3-8G for pgsql-committers@postgresql.org; Tue, 26 Jul 2016 21:35:37 +0000 Received: from bruce by momjian.us with local (Exim 4.84_2) (envelope-from ) id 1bSA0c-0002jx-Pd; Tue, 26 Jul 2016 17:35:26 -0400 Date: Tue, 26 Jul 2016 17:35:26 -0400 From: Bruce Momjian To: Christoph Berg , pgsql-committers@postgresql.org Subject: Re: pgsql: doc: mention dependency on collation libraries Message-ID: <20160726213526.GA27321@momjian.us> References: <20160702153951.GA9700@msg.df7cb.de> <20160702155517.GD18610@momjian.us> <20160702160212.GB9700@msg.df7cb.de> <20160702172248.GE18610@momjian.us> <20160720161318.GE24559@momjian.us> <20160721075942.upu6wpqtni42ffb4@msg.df7cb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160721075942.upu6wpqtni42ffb4@msg.df7cb.de> User-Agent: Mutt/1.5.23 (2014-03-12) X-Pg-Spam-Score: -3.2 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org On Thu, Jul 21, 2016 at 09:59:42AM +0200, Christoph Berg wrote: > Re: Bruce Momjian 2016-07-20 <20160720161318.GE24559@momjian.us> > > > > How about simply this: ? > > > > > > > > NonC and and non-POSIX locales rely on the > > > > operating system's collation library for character set ordering. > > > > This controls the ordering of keys stored in indexes. For this > > > > eason, > > > > a cluster cannot switch to an incompatible collation library > > > > ersion, > > > > either through > > > > > > > > + operating system upgrade, > > > > > > > > snapshot restore, binary streaming replication, or > > > > pg_upgrade run. > > > > > > OK, good point. I was more focused on cluster moves than an OS change. > > > How is the attached patch? > > > > With the mention of different operating systems, there is no need to > > mention pg_upgrade anymore as it is already covered. Updated patch > > attached. > > With that argument, you could drop snapshot restore and replication as > well, as "different OS (version)" is the real problem. Still, > mentioning pg_upgrade would highlight the fact that it doesn't "fix" > the problem in the same sense that pg_dump would. Collation changes > are subtle changes that are surprising in many cases, so mention a few > cases makes people aware more. I mentioned snapshot restore and replication as a way to highlight that it is binary transfer that is the problem, not pg_dump. You are right about pg_upgrade not fixing the problem, but since it only runs on the same machine, I don't see it as a good example. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + As you are, so once was I. As I am, so you will be. + + Ancient Roman grave inscription + -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers