pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: rihad <rihad@mail.ru>
To: Peter Geoghegan <pg@bowt.ie>
Cc: pgsql-general General <pgsql-general@postgresql.org>
Subject: Re: pg_upgrading to 10.1 corrupts (varchar,varchar) UNIQUE indices
Date: Fri, 22 Dec 2017 19:52:20 +0400
Message-ID: <2cd6c2cd-5d2b-bc7a-b86a-9ae9406bd33a@mail.ru> (raw)
In-Reply-To: <CAH2-Wzm0efDJQkCFhgBH_L2QX0=tqa-URB-n++-NvhOVM-PPjA@mail.gmail.com>
References: <f73b25e8-2d15-b23b-609a-4e48241910a5@mail.ru>
	<CAH2-Wz=UeSbgjuOHM-Q=N36rnb-seQrp-x3ZMq0U7gHLH2JyEg@mail.gmail.com>
	<9dee2bb7-4fc8-65a6-3bc1-9dd9e99ffe4a@mail.ru>
	<CAH2-Wzm0efDJQkCFhgBH_L2QX0=tqa-URB-n++-NvhOVM-PPjA@mail.gmail.com>

On 12/22/2017 07:43 PM, Peter Geoghegan wrote:
> I have no idea. Maybe something to do with not actually using the same 
> collation provider?
>
> The freebsd package contains modifications to make icu work, or at 
> least did. Possibly, you just stopped using the same collation 
> provider, without even realizing it, because they switched over to a 
> new provider without accounting for pg_upgrade. If so, then that's a 
> bug in the package. This is a total speculation, but makes a certain 
> amount of sense to me.

Exactly!

9.6.6 port options include ICU:
OPTIONS_FILE_UNSET+=DEBUG
OPTIONS_FILE_UNSET+=DTRACE
OPTIONS_FILE_UNSET+=GSSAPI
OPTIONS_FILE_SET+=ICU
OPTIONS_FILE_SET+=INTDATE
OPTIONS_FILE_UNSET+=LDAP
OPTIONS_FILE_UNSET+=NLS
OPTIONS_FILE_UNSET+=OPTIMIZED_CFLAGS
OPTIONS_FILE_UNSET+=PAM
OPTIONS_FILE_UNSET+=SSL
OPTIONS_FILE_SET+=TZDATA
OPTIONS_FILE_SET+=XML
OPTIONS_FILE_UNSET+=MIT_KRB5
OPTIONS_FILE_UNSET+=HEIMDAL_KRB5

10.1 options don't:
OPTIONS_FILE_UNSET+=DEBUG
OPTIONS_FILE_UNSET+=DTRACE
OPTIONS_FILE_UNSET+=GSSAPI
OPTIONS_FILE_SET+=INTDATE
OPTIONS_FILE_UNSET+=LDAP
OPTIONS_FILE_UNSET+=NLS
OPTIONS_FILE_UNSET+=OPTIMIZED_CFLAGS
OPTIONS_FILE_UNSET+=PAM
OPTIONS_FILE_UNSET+=SSL
OPTIONS_FILE_SET+=TZDATA
OPTIONS_FILE_SET+=XML

Thank you and others who have responded so much for your tips!




view thread (18+ messages)  latest in thread

Message-ID: <2cd6c2cd-5d2b-bc7a-b86a-9ae9406bd33a@mail.ru>
Permalink:  ../2cd6c2cd-5d2b-bc7a-b86a-9ae9406bd33a@mail.ru/
Also on:    postgresql.org/message-id/2cd6c2cd-5d2b-bc7a-b86a-9ae9406bd33a@mail.ru

 · 

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-general@postgresql.org
  Cc: rihad@mail.ru, pg@bowt.ie
  Subject: Re: pg_upgrading to 10.1 corrupts (varchar,varchar) UNIQUE indices
  In-Reply-To: <2cd6c2cd-5d2b-bc7a-b86a-9ae9406bd33a@mail.ru>
  References: <f73b25e8-2d15-b23b-609a-4e48241910a5@mail.ru> <CAH2-Wz=UeSbgjuOHM-Q=N36rnb-seQrp-x3ZMq0U7gHLH2JyEg@mail.gmail.com> <9dee2bb7-4fc8-65a6-3bc1-9dd9e99ffe4a@mail.ru> <CAH2-Wzm0efDJQkCFhgBH_L2QX0=tqa-URB-n++-NvhOVM-PPjA@mail.gmail.com> <2cd6c2cd-5d2b-bc7a-b86a-9ae9406bd33a@mail.ru>

* 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