From: rihad <rihad@mail.ru>
To: Magnus Hagander <magnus@hagander.net>
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 18:42:26 +0400
Message-ID: <b3be637b-da6f-4684-6002-38869b7b6632@mail.ru> (raw)
In-Reply-To: <CABUevEyOQNbr2sPKPZr3VLE53+3rPaEVKXvJ=Q-ZkqTdryL21A@mail.gmail.com>
References: <e6f53eeb-ef46-3095-cd34-88550904fa02@mail.ru>
<CABUevEyOQNbr2sPKPZr3VLE53+3rPaEVKXvJ=Q-ZkqTdryL21A@mail.gmail.com>
On 12/22/2017 05:09 PM, Magnus Hagander wrote:
> What platform are you on
FreeBSD 10.3-RELEASE-p26 amd64
> , how was PostgreSQL installed
pkg install.
Additionally, 10.1 needed for pg_upgrade to run was installed using
portmaster -m PREFIX=/10.1, because FreeBSD doesn't allow more than one
major version to be installed simultaneously.
After the upgrade took place, 9.6.6 was pkg deleted and 10.1 was pkg
installed.
> and exactly how was pg_upgrade executed? (or is, since it's reproducible)
>
sudo -u postgres /10.1/bin/pg_upgrade -j2 --link -r -b /usr/local/bin -B
/10.1/bin/ -d /var/db/postgres/data96/ -D /var/db/postgres/data10/
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, magnus@hagander.net
Subject: Re: pg_upgrading to 10.1 corrupts (varchar,varchar) UNIQUE indices
In-Reply-To: <b3be637b-da6f-4684-6002-38869b7b6632@mail.ru>
References: <e6f53eeb-ef46-3095-cd34-88550904fa02@mail.ru> <CABUevEyOQNbr2sPKPZr3VLE53+3rPaEVKXvJ=Q-ZkqTdryL21A@mail.gmail.com> <b3be637b-da6f-4684-6002-38869b7b6632@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