Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bJOdL-0004rw-T8 for pgsql-committers@arkaria.postgresql.org; Sat, 02 Jul 2016 17:23:12 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bJOdL-0000d0-AH for pgsql-committers@arkaria.postgresql.org; Sat, 02 Jul 2016 17:23:11 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bJOd7-0000P3-EU for pgsql-committers@postgresql.org; Sat, 02 Jul 2016 17:22:57 +0000 Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bJOd0-0001dA-0t for pgsql-committers@postgresql.org; Sat, 02 Jul 2016 17:22:56 +0000 Received: from bruce by momjian.us with local (Exim 4.84_2) (envelope-from ) id 1bJOcz-00068m-0R; Sat, 02 Jul 2016 13:22:49 -0400 Date: Sat, 2 Jul 2016 13:22:48 -0400 From: Bruce Momjian To: Christoph Berg , pgsql-committers@postgresql.org Subject: Re: pgsql: doc: mention dependency on collation libraries Message-ID: <20160702172248.GE18610@momjian.us> References: <20160702153951.GA9700@msg.df7cb.de> <20160702155517.GD18610@momjian.us> <20160702160212.GB9700@msg.df7cb.de> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="huq684BweRXVnRxX" Content-Disposition: inline In-Reply-To: <20160702160212.GB9700@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 --huq684BweRXVnRxX Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Sat, Jul 2, 2016 at 06:02:12PM +0200, Christoph Berg wrote: > Re: Bruce Momjian 2016-07-02 <20160702155517.GD18610@momjian.us> > > > Shouldn't this mention that OS upgrades are a possible problem as > > > well? We've seen the de_DE.UTF-8 ordering break in RHEL 5->6, and > > > again in 6->7. (5 and 7 are compatible.) The problematic strings were > > > "999" and "9-9-9". > > > > Yes, we can do that. Do you have suggested wording? I was not sure how > > to tell people anything related to collation versions. > > 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? -- 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 + --huq684BweRXVnRxX Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="collation.diff" diff --git a/doc/src/sgml/runtime.sgml b/doc/src/sgml/runtime.sgml new file mode 100644 index 6d39ce7..0961147 *** a/doc/src/sgml/runtime.sgml --- b/doc/src/sgml/runtime.sgml *************** postgres$ initdb -D /usr/loca *** 188,195 **** operating system's collation library for character set ordering. This controls the ordering of keys stored in indexes. For this reason, a cluster cannot switch to an incompatible collation library version, ! either through snapshot restore, binary streaming replication, or ! pg_upgrade run. --- 188,196 ---- operating system's collation library for character set ordering. This controls the ordering of keys stored in indexes. For this reason, a cluster cannot switch to an incompatible collation library version, ! either through snapshot restore, binary streaming replication, ! pg_upgrade run, a different operating system, or an ! operating system upgrade. --huq684BweRXVnRxX Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers --huq684BweRXVnRxX--