From: Bruce Momjian <bruce@momjian.us>
To: Christoph Berg <myon@debian.org>
To: pgsql-committers@postgresql.org
Subject: Re: pgsql: doc: mention dependency on collation libraries
Date: Wed, 20 Jul 2016 12:13:18 -0400
Message-ID: <20160720161318.GE24559@momjian.us> (raw)
In-Reply-To: <20160702172248.GE18610@momjian.us>
References: <E1bJMkm-0001gS-3c@gemulon.postgresql.org>
<20160702153951.GA9700@msg.df7cb.de>
<20160702155517.GD18610@momjian.us>
<20160702160212.GB9700@msg.df7cb.de>
<20160702172248.GE18610@momjian.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
On Sat, Jul 2, 2016 at 01:22:48PM -0400, Bruce Momjian wrote:
> 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: ?
> >
> > Non<literal>C</> and and non-<literal>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
> > <application>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.
--
Bruce Momjian <bruce@momjian.us> 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-committersAttachments:collation.diff (text/x-diff, 1.3K) downloaddiff --git a/doc/src/sgml/runtime.sgml b/doc/src/sgml/runtime.sgmlnew file mode 100644index e3e254b..4e233b0
*** a/doc/src/sgml/runtime.sgml
--- b/doc/src/sgml/runtime.sgml
***************
*** 1,4 ****
! <!-- doc/src/sgml/runtime.sgml -->
<chapter id="runtime">
<title>Server Setup and Operation</title>
--- 1,4 ----
! `<!-- doc/src/sgml/runtime.sgml -->
<chapter id="runtime">
<title>Server Setup and Operation</title>
*************** postgres$ <userinput>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
! <application>pg_upgrade</> run.
</para>
<sect2 id="creating-cluster-mount-points">
--- 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, a
! different operating system, or an operating system upgrade.
</para>
<sect2 id="creating-cluster-mount-points">
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-committers@postgresql.org
Cc: bruce@momjian.us, myon@debian.org
Subject: Re: pgsql: doc: mention dependency on collation libraries
In-Reply-To: <20160720161318.GE24559@momjian.us>
References: <E1bJMkm-0001gS-3c@gemulon.postgresql.org> <20160702153951.GA9700@msg.df7cb.de> <20160702155517.GD18610@momjian.us> <20160702160212.GB9700@msg.df7cb.de> <20160702172248.GE18610@momjian.us> <20160720161318.GE24559@momjian.us>
* 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