Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bI12t-0007BV-3u for pgsql-docs@arkaria.postgresql.org; Tue, 28 Jun 2016 21:59:51 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bI12s-0007qb-1Y for pgsql-docs@arkaria.postgresql.org; Tue, 28 Jun 2016 21:59:50 +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 1bI12U-0007ST-Lb for pgsql-docs@postgresql.org; Tue, 28 Jun 2016 21:59:26 +0000 Received: from mail-ob0-x22c.google.com ([2607:f8b0:4003:c01::22c]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bI12N-0003zz-3C for pgsql-docs@postgresql.org; Tue, 28 Jun 2016 21:59:25 +0000 Received: by mail-ob0-x22c.google.com with SMTP id xn17so20127obc.0 for ; Tue, 28 Jun 2016 14:59:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bowt-ie.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=wRyoGA08sLItPhZKBU2BnrGzDRdXiXd9Tt0O79sNfGQ=; b=tPhEQ5SMIYu6iMjpmoU82gBO0Y+lCkt2Ru9SoTKMvcOKaH+rBvnkI7lIKLRCNZkLUG rixCXRAQhXeLiQRvhigjbWlgZiCaSPgVnV8mi6/s0cyMQm4VOr1b3XB8Y+xl/LSUBbmH Zrh5kBZ1nUnKb+ts8hxKRWVxUk7FHgYT7rKx1kEfkZrRvsKY2LjVQ2quLeCjjxgxAq15 Ol1X02EWA0Nemhwqz/m98+m7IT+orvQgjk7RgWlvMKiX5JUQfIhFSW/7G0YuxEqVTwBW 58s4og4Q7AIzUQswy8boxi8zKSWgOXHSEUcDjlMaf+ad9uRIUgfkoP1DH1t0VgTAtdH6 JoIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=wRyoGA08sLItPhZKBU2BnrGzDRdXiXd9Tt0O79sNfGQ=; b=jUT9dzZ0pvUbjuILkITolu6Lbc2tWy9gKEbphsH/RIDRvGGXHhXMmJHl7Fzt1IBhb7 SHCLDOiTYcoRUYkmJpmr7P9nY2RPEepXImD3EwFkRJjuFTabw8CSA/PNFP0nN/ziqwmG r+Sn1Oov+itvZ3QwDhJqcOTE1cvaoX176tnL8Ovzh5F3HX4Extel8cxqN34qAUgzkfKn /2pbxZq2OzRRok436rGtpxAUKrD5kEwJRztIB0GVOihyCBH8fv6tLgTkbrwLkDSOuM2t 38xxy/oP5sSDV+LSA4V6Bek8trP6zWpyrituQV824vF1cRy6tmukGJGVFAOviqcPZWlF 7vsg== X-Gm-Message-State: ALyK8tLdttJJTtt855A1wAohWqSeSCC95CuXFpclm955I7Ch+DB1GXIJDfDSz93tLvPo8XNXpXHJZLAkiaoCzQ== X-Received: by 10.202.175.138 with SMTP id y132mr3428375oie.131.1467151157467; Tue, 28 Jun 2016 14:59:17 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.17.57 with HTTP; Tue, 28 Jun 2016 14:58:58 -0700 (PDT) X-Originating-IP: [75.101.100.201] In-Reply-To: <20160617215154.GA140481@alvherre.pgsql> References: <20160617154311.GB19359@momjian.us> <20160617215154.GA140481@alvherre.pgsql> From: Peter Geoghegan Date: Tue, 28 Jun 2016 14:58:58 -0700 Message-ID: Subject: Re: Pg_upgrade and collation To: Alvaro Herrera Cc: Bruce Momjian , PostgreSQL-documentation Content-Type: text/plain; charset=UTF-8 X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org On Fri, Jun 17, 2016 at 2:51 PM, Alvaro Herrera wrote: > I think this is way too thin to be helpful: > >> --- 61,68 ---- >> checking for compatible compile-time settings, including 32/64-bit >> binaries. It is important that >> any external modules are also binary compatible, though this cannot >> ! be checked by pg_upgrade. Compatible collation >> ! library versions must also be used. >> Unfortunately, the reality is that as things stand, there is no way to test compatibility on all platforms. Glibc does have a notion of collation versioning, though [1]. I have long advocated adopting ICU as our defacto standard "collation provider", primarily so that we can directly control collations and collation versioning. I think that doing this would solve many problems. Besides, even SQLite has optional ICU support. PostgreSQL is the only major database system that I'm aware of that relies on operating system collations exclusively. I've avoided committing to work on it because I'm concerned that it would not be well received. [1] https://www.gnu.org/software/autoconf/manual/autoconf-2.63/html_node/Special-Shell-Variables.html -- Peter Geoghegan -- Sent via pgsql-docs mailing list (pgsql-docs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-docs